2
0
mirror of https://github.com/status-im/eth2.0-specs.git synced 2025-01-10 18:55:38 +00:00
2020-05-15 23:27:35 +08:00

640 B

Test format: BLS signature aggregation

A BLS signature aggregation combines a series of signatures into a single signature.

Test case format

The test data is declared in a data.yaml file:

input: List[BLS Signature] -- list of input BLS signatures
output: BLS Signature -- expected output, single BLS signature or empty.
  • BLS Signature here is encoded as a string: hexadecimal encoding of 96 bytes (192 nibbles), prefixed with 0x.
  • No output value if the input is invalid.

Condition

The aggregate handler should aggregate the signatures in the input, and the result should match the expected output.