referrerpolicy=no-referrer-when-downgrade
relay_substrate_client

Trait 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§

Source

const PARAS_PALLET_NAME: &'static str

Name of the runtime_parachains::paras pallet in the runtime of this chain.

Source

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.

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.

Implementors§