Skip to content

Commit e713424

Browse files
committed
update contextIDFromBatches prefix to v7
1 parent 2efbbd7 commit e713424

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rollup/internal/controller/relayer/l2_relayer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ func (r *Layer2Relayer) ProcessPendingBatches() {
542542
}
543543

544544
func (r *Layer2Relayer) contextIDFromBatches(batches []*dbBatchWithChunksAndParent) string {
545-
contextIDs := []string{"v6"}
545+
contextIDs := []string{"v7"}
546546

547547
for _, batch := range batches {
548548
contextIDs = append(contextIDs, batch.Batch.Hash)
@@ -552,7 +552,7 @@ func (r *Layer2Relayer) contextIDFromBatches(batches []*dbBatchWithChunksAndPare
552552
}
553553

554554
func (r *Layer2Relayer) batchHashesFromContextID(contextID string) []string {
555-
if strings.HasPrefix(contextID, "v6-") {
555+
if strings.HasPrefix(contextID, "v7-") {
556556
return strings.Split(contextID, "-")[1:]
557557
}
558558

0 commit comments

Comments
 (0)