diff --git a/synchronizer/actions/etrog/processor_l1_sequence_batches.go b/synchronizer/actions/etrog/processor_l1_sequence_batches.go index e1528594d9..65e713137e 100644 --- a/synchronizer/actions/etrog/processor_l1_sequence_batches.go +++ b/synchronizer/actions/etrog/processor_l1_sequence_batches.go @@ -287,8 +287,8 @@ func (p *ProcessorL1SequenceBatchesEtrog) ProcessSequenceBatches(ctx context.Con // Reset trusted state previousBatchNumber := batch.BatchNumber - 1 - if tBatch.StateRoot == (common.Hash{}) { - log.Warnf("cleaning state before inserting batch from L1. Clean until batch: %d", previousBatchNumber) + if tBatch.WIP { + log.Infof("cleaning state before inserting batch from L1. Clean until batch: %d", previousBatchNumber) } else { log.Warnf("missmatch in trusted state detected, discarding batches until batchNum %d", previousBatchNumber) }