pub trait SubmitFinalityProofCallBuilder<P: SubstrateFinalitySyncPipeline> {
// Required method
fn build_submit_finality_proof_call(
header: SyncHeader<HeaderOf<P::SourceChain>>,
proof: SubstrateFinalityProof<P>,
is_free_execution_expected: bool,
context: <<P as SubstrateFinalityPipeline>::FinalityEngine as Engine<P::SourceChain>>::FinalityVerificationContext,
) -> CallOf<P::TargetChain>;
}
Expand description
Different ways of building submit_finality_proof
calls.
Required Methods§
sourcefn build_submit_finality_proof_call(
header: SyncHeader<HeaderOf<P::SourceChain>>,
proof: SubstrateFinalityProof<P>,
is_free_execution_expected: bool,
context: <<P as SubstrateFinalityPipeline>::FinalityEngine as Engine<P::SourceChain>>::FinalityVerificationContext,
) -> CallOf<P::TargetChain>
fn build_submit_finality_proof_call( header: SyncHeader<HeaderOf<P::SourceChain>>, proof: SubstrateFinalityProof<P>, is_free_execution_expected: bool, context: <<P as SubstrateFinalityPipeline>::FinalityEngine as Engine<P::SourceChain>>::FinalityVerificationContext, ) -> CallOf<P::TargetChain>
Given source chain header, its finality proof and the current authority set id, build call
of submit_finality_proof
function of bridge GRANDPA module at the target chain.
Object Safety§
This trait is not object safe.