-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Is the BLS test aggregate_na_pubkeys
correct?
#1840
Comments
Yes! Agreed with
The reasons for using
Do you think it makes sense? It does look a bit weird in YAML format though. |
Can't we just use "Invalid" spelled out? |
I thought we'd agreed to use 0x00...00 to represent the invalid signature 🤷♂️. But, no matter, we can manage as long as it's clear. Update: I've read through everything more closely, and am now throwing an exception when trying to aggregate an empty list of signatures, which seems to be the final conclusion of the discussion. It's either that or return |
Just to clarify, if the output is None then we are supposed to test that there was an exception or error? |
IMO 96-byte output for the invalid cases might be confusing. That means we have to do
Thanks! I think for your implementation, it's similar to how you show it as other invalid cases you've handled already.
Good question! I'm not against it. /cc @protolambda
Correct. :) |
Seems to be sorted. |
There is a new BLS test aggregate_na_pubkeys with these contents:
There seem to be two issues here:
aggregate_na_signatures
, right? Oraggregate_for_na_pubkeys
maybe.0x0000...0000
(96 bytes), right?I'm happy to do a PR to fix this, but just want to confirm I'm not missing something.
I am aware of the conversations here, here, and here.
The text was updated successfully, but these errors were encountered: