mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 04:24:56 -05:00
1. Make sure that BLS -Verify APIs would only return `True` or `False` , no exceptions. 2. Use `eth2spec.utils.bls` instead of py_ecc for test generator 3. Add assertions in test generator 4. Add some special test cases for the -Verify APIs 5. Clean up the test format documents
BLS tests
A test type for BLS. Primarily geared towards verifying the integration of any BLS library. We do not recommend rolling your own crypto or using an untested BLS library.
The BLS test suite runner has the following handlers:
aggregate_pubkeysaggregate_sigsmsg_hash_g2_compressedmsg_hash_g2_uncompressedpriv_to_pubsign_msg
Note: Signature-verification and aggregate-verify test cases are not yet supported.