diff --git a/zk/stages/stage_sequence_execute.go b/zk/stages/stage_sequence_execute.go index ceb5209a3b3..6bfcd15ff4b 100644 --- a/zk/stages/stage_sequence_execute.go +++ b/zk/stages/stage_sequence_execute.go @@ -48,7 +48,7 @@ func SpawnSequencingStage( return err } - if lastSequence != nil && lastBatch < lastSequence.BatchNo && !cfg.zk.IsL1Recovery() { + if lastSequence != nil && lastBatch < lastSequence.BatchNo && !(cfg.zk.IsL1Recovery() || cfg.zk.SequencerResequence) { panic(fmt.Sprintf("lastBatch %d < lastSequence.BatchNo %d", lastBatch, lastSequence.BatchNo)) }