referrerpolicy=no-referrer-when-downgrade

Trait relay_substrate_client::ChainWithMessages

source ·
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§

source

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.

source

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.

source

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.

Implementors§

source§

impl ChainWithMessages for TestChain

source§

const WITH_CHAIN_RELAYERS_PALLET_NAME: Option<&'static str> = None

source§

const TO_CHAIN_MESSAGE_DETAILS_METHOD: &'static str = "TestMessagesDetailsMethod"

source§

const FROM_CHAIN_MESSAGE_DETAILS_METHOD: &'static str = "TestFromMessagesDetailsMethod"