-
Notifications
You must be signed in to change notification settings - Fork 43
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
feat(l1): batch account updates in full sync #2088
Draft
MarcosNicolau
wants to merge
21
commits into
main
Choose a base branch
from
full-sync-holesky
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+643
−180
Draft
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f2dd8b9
fix: full syncing
MarcosNicolau 164e8b6
chore: lower peer timeout when requesting block headers and bodies
MarcosNicolau 88d62ad
fix: max request lengths
MarcosNicolau c1b7926
chore: max bodies request constants
MarcosNicolau 86b8f54
chore: address clippy warnings
MarcosNicolau 4450593
feat: indexed chunks type for libdmbx
MarcosNicolau 1347db6
feat: implement indexed chunks for receipts
MarcosNicolau 7cc01fd
refactor: return key value pair in indexed chunk from impl
MarcosNicolau eaaf721
chore: address clippy warnings
MarcosNicolau b0b2f8f
test: libmdbx indexed chunks
MarcosNicolau c6b3a52
feat: time metrics for syncing
MarcosNicolau 693950e
Merge remote-tracking branch 'origin' into fix/full-sync
MarcosNicolau 06198bd
feat: metrics for account updates
MarcosNicolau 36eb055
Merge branch 'fix/full-sync' into feat/syncing-benchmark
MarcosNicolau 9e39f01
fix: add block result in payload
MarcosNicolau d7a1f1d
fix: get chunk last block when downloading blocks
MarcosNicolau 256f4b3
fix: division by zero in stats
MarcosNicolau 2338c22
Merge branch 'fix/full-sync' into full-sync-holesky
MarcosNicolau f29b926
Merge branch 'feat/syncing-benchmark' into full-sync-holesky
MarcosNicolau a016dec
Merge branch 'fix/receipts-invalid-size-libmdbx' into full-sync-holesky
MarcosNicolau 2521f8b
feat: quick solution to batch state root validation
MarcosNicolau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking something in the lines of adding
add_blocks
, which only commits the trie once.Then you can trivially add
fn add_block(block) { add_blocks(vec![block])}
Thoughts?