Commit a0d9a82
fix(archiver): swallow error when rollup contract not yet finalized on 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>1 parent 5528388 commit a0d9a82
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
| |||
0 commit comments