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§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

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: Balances::Holds (r:1 w:0) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, 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

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_success() -> Weight

Storage: Balances::Holds (r:1 w:0) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen)

source§

fn migrate_custom_top_fail() -> Weight

Storage: Balances::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0x666f6f (r:1 w:1) Proof: UNKNOWN KEY 0x666f6f (r:1 w:1)

source§

fn migrate_custom_child_success() -> Weight

Storage: Balances::Holds (r:1 w:0) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen)

source§

fn migrate_custom_child_fail() -> Weight

Storage: Balances::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0x666f6f (r:1 w:1) Proof: UNKNOWN KEY 0x666f6f (r:1 w:1)

source§

fn process_top_key(v: u32) -> Weight

Storage: UNKNOWN KEY 0x6b6579 (r:1 w:1) Proof: UNKNOWN KEY 0x6b6579 (r:1 w:1) The range of component v is [1, 4194304].

Implementors§

source§

impl<T: Config> WeightInfo for SubstrateWeight<T>