referrerpolicy=no-referrer-when-downgrade
pub trait WeightInfo {
    // Required methods
    fn on_initialize_when_non_congested() -> Weight;
    fn on_initialize_when_congested() -> Weight;
}
Expand description

Weight functions needed for pallet_xcm_bridge_hub_router.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn on_initialize_when_non_congested() -> Weight

Storage: UNKNOWN KEY 0x456d756c617465645369626c696e6758636d704368616e6e656c2e436f6e6765 (r:1 w:0)

Proof: UNKNOWN KEY 0x456d756c617465645369626c696e6758636d704368616e6e656c2e436f6e6765 (r:1 w:0)

Storage: XcmBridgeHubRouter::DeliveryFeeFactor (r:1 w:1)

Proof: XcmBridgeHubRouter::DeliveryFeeFactor (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)

source§

fn on_initialize_when_congested() -> Weight

Storage: UNKNOWN KEY 0x456d756c617465645369626c696e6758636d704368616e6e656c2e436f6e6765 (r:1 w:0)

Proof: UNKNOWN KEY 0x456d756c617465645369626c696e6758636d704368616e6e656c2e436f6e6765 (r:1 w:0)

Implementors§

source§

impl<T: Config> WeightInfo for BridgeWeight<T>