0xPolygonHermez / cdk-erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
35 stars 39 forks source link

[Sequencer] Halt on batch mismatch #1025

Closed rafael-genes closed 2 months ago

rafael-genes commented 2 months ago

System information

Erigon version: hermeznetwork/cdk-erigon:acceptance-2.0.0-beta17-a61220d-amd64

OS & Version: docker

Chain/Network: Bali

Expected behaviour

When you set the param zkevm.sequencer-halt-on-batch-number, stop on previous batch and halt on specifed batch nuber.

Actual behaviour

Config with batch 69326, show logs with halt on batch 69325 and sequencer's rpc returns zkevm_batchNumber 69324. All should be aligned.

Steps to reproduce the behaviour

Start sequencer with config zkevm.sequencer-halt-on-batch-number: 69326

V-Staykov commented 2 months ago

This is now fixed on latest zkevm and on 2.0.0-beta17