Skip to content

Commit 47da2fd

Browse files
committed
adjust comment
1 parent 1b45967 commit 47da2fd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

rollup/rollup_sync_service/rollup_sync_service.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -544,10 +544,11 @@ func validateBatch(batchIndex uint64, event *l1.FinalizeBatchEvent, parentFinali
544544

545545
daBatch, err := codec.NewDABatch(batch)
546546
if err != nil {
547-
// This is hotfix for the L1 message hash mismatch issue which lead to wrong committedBatchMeta.PostL1MessageQueueHash
548-
// hashes. These in turn lead to a wrongly computed batch hash locally.
549-
// This happened after upgrading to EuclidV2 where da-codec was not updated in l2geth.
550-
// If the batch hash is the same as the hardcoded one, this means the node ran into this issue.
547+
// This is hotfix for the L1 message hash mismatch issue which lead to wrong committedBatchMeta.PostL1MessageQueueHash hashes.
548+
// These in turn lead to a wrongly computed batch hash locally. This happened after upgrading to EuclidV2
549+
// where da-codec was not updated to the latest version in l2geth.
550+
// If the error message due to mismatching PostL1MessageQueueHash contains the same hash as the hardcoded one,
551+
// this means the node ran into this issue.
551552
// We need to reset the sync height to 1 block before the L1 block in which the last batch in CodecV6 was committed.
552553
// The node will overwrite the wrongly computed message queue hashes.
553554
if strings.Contains(err.Error(), "0xaa16faf2a1685fe1d7e0f2810b1a0e98c2841aef96596d10456a6d0f00000000") {

0 commit comments

Comments
 (0)