Function sp_consensus_beefy::test_utils::generate_fork_voting_proof
source · pub fn generate_fork_voting_proof<Header: HeaderT<Number = u64>, AncestryProof>(
vote: (u64, Payload, ValidatorSetId, &Keyring<AuthorityId>),
ancestry_proof: AncestryProof,
header: Header,
) -> ForkVotingProof<Header, Public, AncestryProof>
Expand description
Create a new ForkVotingProof
based on vote & canonical header.