Skip to content

Commit

Permalink
fix: test: trace_filter test can't be called on head
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Sep 5, 2024
1 parent 6753885 commit 714eed8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions itests/eth_transactions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,8 @@ func TestTraceFilter(t *testing.T) {
require.EqualValues(t, tracesx[0].TransactionHash, hash)
require.EqualValues(t, tracesx[0].BlockNumber, receipt.BlockNumber)

_ = client.WaitTillChain(ctx, kit.HeightAtLeast(abi.ChainEpoch(receipt.BlockNumber+1)))

// Define filter criteria
fromBlock := "0x1"
toBlock := fmt.Sprint(receipt.BlockNumber)
Expand Down

0 comments on commit 714eed8

Please sign in to comment.