diff --git a/tests/test_traces.py b/tests/test_traces.py index 138120c..a11a253 100644 --- a/tests/test_traces.py +++ b/tests/test_traces.py @@ -98,6 +98,22 @@ def test_get_child_traces(get_transaction_hashes): first_hash_trace_addresses[1:], ) + assert has_expected_child_traces( + first_hash, + [0], + traces, + [ + [0, 0], + ], + ) + + assert has_expected_child_traces( + second_hash, + [2], + traces, + [], + ) + def has_expected_child_traces( transaction_hash: str,