Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

fix log #3595

Merged
merged 1 commit into from
Apr 25, 2024
Merged

fix log #3595

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions synchronizer/actions/etrog/processor_l1_sequence_batches.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
Loading