Skip to content

fix(archiver): do not error if proposed block matches checkpointed#21367

Merged
PhilWindle merged 2 commits intomerge-train/spartanfrom
palla/no-error-if-proposed-block-is-checkpointed
Mar 11, 2026
Merged

fix(archiver): do not error if proposed block matches checkpointed#21367
PhilWindle merged 2 commits intomerge-train/spartanfrom
palla/no-error-if-proposed-block-is-checkpointed

Conversation

@spalladino
Copy link
Contributor

The archiver block store checks that blocks added as proposed are not
already checkpointed, and fails if so. But this can still happen if the
processing of a block proposal is too slow, and the checkpointed data
from L1 comes in first. Still, if the proposed block matches the checkpointed
one, we should not err.

In a separate commit, simplifies the implementation of addProposedBlock
so it takes only one block at a time, which is the only usage in teh codebase.

The archiver block store checks that blocks added as proposed are not
already checkpointed, and fails if so. But this can still happen if the
processing of a block proposal is too slow, and the checkpointed data
from L1 comes in first.

Still, if the proposed block matches the checkpointed one, we should not
err.
Simplifies the implementation since we never cared for pushing more than
one block at a time, so this removes the plural version of the method.
@PhilWindle PhilWindle merged commit 0e5c43b into merge-train/spartan Mar 11, 2026
16 of 20 checks passed
@PhilWindle PhilWindle deleted the palla/no-error-if-proposed-block-is-checkpointed branch March 11, 2026 15:14
AztecBot pushed a commit that referenced this pull request Mar 11, 2026
…21367)

The archiver block store checks that blocks added as proposed are not
already checkpointed, and fails if so. But this can still happen if the
processing of a block proposal is too slow, and the checkpointed data
from L1 comes in first. Still, if the proposed block matches the checkpointed
one, we should not err.

In a separate commit, simplifies the implementation of `addProposedBlock`
so it takes only one block at a time, which is the only usage in teh codebase.
@AztecBot
Copy link
Collaborator

✅ Successfully backported to backport-to-v4-next-staging #21370.

github-merge-queue bot pushed a commit that referenced this pull request Mar 11, 2026
BEGIN_COMMIT_OVERRIDE
fix: (A-623) increase committee timeout in scenario smoke test (#21193)
feat: orchestrator enqueues via serial queue (#21247)
feat: rollup mana limit gas validation (#21219)
fix: make e2e HA test more deterministic (#21199)
chore: fix chonk_browser lint warning (#21265)
chore: deploy SPONSORED_FPC in test networks (#21254)
fix: (A-635) e2e bot flake on nonce mismatch (#21288)
chore: deflake duplicate attestations and proposals slash tests (#21294)
fix(sequencer): fix log when not enough txs (#21297)
chore: send env var to pods (#21307)
fix: Simulate gas in n tps test. Set min txs per block to 1 (#21312)
fix: update dependabot dependencies (#21238)
test: run nightly bench of block capacity (#20726)
fix: update block_capacity test to use new send() result types (#21345)
fix(node): fix index misalignment in findLeavesIndexes (#21327)
fix(log): do not log validation error if unregistered handler (#21111)
fix: limit parallel blocks in prover to max AVM parallel simulations
(#21320)
fix: use native sha256 to speed up proving job id generation (#21292)
chore: remove v4-devnet-1 (#21044)
fix(validator): wait for l1 sync before processing block proposals
(#21336)
fix(txpool): cap priority fee with max fees when computing priority
(#21279)
chore: Properly compute finalized block (#21156)
fix: remove extra argument in KVArchiverDataStore constructor call
(#21361)
chore: revert l2 slot time 72 -> 36 on scenario network (#21291)
fix(archiver): do not error if proposed block matches checkpointed
(#21367)
fix(claude): rule to not append echo exit (#21368)
chore: reduce severity of errors due to HA node not acquiring signature
(#21311)
fix: make reqresp batch retry test deterministic (#21322)
fix: (A-643) add buffer to maxFeePerBlobGas for gas estimation and fix
bump loop truncation (#21323)
fix(e2e): use L2 priority fee in deploy_method same-block test (#21373)
fix: reqresp flake & add logging (#21334)
END_COMMIT_OVERRIDE
ludamad pushed a commit that referenced this pull request Mar 12, 2026
…21367)

The archiver block store checks that blocks added as proposed are not
already checkpointed, and fails if so. But this can still happen if the
processing of a block proposal is too slow, and the checkpointed data
from L1 comes in first. Still, if the proposed block matches the checkpointed
one, we should not err.

In a separate commit, simplifies the implementation of `addProposedBlock`
so it takes only one block at a time, which is the only usage in teh codebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants