Skip to content

Commit

Permalink
fix: TestGetFullBlockByNumber add blocks in finished stage
Browse files Browse the repository at this point in the history
  • Loading branch information
MorettiGeorgiev committed Oct 10, 2024
1 parent d0cca95 commit e4ef4a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions turbo/jsonrpc/zkevm_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,11 @@ func TestGetFullBlockByNumber(t *testing.T) {
err = erigonDB.WriteBody(big.NewInt(9), common.HexToHash("0x27ddb9a356815c3fac1026b6dec5df3124afbadb485c9ba5a3e3398a84b7ba81"), []types.Transaction{})
assert.NoError(err)

for i := 1; i <= 4; i++ {
err = stages.SaveStageProgress(tx, stages.Finish, uint64(i))
assert.NoError(err)
}

tx.Commit()

// Block 1
Expand Down

0 comments on commit e4ef4a1

Please sign in to comment.