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 issue tracker #1848

Closed
jochem-brouwer opened this issue Apr 7, 2022 · 3 comments
Closed

Snap sync issue tracker #1848

jochem-brouwer opened this issue Apr 7, 2022 · 3 comments

Comments

@jochem-brouwer
Copy link
Member

This issue is to track implementing Geth's snap sync into the client. This issue will most likely get updated a lot.

High level plan:

  1. Implement snap protocol into client
  2. Implement a way to get state root from snapshot
  3. Setup Geth with a small test network (Sepolia), and freeze this chain (do not support dynamic snapshots first, which moves along with the chain as it updates), i.e. geth --sepolia and when it is synced (it has the snapshot) geth --sepolia --nodiscover
  4. Use snap protocol + db to download the snapshot and when this is done, retrieve the state root and verify
  5. TODO: extra steps to upgrade to dynamic snapshots (i.e. we can follow a live chain)

Semi-related is to switch to using snap for beam sync.

Handy URLs:

@jochem-brouwer
Copy link
Member Author

#1876

@scorbajio
Copy link
Contributor

#1893

@scorbajio
Copy link
Contributor

Closing this and continuing on #2874.

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

No branches or pull requests

3 participants