-
Notifications
You must be signed in to change notification settings - Fork 999
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
Add Bitlist and Bitvector #1224
Merged
Merged
Changes from 17 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
02f6ba3
Add Bitvector and Bitlist
dankrad 23c7435
Add some tests and fix pack
dankrad 494984f
Fix linting errors
dankrad d641e94
Cleanups
JustinDrake 67c50cb
Changed attestation and custody bitfields
dankrad becb7a0
justification_bitfield -> Bitvector[4]
dankrad 80c680e
Phase 1 to Bitvector/Bitlist
dankrad f57387c
Justification bitvector length to constant
dankrad a5154da
suggestion to implement bitfield like
protolambda b574a58
Remove not working py-ssz decoder tests
dankrad 8ed638b
Linter fixes
dankrad 2cb23d3
Merge remote-tracking branch 'origin/bitfield-suggestion' into dankra…
dankrad afd86f7
Fixes in ssz impl
dankrad 93ce168
More linting fixes
dankrad 7adf07e
A few more tests for Bitvector/Bitlist
dankrad 237b41d
Slice notation for justification_bitfield shift
dankrad 2677d23
Some more (shorter) Bitvector and Bitlist tests
dankrad 2622548
Merge remote-tracking branch 'origin/dev' into dankrad-patch-8
dankrad 196ac42
Cleanup naming
JustinDrake 6f9d374
Cleanups
JustinDrake e36593b
Add comment
JustinDrake 05842f8
Update 0_beacon-chain.md
JustinDrake 5ff13dd
be explicit about limiting for HTR and chunk padding
protolambda 128bbbc
fix slicing, and support partial slice bounds
protolambda 25db397
fix line length lint problem in checkpoint
protolambda 5f0e583
resolved merge conflicts, take attesters seq->set change from dev, ta…
protolambda fa84c49
Update specs/core/0_beacon-chain.md
dankrad 6a2d2c8
Bitlist for attestation doc
dankrad 4dcb47e
Update test_libs/pyspec/eth2spec/test/phase_0/block_processing/test_p…
dankrad be04eb2
Change copy style, and remove deepcopy import
dankrad 4f31207
reword merkleize with limit / length
protolambda 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.
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.
We don't need this function, right?
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 did not change this logic at the moment because that will likely change quite a bit anyway. I think in the future, we will not need it, but I wanted to keep the old implementation alive for now.