Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap sync to not include pre-merge blocks and receipts #8005

Open
jframe opened this issue Dec 9, 2024 · 0 comments
Open

Snap sync to not include pre-merge blocks and receipts #8005

jframe opened this issue Dec 9, 2024 · 0 comments
Labels
history reduce disk reqs thru history mgmt mainnet syncing

Comments

@jframe
Copy link
Contributor

jframe commented Dec 9, 2024

Description

As part of supporting history expiry where clients are no longer required to serve blocks and receipts pre-merge we might not be able to reliably download blocks and receipts before the merge block.

Modify the current snap sync mode to not download the bodies and receipts before the merge block.

Acceptance Criteria

  • Snap sync mode downloads all headers from head to genesis
  • Snap sync does not download bodies and receipts before the pre-merge block
  • Has a configurable checkpoint above which we download blocks and receipts
  • By default, the checkpoint is the merge block
  • This becomes the new default for snap sync and checkpoint is replaced by this with the configurable checkpoint
@jframe jframe added history reduce disk reqs thru history mgmt mainnet syncing labels Dec 9, 2024
@jframe jframe changed the title Snap sync to include to not include pre-merge blocks and receipts Snap sync to not include pre-merge blocks and receipts Dec 9, 2024
@jflo jflo added this to the Prelude to 44444 milestone Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
history reduce disk reqs thru history mgmt mainnet syncing
Projects
None yet
Development

No branches or pull requests

2 participants