Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 652 Bytes

eth_aggregate_pubkeys.md

File metadata and controls

19 lines (12 loc) · 652 Bytes

Test format: Ethereum-customized BLS pubkey aggregation

A BLS pubkey aggregation combines a series of pubkeys into a single pubkey.

Test case format

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

input: List[BLS Pubkey] -- list of input BLS pubkeys
output: BLSPubkey -- expected output, single BLS pubkeys or `null`.
  • BLS Pubkey here is encoded as a string: hexadecimal encoding of 48 bytes (96 nibbles), prefixed with 0x.
  • output value is null if the input is invalid.

Condition

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