Trait pallet_migrations::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn onboard_new_mbms() -> Weight;
fn progress_mbms_none() -> Weight;
fn exec_migration_completed() -> Weight;
fn exec_migration_skipped_historic() -> Weight;
fn exec_migration_advance() -> Weight;
fn exec_migration_complete() -> Weight;
fn exec_migration_fail() -> Weight;
fn on_init_loop() -> Weight;
fn force_set_cursor() -> Weight;
fn force_set_active_cursor() -> Weight;
fn force_onboard_mbms() -> Weight;
fn clear_historic(n: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_migrations
.
Required Methods§
fn onboard_new_mbms() -> Weight
fn progress_mbms_none() -> Weight
fn exec_migration_completed() -> Weight
fn exec_migration_skipped_historic() -> Weight
fn exec_migration_advance() -> Weight
fn exec_migration_complete() -> Weight
fn exec_migration_fail() -> Weight
fn on_init_loop() -> Weight
fn force_set_cursor() -> Weight
fn force_set_active_cursor() -> Weight
fn force_onboard_mbms() -> Weight
fn clear_historic(n: u32) -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn onboard_new_mbms() -> Weight
fn onboard_new_mbms() -> Weight
Storage: MultiBlockMigrations::Cursor
(r:1 w:1)
Proof: MultiBlockMigrations::Cursor
(max_values
: Some(1), max_size
: Some(65550), added: 66045, mode: MaxEncodedLen
)
Storage: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Proof: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
source§fn progress_mbms_none() -> Weight
fn progress_mbms_none() -> Weight
Storage: MultiBlockMigrations::Cursor
(r:1 w:0)
Proof: MultiBlockMigrations::Cursor
(max_values
: Some(1), max_size
: Some(65550), added: 66045, mode: MaxEncodedLen
)
source§fn exec_migration_completed() -> Weight
fn exec_migration_completed() -> Weight
Storage: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Proof: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Storage: MultiBlockMigrations::Cursor
(r:0 w:1)
Proof: MultiBlockMigrations::Cursor
(max_values
: Some(1), max_size
: Some(65550), added: 66045, mode: MaxEncodedLen
)
source§fn exec_migration_skipped_historic() -> Weight
fn exec_migration_skipped_historic() -> Weight
Storage: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Proof: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Storage: MultiBlockMigrations::Historic
(r:1 w:0)
Proof: MultiBlockMigrations::Historic
(max_values
: None, max_size
: Some(266), added: 2741, mode: MaxEncodedLen
)
source§fn exec_migration_advance() -> Weight
fn exec_migration_advance() -> Weight
Storage: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Proof: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Storage: MultiBlockMigrations::Historic
(r:1 w:0)
Proof: MultiBlockMigrations::Historic
(max_values
: None, max_size
: Some(266), added: 2741, mode: MaxEncodedLen
)
source§fn exec_migration_complete() -> Weight
fn exec_migration_complete() -> Weight
Storage: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Proof: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Storage: MultiBlockMigrations::Historic
(r:1 w:1)
Proof: MultiBlockMigrations::Historic
(max_values
: None, max_size
: Some(266), added: 2741, mode: MaxEncodedLen
)
source§fn exec_migration_fail() -> Weight
fn exec_migration_fail() -> Weight
Storage: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Proof: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Storage: MultiBlockMigrations::Historic
(r:1 w:0)
Proof: MultiBlockMigrations::Historic
(max_values
: None, max_size
: Some(266), added: 2741, mode: MaxEncodedLen
)
Storage: MultiBlockMigrations::Cursor
(r:0 w:1)
Proof: MultiBlockMigrations::Cursor
(max_values
: Some(1), max_size
: Some(65550), added: 66045, mode: MaxEncodedLen
)
source§fn force_set_cursor() -> Weight
fn force_set_cursor() -> Weight
Storage: MultiBlockMigrations::Cursor
(r:0 w:1)
Proof: MultiBlockMigrations::Cursor
(max_values
: Some(1), max_size
: Some(65550), added: 66045, mode: MaxEncodedLen
)
source§fn force_set_active_cursor() -> Weight
fn force_set_active_cursor() -> Weight
Storage: MultiBlockMigrations::Cursor
(r:0 w:1)
Proof: MultiBlockMigrations::Cursor
(max_values
: Some(1), max_size
: Some(65550), added: 66045, mode: MaxEncodedLen
)
source§fn force_onboard_mbms() -> Weight
fn force_onboard_mbms() -> Weight
Storage: MultiBlockMigrations::Cursor
(r:1 w:0)
Proof: MultiBlockMigrations::Cursor
(max_values
: Some(1), max_size
: Some(65550), added: 66045, mode: MaxEncodedLen
)
Storage: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
Proof: UNKNOWN KEY 0x583359fe0e84d953a9dd84e8addb08a5
(r:1 w:0)
source§fn clear_historic(n: u32) -> Weight
fn clear_historic(n: u32) -> Weight
Storage: MultiBlockMigrations::Historic
(r:256 w:256)
Proof: MultiBlockMigrations::Historic
(max_values
: None, max_size
: Some(266), added: 2741, mode: MaxEncodedLen
)
The range of component n
is [0, 256]
.