pub trait ChainWithMessages: Chain + ChainWithMessagesBase {
const WITH_CHAIN_RELAYERS_PALLET_NAME: Option<&'static str>;
const TO_CHAIN_MESSAGE_DETAILS_METHOD: &'static str;
const FROM_CHAIN_MESSAGE_DETAILS_METHOD: &'static str;
}
Expand description
Substrate-based chain with messaging support from minimal relay-client point of view.
Required Associated Constants§
sourceconst WITH_CHAIN_RELAYERS_PALLET_NAME: Option<&'static str>
const WITH_CHAIN_RELAYERS_PALLET_NAME: Option<&'static str>
Name of the bridge relayers pallet (used in construct_runtime
macro call) that is deployed
at some other chain to bridge with this ChainWithMessages
.
We assume that all chains that are bridging with this ChainWithMessages
are using
the same name.
sourceconst TO_CHAIN_MESSAGE_DETAILS_METHOD: &'static str
const TO_CHAIN_MESSAGE_DETAILS_METHOD: &'static str
Name of the To<ChainWithMessages>OutboundLaneApi::message_details
runtime API method.
The method is provided by the runtime that is bridged with this ChainWithMessages
.
sourceconst FROM_CHAIN_MESSAGE_DETAILS_METHOD: &'static str
const FROM_CHAIN_MESSAGE_DETAILS_METHOD: &'static str
Name of the From<ChainWithMessages>InboundLaneApi::message_details
runtime API method.
The method is provided by the runtime that is bridged with this ChainWithMessages
.
Object Safety§
This trait is not object safe.