2019-04-12 22:15:30 +10:00
# Test format: BLS hash-uncompressed
2019-07-01 00:36:19 +01:00
A BLS uncompressed-hash to G2.
2019-04-12 22:15:30 +10:00
## Test case format
2019-07-30 14:09:20 +02:00
The test data is declared in a `data.yaml` file:
2019-04-12 22:15:30 +10:00
```yaml
2019-07-01 00:36:19 +01:00
input:
2019-06-30 16:07:54 +02:00
message: bytes32
2019-06-30 22:18:52 +02:00
domain: bytes8 -- the BLS domain
2019-04-12 22:15:30 +10:00
output: List[List[bytes48]] -- 3 lists, each a length of two
```
2019-04-23 13:00:15 -05:00
All byte(s) fields are encoded as strings, hexadecimal encoding, prefixed with `0x` .
2019-04-12 22:15:30 +10:00
## Condition
The `msg_hash_g2_uncompressed` handler should hash the `message` , with the given `domain` , to G2, without compression, and the result should match the expected `output` .