mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-17 11:42:04 -05:00
518 B
518 B
Test format: BLS hash-compressed
A BLS compressed-hash to G2.
Test case format
The test data is declared in a data.yaml file:
input:
message: bytes32
domain: bytes8 -- the BLS domain
output: List[bytes48] -- length of two
All byte(s) fields are encoded as strings, hexadecimal encoding, prefixed with 0x.
Condition
The msg_hash_g2_compressed handler should hash the message, with the given domain, to G2 with compression, and the result should match the expected output.