-
Notifications
You must be signed in to change notification settings - Fork 154
feat(l1): make the database path-based #4806
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
Merged
Merged
Changes from 114 commits
Commits
Show all changes
121 commits
Select commit
Hold shift + click to select a range
77c61a6
add benching util
iovoid 37fadd9
edit root cargo.toml
iovoid 731f5ef
basic pathbased impl
iovoid 29850f8
improve serialization
iovoid 4f8e956
read optimization
iovoid fa27f76
fixes
iovoid 9bda718
start fixing snapsync
iovoid fd66967
cleanup
iovoid 26a5715
validate node fetches
iovoid aa86d98
fix opening hash
iovoid 675ee90
fix state healing node fetch
iovoid 60e3476
Merge branch 'main' into pathbased_testing
iovoid cc54cd9
fix merge
iovoid e3103f0
cleanup
iovoid fd0a71c
remove contains_X_node APIs
iovoid 148655f
lint
iovoid 0592338
heal terminal leaves too
iovoid 8aa3966
fix rocksdb test
iovoid 175de2d
save rollback logs
iovoid 454db9b
Revert "save rollback logs"
iovoid 8eac9a9
re-add full-path leaves
iovoid 2678119
lint&fix
iovoid cfda5fb
basic trie layer implementation
iovoid a23275d
add passthrough for trie wrapper, for now
iovoid e1b301c
flush batch to cache instead of db
iovoid 5c34ee8
Merge branch 'main' into pathbased_testing
iovoid e4f5a18
clippy
iovoid 3af5e60
fix insert ordering
iovoid b8d5a78
better find the state root
iovoid 840cb3d
fix storage handling
iovoid 77458d4
fix insert-after-remove
iovoid fad5ba5
revert head to last state
iovoid 9935d98
direct trie and fixes
iovoid a011a3e
fix incorrect miss
iovoid 5f41620
snapsync fixes
iovoid 63f01dc
Merge branch 'main' into pathbased_testing
iovoid dede3ab
also delete from db
iovoid fa28ad7
add healing logic
iovoid fa47749
healing fixes
iovoid ee75c19
docs: add comment
MegaRedHand 6136bf8
refactor: add delete_range function in Store
MegaRedHand 2b077da
Revert "refactor: add delete_range function in Store"
MegaRedHand fc02510
delete range improvement
iovoid aa63a77
Reapply "refactor: add delete_range function in Store"
MegaRedHand 9e06da7
fix extension range delete
iovoid 8750945
fix: add logs and add fix to storage healing
MegaRedHand 0c6ba6e
fix delete path calculation
iovoid 3a01580
Improved logs for speed
fedacking e5645dd
Update storage_healing.rs
fedacking ef27dc6
test: add test for computing subtree ranges
MegaRedHand 49e817f
chore: comment out spammy print
MegaRedHand dce6506
Merge branch 'main' into pathbased_testing
MegaRedHand 63eec48
perf: remove unnecessary clone
MegaRedHand f688021
fix: use full path when computing storage range
MegaRedHand 5d45a41
chore: remove logs
MegaRedHand d4cdc9c
chore: remove commented print
MegaRedHand 2d81017
do not return empty value nodes
iovoid 9f0a639
Merge branch 'main' into pathbased_testing
MegaRedHand bb0464f
fix: remove nodes when writing empty
MegaRedHand 9387932
refactor: improve InconsistentTree error messages
MegaRedHand 8cfbe4c
move storage healing to db thread
iovoid f058dd6
also delete leaf-related paths
iovoid 7dd5d73
chore: enable warn-on-block feature in spawned
MegaRedHand 5c0a47c
fix
MegaRedHand f80e1b5
chore: disable warn-on-block again
MegaRedHand 62dba3c
fix failed insertion error
iovoid ca69f55
Change vec for btreemap on nodes to write state healing
gianbelinche 2753a9a
avoid costly deletions when not needed
iovoid dd45f7d
Merge branch 'main' into pathbased_testing
MegaRedHand cd889eb
Add delete range batch
gianbelinche 36d7a40
Add delete ranges log
gianbelinche f8150c4
fix deleting the wrong nodes
iovoid 389c8d4
Merge branch 'main' into pathbased_testing
MegaRedHand 4a17209
remove unneeded apply_prefix
iovoid bbbe4eb
feat: add failed block hash to log
MegaRedHand 844247f
also free peers in healing
iovoid e626ca0
avoid concurrent writes
iovoid a950ce2
Merge branch 'pathbased_testing' into pathbased_change_db_test
iovoid 31b0590
regnerate snapshot from leaves after healing
iovoid bafbcc0
rename and update val
iovoid c60a57c
fixes
iovoid 986f059
disable snapshots
iovoid d99b01a
restore snap cycle size
iovoid c703e13
remove spammy log
iovoid a82b75c
chore: run cargo fmt
MegaRedHand c0ee61e
chore: remove libmdbx
MegaRedHand 78cbe11
Merge branch 'main' into path_based
MegaRedHand 889a696
chore: fix some clippy issues
MegaRedHand 5fb1428
chore: add some changes from old branch
MegaRedHand c8a0671
chore: remove unused delete_range functions
MegaRedHand 6b994c3
fix: implement eth_getProof again
MegaRedHand bd49420
fix bug in storage insertion
iovoid d595a6a
Merge branch 'main' into path_based
MegaRedHand 9236bea
fix: implement new functionality for InMemoryDb
MegaRedHand 12357f6
chore: remove get_node_checked
MegaRedHand 3a9a443
chore: UNCOMMENT CONDITION
MegaRedHand 0253eae
chore: fix lints
MegaRedHand c7732cf
fix: update Trie::get_node
MegaRedHand f79ac75
chore: update archive_sync
MegaRedHand b28da0f
chore: bump max diff-layers to 128
MegaRedHand 160381a
chore: ignore unused parameter
MegaRedHand 449dbe5
chore: fix lint issue and add comment
MegaRedHand 8721a47
Path based merge optimizations (#4825)
MegaRedHand df29b79
Merge commit '9a03e4c63' into path_based
MegaRedHand f48bc7b
Merge branch 'main' into path_based
MegaRedHand 1b569e3
Merge branch 'main' into path_based
MegaRedHand 06250b8
Merge branch 'main' into path_based
MegaRedHand a39449e
Merge branch 'main' into path_based
MegaRedHand d36b240
Merge branch 'main' into path_based
MegaRedHand 6f1451b
fix: remove call to removed function
MegaRedHand 7b19135
chore(l1): path based cleanup (#4837)
MegaRedHand af578b2
Merge branch 'main' into path_based
jrchatruc 85a4147
chore: remove dbg!
MegaRedHand 69be6af
Merge branch 'main' into path_based
MegaRedHand e88a692
Path based persist diff layers (#4888)
jrchatruc dd5fefb
chore: remove unused dependency
MegaRedHand a73f2da
Merge branch 'main' into path_based
MegaRedHand c835edf
chore: re-add deleted functions
MegaRedHand 620f25d
Fix compilation
jrchatruc a893dd7
chore: remove unused import
MegaRedHand b4cd227
Fix clip help consistency
jrchatruc 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.