pub trait WithRemoteParachainHelper {
type Runtime: BasicParachainRuntime + Config + BridgeGrandpaConfig<Self::GPI> + BridgeParachainsConfig<Self::PPI> + BridgeMessagesConfig<Self::MPI, InboundPayload = XcmAsPlainPayload, OutboundPayload = XcmAsPlainPayload> + Config<Self::RPI, LaneId = LaneIdOf<Self::Runtime, Self::MPI>>;
type AllPalletsWithoutSystem: OnInitialize<BlockNumberFor<Self::Runtime>> + OnFinalize<BlockNumberFor<Self::Runtime>>;
type GPI: 'static;
type PPI: 'static;
type MPI: 'static;
type RPI: 'static;
}
Expand description
Helper trait to test bridges with remote parachain.
This is only used to decrease amount of lines, dedicated to bounds.
Required Associated Types§
sourcetype Runtime: BasicParachainRuntime + Config + BridgeGrandpaConfig<Self::GPI> + BridgeParachainsConfig<Self::PPI> + BridgeMessagesConfig<Self::MPI, InboundPayload = XcmAsPlainPayload, OutboundPayload = XcmAsPlainPayload> + Config<Self::RPI, LaneId = LaneIdOf<Self::Runtime, Self::MPI>>
type Runtime: BasicParachainRuntime + Config + BridgeGrandpaConfig<Self::GPI> + BridgeParachainsConfig<Self::PPI> + BridgeMessagesConfig<Self::MPI, InboundPayload = XcmAsPlainPayload, OutboundPayload = XcmAsPlainPayload> + Config<Self::RPI, LaneId = LaneIdOf<Self::Runtime, Self::MPI>>
This chain runtime.
sourcetype AllPalletsWithoutSystem: OnInitialize<BlockNumberFor<Self::Runtime>> + OnFinalize<BlockNumberFor<Self::Runtime>>
type AllPalletsWithoutSystem: OnInitialize<BlockNumberFor<Self::Runtime>> + OnFinalize<BlockNumberFor<Self::Runtime>>
All pallets of this chain, excluding system pallet.
sourcetype GPI: 'static
type GPI: 'static
Instance of the pallet-bridge-grandpa
, used to bridge with remote relay chain.
sourcetype PPI: 'static
type PPI: 'static
Instance of the pallet-bridge-parachains
, used to bridge with remote parachain.
Object Safety§
This trait is not object safe.