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§
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
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 ()
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
)
Source§fn weight_reclaim() -> Weight
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
)