Trait cumulus_pallet_parachain_system::pallet::Config [−][src]
pub trait Config: Config<OnSetCode = ParachainSetCode<Self>> {
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type OnValidationData: OnValidationData;
type SelfParaId: Get<ParaId>;
type OutboundXcmpMessageSource: XcmpMessageSource;
type DmpMessageHandler: DmpMessageHandler;
type ReservedDmpWeight: Get<Weight>;
type XcmpMessageHandler: XcmpMessageHandler;
type ReservedXcmpWeight: Get<Weight>;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Associated Types
Something which can be notified when the validation data is set.
type SelfParaId: Get<ParaId>
type SelfParaId: Get<ParaId>
Returns the parachain ID we are running with.
The place where outbound XCMP messages come from. This is queried in finalize_block
.
The message handler that will be invoked when messages are received via DMP.
type ReservedDmpWeight: Get<Weight>
type ReservedDmpWeight: Get<Weight>
The weight we reserve at the beginning of the block for processing DMP messages.
The message handler that will be invoked when messages are received via XCMP.
The messages are dispatched in the order they were relayed by the relay chain. If multiple messages were relayed at one block, these will be dispatched in ascending order of the sender’s para ID.
type ReservedXcmpWeight: Get<Weight>
type ReservedXcmpWeight: Get<Weight>
The weight we reserve at the beginning of the block for processing XCMP messages.