-
Notifications
You must be signed in to change notification settings - Fork 304
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
BLS tests: cover both implementations #2490
BLS tests: cover both implementations #2490
Conversation
…aces # Conflicts: # bls/src/main/java/tech/pegasys/teku/bls/BLS.java # bls/src/main/java/tech/pegasys/teku/bls/BLSPublicKey.java # bls/src/test/java/tech/pegasys/teku/bls/BLSPublicKeyTest.java # data/provider/src/main/java/tech/pegasys/teku/api/schema/BLSPubKey.java
# Conflicts: # bls/build.gradle # bls/src/test/java/tech/pegasys/teku/bls/impl/mikuli/hash2g2/ReferenceTests.java
…re and make them private
…BLSPublicKey fromSSZBytes() and fromBytesCompressed() though they are equivalent with current SSZ implementation
…Compressed() though they are equivalent with the current SSZ implementation
…S.aggregateSignatures() -> BLS.aggregate()
…-bls-tests # Conflicts: # bls/src/main/java/tech/pegasys/teku/bls/BLS.java # bls/src/test/java/tech/pegasys/teku/bls/BLSSecretKeyTest.java # bls/src/test/java/tech/pegasys/teku/bls/BLSTest.java
The only other way I can think to implement would be to use
|
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
PR Description
Follow up to #2453
Make all
BLS*Test
testing bothMikuli
andBlst
implementationsHonestly I don't like how this is implemented, so any JUnit hints on how to improve this solution are very appreciated
Documentation
documentation
label to this PR if updates are required.