-
Notifications
You must be signed in to change notification settings - Fork 746
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
Tree states to support per-slot state diffs #4652
Merged
michaelsproul
merged 12 commits into
sigp:tree-states
from
jimmygchen:per_slot_state_diffs
Sep 11, 2023
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
0be6b47
Support per slot state diffs
jimmygchen 251c9ed
Store HierarchyConfig on disk. Support storing hdiffs at per slot level.
jimmygchen ed7f6b0
Revert HierachyConfig change for testing.
jimmygchen 4dfc47a
Add validity check for the hierarchy config when opening the DB.
jimmygchen 3f56179
Merge branch 'per_slot_state_diffs' of github.com:jimmygchen/lighthou…
jimmygchen b74fe77
Update HDiff tests.
jimmygchen 44c259d
Fix `get_cold_state` panic when the diff for the slot isn't stored.
jimmygchen 6b62570
Use slots instead of epochs for storing snapshots in freezer DB.
jimmygchen 757580e
Add snapshot buffer to `diff_buffer_cache` instead of loading it from…
jimmygchen 544d612
Add `hierarchy-exponents` cli flag to beacon node.
jimmygchen f40ef80
Add test for `StorageStrategy::ReplayFrom` and ignore a flaky test.
jimmygchen 36a93e5
Drop hierarchy_config in tests for more frequent snapshot and fix an …
jimmygchen 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
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.
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.
This is a fantastic explanation, thanks!