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§

source

type RuntimeEvent: From<Event> + IsType<<Self as Config>::RuntimeEvent>

The aggregate event.

source

type UmpSink: UmpSink

A place where all received upward messages are funneled.

source

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.

source

type ExecuteOverweightOrigin: EnsureOrigin<Self::RuntimeOrigin>

Origin which is allowed to execute overweight messages.

source

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet.

Implementors§