diff --git a/relay/polkadot/src/impls.rs b/relay/polkadot/src/impls.rs index 5f3c39f328..efce64c99a 100644 --- a/relay/polkadot/src/impls.rs +++ b/relay/polkadot/src/impls.rs @@ -94,7 +94,7 @@ where fn on_reap_identity(who: &AccountId, fields: u32, subs: u32) -> DispatchResult { use crate::{ impls::IdentityMigratorCalls::PokeDeposit, - weights::runtime_common_identity_migrator::WeightInfo as MigratorWeights, + weights::polkadot_runtime_common_identity_migrator::WeightInfo as MigratorWeights, }; let total_to_send = Self::calculate_remote_deposit(fields, subs); diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index 8fa3043f9c..585531db0d 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -866,7 +866,7 @@ impl identity_migrator::Config for Runtime { type Reaper = impls::benchmarks::InitializeReaperForBenchmarking>; type ReapIdentityHandler = ToParachainIdentityReaper; - type WeightInfo = weights::runtime_common_identity_migrator::WeightInfo; + type WeightInfo = weights::polkadot_runtime_common_identity_migrator::WeightInfo; } parameter_types! { diff --git a/relay/polkadot/src/weights/mod.rs b/relay/polkadot/src/weights/mod.rs index 3c8023f1de..20fecda65d 100644 --- a/relay/polkadot/src/weights/mod.rs +++ b/relay/polkadot/src/weights/mod.rs @@ -42,10 +42,10 @@ pub mod pallet_utility; pub mod pallet_vesting; pub mod pallet_whitelist; pub mod pallet_xcm; +pub mod polkadot_runtime_common_identity_migrator; pub mod runtime_common_auctions; pub mod runtime_common_claims; pub mod runtime_common_crowdloan; -pub mod runtime_common_identity_migrator; pub mod runtime_common_paras_registrar; pub mod runtime_common_slots; pub mod runtime_parachains_configuration; diff --git a/relay/polkadot/src/weights/runtime_common_identity_migrator.rs b/relay/polkadot/src/weights/polkadot_runtime_common_identity_migrator.rs similarity index 85% rename from relay/polkadot/src/weights/runtime_common_identity_migrator.rs rename to relay/polkadot/src/weights/polkadot_runtime_common_identity_migrator.rs index 96e224061f..60d22ae11c 100644 --- a/relay/polkadot/src/weights/runtime_common_identity_migrator.rs +++ b/relay/polkadot/src/weights/polkadot_runtime_common_identity_migrator.rs @@ -14,26 +14,26 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `runtime_common::identity_migrator` +//! Autogenerated weights for `polkadot_runtime_common::identity_migrator` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-06-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024 // Executed Command: // ./target/production/polkadot // benchmark // pallet -// --chain=./kusama-chain-spec.json +// --chain=./polkadot-chain-spec.json // --steps=50 // --repeat=20 // --pallet=polkadot_runtime_common::identity_migrator // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./kusama-weights/ +// --output=./polkadot-weights/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -44,7 +44,7 @@ use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `runtime_common::identity_migrator`. +/// Weight functions for `polkadot_runtime_common::identity_migrator`. pub struct WeightInfo(PhantomData); impl polkadot_runtime_common::identity_migrator::WeightInfo for WeightInfo { /// Storage: `Identity::IdentityOf` (r:1 w:1) @@ -67,13 +67,13 @@ impl polkadot_runtime_common::identity_migrator::Weight /// The range of component `s` is `[0, 100]`. fn reap_identity(r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7391 + r * (5 ±0) + s * (32 ±0)` + // Measured: `7522 + r * (5 ±0) + s * (32 ±0)` // Estimated: `11037 + r * (7 ±0) + s * (32 ±0)` - // Minimum execution time: 181_550_000 picoseconds. - Weight::from_parts(190_125_430, 0) + // Minimum execution time: 176_411_000 picoseconds. + Weight::from_parts(182_882_369, 0) .saturating_add(Weight::from_parts(0, 11037)) - // Standard Error: 2_225 - .saturating_add(Weight::from_parts(1_607_494, 0).saturating_mul(s.into())) + // Standard Error: 1_902 + .saturating_add(Weight::from_parts(1_581_866, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -90,8 +90,8 @@ impl polkadot_runtime_common::identity_migrator::Weight // Proof Size summary in bytes: // Measured: `7242` // Estimated: `11037` - // Minimum execution time: 145_051_000 picoseconds. - Weight::from_parts(146_251_000, 0) + // Minimum execution time: 142_331_000 picoseconds. + Weight::from_parts(145_781_000, 0) .saturating_add(Weight::from_parts(0, 11037)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3))