[Merged by Bors] - Add a new bls test#3235
Conversation
c8daf66 to
b5b4074
Compare
|
hi @zsluedem is this ready for review? |
@michaelsproul There is one thing which I am not sure. Do you need the tests |
paulhauner
left a comment
There was a problem hiding this comment.
This is super clean and tidy, I couldn't have suggested a better method of implementation 🚀
I apologise for letting this PR linger for so long, it's a great contribution and deserved to be merged sooner.
I have a few suggestions here, mostly just minor nit-picks. If I'm clever enough, you might be able to just commit the suggestions and still compile and get past the linter (spoiler, I'm probably not clever enough).
There is a merge conflict for which I couldn't resolve via a suggestion. That should be an easy fix though.
Once again, thanks for this. If you're able to address these comments I'll make sure it gets merged quickly 🙏
425394e to
b952b7f
Compare
b952b7f to
6ff5dbf
Compare
|
@paulhauner Conflicts resolved and comments addressed. |
|
bors r+ |
## Issue Addressed Which issue # does this PR address? #2629 ## Proposed Changes Please list or describe the changes introduced by this PR. 1. ci would dowload the bls test cases from https://github.com/ethereum/bls12-381-tests/ 2. all the bls test cases(except eth ones) would use cases in the archive from step one 3. The bls test cases from https://github.com/ethereum/consensus-spec-tests would stay there and no use . For the future , these bls test cases would be remove suggested from ethereum/consensus-spec-tests#25 . So it would do no harm and compatible for future cases. ## Additional Info Please provide any additional information. For example, future considerations or information useful for reviewers. Question: I am not sure if I should implement tests about `deserialization_G1`, `deserialization_G2` and `hash_to_G2` for the issue.
|
Pull request successfully merged into unstable. Build succeeded:
|
## Issue Addressed Which issue # does this PR address? sigp#2629 ## Proposed Changes Please list or describe the changes introduced by this PR. 1. ci would dowload the bls test cases from https://github.com/ethereum/bls12-381-tests/ 2. all the bls test cases(except eth ones) would use cases in the archive from step one 3. The bls test cases from https://github.com/ethereum/consensus-spec-tests would stay there and no use . For the future , these bls test cases would be remove suggested from ethereum/consensus-spec-tests#25 . So it would do no harm and compatible for future cases. ## Additional Info Please provide any additional information. For example, future considerations or information useful for reviewers. Question: I am not sure if I should implement tests about `deserialization_G1`, `deserialization_G2` and `hash_to_G2` for the issue.
## Issue Addressed Which issue # does this PR address? sigp#2629 ## Proposed Changes Please list or describe the changes introduced by this PR. 1. ci would dowload the bls test cases from https://github.com/ethereum/bls12-381-tests/ 2. all the bls test cases(except eth ones) would use cases in the archive from step one 3. The bls test cases from https://github.com/ethereum/consensus-spec-tests would stay there and no use . For the future , these bls test cases would be remove suggested from ethereum/consensus-spec-tests#25 . So it would do no harm and compatible for future cases. ## Additional Info Please provide any additional information. For example, future considerations or information useful for reviewers. Question: I am not sure if I should implement tests about `deserialization_G1`, `deserialization_G2` and `hash_to_G2` for the issue.
Issue Addressed
Which issue # does this PR address?
#2629
Proposed Changes
Please list or describe the changes introduced by this PR.
Additional Info
Please provide any additional information. For example, future considerations
or information useful for reviewers.
Question:
I am not sure if I should implement tests about
deserialization_G1,deserialization_G2andhash_to_G2for the issue.