diff --git a/synchronizer/synchronizer_test.go b/synchronizer/synchronizer_test.go index bdf3b505b6..edd6927025 100644 --- a/synchronizer/synchronizer_test.go +++ b/synchronizer/synchronizer_test.go @@ -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) @@ -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).