-
Notifications
You must be signed in to change notification settings - Fork 261
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_verify_multiple: signature accepted wrongly #429
Comments
mratsim
added a commit
that referenced
this issue
Sep 10, 2019
mratsim
added a commit
that referenced
this issue
Sep 10, 2019
Merged
0.9.1 removes this function: https://github.com/ethereum/eth2.0-specs/releases/tag/v0.9.1 |
0.9.1 might have removed the function, the same issue still manifests. |
It looks like the last instances of this are fixed by #717 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the invalid_sig_2 test case in process_attester_slashing - https://github.com/ethereum/eth2.0-spec-tests/tree/ae6dd9011df05fab8c7e651c09cf9c940973bf81/tests/minimal/phase0/operations/attester_slashing/pyspec_tests/invalid_sig_2
we accept an invalid signature for the second attestation.
Nim logs after instrumentation:
Pyspec logs after similar instrumentation
Differences:
instead of our one-by-one approach https://github.com/status-im/nim-beacon-chain/blob/d1b1ecf86bd44eb01941f0b23c20add7950217ff/beacon_chain/spec/crypto.nim#L182-L202
Tooling
Zcli also properly reject the second attestation with the command:
https://simpleserialize.com/ website confirmed our SSZ serialization/hashing against lodestar implementation.
Instrumentation
Nim
Python
eth2.0-specs/test_libs/pyspec/eth2spec/phase0/spec.py
eth2.0-specs/test_libs/pyspec/eth2spec/utils/bls.py
The text was updated successfully, but these errors were encountered: