Skip to content

feat(snap-sync): advance the pivot while state downloads remain unfinished - #27299

Open
lean-apple wants to merge 7 commits into
paradigmxyz:mainfrom
lean-apple:feat/snap-sync-pivot-advancement
Open

lean-apple wants to merge 7 commits into
paradigmxyz:mainfrom
lean-apple:feat/snap-sync-pivot-advancement

Conversation

@lean-apple

@lean-apple lean-apple commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Adds SnapSyncSession::advance, which re-anchors a lagging pivot to a newer canonical block. Account coverage and storage progress carry over, so downloads resume at the new root instead of restarting. Catch-up now also applies block access list slot changes to storage persisted ahead of its range, and range commits relying on that storage wait until catch-up reaches the pivot.

Related to OSS-751.

…d shorter pages

A new partial contract no longer replaces one carried across a pivot move, and committing a page hands the progress past its end to the next range.
@lean-apple
lean-apple marked this pull request as ready for review September 18, 2026 07:06
@lean-apple
lean-apple requested a review from gakonst as a code owner September 18, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant