-
Notifications
You must be signed in to change notification settings - Fork 170
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
Implement SnapSync for Juno #1828
Comments
|
PR on missed data https://github.com/starknet-io/starknet-p2p-specs/pull/32/files |
Changed the snap server interface.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tasks:
Leaf proof and verification
Leaf range (Pawel & Rian) Implement the leaf range extraction and verification #1871
Refactor the original PoC code to align with the new range query interface (Ashraf)
Offline copy state via range (Ashraf)
(somewhere at this point) ability to prove any state (or
n
-most recent states)1. **[4 days + 2 days?](Actual: 12 days) ** Integrate with p2p (Ashraf & Pawel)
2 [2 days + 2 days?]/Actual: 8 days) Perform static sync on cloud VM that contains
3. [1 day]/(Actual: 2 days) Implement a hidden CLI command flag in Juno to explicitly launch it in SnapSync mode
(in review Add sync mode p2p CLI flag #2186)
main
Status on 7th Oct:
All above have been completed and yielded additional improvement work (as mentioned in point 4. below)
Final PR for task 2. requires merging (Snapsync with p2p #2120)
Elapsed actual time spent was 22 days, so the accuracy of original estimations was 11 days est vs 22 days act.
We extrapolate this to all remaining estimations.
4. [2 days] Implement robustness improvements in P2P handlers
5. [] Snapshot Layer
5. [3 days + 3 days] Implement healing = remember start block and last block jumped to apply state diffs
6. [???] Ensure that node operates properly after SnapSync phase completes:
7. [1 day + 1 day] Implement the verification of remote node's capabilities (ie. does it support SnapSync?) when connecting to fetch SnapSync-specific data
8. [5 days + 5 days] Sync the sepolia via snapsync (2 nodes) & fix all issues in the process
9. [2 days + 2 days] Open the PR with
snap-sync-p2p
branch & code review10. [5 days] Present and share the SnapSync implementation to other Client teams
The text was updated successfully, but these errors were encountered: