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;
fn authorize_upgrade() -> Weight;
fn apply_authorized_upgrade() -> 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
Object Safety§
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: System::Digest (max_values: Some(1), max_size: None, mode: Measured)
Storage: UNKNOWN KEY 0x3a686561707061676573 (r:0 w:1)
Proof: UNKNOWN KEY 0x3a686561707061676573 (r:0 w:1)
source§fn set_code() -> Weight
fn set_code() -> Weight
Storage: MultiBlockMigrations::Cursor (r:1 w:0)
Proof: MultiBlockMigrations::Cursor (max_values: Some(1), max_size: Some(65550), added: 66045, mode: MaxEncodedLen)
Storage: System::Digest (r:1 w:1)
Proof: System::Digest (max_values: Some(1), max_size: None, mode: Measured)
Storage: UNKNOWN KEY 0x3a636f6465 (r:0 w:1)
Proof: UNKNOWN KEY 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::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::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::Metadata (max_values: None, max_size: None, mode: Measured)
The range of component p is [0, 1000].
Storage: System::AuthorizedUpgrade (r:0 w:1)
Proof: System::AuthorizedUpgrade (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
Storage: System::AuthorizedUpgrade (r:1 w:1)
Proof: System::AuthorizedUpgrade (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
Storage: MultiBlockMigrations::Cursor (r:1 w:0)
Proof: MultiBlockMigrations::Cursor (max_values: Some(1), max_size: Some(65550), added: 66045, mode: MaxEncodedLen)
Storage: System::Digest (r:1 w:1)
Proof: System::Digest (max_values: Some(1), max_size: None, mode: Measured)
Storage: UNKNOWN KEY 0x3a636f6465 (r:0 w:1)
Proof: UNKNOWN KEY 0x3a636f6465 (r:0 w:1)