referrerpolicy=no-referrer-when-downgrade
substrate_relay_helper::messages

Trait ReceiveMessagesDeliveryProofCallBuilder

Source
pub trait ReceiveMessagesDeliveryProofCallBuilder<P: SubstrateMessageLane> {
    // Required method
    fn build_receive_messages_delivery_proof_call(
        proof: SubstrateMessagesDeliveryProof<P::TargetChain, P::LaneId>,
        trace_call: bool,
    ) -> CallOf<P::SourceChain>;
}
Expand description

Different ways of building receive_messages_delivery_proof calls.

Required Methods§

Source

fn build_receive_messages_delivery_proof_call( proof: SubstrateMessagesDeliveryProof<P::TargetChain, P::LaneId>, trace_call: bool, ) -> CallOf<P::SourceChain>

Given messages delivery proof, build call of receive_messages_delivery_proof function of bridge messages module at the source chain.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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