Skip to content

op-supernode: skip log backfill during CL sync#20960

Draft
karlfloersch wants to merge 1 commit into
ethereum-optimism:developfrom
karlfloersch:codex/skip-backfill-on-clsync
Draft

op-supernode: skip log backfill during CL sync#20960
karlfloersch wants to merge 1 commit into
ethereum-optimism:developfrom
karlfloersch:codex/skip-backfill-on-clsync

Conversation

@karlfloersch
Copy link
Copy Markdown
Contributor

Summary

Skips interop log backfill whenever any configured supernode virtual node is running in consensus-layer sync mode. The configured backfill depth is left intact, but the effective depth passed into the interop activity is set to zero for CL-sync setups.

Motivation

During a fresh CL-sync recovery, SafeDB can have a startup boundary that is ahead of what the local EL has derived/imported. Cold-start log backfill then asks the local EL for blocks in that window and can pin interop startup on missing blocks. CL sync should be allowed to derive/import those blocks before interop validation advances.

Testing

  • go test ./op-supernode/supernode
  • go test ./op-supernode/...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant