Skip to content

Commit

Permalink
Weights for pallet-moonbeam-lazy-migration (#3073)
Browse files Browse the repository at this point in the history
* update pallet-moonbeam-lazy-migration for moonbase

* moonrive weights

* moonbeam weights
  • Loading branch information
ahmadkaouk authored Dec 5, 2024
1 parent 67113c7 commit 1ddeda2
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 85 deletions.
57 changes: 30 additions & 27 deletions runtime/moonbase/src/weights/pallet_moonbeam_lazy_migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_moonbeam_lazy_migrations`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0
//! DATE: 2024-11-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-12-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbase-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -45,7 +45,6 @@ use sp_std::marker::PhantomData;

/// Weights for `pallet_moonbeam_lazy_migrations`.
pub struct WeightInfo<T>(PhantomData<T>);

impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for WeightInfo<T> {
/// Storage: `Assets::Asset` (r:100 w:0)
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
Expand All @@ -56,16 +55,18 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `73 + n * (69 ±0)`
// Estimated: `990 + n * (2649 ±0)`
// Minimum execution time: 6_000_000 picoseconds.
Weight::from_parts(1_043_425, 990)
// Standard Error: 5_952
.saturating_add(Weight::from_parts(3_473_582, 0).saturating_mul(n.into()))
// Minimum execution time: 7_051_000 picoseconds.
Weight::from_parts(2_261_508, 990)
// Standard Error: 3_985
.saturating_add(Weight::from_parts(3_712_461, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 2649).saturating_mul(n.into()))
}
/// Storage: `MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue` (r:1 w:1)
/// Proof: `MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue` (`max_values`: Some(1), `max_size`: Some(25), added: 520, mode: `MaxEncodedLen`)
/// Storage: `MoonbeamLazyMigrations::ApprovedForeignAssets` (r:1 w:0)
/// Proof: `MoonbeamLazyMigrations::ApprovedForeignAssets` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
/// Storage: `Assets::Asset` (r:1 w:1)
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
/// Storage: `Assets::Metadata` (r:1 w:0)
Expand Down Expand Up @@ -100,11 +101,11 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn start_foreign_assets_migration() -> Weight {
// Proof Size summary in bytes:
// Measured: `2036`
// Estimated: `30251`
// Minimum execution time: 571_000_000 picoseconds.
Weight::from_parts(575_000_000, 30251)
.saturating_add(T::DbWeight::get().reads(27_u64))
// Measured: `2085`
// Estimated: `30300`
// Minimum execution time: 708_614_000 picoseconds.
Weight::from_parts(718_993_000, 30300)
.saturating_add(T::DbWeight::get().reads(28_u64))
.saturating_add(T::DbWeight::get().writes(23_u64))
}
/// Storage: `MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue` (r:1 w:1)
Expand Down Expand Up @@ -138,12 +139,12 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// The range of component `n` is `[1, 1000]`.
fn migrate_foreign_asset_balances(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `24733 + n * (215 ±0)`
// Estimated: `33276 + n * (2691 ±0)`
// Minimum execution time: 350_000_000 picoseconds.
Weight::from_parts(354_000_000, 33276)
// Standard Error: 6_615_203
.saturating_add(Weight::from_parts(746_018_198, 0).saturating_mul(n.into()))
// Measured: `24767 + n * (215 ±0)`
// Estimated: `33310 + n * (2691 ±0)`
// Minimum execution time: 414_166_000 picoseconds.
Weight::from_parts(418_630_000, 33310)
// Standard Error: 8_833_698
.saturating_add(Weight::from_parts(893_926_622, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(19_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(8_u64))
Expand Down Expand Up @@ -181,12 +182,12 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// The range of component `n` is `[1, 1000]`.
fn migrate_foreign_asset_approvals(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `26751 + n * (1367 ±0)`
// Estimated: `32664 + n * (3843 ±0)`
// Minimum execution time: 162_000_000 picoseconds.
Weight::from_parts(163_000_000, 32664)
// Standard Error: 22_761_178
.saturating_add(Weight::from_parts(1_982_250_264, 0).saturating_mul(n.into()))
// Measured: `26785 + n * (1367 ±0)`
// Estimated: `32698 + n * (3843 ±0)`
// Minimum execution time: 209_421_000 picoseconds.
Weight::from_parts(212_794_000, 32698)
// Standard Error: 26_577_618
.saturating_add(Weight::from_parts(2_381_639_682, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(15_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(4_u64))
Expand All @@ -201,13 +202,15 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
/// Storage: `MoonbeamLazyMigrations::ApprovedForeignAssets` (r:0 w:1)
/// Proof: `MoonbeamLazyMigrations::ApprovedForeignAssets` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn finish_foreign_assets_migration() -> Weight {
// Proof Size summary in bytes:
// Measured: `829`
// Measured: `863`
// Estimated: `3639`
// Minimum execution time: 30_000_000 picoseconds.
Weight::from_parts(31_000_000, 3639)
// Minimum execution time: 47_197_000 picoseconds.
Weight::from_parts(48_308_000, 3639)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
}
61 changes: 32 additions & 29 deletions runtime/moonbeam/src/weights/pallet_moonbeam_lazy_migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_moonbeam_lazy_migrations`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0
//! DATE: 2024-11-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-12-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! WASM-EXECUTION: Compiled, CHAIN: Some("moonbeam-dev"), DB CACHE: 1024
Expand All @@ -34,7 +34,7 @@
// --wasm-execution=compiled
// --header=./file_header.txt
// --template=./benchmarking/frame-weight-template.hbs
// --output=./runtime/moonbeam/src/weights/
// --output=./runtime/moonbeam/src/weights/pallet_moonbeam_lazy_migrations.rs

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -45,7 +45,6 @@ use sp_std::marker::PhantomData;

/// Weights for `pallet_moonbeam_lazy_migrations`.
pub struct WeightInfo<T>(PhantomData<T>);

impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for WeightInfo<T> {
/// Storage: `Assets::Asset` (r:100 w:0)
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
Expand All @@ -56,16 +55,18 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `73 + n * (69 ±0)`
// Estimated: `990 + n * (2649 ±0)`
// Minimum execution time: 6_000_000 picoseconds.
Weight::from_parts(1_043_425, 990)
// Standard Error: 5_952
.saturating_add(Weight::from_parts(3_473_582, 0).saturating_mul(n.into()))
// Minimum execution time: 7_203_000 picoseconds.
Weight::from_parts(2_461_175, 990)
// Standard Error: 3_982
.saturating_add(Weight::from_parts(3_731_699, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 2649).saturating_mul(n.into()))
}
/// Storage: `MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue` (r:1 w:1)
/// Proof: `MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue` (`max_values`: Some(1), `max_size`: Some(25), added: 520, mode: `MaxEncodedLen`)
/// Storage: `MoonbeamLazyMigrations::ApprovedForeignAssets` (r:1 w:0)
/// Proof: `MoonbeamLazyMigrations::ApprovedForeignAssets` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
/// Storage: `Assets::Asset` (r:1 w:1)
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
/// Storage: `Assets::Metadata` (r:1 w:0)
Expand Down Expand Up @@ -100,11 +101,11 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn start_foreign_assets_migration() -> Weight {
// Proof Size summary in bytes:
// Measured: `2036`
// Estimated: `30251`
// Minimum execution time: 571_000_000 picoseconds.
Weight::from_parts(575_000_000, 30251)
.saturating_add(T::DbWeight::get().reads(27_u64))
// Measured: `1854`
// Estimated: `30069`
// Minimum execution time: 708_434_000 picoseconds.
Weight::from_parts(724_304_000, 30069)
.saturating_add(T::DbWeight::get().reads(28_u64))
.saturating_add(T::DbWeight::get().writes(23_u64))
}
/// Storage: `MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue` (r:1 w:1)
Expand Down Expand Up @@ -138,12 +139,12 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// The range of component `n` is `[1, 1000]`.
fn migrate_foreign_asset_balances(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `24733 + n * (215 ±0)`
// Estimated: `33276 + n * (2691 ±0)`
// Minimum execution time: 350_000_000 picoseconds.
Weight::from_parts(354_000_000, 33276)
// Standard Error: 6_615_203
.saturating_add(Weight::from_parts(746_018_198, 0).saturating_mul(n.into()))
// Measured: `24132 + n * (215 ±0)`
// Estimated: `32728 + n * (2691 ±0)`
// Minimum execution time: 407_163_000 picoseconds.
Weight::from_parts(410_577_000, 32728)
// Standard Error: 9_272_704
.saturating_add(Weight::from_parts(889_807_626, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(19_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(8_u64))
Expand Down Expand Up @@ -181,12 +182,12 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// The range of component `n` is `[1, 1000]`.
fn migrate_foreign_asset_approvals(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `26751 + n * (1367 ±0)`
// Estimated: `32664 + n * (3843 ±0)`
// Minimum execution time: 162_000_000 picoseconds.
Weight::from_parts(163_000_000, 32664)
// Standard Error: 22_761_178
.saturating_add(Weight::from_parts(1_982_250_264, 0).saturating_mul(n.into()))
// Measured: `26587 + n * (1367 ±0)`
// Estimated: `32500 + n * (3843 ±0)`
// Minimum execution time: 208_407_000 picoseconds.
Weight::from_parts(212_287_000, 32500)
// Standard Error: 26_278_439
.saturating_add(Weight::from_parts(2_363_561_115, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(15_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(4_u64))
Expand All @@ -201,13 +202,15 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
/// Storage: `MoonbeamLazyMigrations::ApprovedForeignAssets` (r:0 w:1)
/// Proof: `MoonbeamLazyMigrations::ApprovedForeignAssets` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn finish_foreign_assets_migration() -> Weight {
// Proof Size summary in bytes:
// Measured: `829`
// Measured: `863`
// Estimated: `3639`
// Minimum execution time: 30_000_000 picoseconds.
Weight::from_parts(31_000_000, 3639)
// Minimum execution time: 46_478_000 picoseconds.
Weight::from_parts(47_914_000, 3639)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
}
}
61 changes: 32 additions & 29 deletions runtime/moonriver/src/weights/pallet_moonbeam_lazy_migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_moonbeam_lazy_migrations`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0
//! DATE: 2024-11-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-12-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! WASM-EXECUTION: Compiled, CHAIN: Some("moonriver-dev"), DB CACHE: 1024
Expand All @@ -34,7 +34,7 @@
// --wasm-execution=compiled
// --header=./file_header.txt
// --template=./benchmarking/frame-weight-template.hbs
// --output=./runtime/moonriver/src/weights/
// --output=./runtime/moonriver/src/weights/pallet_moonbeam_lazy_migrations.rs

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -45,7 +45,6 @@ use sp_std::marker::PhantomData;

/// Weights for `pallet_moonbeam_lazy_migrations`.
pub struct WeightInfo<T>(PhantomData<T>);

impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for WeightInfo<T> {
/// Storage: `Assets::Asset` (r:100 w:0)
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
Expand All @@ -56,16 +55,18 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `73 + n * (69 ±0)`
// Estimated: `990 + n * (2649 ±0)`
// Minimum execution time: 6_000_000 picoseconds.
Weight::from_parts(1_043_425, 990)
// Standard Error: 5_952
.saturating_add(Weight::from_parts(3_473_582, 0).saturating_mul(n.into()))
// Minimum execution time: 6_883_000 picoseconds.
Weight::from_parts(2_637_044, 990)
// Standard Error: 3_597
.saturating_add(Weight::from_parts(3_692_945, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 2649).saturating_mul(n.into()))
}
/// Storage: `MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue` (r:1 w:1)
/// Proof: `MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue` (`max_values`: Some(1), `max_size`: Some(25), added: 520, mode: `MaxEncodedLen`)
/// Storage: `MoonbeamLazyMigrations::ApprovedForeignAssets` (r:1 w:0)
/// Proof: `MoonbeamLazyMigrations::ApprovedForeignAssets` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
/// Storage: `Assets::Asset` (r:1 w:1)
/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
/// Storage: `Assets::Metadata` (r:1 w:0)
Expand Down Expand Up @@ -100,11 +101,11 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn start_foreign_assets_migration() -> Weight {
// Proof Size summary in bytes:
// Measured: `2036`
// Estimated: `30251`
// Minimum execution time: 571_000_000 picoseconds.
Weight::from_parts(575_000_000, 30251)
.saturating_add(T::DbWeight::get().reads(27_u64))
// Measured: `1788`
// Estimated: `30003`
// Minimum execution time: 695_179_000 picoseconds.
Weight::from_parts(706_457_000, 30003)
.saturating_add(T::DbWeight::get().reads(28_u64))
.saturating_add(T::DbWeight::get().writes(23_u64))
}
/// Storage: `MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue` (r:1 w:1)
Expand Down Expand Up @@ -138,12 +139,12 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// The range of component `n` is `[1, 1000]`.
fn migrate_foreign_asset_balances(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `24733 + n * (215 ±0)`
// Estimated: `33276 + n * (2691 ±0)`
// Minimum execution time: 350_000_000 picoseconds.
Weight::from_parts(354_000_000, 33276)
// Standard Error: 6_615_203
.saturating_add(Weight::from_parts(746_018_198, 0).saturating_mul(n.into()))
// Measured: `23977 + n * (215 ±0)`
// Estimated: `32580 + n * (2691 ±0)`
// Minimum execution time: 401_500_000 picoseconds.
Weight::from_parts(405_068_000, 32580)
// Standard Error: 8_522_073
.saturating_add(Weight::from_parts(870_643_639, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(19_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(8_u64))
Expand Down Expand Up @@ -181,12 +182,12 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// The range of component `n` is `[1, 1000]`.
fn migrate_foreign_asset_approvals(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `26751 + n * (1367 ±0)`
// Estimated: `32664 + n * (3843 ±0)`
// Minimum execution time: 162_000_000 picoseconds.
Weight::from_parts(163_000_000, 32664)
// Standard Error: 22_761_178
.saturating_add(Weight::from_parts(1_982_250_264, 0).saturating_mul(n.into()))
// Measured: `26544 + n * (1367 ±0)`
// Estimated: `32451 + n * (3843 ±0)`
// Minimum execution time: 206_481_000 picoseconds.
Weight::from_parts(207_264_000, 32451)
// Standard Error: 25_525_292
.saturating_add(Weight::from_parts(2_298_282_967, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(15_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(4_u64))
Expand All @@ -201,13 +202,15 @@ impl<T: frame_system::Config> pallet_moonbeam_lazy_migrations::WeightInfo for We
/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
/// Storage: `MoonbeamLazyMigrations::ApprovedForeignAssets` (r:0 w:1)
/// Proof: `MoonbeamLazyMigrations::ApprovedForeignAssets` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
fn finish_foreign_assets_migration() -> Weight {
// Proof Size summary in bytes:
// Measured: `829`
// Measured: `830`
// Estimated: `3639`
// Minimum execution time: 30_000_000 picoseconds.
Weight::from_parts(31_000_000, 3639)
// Minimum execution time: 46_686_000 picoseconds.
Weight::from_parts(47_551_000, 3639)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
}
}

0 comments on commit 1ddeda2

Please sign in to comment.