pub trait SubmitParachainHeadsCallBuilder<P: SubstrateParachainsPipeline>: 'static + Send + Sync {
// Required method
fn build_submit_parachain_heads_call(
at_relay_block: HeaderIdOf<P::SourceRelayChain>,
parachains: Vec<(ParaId, ParaHash)>,
parachain_heads_proof: ParaHeadsProof,
is_free_execution_expected: bool,
) -> CallOf<P::TargetChain>;
}
Expand description
Different ways of building submit_parachain_heads
calls.
Required Methods§
sourcefn build_submit_parachain_heads_call(
at_relay_block: HeaderIdOf<P::SourceRelayChain>,
parachains: Vec<(ParaId, ParaHash)>,
parachain_heads_proof: ParaHeadsProof,
is_free_execution_expected: bool,
) -> CallOf<P::TargetChain>
fn build_submit_parachain_heads_call( at_relay_block: HeaderIdOf<P::SourceRelayChain>, parachains: Vec<(ParaId, ParaHash)>, parachain_heads_proof: ParaHeadsProof, is_free_execution_expected: bool, ) -> CallOf<P::TargetChain>
Given parachains and their heads proof, build call of submit_parachain_heads
function of bridge parachains module at the target chain.
Object Safety§
This trait is not object safe.