pub trait WeightInfo {
// Required methods
fn continue_migrate() -> Weight;
fn continue_migrate_wrong_witness() -> Weight;
fn migrate_custom_top_success() -> Weight;
fn migrate_custom_top_fail() -> Weight;
fn migrate_custom_child_success() -> Weight;
fn migrate_custom_child_fail() -> Weight;
fn process_top_key(v: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_state_trie_migration.
Required Methods§
fn continue_migrate() -> Weight
fn continue_migrate_wrong_witness() -> Weight
fn migrate_custom_top_success() -> Weight
fn migrate_custom_top_fail() -> Weight
fn migrate_custom_child_success() -> Weight
fn migrate_custom_child_fail() -> Weight
fn process_top_key(v: u32) -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn continue_migrate() -> Weight
fn continue_migrate() -> Weight
Storage: StateTrieMigration SignedMigrationMaxLimits (r:1 w:0) Proof: StateTrieMigration SignedMigrationMaxLimits (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: StateTrieMigration MigrationProcess (r:1 w:1) Proof: StateTrieMigration MigrationProcess (max_values: Some(1), max_size: Some(1042), added: 1537, mode: MaxEncodedLen)
source§fn continue_migrate_wrong_witness() -> Weight
fn continue_migrate_wrong_witness() -> Weight
Storage: StateTrieMigration SignedMigrationMaxLimits (r:1 w:0) Proof: StateTrieMigration SignedMigrationMaxLimits (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
source§fn migrate_custom_top_fail() -> Weight
fn migrate_custom_top_fail() -> Weight
Storage: unknown 0x666f6f
(r:1 w:1)
Proof Skipped: unknown 0x666f6f
(r:1 w:1)
source§fn migrate_custom_child_fail() -> Weight
fn migrate_custom_child_fail() -> Weight
Storage: unknown 0x666f6f
(r:1 w:1)
Proof Skipped: unknown 0x666f6f
(r:1 w:1)
source§fn process_top_key(v: u32) -> Weight
fn process_top_key(v: u32) -> Weight
Storage: unknown 0x6b6579
(r:1 w:1)
Proof Skipped: unknown 0x6b6579
(r:1 w:1)
The range of component v
is [1, 4194304]
.