Trait polkadot_runtime_parachains::ump::pallet::Config
source · pub trait Config: Config + Config {
type RuntimeEvent: From<Event> + IsType<<Self as Config>::RuntimeEvent>;
type UmpSink: UmpSink;
type FirstMessageFactorPercent: Get<u64>;
type ExecuteOverweightOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type WeightInfo: WeightInfo;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Required Associated Types§
sourcetype RuntimeEvent: From<Event> + IsType<<Self as Config>::RuntimeEvent>
type RuntimeEvent: From<Event> + IsType<<Self as Config>::RuntimeEvent>
The aggregate event.
sourcetype FirstMessageFactorPercent: Get<u64>
type FirstMessageFactorPercent: Get<u64>
The factor by which the weight limit it multiplied for the first UMP message to execute with.
An amount less than 100 keeps more available weight in the queue for messages after the first, and potentially stalls the queue in doing so. More than 100 will provide additional weight for the first message only.
Generally you’ll want this to be a bit more - 150 or 200 would be good values.
sourcetype ExecuteOverweightOrigin: EnsureOrigin<Self::RuntimeOrigin>
type ExecuteOverweightOrigin: EnsureOrigin<Self::RuntimeOrigin>
Origin which is allowed to execute overweight messages.
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.