eth2.0-specs/tests/formats/bls/sign.md

444 B

Test format: BLS sign message

Message signing with BLS should produce a signature.

Test case format

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

input:
  privkey: bytes32 -- the private key used for signing
  message: bytes32 -- input message to sign (a hash)
output: BLS Signature -- expected output, single BLS signature or empty.

All byte(s) fields are encoded as strings, hexadecimal encoding, prefixed with 0x.