Skip to content

Commit

Permalink
Revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkushinDaniil committed Nov 19, 2024
1 parent c301bc2 commit 9b2feef
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions blockchain/blockchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,7 @@ func TestRevert(t *testing.T) {
client := feeder.NewTestClient(t, &utils.Mainnet)
gw := adaptfeeder.New(client)

numBlocks := uint64(3)

for i := uint64(0); i < numBlocks; i++ {
for i := uint64(0); i < 3; i++ {
b, err := gw.BlockByNumber(context.Background(), i)
require.NoError(t, err)

Expand Down Expand Up @@ -646,9 +644,6 @@ func TestRevert(t *testing.T) {
if err != nil {
return err
}
for range numBlocks {
assert.True(t, it.Next(), it.Key())
}
assert.False(t, it.Next(), it.Key())
return it.Close()
}))
Expand Down

0 comments on commit 9b2feef

Please sign in to comment.