Closed zilm13 closed 5 years ago
I agree with @zilm13 on this one. As Signatures are set to exactly 96 bytes so we should pad leading 0's when representing a G2 point.
Just saw this. Is this still the case? Probably an error in the yaml writer
Yep it's still there. That's the only test case I can see this is an issue.
looking into it for v0.7.1
release!
This may be the reason: https://github.com/ethereum/py_ecc/pull/70 Sorry, wrong BLS issue, intended to comment on another
addressed in https://github.com/ethereum/eth2.0-specs/pull/1179
To be released in v0.7.1
case 5:
output should be of two 48-bytes points, but second is trimmed to 47 bytes, should be
0x00a62b..
instead. I guess, we shouldn't trim leading zeroes that as we don't do this withmessage
, we have fixed size ssz fields etc.