-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: integrate snapsync on experimental basis (#3031)
* client: integrate snapsync on experimental basis use statemanager in snap fetchers and fix the snapsync startup and snapsync test functional snapsync integration with static peer state with hacks rebase fixes get static snapsync working again typefix fix spec track safe and finalized in finalized integrate building stat e with skeleton integrate account fetcher with the skeleton * move naive snapprogess tracker to synchronizer * code cleanup and refactor * update the fetching strategy and small progress flags refac * add missing commit * track cl syncsyncronization for snapsync start * handle the sync failure and non completion scenarios * add rudimentary snap progress to el status logs * debug and fix the snapfetcher premature exits and add accountranges %age logging * fix vmstep back * track and log storage and byetcode progress * pretty print stateroot * Terminate storagefetcher after all storage and fragmented requests have been processed * further fixes and improvements * add early detection for snapsync state mismatch * storage and codefetcher fixes * lint * fix statemanager test * refactor finalized and safe block checks for availability and canonicality * fix skeleton spec * fix snap fetcher spec tests * simplify fetcher's fetchPromise assignment * fix cli spec * fix fullsync spec * improve the snapsync fetch flow * small fix * fix refac slip * further code improvs * fix valid log info * cleanup * increase coevragee * sim cleanup * add spec for formatBigDecimal * keep unfinalized non canonical blocks around to handle some reorgs without backfill * store annoucements in unfinalized * improvements for the backfill from skeleton unfinalized blocks * handle simple head reorg --------- Co-authored-by: Amir <indigophi@protonmail.com> Co-authored-by: Jochem Brouwer <jochembrouwer96@gmail.com> Co-authored-by: Holger Drewes <Holger.Drewes@gmail.com>
- Loading branch information
1 parent
ac9830f
commit 9f91d22
Showing
35 changed files
with
1,663 additions
and
528 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.