Skip to content

fix(archiver): swallow error when rollup contract not yet finalized on L1#22156

Merged
spalladino merged 1 commit intomerge-train/spartanfrom
palla/fix-finalized-checkpoint-no-data
Mar 30, 2026
Merged

fix(archiver): swallow error when rollup contract not yet finalized on L1#22156
spalladino merged 1 commit intomerge-train/spartanfrom
palla/fix-finalized-checkpoint-no-data

Conversation

@spalladino
Copy link
Copy Markdown
Contributor

Motivation

Right after deployment, the archiver's L1 sync queries getProvenCheckpointNumber at the finalized L1 block tag. But if the rollup contract didn't exist yet at that L1 block, the call returns no data and logs a noisy warning on every sync iteration.

Approach

Swallow the "returned no data" error in updateFinalizedCheckpoint since it's an expected transient condition. Other errors still log a warning.

Changes

  • archiver: Silence the ContractFunctionExecutionError with "returned no data" in updateFinalizedCheckpoint, which occurs when the rollup contract is too new to exist at the finalized L1 block

…n L1

Right after deployment, querying getProvenCheckpointNumber at the
finalized L1 block fails because the contract didn't exist yet at
that block. This is expected and should not log a warning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@spalladino spalladino merged commit 828d5b6 into merge-train/spartan Mar 30, 2026
19 of 23 checks passed
@spalladino spalladino deleted the palla/fix-finalized-checkpoint-no-data branch March 30, 2026 16:29
AztecBot pushed a commit that referenced this pull request Mar 30, 2026
…n L1 (#22156)

## Motivation

Right after deployment, the archiver's L1 sync queries
`getProvenCheckpointNumber` at the finalized L1 block tag. But if the
rollup contract didn't exist yet at that L1 block, the call returns no
data and logs a noisy warning on every sync iteration.

## Approach

Swallow the "returned no data" error in `updateFinalizedCheckpoint`
since it's an expected transient condition. Other errors still log a
warning.

## Changes

- **archiver**: Silence the `ContractFunctionExecutionError` with
"returned no data" in `updateFinalizedCheckpoint`, which occurs when the
rollup contract is too new to exist at the finalized L1 block

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@AztecBot
Copy link
Copy Markdown
Collaborator

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

github-merge-queue bot pushed a commit that referenced this pull request Mar 30, 2026
BEGIN_COMMIT_OVERRIDE
chore: setup snapshot retention rules (#22107)
fix: add branding to Buffer16 and Buffer32 to prevent cross-type misuse
(#22128)
chore: (A-723) redact beacon api key in debug path (#22115)
fix(archiver): use Buffer16.ZERO for rolling hash fallback in L1
synchronizer (#22133)
feat(pipeline): allow syncing blocks ontop of the proposed chain
(#21025)
fix(logger): no arbitrary long logger module name (#22143)
chore: setup workload identity for ESO (#22137)
fix: Make test more robust to committee selection. (#22139)
fix: handle error event on SSH agent socket to prevent Node crash
(#22090)
fix: disable SponsoredFPC on staging-public (#22150)
fix(archiver): swallow error when rollup contract not yet finalized on
L1 (#22156)
chore: update dashboard (#22157)
chore: switch testnet back to prod resource profile (#22159)
chore: nightly scenario deployments should not be triggered by older
images (#22148)
END_COMMIT_OVERRIDE
AztecBot added a commit that referenced this pull request Mar 31, 2026
BEGIN_COMMIT_OVERRIDE
chore: backport - drop dead legacy oracle mappings (#22035)
fix: backport timestamp and anvil fixes (#22110)
fix(archiver): swallow error when rollup contract not yet finalized on
L1 (#22156)
END_COMMIT_OVERRIDE
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