Skip to content

Commit

Permalink
downgrade root mismatch to debug (#1223)
Browse files Browse the repository at this point in the history
This can be misleading depending on the timing in the stage and causes end users to think something is wrong
  • Loading branch information
hexoscott authored Sep 25, 2024
1 parent e7957ba commit 9b226c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zk/stages/stage_batches.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ LOOP:
}
case *types.BatchEnd:
if entry.StateRoot != lastBlockRoot {
log.Warn(fmt.Sprintf("[%s] batch end state root mismatches last block's: %x, expected: %x", logPrefix, entry.StateRoot, lastBlockRoot))
log.Debug(fmt.Sprintf("[%s] batch end state root mismatches last block's: %x, expected: %x", logPrefix, entry.StateRoot, lastBlockRoot))
}
// keep a record of the last block processed when we receive the batch end
if err = hermezDb.WriteBatchEnd(lastBlockHeight); err != nil {
Expand Down

0 comments on commit 9b226c7

Please sign in to comment.