referrerpolicy=no-referrer-when-downgrade
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§

source

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.

source

type AllPalletsWithoutSystem: OnInitialize<BlockNumberFor<Self::Runtime>> + OnFinalize<BlockNumberFor<Self::Runtime>>

All pallets of this chain, excluding system pallet.

source

type GPI: 'static

Instance of the pallet-bridge-grandpa, used to bridge with remote GRANDPA chain.

source

type MPI: 'static

Instance of the pallet-bridge-messages, used to bridge with remote GRANDPA chain.

source

type RPI: 'static

Instance of the pallet-bridge-relayers, used to collect rewards from messages MPI instance.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Runtime, AllPalletsWithoutSystem, GPI, MPI, RPI> WithRemoteGrandpaChainHelper for WithRemoteGrandpaChainHelperAdapter<Runtime, AllPalletsWithoutSystem, GPI, MPI, RPI>
where Runtime: BasicParachainRuntime + Config + BridgeGrandpaConfig<GPI, BridgedChain = BridgedChainOf<Runtime, MPI>> + BridgeMessagesConfig<MPI, InboundPayload = XcmAsPlainPayload, OutboundPayload = XcmAsPlainPayload> + Config<RPI, LaneId = LaneIdOf<Runtime, MPI>>, AllPalletsWithoutSystem: OnInitialize<BlockNumberFor<Runtime>> + OnFinalize<BlockNumberFor<Runtime>>, GPI: 'static, MPI: 'static, RPI: 'static,

§

type Runtime = Runtime

§

type AllPalletsWithoutSystem = AllPalletsWithoutSystem

§

type GPI = GPI

§

type MPI = MPI

§

type RPI = RPI