referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame::prelude::frame_system

Trait ExtensionsWeightInfo

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;
    fn weight_reclaim() -> Weight;
}
Expand description

Weight functions needed for frame_system_extensions.

Required Methods§

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§

§

impl WeightInfo for ()

§

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)

§

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)

§

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)

§

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)

§

fn weight_reclaim() -> Weight

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

§

fn check_non_zero_sender() -> Weight

§

fn check_spec_version() -> Weight

§

fn check_tx_version() -> Weight

§

fn check_weight() -> Weight

Implementors§

§

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