referrerpolicy=no-referrer-when-downgrade

Trait cumulus_pallet_xcmp_queue::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn set_config_with_u32() -> Weight;
    fn enqueue_xcmp_message() -> Weight;
    fn suspend_channel() -> Weight;
    fn resume_channel() -> Weight;
    fn take_first_concatenated_xcm() -> Weight;
    fn on_idle_good_msg() -> Weight;
    fn on_idle_large_msg() -> Weight;
}
Expand description

Weight functions needed for cumulus_pallet_xcmp_queue.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn set_config_with_u32() -> Weight

Storage: XcmpQueue::QueueConfig (r:1 w:1) Proof: XcmpQueue::QueueConfig (max_values: Some(1), max_size: None, mode: Measured)

source§

fn enqueue_xcmp_message() -> Weight

Storage: XcmpQueue::QueueConfig (r:1 w:0) Proof: XcmpQueue::QueueConfig (max_values: Some(1), max_size: None, mode: Measured) Storage: MessageQueue::BookStateFor (r:1 w:1) Proof: MessageQueue::BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) Storage: MessageQueue::ServiceHead (r:1 w:1) Proof: MessageQueue::ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) Storage: XcmpQueue::InboundXcmpSuspended (r:1 w:0) Proof: XcmpQueue::InboundXcmpSuspended (max_values: Some(1), max_size: None, mode: Measured) Storage: MessageQueue::Pages (r:0 w:1) Proof: MessageQueue::Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)

source§

fn suspend_channel() -> Weight

Storage: XcmpQueue::OutboundXcmpStatus (r:1 w:1) Proof: XcmpQueue::OutboundXcmpStatus (max_values: Some(1), max_size: None, mode: Measured)

source§

fn resume_channel() -> Weight

Storage: XcmpQueue::OutboundXcmpStatus (r:1 w:1) Proof: XcmpQueue::OutboundXcmpStatus (max_values: Some(1), max_size: None, mode: Measured)

source§

fn on_idle_good_msg() -> Weight

Storage: UNKNOWN KEY 0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20 (r:1 w:1) Proof: UNKNOWN KEY 0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20 (r:1 w:1) Storage: XcmpQueue::InboundXcmpMessages (r:1 w:1) Proof: XcmpQueue::InboundXcmpMessages (max_values: None, max_size: None, mode: Measured) Storage: MessageQueue::BookStateFor (r:1 w:1) Proof: MessageQueue::BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) Storage: MessageQueue::ServiceHead (r:1 w:1) Proof: MessageQueue::ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) Storage: XcmpQueue::QueueConfig (r:1 w:0) Proof: XcmpQueue::QueueConfig (max_values: Some(1), max_size: None, mode: Measured) Storage: XcmpQueue::InboundXcmpSuspended (r:1 w:0) Proof: XcmpQueue::InboundXcmpSuspended (max_values: Some(1), max_size: None, mode: Measured) Storage: MessageQueue::Pages (r:0 w:1) Proof: MessageQueue::Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)

source§

fn on_idle_large_msg() -> Weight

Storage: UNKNOWN KEY 0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20 (r:1 w:1) Proof: UNKNOWN KEY 0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20 (r:1 w:1)

source§

fn take_first_concatenated_xcm() -> Weight

Implementors§

source§

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