pub trait WithRemoteGrandpaChainHelper {
type Runtime: BasicParachainRuntime + Config + BridgeGrandpaConfig<Self::GPI, BridgedChain = BridgedChainOf<Self::Runtime, Self::MPI>> + 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 MPI: 'static;
type RPI: 'static;
}
Expand description
Helper trait to test bridges with remote GRANDPA chain.
This is only used to decrease amount of lines, dedicated to bounds.
Required Associated Types§
sourcetype Runtime: BasicParachainRuntime + Config + BridgeGrandpaConfig<Self::GPI, BridgedChain = BridgedChainOf<Self::Runtime, Self::MPI>> + BridgeMessagesConfig<Self::MPI, InboundPayload = XcmAsPlainPayload, OutboundPayload = XcmAsPlainPayload> + Config<Self::RPI, LaneId = LaneIdOf<Self::Runtime, Self::MPI>>
type Runtime: BasicParachainRuntime + Config + BridgeGrandpaConfig<Self::GPI, BridgedChain = BridgedChainOf<Self::Runtime, Self::MPI>> + 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 GRANDPA chain.
Object Safety§
This trait is not object safe.