Skip to content

Commit ff8af9a

Browse files
committed
fix comment
1 parent d0cbdb2 commit ff8af9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rollup/rollup_sync_service/rollup_sync_service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,8 @@ func validateBatch(batchIndex uint64, event *l1.FinalizeBatchEvent, parentFinali
577577
// hashes. These in turn lead to a wrongly computed batch hash locally.
578578
// This happened after upgrading to EuclidV2 where da-codec was not updated in l2geth.
579579
// If the batch hash is the same as the hardcoded one, this means the node ran into this issue.
580-
// We need to reset the sync height to the last batch in CodecV6. The node will overwrite the wrongly computed
581-
// message queue hashes.
580+
// We need to reset the sync height to 1 block before the L1 block in which the last batch in CodecV6 was committed.
581+
// The node will overwrite the wrongly computed message queue hashes.
582582
if localBatchHash == common.HexToHash("0x0b671dc4155c589ffa13dd481271c7b944a778f5ce23d5100546e2b45da61ba6") {
583583
return 0, nil, ErrShouldResetSyncHeight
584584
}

0 commit comments

Comments
 (0)