Trait relay_substrate_client::RelayChain
source · pub trait RelayChain: Chain {
const PARAS_PALLET_NAME: &'static str;
const WITH_CHAIN_BRIDGE_PARACHAINS_PALLET_NAME: &'static str;
}
Expand description
Substrate-based relay chain that supports parachains.
We assume that the parachains are supported using runtime_parachains::paras
pallet.
Required Associated Constants§
sourceconst PARAS_PALLET_NAME: &'static str
const PARAS_PALLET_NAME: &'static str
Name of the runtime_parachains::paras
pallet in the runtime of this chain.
sourceconst WITH_CHAIN_BRIDGE_PARACHAINS_PALLET_NAME: &'static str
const WITH_CHAIN_BRIDGE_PARACHAINS_PALLET_NAME: &'static str
Name of the pallet-bridge-parachains
, deployed at the bridged chain to sync
parachains of this chain.
Object Safety§
This trait is not object safe.