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.
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
CIP-26 precompile #1307
CIP-26 precompile #1307
Changes from 42 commits
5271197
864d32b
35a5ee8
34d70fe
1b979f7
5c7db35
82ddcf8
eaa897c
07bb8db
445e25c
560237d
ea864b1
39b469c
fd57717
30020a3
b62cddd
55b4fbf
1abe77d
0d1bf45
d601ee8
cb370b6
f011ba3
2beee9d
482d0ff
b8c282e
7588189
08e3680
f485685
534d953
a933787
bc5a501
253a683
02ced03
5c01027
3e090b8
e3fd5ae
8488d5a
ccd4ed7
b7e4d88
f81712a
7a26fa9
a0b3e4d
60b7444
4eac714
f87f8a0
9162700
e9f9b0d
3eed19e
15088e8
b088522
24d533c
4a8fdda
570f9e1
b938e23
8efc8fc
3180b92
c5891c6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
shouldn't this check be done the moment we compute the uncompressed key??
are all the others callers left to do the validation themselves, as if
.BLSPublicKeyUncompressed()
could return an invalid version of this???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.
It will return a string with length 0 if the compressed BLS public key is invalid. Of course, this should never be the case, but I think it's better to not crash with out of bounds access here.