referrerpolicy=no-referrer-when-downgrade
pub trait ReceiveMessagesProofCallBuilder<P: SubstrateMessageLane> {
    // Required method
    fn build_receive_messages_proof_call(
        relayer_id_at_source: AccountIdOf<P::SourceChain>,
        proof: SubstrateMessagesProof<P::SourceChain, P::LaneId>,
        messages_count: u32,
        dispatch_weight: Weight,
        trace_call: bool,
    ) -> CallOf<P::TargetChain>;
}
Expand description

Different ways of building receive_messages_proof calls.

Required Methods§

source

fn build_receive_messages_proof_call( relayer_id_at_source: AccountIdOf<P::SourceChain>, proof: SubstrateMessagesProof<P::SourceChain, P::LaneId>, messages_count: u32, dispatch_weight: Weight, trace_call: bool, ) -> CallOf<P::TargetChain>

Given messages proof, build call of receive_messages_proof function of bridge messages module at the target chain.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<P, R, I> ReceiveMessagesProofCallBuilder<P> for DirectReceiveMessagesProofCallBuilder<P, R, I>
where P: SubstrateMessageLane, R: BridgeMessagesConfig<I, LaneId = P::LaneId>, I: 'static, R::BridgedChain: Chain<AccountId = AccountIdOf<P::SourceChain>, Hash = HashOf<P::SourceChain>>, CallOf<P::TargetChain>: From<Call<R, I>> + GetDispatchInfo,