pub trait WeightInfo {
// Required method
fn hotfix_inc_account_sufficients(n: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_hotfix_sufficients.
Required Methods§
fn hotfix_inc_account_sufficients(n: u32) -> 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 hotfix_inc_account_sufficients(n: u32) -> Weight
fn hotfix_inc_account_sufficients(n: u32) -> Weight
Storage: System Account (r:1000 w:1000)
Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
Storage: System Number (r:1 w:0)
Proof: System Number (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: System ExecutionPhase (r:1 w:0)
Proof: System ExecutionPhase (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen)
Storage: System EventCount (r:1 w:1)
Proof: System EventCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: System Events (r:1 w:1)
Proof Skipped: System Events (max_values: Some(1), max_size: None, mode: Measured)
The range of component n
is [0, 1000]
.