Repository navigation
fix(salt): allow 2^40 bucket capacity and validate what proofs and witnesses decode #150
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
Open
flyq
wants to merge
17
commits into
main
Choose a base branch
from
liquan/fix/max-bucket-capacity
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.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
be631ce
fix(state): allow bucket capacity to reach 2^40
flyq 80d22c0
docs(salt): state the 2^40 bucket-capacity ceiling consistently
flyq 282d385
docs(trie): don't overstate what bounds subtree_root_level's input
flyq 4b5270a
test(state): decouple the capacity test from the load-factor threshold
flyq 802e30d
fix(proof): reject out-of-range subtree levels on decode
flyq 0ab6a66
fix(types): bound SaltValue's declared lengths on decode
flyq b331179
docs(state): describe what a skipped load-factor resize costs
flyq 8811188
fix(types): bound BucketMeta capacity on decode
flyq adb61d2
fix(trie): keep subtree-local node arithmetic in u64
flyq cdad45b
refactor(types): validate SaltValue through a field-level deserializer
flyq 088def6
docs(salt): qualify the resize backstop and the README growth example
flyq e44090c
test(proof): keep levels fixtures inside the valid range
flyq a1ddd44
chore(mutants): re-pin line-scoped suppressions after line drift
flyq a93e212
fix(proof): subtract child offsets in u64 before narrowing to usize
flyq 8a8d398
fix(trie): fail fast when get_parent_node lands on the wrong level
flyq ebe1039
refactor(salt): pin the capacity ceiling at compile time and drop the…
flyq f93abed
fix(constant): pin the deepest subtree node exactly so the spec-gate …
flyq 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 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.