Skip to content

Commit 690bc01

Browse files
authored
feat: force commit batches at hardfork boundary (#1768)
1 parent e75d6c1 commit 690bc01

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

common/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"runtime/debug"
66
)
77

8-
var tag = "v4.7.7"
8+
var tag = "v4.7.8"
99

1010
var commit = func() string {
1111
if info, ok := debug.ReadBuildInfo(); ok {

rollup/internal/controller/relayer/l2_relayer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@ func (r *Layer2Relayer) ProcessPendingBatches() {
452452
// The next call of ProcessPendingBatches will then start with the batch with the different codec version.
453453
batchesToSubmitLen := len(batchesToSubmit)
454454
if batchesToSubmitLen > 0 && batchesToSubmit[batchesToSubmitLen-1].Batch.CodecVersion != dbBatch.CodecVersion {
455+
forceSubmit = true
455456
break
456457
}
457458

0 commit comments

Comments
 (0)