pallet_transporter::weights

Trait WeightInfo

source
pub trait WeightInfo {
    // Required methods
    fn transfer() -> Weight;
    fn message() -> Weight;
    fn message_response() -> Weight;
}
Expand description

Weight functions needed for pallet_transporter.

Required Methods§

source

fn transfer() -> Weight

source

fn message() -> Weight

source

fn message_response() -> Weight

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn transfer() -> Weight

Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Messenger::ChainAllowlist (r:1 w:0) Proof: Messenger::ChainAllowlist (max_values: Some(1), max_size: None, mode: Measured) Storage: Messenger::NextChannelId (r:1 w:0) Proof: Messenger::NextChannelId (max_values: None, max_size: None, mode: Measured) Storage: Messenger::Channels (r:1 w:1) Proof: Messenger::Channels (max_values: None, max_size: None, mode: Measured) Storage: Messenger::CounterForOutbox (r:1 w:1) Proof: Messenger::CounterForOutbox (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Messenger::Outbox (r:1 w:1) Proof: Messenger::Outbox (max_values: None, max_size: None, mode: Measured) Storage: Messenger::MessageWeightTags (r:1 w:1) Proof: Messenger::MessageWeightTags (max_values: Some(1), max_size: None, mode: Measured) Storage: Transporter::UnconfirmedTransfers (r:1 w:1) Proof: Transporter::UnconfirmedTransfers (max_values: None, max_size: None, mode: Measured) Storage: Messenger::OutboxFee (r:0 w:1) Proof: Messenger::OutboxFee (max_values: None, max_size: None, mode: Measured) Storage: Transporter::OutgoingTransfers (r:0 w:1) Proof: Transporter::OutgoingTransfers (max_values: None, max_size: None, mode: Measured)

source§

fn message() -> Weight

Storage: System::Account (r:1 w:0) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Transporter::UnconfirmedTransfers (r:1 w:1) Proof: Transporter::UnconfirmedTransfers (max_values: None, max_size: None, mode: Measured)

source§

fn message_response() -> Weight

Storage: Transporter::OutgoingTransfers (r:1 w:1) Proof: Transporter::OutgoingTransfers (max_values: None, max_size: None, mode: Measured) Storage: System::Account (r:1 w:0) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Transporter::CancelledTransfers (r:1 w:1) Proof: Transporter::CancelledTransfers (max_values: None, max_size: None, mode: Measured)

Implementors§

source§

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