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§
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
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn check_genesis() -> Weight
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
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
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
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
)