We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 081d289 commit 47a6c23Copy full SHA for 47a6c23
rollup/internal/controller/watcher/batch_proposer.go
@@ -328,6 +328,8 @@ func (p *BatchProposer) proposeBatch() error {
328
"L1CommitUncompressedBatchBytesSize", metrics.L1CommitUncompressedBatchBytesSize,
329
"maxUncompressedBatchBytesSize", p.maxUncompressedBatchBytesSize)
330
331
+ lastChunk := batch.Chunks[len(batch.Chunks)-1]
332
+ batch.Blocks = batch.Blocks[:len(batch.Blocks)-len(lastChunk.Blocks)]
333
batch.Chunks = batch.Chunks[:len(batch.Chunks)-1]
334
batch.PostL1MessageQueueHash = common.HexToHash(dbChunks[i-1].PostL1MessageQueueHash)
335
0 commit comments