Skip to content

Commit

Permalink
Fix non e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
ARR552 committed Apr 4, 2024
1 parent 2d65e0a commit 4d75ca2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions synchronizer/synchronizer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@ func TestForcedBatchEtrog(t *testing.T) {
Return(blocks, order, nil).
Once()

m.Etherman.
On("EthBlockByNumber", ctx, lastBlock.BlockNumber).
Return(ethBlock, nil).
Once()

m.ZKEVMClient.
On("BatchNumber", ctx).
Return(uint64(1), nil)
Expand Down Expand Up @@ -509,6 +514,11 @@ func TestSequenceForcedBatchIncaberry(t *testing.T) {
Return(blocks, order, nil).
Once()

m.Etherman.
On("EthBlockByNumber", ctx, lastBlock.BlockNumber).
Return(ethBlock, nil).
Once()

m.State.
On("BeginStateTransaction", ctx).
Return(m.DbTx, nil).
Expand Down

0 comments on commit 4d75ca2

Please sign in to comment.