diff --git a/common/version/version.go b/common/version/version.go index a892ffa6bf..e5cc6b49ea 100644 --- a/common/version/version.go +++ b/common/version/version.go @@ -5,7 +5,7 @@ import ( "runtime/debug" ) -var tag = "v4.5.33" +var tag = "v4.5.34" var commit = func() string { if info, ok := debug.ReadBuildInfo(); ok { diff --git a/rollup/internal/controller/watcher/chunk_proposer.go b/rollup/internal/controller/watcher/chunk_proposer.go index 622c27a9a7..d7c41efbce 100644 --- a/rollup/internal/controller/watcher/chunk_proposer.go +++ b/rollup/internal/controller/watcher/chunk_proposer.go @@ -268,13 +268,9 @@ func (p *ChunkProposer) proposeChunk() error { return fmt.Errorf("failed to get parent chunk: %w", err) } + // Currently rollup-relayer only supports >= v7 codec version, it checks the minimum codec version after start. + // In EuclidV2 transition, empty PostL1MessageQueueHash will be naturally initialized to the first chunk's PrevL1MessageQueueHash. chunk.PrevL1MessageQueueHash = common.HexToHash(parentChunk.PostL1MessageQueueHash) - - // previous chunk is not CodecV7, this means this is the first chunk of the fork. - if encoding.CodecVersion(parentChunk.CodecVersion) < codecVersion { - chunk.PrevL1MessageQueueHash = common.Hash{} - } - chunk.PostL1MessageQueueHash = chunk.PrevL1MessageQueueHash var previousPostL1MessageQueueHash common.Hash