referrerpolicy=no-referrer-when-downgrade
pub trait SubstrateMessageLane: 'static + Clone + Debug + Send + Sync {
    type SourceChain: ChainWithMessages + ChainWithTransactions;
    type TargetChain: ChainWithMessages + ChainWithTransactions;
    type LaneId: Clone + Copy + Debug + Codec + EncodeLike + Send + Sync + Labeled + TryFrom<Vec<u8>> + Default;
    type ReceiveMessagesProofCallBuilder: ReceiveMessagesProofCallBuilder<Self>;
    type ReceiveMessagesDeliveryProofCallBuilder: ReceiveMessagesDeliveryProofCallBuilder<Self>;
    type SourceBatchCallBuilder: BatchCallBuilderConstructor<CallOf<Self::SourceChain>>;
    type TargetBatchCallBuilder: BatchCallBuilderConstructor<CallOf<Self::TargetChain>>;
}
Expand description

Substrate -> Substrate messages synchronization pipeline.

Required Associated Types§

source

type SourceChain: ChainWithMessages + ChainWithTransactions

Messages of this chain are relayed to the TargetChain.

source

type TargetChain: ChainWithMessages + ChainWithTransactions

Messages from the SourceChain are dispatched on this chain.

source

type LaneId: Clone + Copy + Debug + Codec + EncodeLike + Send + Sync + Labeled + TryFrom<Vec<u8>> + Default

Lane identifier type.

source

type ReceiveMessagesProofCallBuilder: ReceiveMessagesProofCallBuilder<Self>

How receive messages proof call is built?

source

type ReceiveMessagesDeliveryProofCallBuilder: ReceiveMessagesDeliveryProofCallBuilder<Self>

How receive messages delivery proof call is built?

source

type SourceBatchCallBuilder: BatchCallBuilderConstructor<CallOf<Self::SourceChain>>

How batch calls are built at the source chain?

source

type TargetBatchCallBuilder: BatchCallBuilderConstructor<CallOf<Self::TargetChain>>

How batch calls are built at the target chain?

Object Safety§

This trait is not object safe.

Implementors§