-
Notifications
You must be signed in to change notification settings - Fork 21
ProgressiveMerkleHasher and progressive container support #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
Open
michaelsproul
wants to merge
34
commits into
main
Choose a base branch
from
progressive
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 21 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
8ef1e59
Initial plan
Copilot c3b75c7
Add ProgressiveMerkleHasher implementation with basic tests
Copilot 74331be
Add byte buffering and comprehensive tests for ProgressiveMerkleHasher
Copilot f5ecf94
Export ProgressiveMerkleHasherError from lib.rs
Copilot 3e30512
Add clarifying comment about hash order in progressive merkleization
Copilot 0746652
Refactor ProgressiveMerkleHasher for efficiency - hash chunks as they…
Copilot 16fc4a0
Address code review feedback - improve documentation and extract help…
Copilot 733344a
Refactor ProgressiveMerkleHasher to use MerkleHasher internally for b…
Copilot 8277f30
Fmt
michaelsproul 4fb08f8
Start implementing derive macro
michaelsproul 0a5ed99
Implement TreeHash for ProgressiveBitList
michaelsproul 26fc12f
Remove unnecessary max_leaves from ProgressiveMerkleHasher
michaelsproul f101c04
mix in length
michaelsproul f13637a
Add workaround for empty progressive bitlist
michaelsproul 7400510
Use active_fields correctly
michaelsproul 2fd8071
Implement compatible union support with manual selectors
michaelsproul 4f73499
Read/verify ssz attributes as well as tree_hash
michaelsproul 656b85e
Document quirk of bitfield hashing
michaelsproul 9248e51
Remove inelegant temporary hasher
michaelsproul 528a1a7
Remove from_slice
michaelsproul 2f96e24
Document TreeHashType choice
michaelsproul 817387c
Reverse tree order to match spec
macladson 4c9b040
Fix clippy
macladson 858514b
Use git dep instead of path dep
macladson ab57ec3
Merge branch 'main' into progressive
macladson ca07459
Fix typo in expect
macladson 5e272f3
General tidy up
macladson 2976d8c
Fix SSZ API
michaelsproul 58c37e8
Merge remote-tracking branch 'origin/main' into progressive
michaelsproul de9e268
Pin ethereum_ssz
michaelsproul 2bd2335
Merge variant selectors from tree_hash and ssz attributes field-by-field
michaelsproul 58b0279
Give a clear error for enum variants with named fields
michaelsproul 5bfc5c5
Reject 0-variant compatible unions explicitly
michaelsproul 03d9fa4
Reject manual selectors on transparent enums
michaelsproul 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
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.