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§
Sourcefn 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>
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.
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.