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
Implement SszBitvector #3611
Merged
Nashatyrev
merged 81 commits into
Consensys:master
from
Nashatyrev:feature/ssz-bitvector
Feb 18, 2021
Merged
Implement SszBitvector #3611
Nashatyrev
merged 81 commits into
Consensys:master
from
Nashatyrev:feature/ssz-bitvector
Feb 18, 2021
Conversation
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
…t type (different maxLength) fails now
…hema. SszListSchema.create() would create the SszBitlistSchema if element type is SszBit
…used like a plain structure
…y on Ssz structures
…ectly on Ssz structures
…ature/ssz-bitlist-etc
…ist-etc # Conflicts: # data/provider/src/test/java/tech/pegasys/teku/api/ValidatorDataProviderTest.java # data/serializer/src/test/java/tech/pegasys/teku/provider/JsonProviderTest.java # eth-benchmark-tests/src/jmh/java/tech/pegasys/teku/benchmarks/ssz/SszAttestationBenchmark.java # eth-benchmark-tests/src/jmh/java/tech/pegasys/teku/benchmarks/ssz/SszPendingAttestationBenchmark.java # ethereum/datastructures/src/test/java/tech/pegasys/teku/datastructures/operations/AttestationTest.java # ethereum/datastructures/src/test/java/tech/pegasys/teku/datastructures/state/PendingAttestationTest.java # ethereum/spec/src/testFixtures/java/tech/pegasys/teku/spec/util/DataStructureUtil.java # ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/attestation/AggregateAttestationBuilderTest.java # ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/attestation/AggregatingAttestationPoolTest.java # ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/attestation/AttestationManagerTest.java # ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/attestation/MatchingDataAttestationGroupTest.java # ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/forkchoice/ForkChoiceTest.java # services/beaconchain/src/test/java/tech/pegasys/teku/services/beaconchain/BeaconChainMetricsTest.java # validator/client/src/test/java/tech/pegasys/teku/validator/client/duties/AttestationProductionDutyTest.java # validator/coordinator/src/test/java/tech/pegasys/teku/validator/coordinator/ValidatorApiHandlerTest.java
# Conflicts: # data/beaconrestapi/src/integration-test/java/tech/pegasys/teku/beaconrestapi/v1/node/GetIdentityIntegrationTest.java # data/serializer/src/test/java/tech/pegasys/teku/provider/JsonProviderTest.java # ethereum/datastructures/src/test/java/tech/pegasys/teku/datastructures/networking/libp2p/rpc/MetadataMessageTest.java # ethereum/spec/src/testFixtures/java/tech/pegasys/teku/spec/util/BeaconStateBuilder.java # ethereum/spec/src/testFixtures/java/tech/pegasys/teku/spec/util/DataStructureUtil.java # networking/p2p/src/test/java/tech/pegasys/teku/networking/p2p/discovery/DiscoveryNetworkTest.java # networking/p2p/src/test/java/tech/pegasys/teku/networking/p2p/discovery/discv5/NodeRecordConverterTest.java
…ector # Conflicts: # data/serializer/src/main/java/tech/pegasys/teku/provider/JsonProvider.java # data/serializer/src/test/java/tech/pegasys/teku/provider/JsonProviderTest.java # ethereum/datastructures/src/test/java/tech/pegasys/teku/datastructures/networking/libp2p/rpc/MetadataMessageTest.java # ethereum/spec/src/testFixtures/java/tech/pegasys/teku/spec/util/DataStructureUtil.java # ssz/src/main/java/tech/pegasys/teku/ssz/backing/schema/AbstractSszListSchema.java # ssz/src/main/java/tech/pegasys/teku/ssz/backing/schema/SszComplexSchemas.java # ssz/src/main/java/tech/pegasys/teku/ssz/backing/view/SszUtils.java # ssz/src/test/java/tech/pegasys/teku/ssz/backing/collections/BitvectorImplTest.java
ajsutton
approved these changes
Feb 17, 2021
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.
LGTM.
…ector # Conflicts: # ethereum/spec/src/main/java/tech/pegasys/teku/spec/statetransition/epoch/EpochProcessor.java
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Description
SszBitvector
andSszBitvectorSchema
Bitvector
usages withSszBitvector
Bitvector
is still internally used it is now not exposed (package private)SszComplexSchemas.SszBitVectorSchema
TreeNode
calculation forSszBitvector
to avoid overhead when usingSszBitvector
as just a bitvector structureBenchmarks
Fixed Issue(s)
Part of #3540
Documentation
documentation
label to this PR if updates are required.Changelog