referrerpolicy=no-referrer-when-downgrade
pallet_state_trie_migration::weights

Trait WeightInfo

Source
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§

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

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(427), added: 2902, 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(427), added: 2902, 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(427), added: 2902, 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(427), added: 2902, 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(427), added: 2902, 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>