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

source

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.

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 relay chain.

source

type PPI: 'static

Instance of the pallet-bridge-parachains, used to bridge with remote parachain.

source

type MPI: 'static

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

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, PPI, MPI, RPI> WithRemoteParachainHelper for WithRemoteParachainHelperAdapter<Runtime, AllPalletsWithoutSystem, GPI, PPI, MPI, RPI>
where Runtime: BasicParachainRuntime + Config + BridgeGrandpaConfig<GPI> + BridgeParachainsConfig<PPI> + BridgeMessagesConfig<MPI, InboundPayload = XcmAsPlainPayload, OutboundPayload = XcmAsPlainPayload> + Config<RPI, LaneId = LaneIdOf<Runtime, MPI>>, AllPalletsWithoutSystem: OnInitialize<BlockNumberFor<Runtime>> + OnFinalize<BlockNumberFor<Runtime>>, GPI: 'static, PPI: 'static, MPI: 'static, RPI: 'static,

§

type Runtime = Runtime

§

type AllPalletsWithoutSystem = AllPalletsWithoutSystem

§

type GPI = GPI

§

type PPI = PPI

§

type MPI = MPI

§

type RPI = RPI