referrerpolicy=no-referrer-when-downgrade

Module test_utils

Source
Expand description

Test utilities

Structs§

KeyringIter
An iterator over the variants of Keyring

Enums§

Keyring
Set of test accounts using crate::ecdsa_crypto types.

Traits§

BeefySignerAuthority
Trait representing BEEFY specific generation and signing behavior of authority id

Functions§

generate_double_voting_proof
Create a new DoubleVotingProof based on given arguments.
generate_fork_voting_proof
Create a new ForkVotingProof based on vote & canonical header.
generate_future_block_voting_proof
Create a new ForkVotingProof based on vote & canonical header.
signed_vote
Create a new VoteMessage from commitment primitives and keyring