referrerpolicy=no-referrer-when-downgrade
pub trait ReportEquivocationCallBuilder<P: SubstrateEquivocationDetectionPipeline> {
    // Required method
    fn build_report_equivocation_call(
        equivocation_proof: EquivocationProofOf<P>,
        key_owner_proof: KeyOwnerProofOf<P>,
    ) -> CallOf<P::SourceChain>;
}
Expand description

Different ways of building report_equivocation calls.

Required Methods§

source

fn build_report_equivocation_call( equivocation_proof: EquivocationProofOf<P>, key_owner_proof: KeyOwnerProofOf<P>, ) -> CallOf<P::SourceChain>

Build a report_equivocation call to be executed on the source chain.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<P, R> ReportEquivocationCallBuilder<P> for DirectReportGrandpaEquivocationCallBuilder<P, R>
where P: SubstrateEquivocationDetectionPipeline, P::FinalityEngine: Engine<P::SourceChain, EquivocationProof = EquivocationProof<HashOf<P::SourceChain>, BlockNumberOf<P::SourceChain>>>, R: Config<Hash = HashOf<P::SourceChain>> + GrandpaConfig<KeyOwnerProof = KeyOwnerProofOf<P>>, <R::Block as Block>::Header: Header<Number = BlockNumberOf<P::SourceChain>>, CallOf<P::SourceChain>: From<Call<R>>,