pub trait WeightInfo {
    // Required methods
    fn validate() -> Weight;
    fn pre_dispatch() -> Weight;
}
Expand description

Weight functions needed for pallet_passkey.

Required Methods§

source

fn validate() -> Weight

source

fn pre_dispatch() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn validate() -> Weight

Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: System::AllExtrinsicsLen (r:1 w:0) Proof: System::AllExtrinsicsLen (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: TransactionPayment::NextFeeMultiplier (r:1 w:0) Proof: TransactionPayment::NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)

source§

fn pre_dispatch() -> Weight

Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: System::AllExtrinsicsLen (r:1 w:1) Proof: System::AllExtrinsicsLen (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: TransactionPayment::NextFeeMultiplier (r:1 w:0) Proof: TransactionPayment::NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)

Implementors§

source§

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