Trait frame_system::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn remark(b: u32) -> Weight;
fn remark_with_event(b: u32) -> Weight;
fn set_heap_pages() -> Weight;
fn set_code() -> Weight;
fn set_storage(i: u32) -> Weight;
fn kill_storage(i: u32) -> Weight;
fn kill_prefix(p: u32) -> Weight;
}
Expand description
Weight functions needed for frame_system.
Required Methods§
fn remark(b: u32) -> Weight
fn remark_with_event(b: u32) -> Weight
fn set_heap_pages() -> Weight
fn set_code() -> Weight
fn set_storage(i: u32) -> Weight
fn kill_storage(i: u32) -> Weight
fn kill_prefix(p: u32) -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn remark_with_event(b: u32) -> Weight
fn remark_with_event(b: u32) -> Weight
The range of component b
is [0, 3932160]
.
source§fn set_heap_pages() -> Weight
fn set_heap_pages() -> Weight
Storage: System Digest (r:1 w:1)
Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
Storage: unknown 0x3a686561707061676573
(r:0 w:1)
Proof Skipped: unknown 0x3a686561707061676573
(r:0 w:1)
source§fn set_code() -> Weight
fn set_code() -> Weight
Storage: System Digest (r:1 w:1)
Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
Storage: unknown 0x3a636f6465
(r:0 w:1)
Proof Skipped: unknown 0x3a636f6465
(r:0 w:1)
source§fn set_storage(i: u32) -> Weight
fn set_storage(i: u32) -> Weight
Storage: Skipped Metadata (r:0 w:0)
Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
The range of component i
is [0, 1000]
.
source§fn kill_storage(i: u32) -> Weight
fn kill_storage(i: u32) -> Weight
Storage: Skipped Metadata (r:0 w:0)
Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
The range of component i
is [0, 1000]
.
source§fn kill_prefix(p: u32) -> Weight
fn kill_prefix(p: u32) -> Weight
Storage: Skipped Metadata (r:0 w:0)
Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
The range of component p
is [0, 1000]
.