referrerpolicy=no-referrer-when-downgrade

Trait frame_system::ExtensionsWeightInfo

source ·
pub trait ExtensionsWeightInfo {
    // Required methods
    fn check_genesis() -> Weight;
    fn check_mortality_mortal_transaction() -> Weight;
    fn check_mortality_immortal_transaction() -> Weight;
    fn check_non_zero_sender() -> Weight;
    fn check_nonce() -> Weight;
    fn check_spec_version() -> Weight;
    fn check_tx_version() -> Weight;
    fn check_weight() -> Weight;
}
Expand description

Weight functions needed for frame_system_extensions.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn check_genesis() -> Weight

Storage: System::BlockHash (r:1 w:0) Proof: System::BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)

source§

fn check_mortality_mortal_transaction() -> Weight

Storage: System::BlockHash (r:1 w:0) Proof: System::BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)

source§

fn check_mortality_immortal_transaction() -> Weight

Storage: System::BlockHash (r:1 w:0) Proof: System::BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)

source§

fn check_nonce() -> Weight

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

source§

fn check_weight() -> Weight

Storage: System::AllExtrinsicsLen (r:1 w:1) Proof: System::AllExtrinsicsLen (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

source§

fn check_non_zero_sender() -> Weight

source§

fn check_spec_version() -> Weight

source§

fn check_tx_version() -> Weight

Implementors§