diff --git a/Cargo.lock b/Cargo.lock index 7fc3c6733..b563dfcb7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1131,7 +1131,7 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "attestation" -version = "1.16.2" +version = "1.16.3" dependencies = [ "ctype", "frame-benchmarking", @@ -2549,7 +2549,7 @@ dependencies = [ [[package]] name = "ctype" -version = "1.16.2" +version = "1.16.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -3356,7 +3356,7 @@ dependencies = [ [[package]] name = "delegation" -version = "1.16.2" +version = "1.16.3" dependencies = [ "attestation", "bitflags 1.3.2", @@ -3483,7 +3483,7 @@ dependencies = [ [[package]] name = "did" -version = "1.16.2" +version = "1.16.3" dependencies = [ "ctype", "env_logger 0.10.2", @@ -3543,7 +3543,7 @@ dependencies = [ [[package]] name = "dip-consumer-node-template" -version = "1.16.2" +version = "1.16.3" dependencies = [ "clap", "cumulus-client-cli", @@ -3597,7 +3597,7 @@ dependencies = [ [[package]] name = "dip-consumer-runtime-template" -version = "1.16.2" +version = "1.16.3" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -3651,7 +3651,7 @@ dependencies = [ [[package]] name = "dip-provider-node-template" -version = "1.16.2" +version = "1.16.3" dependencies = [ "clap", "cumulus-client-cli", @@ -3705,7 +3705,7 @@ dependencies = [ [[package]] name = "dip-provider-runtime-template" -version = "1.16.2" +version = "1.16.3" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -6221,7 +6221,7 @@ dependencies = [ [[package]] name = "kestrel-runtime" -version = "1.16.2" +version = "1.16.3" dependencies = [ "attestation", "ctype", @@ -6282,7 +6282,7 @@ checksum = "c33070833c9ee02266356de0c43f723152bd38bd96ddf52c82b3af10c9138b28" [[package]] name = "kilt-asset-dids" -version = "1.16.2" +version = "1.16.3" dependencies = [ "base58", "frame-support", @@ -6297,7 +6297,7 @@ dependencies = [ [[package]] name = "kilt-dip-primitives" -version = "1.16.2" +version = "1.16.3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -6329,7 +6329,7 @@ dependencies = [ [[package]] name = "kilt-parachain" -version = "1.16.2" +version = "1.16.3" dependencies = [ "clap", "cumulus-client-cli", @@ -6400,7 +6400,7 @@ dependencies = [ [[package]] name = "kilt-runtime-api-did" -version = "1.16.2" +version = "1.16.3" dependencies = [ "did", "frame-system", @@ -6413,7 +6413,7 @@ dependencies = [ [[package]] name = "kilt-runtime-api-dip-provider" -version = "1.16.2" +version = "1.16.3" dependencies = [ "parity-scale-codec", "sp-api", @@ -6421,7 +6421,7 @@ dependencies = [ [[package]] name = "kilt-runtime-api-public-credentials" -version = "1.16.2" +version = "1.16.3" dependencies = [ "kilt-support", "parity-scale-codec", @@ -6431,7 +6431,7 @@ dependencies = [ [[package]] name = "kilt-runtime-api-staking" -version = "1.16.2" +version = "1.16.3" dependencies = [ "parity-scale-codec", "scale-info", @@ -6441,7 +6441,7 @@ dependencies = [ [[package]] name = "kilt-support" -version = "1.16.2" +version = "1.16.3" dependencies = [ "frame-support", "frame-system", @@ -8232,7 +8232,7 @@ dependencies = [ [[package]] name = "pallet-asset-switch" -version = "1.16.2" +version = "1.16.3" dependencies = [ "env_logger 0.10.2", "frame-benchmarking", @@ -8255,7 +8255,7 @@ dependencies = [ [[package]] name = "pallet-asset-switch-runtime-api" -version = "1.16.2" +version = "1.16.3" dependencies = [ "parity-scale-codec", "sp-api", @@ -8473,7 +8473,7 @@ dependencies = [ [[package]] name = "pallet-bonded-coins" -version = "1.16.2" +version = "1.16.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8495,7 +8495,7 @@ dependencies = [ [[package]] name = "pallet-bonded-coins-runtime-api" -version = "1.16.2" +version = "1.16.3" dependencies = [ "pallet-bonded-coins", "parity-scale-codec", @@ -8690,7 +8690,7 @@ dependencies = [ [[package]] name = "pallet-configuration" -version = "1.16.2" +version = "1.16.3" dependencies = [ "cumulus-pallet-parachain-system", "frame-benchmarking", @@ -8865,7 +8865,7 @@ dependencies = [ [[package]] name = "pallet-deposit-storage" -version = "1.16.2" +version = "1.16.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8899,7 +8899,7 @@ dependencies = [ [[package]] name = "pallet-did-lookup" -version = "1.16.2" +version = "1.16.3" dependencies = [ "base58", "blake2 0.10.6", @@ -8926,7 +8926,7 @@ dependencies = [ [[package]] name = "pallet-dip-consumer" -version = "1.16.2" +version = "1.16.3" dependencies = [ "cfg-if", "frame-benchmarking", @@ -8946,7 +8946,7 @@ dependencies = [ [[package]] name = "pallet-dip-provider" -version = "1.16.2" +version = "1.16.3" dependencies = [ "did", "frame-benchmarking", @@ -9140,7 +9140,7 @@ dependencies = [ [[package]] name = "pallet-inflation" -version = "1.16.2" +version = "1.16.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -9267,7 +9267,7 @@ dependencies = [ [[package]] name = "pallet-migration" -version = "1.16.2" +version = "1.16.3" dependencies = [ "attestation", "ctype", @@ -9561,7 +9561,7 @@ dependencies = [ [[package]] name = "pallet-postit" -version = "1.16.2" +version = "1.16.3" dependencies = [ "frame-support", "frame-system", @@ -9653,7 +9653,7 @@ dependencies = [ [[package]] name = "pallet-relay-store" -version = "1.16.2" +version = "1.16.3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -10237,7 +10237,7 @@ dependencies = [ [[package]] name = "pallet-web3-names" -version = "1.16.2" +version = "1.16.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -10352,7 +10352,7 @@ dependencies = [ [[package]] name = "parachain-staking" -version = "1.16.2" +version = "1.16.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -10652,7 +10652,7 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "peregrine-runtime" -version = "1.16.2" +version = "1.16.3" dependencies = [ "anyhow", "attestation", @@ -12866,7 +12866,7 @@ dependencies = [ [[package]] name = "public-credentials" -version = "1.16.2" +version = "1.16.3" dependencies = [ "ctype", "frame-benchmarking", @@ -13591,7 +13591,7 @@ checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" [[package]] name = "runtime-common" -version = "1.16.2" +version = "1.16.3" dependencies = [ "attestation", "cfg-if", @@ -16989,7 +16989,7 @@ dependencies = [ [[package]] name = "spiritnet-runtime" -version = "1.16.2" +version = "1.16.3" dependencies = [ "anyhow", "attestation", @@ -17239,7 +17239,7 @@ dependencies = [ [[package]] name = "standalone-node" -version = "1.16.2" +version = "1.16.3" dependencies = [ "clap", "frame-benchmarking", @@ -19697,7 +19697,7 @@ dependencies = [ [[package]] name = "xcm-integration-tests" -version = "1.16.2" +version = "1.16.3" dependencies = [ "asset-hub-rococo-emulated-chain", "asset-hub-rococo-runtime", diff --git a/Cargo.toml b/Cargo.toml index 806f688b9..56cf5e7bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ homepage = "https://kilt.io/" license-file = "LICENSE" readme = "README.md" repository = "https://github.com/KILTprotocol/kilt-node" -version = "1.16.2" +version = "1.16.3" [workspace.dependencies] # Build deps diff --git a/pallets/pallet-bonded-coins/src/default_weights.rs b/pallets/pallet-bonded-coins/src/default_weights.rs index fd0551677..24ce64e35 100644 --- a/pallets/pallet-bonded-coins/src/default_weights.rs +++ b/pallets/pallet-bonded-coins/src/default_weights.rs @@ -18,21 +18,22 @@ //! Autogenerated weights for pallet_bonded_coins //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-14 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-03 //! STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet // --template=.maintain/weight-template.hbs // --header=HEADER-GPL // --heap-pages=4096 -// --chain=dev +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --pallet=pallet-bonded-coins // --extrinsic=* // --output=./pallets/pallet-bonded-coins/src/default_weights.rs @@ -49,7 +50,7 @@ pub trait WeightInfo { fn create_pool_polynomial(c: u32, ) -> Weight; fn create_pool_square_root(c: u32, ) -> Weight; fn create_pool_lmsr(c: u32, ) -> Weight; - fn reset_team() -> Weight; + fn reset_team(c: u32, ) -> Weight; fn reset_manager() -> Weight; fn set_lock() -> Weight; fn unlock() -> Weight; @@ -70,403 +71,450 @@ pub trait WeightInfo { /// Weights for pallet_bonded_coins using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 972_383 nanoseconds. - Weight::from_parts(890_138_970, 3676) - // Standard Error: 148_237 - .saturating_add(Weight::from_parts(139_407_230, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 104_080 nanoseconds. + Weight::from_parts(92_281_569, 4460) + // Standard Error: 11_555 + .saturating_add(Weight::from_parts(16_721_784, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 971_077 nanoseconds. - Weight::from_parts(871_656_562, 3676) - // Standard Error: 113_571 - .saturating_add(Weight::from_parts(139_662_791, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 103_821 nanoseconds. + Weight::from_parts(90_370_712, 4460) + // Standard Error: 14_030 + .saturating_add(Weight::from_parts(16_807_940, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 968_375 nanoseconds. - Weight::from_parts(867_466_948, 3676) - // Standard Error: 116_249 - .saturating_add(Weight::from_parts(139_836_712, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 103_474 nanoseconds. + Weight::from_parts(90_715_553, 4460) + // Standard Error: 11_256 + .saturating_add(Weight::from_parts(16_800_359, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - fn reset_team() -> Weight { - // Proof Size summary in bytes: - // Measured: `619` - // Estimated: `3830` - // Minimum execution time: 233_932 nanoseconds. - Weight::from_parts(236_466_000, 3830) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:0) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 50]`. + fn reset_team(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `338 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 52_561 nanoseconds. + Weight::from_parts(40_084_500, 4460) + // Standard Error: 17_172 + .saturating_add(Weight::from_parts(22_110_082, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn reset_manager() -> Weight { // Proof Size summary in bytes: - // Measured: `339` - // Estimated: `3830` - // Minimum execution time: 138_674 nanoseconds. - Weight::from_parts(139_617_000, 3830) + // Measured: `272` + // Estimated: `4460` + // Minimum execution time: 23_530 nanoseconds. + Weight::from_parts(23_791_000, 4460) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn set_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `339` - // Estimated: `3830` - // Minimum execution time: 136_868 nanoseconds. - Weight::from_parts(138_628_000, 3830) + // Measured: `272` + // Estimated: `4460` + // Minimum execution time: 23_754 nanoseconds. + Weight::from_parts(23_979_000, 4460) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `342` - // Estimated: `3830` - // Minimum execution time: 134_994 nanoseconds. - Weight::from_parts(136_078_000, 3830) + // Measured: `274` + // Estimated: `4460` + // Minimum execution time: 23_682 nanoseconds. + Weight::from_parts(24_070_000, 4460) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `855 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 628_762 nanoseconds. - Weight::from_parts(608_351_405, 6208) - // Standard Error: 47_025 - .saturating_add(Weight::from_parts(32_911_729, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `971 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 123_492 nanoseconds. + Weight::from_parts(123_355_177, 7404) + // Standard Error: 5_701 + .saturating_add(Weight::from_parts(3_944_063, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `839 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 663_728 nanoseconds. - Weight::from_parts(639_889_739, 6208) - // Standard Error: 51_003 - .saturating_add(Weight::from_parts(32_847_297, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `955 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 151_784 nanoseconds. + Weight::from_parts(151_538_881, 7404) + // Standard Error: 6_415 + .saturating_add(Weight::from_parts(3_954_454, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `823 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 632_505 nanoseconds. - Weight::from_parts(605_811_044, 6208) - // Standard Error: 68_768 - .saturating_add(Weight::from_parts(45_571_290, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `939 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 125_161 nanoseconds. + Weight::from_parts(120_929_065, 7404) + // Standard Error: 12_695 + .saturating_add(Weight::from_parts(17_562_082, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `952 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_219_501 nanoseconds. - Weight::from_parts(1_231_031_276, 8817) - // Standard Error: 97_453 - .saturating_add(Weight::from_parts(30_883_086, 0).saturating_mul(c.into())) + // Measured: `1002 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 151_851 nanoseconds. + Weight::from_parts(151_581_109, 7404) + // Standard Error: 5_606 + .saturating_add(Weight::from_parts(3_954_413, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `936 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_280_432 nanoseconds. - Weight::from_parts(1_269_726_586, 8817) - // Standard Error: 81_512 - .saturating_add(Weight::from_parts(31_048_333, 0).saturating_mul(c.into())) + // Measured: `986 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 204_688 nanoseconds. + Weight::from_parts(203_358_929, 7404) + // Standard Error: 6_107 + .saturating_add(Weight::from_parts(3_942_632, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_239_744 nanoseconds. - Weight::from_parts(1_227_113_068, 8817) - // Standard Error: 122_714 - .saturating_add(Weight::from_parts(63_197_028, 0).saturating_mul(c.into())) + // Measured: `970 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 153_149 nanoseconds. + Weight::from_parts(135_710_467, 7404) + // Standard Error: 94_086 + .saturating_add(Weight::from_parts(57_746_304, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `373 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 289_514 nanoseconds. - Weight::from_parts(237_013_036, 3830) - // Standard Error: 81_274 - .saturating_add(Weight::from_parts(79_952_518, 0).saturating_mul(c.into())) + // Measured: `382 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 47_294 nanoseconds. + Weight::from_parts(43_841_041, 4460) + // Standard Error: 8_471 + .saturating_add(Weight::from_parts(9_932_458, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn force_start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `341 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 264_075 nanoseconds. - Weight::from_parts(219_016_367, 3830) - // Standard Error: 102_148 - .saturating_add(Weight::from_parts(79_147_583, 0).saturating_mul(c.into())) + // Measured: `274 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 41_576 nanoseconds. + Weight::from_parts(36_996_800, 4460) + // Standard Error: 7_153 + .saturating_add(Weight::from_parts(9_895_749, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:0) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:1) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn finish_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `504 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 723_132 nanoseconds. - Weight::from_parts(655_543_968, 3830) - // Standard Error: 157_030 - .saturating_add(Weight::from_parts(102_388_883, 0).saturating_mul(c.into())) + // Measured: `499 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 64_820 nanoseconds. + Weight::from_parts(62_601_178, 4460) + // Standard Error: 11_535 + .saturating_add(Weight::from_parts(11_942_195, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:0) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:1 w:0) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1005 + c * (11 ±0)` - // Estimated: `3830` - // Minimum execution time: 250_787 nanoseconds. - Weight::from_parts(264_418_963, 3830) - // Standard Error: 10_398 - .saturating_add(Weight::from_parts(128_444, 0).saturating_mul(c.into())) + // Measured: `1018 + c * (12 ±0)` + // Estimated: `4460` + // Minimum execution time: 42_008 nanoseconds. + Weight::from_parts(44_653_744, 4460) + // Standard Error: 1_480 + .saturating_add(Weight::from_parts(55_713, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:0) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:1 w:0) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn force_start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `940 + c * (11 ±0)` - // Estimated: `3830` - // Minimum execution time: 251_032 nanoseconds. - Weight::from_parts(265_248_643, 3830) - // Standard Error: 14_079 - .saturating_add(Weight::from_parts(80_561, 0).saturating_mul(c.into())) + // Measured: `953 + c * (12 ±0)` + // Estimated: `4460` + // Minimum execution time: 41_915 nanoseconds. + Weight::from_parts(44_978_744, 4460) + // Standard Error: 1_641 + .saturating_add(Weight::from_parts(53_378, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn refund_account(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_363_146 nanoseconds. - Weight::from_parts(1_343_165_422, 8817) - // Standard Error: 90_432 - .saturating_add(Weight::from_parts(31_315_327, 0).saturating_mul(c.into())) + // Measured: `970 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 160_479 nanoseconds. + Weight::from_parts(160_807_951, 7404) + // Standard Error: 5_529 + .saturating_add(Weight::from_parts(3_879_811, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) @@ -476,403 +524,450 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 972_383 nanoseconds. - Weight::from_parts(890_138_970, 3676) - // Standard Error: 148_237 - .saturating_add(Weight::from_parts(139_407_230, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 104_080 nanoseconds. + Weight::from_parts(92_281_569, 4460) + // Standard Error: 11_555 + .saturating_add(Weight::from_parts(16_721_784, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(6_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 971_077 nanoseconds. - Weight::from_parts(871_656_562, 3676) - // Standard Error: 113_571 - .saturating_add(Weight::from_parts(139_662_791, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 103_821 nanoseconds. + Weight::from_parts(90_370_712, 4460) + // Standard Error: 14_030 + .saturating_add(Weight::from_parts(16_807_940, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(6_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 968_375 nanoseconds. - Weight::from_parts(867_466_948, 3676) - // Standard Error: 116_249 - .saturating_add(Weight::from_parts(139_836_712, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 103_474 nanoseconds. + Weight::from_parts(90_715_553, 4460) + // Standard Error: 11_256 + .saturating_add(Weight::from_parts(16_800_359, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(6_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - fn reset_team() -> Weight { - // Proof Size summary in bytes: - // Measured: `619` - // Estimated: `3830` - // Minimum execution time: 233_932 nanoseconds. - Weight::from_parts(236_466_000, 3830) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:0) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 50]`. + fn reset_team(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `338 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 52_561 nanoseconds. + Weight::from_parts(40_084_500, 4460) + // Standard Error: 17_172 + .saturating_add(Weight::from_parts(22_110_082, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) + .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn reset_manager() -> Weight { // Proof Size summary in bytes: - // Measured: `339` - // Estimated: `3830` - // Minimum execution time: 138_674 nanoseconds. - Weight::from_parts(139_617_000, 3830) + // Measured: `272` + // Estimated: `4460` + // Minimum execution time: 23_530 nanoseconds. + Weight::from_parts(23_791_000, 4460) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn set_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `339` - // Estimated: `3830` - // Minimum execution time: 136_868 nanoseconds. - Weight::from_parts(138_628_000, 3830) + // Measured: `272` + // Estimated: `4460` + // Minimum execution time: 23_754 nanoseconds. + Weight::from_parts(23_979_000, 4460) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `342` - // Estimated: `3830` - // Minimum execution time: 134_994 nanoseconds. - Weight::from_parts(136_078_000, 3830) + // Measured: `274` + // Estimated: `4460` + // Minimum execution time: 23_682 nanoseconds. + Weight::from_parts(24_070_000, 4460) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `855 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 628_762 nanoseconds. - Weight::from_parts(608_351_405, 6208) - // Standard Error: 47_025 - .saturating_add(Weight::from_parts(32_911_729, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `971 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 123_492 nanoseconds. + Weight::from_parts(123_355_177, 7404) + // Standard Error: 5_701 + .saturating_add(Weight::from_parts(3_944_063, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `839 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 663_728 nanoseconds. - Weight::from_parts(639_889_739, 6208) - // Standard Error: 51_003 - .saturating_add(Weight::from_parts(32_847_297, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `955 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 151_784 nanoseconds. + Weight::from_parts(151_538_881, 7404) + // Standard Error: 6_415 + .saturating_add(Weight::from_parts(3_954_454, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `823 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 632_505 nanoseconds. - Weight::from_parts(605_811_044, 6208) - // Standard Error: 68_768 - .saturating_add(Weight::from_parts(45_571_290, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `939 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 125_161 nanoseconds. + Weight::from_parts(120_929_065, 7404) + // Standard Error: 12_695 + .saturating_add(Weight::from_parts(17_562_082, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `952 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_219_501 nanoseconds. - Weight::from_parts(1_231_031_276, 8817) - // Standard Error: 97_453 - .saturating_add(Weight::from_parts(30_883_086, 0).saturating_mul(c.into())) + // Measured: `1002 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 151_851 nanoseconds. + Weight::from_parts(151_581_109, 7404) + // Standard Error: 5_606 + .saturating_add(Weight::from_parts(3_954_413, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `936 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_280_432 nanoseconds. - Weight::from_parts(1_269_726_586, 8817) - // Standard Error: 81_512 - .saturating_add(Weight::from_parts(31_048_333, 0).saturating_mul(c.into())) + // Measured: `986 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 204_688 nanoseconds. + Weight::from_parts(203_358_929, 7404) + // Standard Error: 6_107 + .saturating_add(Weight::from_parts(3_942_632, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_239_744 nanoseconds. - Weight::from_parts(1_227_113_068, 8817) - // Standard Error: 122_714 - .saturating_add(Weight::from_parts(63_197_028, 0).saturating_mul(c.into())) + // Measured: `970 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 153_149 nanoseconds. + Weight::from_parts(135_710_467, 7404) + // Standard Error: 94_086 + .saturating_add(Weight::from_parts(57_746_304, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `373 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 289_514 nanoseconds. - Weight::from_parts(237_013_036, 3830) - // Standard Error: 81_274 - .saturating_add(Weight::from_parts(79_952_518, 0).saturating_mul(c.into())) + // Measured: `382 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 47_294 nanoseconds. + Weight::from_parts(43_841_041, 4460) + // Standard Error: 8_471 + .saturating_add(Weight::from_parts(9_932_458, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn force_start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `341 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 264_075 nanoseconds. - Weight::from_parts(219_016_367, 3830) - // Standard Error: 102_148 - .saturating_add(Weight::from_parts(79_147_583, 0).saturating_mul(c.into())) + // Measured: `274 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 41_576 nanoseconds. + Weight::from_parts(36_996_800, 4460) + // Standard Error: 7_153 + .saturating_add(Weight::from_parts(9_895_749, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:0) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:1) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn finish_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `504 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 723_132 nanoseconds. - Weight::from_parts(655_543_968, 3830) - // Standard Error: 157_030 - .saturating_add(Weight::from_parts(102_388_883, 0).saturating_mul(c.into())) + // Measured: `499 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 64_820 nanoseconds. + Weight::from_parts(62_601_178, 4460) + // Standard Error: 11_535 + .saturating_add(Weight::from_parts(11_942_195, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:0) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:1 w:0) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1005 + c * (11 ±0)` - // Estimated: `3830` - // Minimum execution time: 250_787 nanoseconds. - Weight::from_parts(264_418_963, 3830) - // Standard Error: 10_398 - .saturating_add(Weight::from_parts(128_444, 0).saturating_mul(c.into())) + // Measured: `1018 + c * (12 ±0)` + // Estimated: `4460` + // Minimum execution time: 42_008 nanoseconds. + Weight::from_parts(44_653_744, 4460) + // Standard Error: 1_480 + .saturating_add(Weight::from_parts(55_713, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:0) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:1 w:0) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn force_start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `940 + c * (11 ±0)` - // Estimated: `3830` - // Minimum execution time: 251_032 nanoseconds. - Weight::from_parts(265_248_643, 3830) - // Standard Error: 14_079 - .saturating_add(Weight::from_parts(80_561, 0).saturating_mul(c.into())) + // Measured: `953 + c * (12 ±0)` + // Estimated: `4460` + // Minimum execution time: 41_915 nanoseconds. + Weight::from_parts(44_978_744, 4460) + // Standard Error: 1_641 + .saturating_add(Weight::from_parts(53_378, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn refund_account(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_363_146 nanoseconds. - Weight::from_parts(1_343_165_422, 8817) - // Standard Error: 90_432 - .saturating_add(Weight::from_parts(31_315_327, 0).saturating_mul(c.into())) + // Measured: `970 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 160_479 nanoseconds. + Weight::from_parts(160_807_951, 7404) + // Standard Error: 5_529 + .saturating_add(Weight::from_parts(3_879_811, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) diff --git a/pallets/pallet-bonded-coins/src/lib.rs b/pallets/pallet-bonded-coins/src/lib.rs index 441aa4ed3..9c0b3f79a 100644 --- a/pallets/pallet-bonded-coins/src/lib.rs +++ b/pallets/pallet-bonded-coins/src/lib.rs @@ -514,7 +514,7 @@ pub mod pallet { /// the pool is larger than `currency_count`. /// - Other errors depending on the types in the config. #[pallet::call_index(1)] - #[pallet::weight(T::WeightInfo::reset_team())] + #[pallet::weight(T::WeightInfo::reset_team(currency_count.to_owned()))] pub fn reset_team( origin: OriginFor, pool_id: T::PoolId, diff --git a/runtimes/common/src/constants.rs b/runtimes/common/src/constants.rs index 9bc7afa2f..f2e1036e6 100644 --- a/runtimes/common/src/constants.rs +++ b/runtimes/common/src/constants.rs @@ -255,10 +255,7 @@ pub mod staking { #[cfg(not(feature = "fast-gov"))] pub const DEFAULT_BLOCKS_PER_ROUND: BlockNumber = 2 * HOURS; - #[cfg(feature = "fast-gov")] - pub const STAKE_DURATION: BlockNumber = 30; - #[cfg(not(feature = "fast-gov"))] - pub const STAKE_DURATION: BlockNumber = 7 * DAYS; + pub const STAKE_DURATION: BlockNumber = 1; #[cfg(feature = "fast-gov")] pub const MIN_COLLATORS: u32 = 4; @@ -289,7 +286,7 @@ pub mod staking { /// Minimum 16 collators selected per round, default at genesis and minimum forever after pub const MinCollators: u32 = MIN_COLLATORS; /// At least 4 candidates which cannot leave the network if there are no other candidates. - pub const MinRequiredCollators: u32 = 4; + pub const MinRequiredCollators: u32 = 0; /// We only allow one delegation per round. pub const MaxDelegationsPerRound: u32 = 1; /// Maximum 25 delegators per collator at launch, might be increased later diff --git a/runtimes/kestrel/src/lib.rs b/runtimes/kestrel/src/lib.rs index 5e0a8709e..eefb744cc 100644 --- a/runtimes/kestrel/src/lib.rs +++ b/runtimes/kestrel/src/lib.rs @@ -124,7 +124,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kilt-kestrel"), impl_name: create_runtime_str!("kilt-kestrel"), authoring_version: 4, - spec_version: 11600, + spec_version: 11603, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 6, @@ -220,7 +220,7 @@ impl pallet_aura::Config for Runtime { type DisabledValidators = (); type MaxAuthorities = MaxAuthorities; type AllowMultipleBlocksPerSlot = ConstBool; - type SlotDuration = ConstU64<6000>; + type SlotDuration = ConstU64<1000>; } impl pallet_grandpa::Config for Runtime { diff --git a/runtimes/peregrine/src/lib.rs b/runtimes/peregrine/src/lib.rs index b6a9a1dcd..85465985d 100644 --- a/runtimes/peregrine/src/lib.rs +++ b/runtimes/peregrine/src/lib.rs @@ -79,7 +79,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("mashnet-node"), impl_name: create_runtime_str!("mashnet-node"), authoring_version: 4, - spec_version: 11602, + spec_version: 11603, impl_version: 0, apis: RUNTIME_API_VERSION, transaction_version: 12, diff --git a/runtimes/peregrine/src/migrations/mod.rs b/runtimes/peregrine/src/migrations/mod.rs index 45f4c0d9c..f9b6e6dcf 100644 --- a/runtimes/peregrine/src/migrations/mod.rs +++ b/runtimes/peregrine/src/migrations/mod.rs @@ -16,20 +16,11 @@ // If you feel like getting in touch with us, you can do so at -use frame_support::parameter_types; use runtime_common::constants; -use crate::{weights, Balances, ParachainSystem, Runtime, RuntimeEvent}; +use crate::{weights, Balances, Runtime, RuntimeEvent}; -parameter_types! { - pub const Inflation: &'static str = "Inflation"; -} - -impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { - type ChannelList = ParachainSystem; -} - -pub type RuntimeMigrations = (); +pub type RuntimeMigrations = (); // pallet_xcm::migration::MigrateToLatestXcmVersion, impl pallet_migration::Config for Runtime { type RuntimeEvent = RuntimeEvent; diff --git a/runtimes/peregrine/src/system/mod.rs b/runtimes/peregrine/src/system/mod.rs index 05320eead..13731b2d0 100644 --- a/runtimes/peregrine/src/system/mod.rs +++ b/runtimes/peregrine/src/system/mod.rs @@ -17,8 +17,8 @@ // If you feel like getting in touch with us, you can do so at use frame_support::{ - parameter_types, - traits::{AsEnsureOriginWithArg, Everything, PrivilegeCmp}, + match_types, parameter_types, + traits::{AsEnsureOriginWithArg, EverythingBut, PrivilegeCmp}, weights::Weight, }; use frame_system::EnsureRoot; @@ -55,6 +55,15 @@ parameter_types! { pub const Version: RuntimeVersion = VERSION; } +match_types! { + pub type IncreaseStakingCalls: impl Contains = { + RuntimeCall::ParachainStaking(parachain_staking::Call::::join_candidates { .. }) | + RuntimeCall::ParachainStaking(parachain_staking::Call::::join_delegators { .. }) | + RuntimeCall::ParachainStaking(parachain_staking::Call::::delegator_stake_more { .. }) | + RuntimeCall::ParachainStaking(parachain_staking::Call::::candidate_stake_more { .. }) + }; +} + impl frame_system::Config for Runtime { /// The identifier used to distinguish between accounts. type AccountId = AccountId; @@ -87,7 +96,7 @@ impl frame_system::Config for Runtime { type OnNewAccount = (); type OnKilledAccount = (); type DbWeight = weights::rocksdb_weights::constants::RocksDbWeight; - type BaseCallFilter = Everything; + type BaseCallFilter = EverythingBut; type SystemWeightInfo = crate::weights::frame_system::WeightInfo; type BlockWeights = BlockWeights; type BlockLength = BlockLength; diff --git a/runtimes/peregrine/src/weights/attestation.rs b/runtimes/peregrine/src/weights/attestation.rs index c1688013c..a40b43287 100644 --- a/runtimes/peregrine/src/weights/attestation.rs +++ b/runtimes/peregrine/src/weights/attestation.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `attestation` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=attestation // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/attestation.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,28 +53,28 @@ impl attestation::WeightInfo for WeightInfo { /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add() -> Weight { // Proof Size summary in bytes: - // Measured: `260` - // Estimated: `3660` - // Minimum execution time: 52_335_000 picoseconds. - Weight::from_parts(53_274_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `296` + // Estimated: `3712` + // Minimum execution time: 62_957_000 picoseconds. + Weight::from_parts(63_748_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Attestation::Attestations` (r:1 w:1) /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn revoke() -> Weight { // Proof Size summary in bytes: - // Measured: `196` + // Measured: `233` // Estimated: `3660` - // Minimum execution time: 14_393_000 picoseconds. - Weight::from_parts(14_731_000, 0) + // Minimum execution time: 23_875_000 picoseconds. + Weight::from_parts(24_289_000, 0) .saturating_add(Weight::from_parts(0, 3660)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -85,17 +83,17 @@ impl attestation::WeightInfo for WeightInfo { /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 47_894_000 picoseconds. - Weight::from_parts(48_491_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `418` + // Estimated: `3712` + // Minimum execution time: 57_782_000 picoseconds. + Weight::from_parts(58_393_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -103,17 +101,17 @@ impl attestation::WeightInfo for WeightInfo { /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 48_351_000 picoseconds. - Weight::from_parts(48_828_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `418` + // Estimated: `3712` + // Minimum execution time: 57_602_000 picoseconds. + Weight::from_parts(58_458_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -121,35 +119,35 @@ impl attestation::WeightInfo for WeightInfo { /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:2 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `581` - // Estimated: `6326` - // Minimum execution time: 77_624_000 picoseconds. - Weight::from_parts(78_569_000, 0) - .saturating_add(Weight::from_parts(0, 6326)) + // Measured: `562` + // Estimated: `6434` + // Minimum execution time: 90_545_000 picoseconds. + Weight::from_parts(91_334_000, 0) + .saturating_add(Weight::from_parts(0, 6434)) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Attestation::Attestations` (r:1 w:1) /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 71_073_000 picoseconds. - Weight::from_parts(71_519_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `418` + // Estimated: `3712` + // Minimum execution time: 76_293_000 picoseconds. + Weight::from_parts(76_911_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -166,7 +164,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3712 ); } #[test] @@ -190,7 +188,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3712 ); } #[test] @@ -202,7 +200,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3712 ); } #[test] @@ -214,7 +212,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6326 + > 6434 ); } #[test] @@ -226,7 +224,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3712 ); } } diff --git a/runtimes/peregrine/src/weights/ctype.rs b/runtimes/peregrine/src/weights/ctype.rs index 34856593a..813dfcc40 100644 --- a/runtimes/peregrine/src/weights/ctype.rs +++ b/runtimes/peregrine/src/weights/ctype.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `ctype` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=ctype // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/ctype.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -49,22 +47,22 @@ use sp_std::marker::PhantomData; /// Weight functions for `ctype`. pub struct WeightInfo(PhantomData); impl ctype::WeightInfo for WeightInfo { - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Ctype::Ctypes` (r:1 w:1) /// Proof: `Ctype::Ctypes` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) /// The range of component `l` is `[1, 5242880]`. fn add(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `254` - // Estimated: `6204` - // Minimum execution time: 43_876_000 picoseconds. - Weight::from_parts(44_318_000, 0) - .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_566, 0).saturating_mul(l.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `147` + // Estimated: `3597` + // Minimum execution time: 49_232_000 picoseconds. + Weight::from_parts(49_762_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) + // Standard Error: 179 + .saturating_add(Weight::from_parts(16_132, 0).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Ctype::Ctypes` (r:1 w:1) /// Proof: `Ctype::Ctypes` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) @@ -72,8 +70,8 @@ impl ctype::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `158` // Estimated: `3553` - // Minimum execution time: 15_009_000 picoseconds. - Weight::from_parts(15_716_000, 0) + // Minimum execution time: 25_421_000 picoseconds. + Weight::from_parts(26_764_000, 0) .saturating_add(Weight::from_parts(0, 3553)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -91,7 +89,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6204 + > 3597 ); } #[test] diff --git a/runtimes/peregrine/src/weights/cumulus_pallet_parachain_system.rs b/runtimes/peregrine/src/weights/cumulus_pallet_parachain_system.rs index 19843d6b9..c1bf2b0c8 100644 --- a/runtimes/peregrine/src/weights/cumulus_pallet_parachain_system.rs +++ b/runtimes/peregrine/src/weights/cumulus_pallet_parachain_system.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `cumulus_pallet_parachain_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev -// --pallet=cumulus_pallet_parachain_system +// --pallet=cumulus-pallet-parachain-system // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/cumulus_pallet_parachain_system.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -62,13 +60,13 @@ impl cumulus_pallet_parachain_system::WeightInfo for We /// The range of component `n` is `[0, 1000]`. fn enqueue_inbound_downward_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `148` // Estimated: `3517` - // Minimum execution time: 1_841_000 picoseconds. - Weight::from_parts(1_928_000, 0) + // Minimum execution time: 3_775_000 picoseconds. + Weight::from_parts(3_978_000, 0) .saturating_add(Weight::from_parts(0, 3517)) - // Standard Error: 18_371 - .saturating_add(Weight::from_parts(193_473_787, 0).saturating_mul(n.into())) + // Standard Error: 14_398 + .saturating_add(Weight::from_parts(143_100_630, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) diff --git a/runtimes/peregrine/src/weights/delegation.rs b/runtimes/peregrine/src/weights/delegation.rs index d5943adf6..9b000f23b 100644 --- a/runtimes/peregrine/src/weights/delegation.rs +++ b/runtimes/peregrine/src/weights/delegation.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `delegation` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=delegation // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/delegation.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +53,8 @@ impl delegation::WeightInfo for WeightInfo { /// Proof: `Ctype::Ctypes` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationNodes` (r:0 w:1) /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) @@ -64,30 +62,30 @@ impl delegation::WeightInfo for WeightInfo { fn create_hierarchy() -> Weight { // Proof Size summary in bytes: // Measured: `363` - // Estimated: `3658` - // Minimum execution time: 54_699_000 picoseconds. - Weight::from_parts(55_207_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3712` + // Minimum execution time: 66_274_000 picoseconds. + Weight::from_parts(66_780_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Delegation::DelegationNodes` (r:2 w:2) /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add_delegation() -> Weight { // Proof Size summary in bytes: - // Measured: `502` + // Measured: `446` // Estimated: `70340` - // Minimum execution time: 59_709_000 picoseconds. - Weight::from_parts(60_141_000, 0) + // Minimum execution time: 68_451_000 picoseconds. + Weight::from_parts(69_236_000, 0) .saturating_add(Weight::from_parts(0, 70340)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Delegation::DelegationNodes` (r:5 w:5) /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) @@ -99,13 +97,13 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `241 + r * (239 ±0)` // Estimated: `3545 + r * (34675 ±0)` - // Minimum execution time: 24_320_000 picoseconds. - Weight::from_parts(15_889_244, 0) + // Minimum execution time: 38_369_000 picoseconds. + Weight::from_parts(26_188_775, 0) .saturating_add(Weight::from_parts(0, 3545)) - // Standard Error: 11_872 - .saturating_add(Weight::from_parts(9_382_556, 0).saturating_mul(r.into())) - // Standard Error: 11_872 - .saturating_add(Weight::from_parts(42_441, 0).saturating_mul(c.into())) + // Standard Error: 24_708 + .saturating_add(Weight::from_parts(13_932_293, 0).saturating_mul(r.into())) + // Standard Error: 24_708 + .saturating_add(Weight::from_parts(30_602, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -121,11 +119,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `414 + c * (239 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 27_798_000 picoseconds. - Weight::from_parts(25_412_478, 0) + // Minimum execution time: 43_020_000 picoseconds. + Weight::from_parts(39_358_064, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 17_146 - .saturating_add(Weight::from_parts(4_219_254, 0).saturating_mul(c.into())) + // Standard Error: 16_407 + .saturating_add(Weight::from_parts(5_830_403, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -135,22 +133,22 @@ impl delegation::WeightInfo for WeightInfo { /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:6 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationHierarchies` (r:1 w:1) /// Proof: `Delegation::DelegationHierarchies` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 5]`. fn remove_delegation(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `651 + r * (294 ±0)` + // Measured: `595 + r * (294 ±0)` // Estimated: `35665 + r * (34675 ±0)` - // Minimum execution time: 99_737_000 picoseconds. - Weight::from_parts(67_169_789, 0) + // Minimum execution time: 111_478_000 picoseconds. + Weight::from_parts(77_215_781, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 69_804 - .saturating_add(Weight::from_parts(36_006_219, 0).saturating_mul(r.into())) + // Standard Error: 57_589 + .saturating_add(Weight::from_parts(37_971_469, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -161,22 +159,22 @@ impl delegation::WeightInfo for WeightInfo { /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:6 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationHierarchies` (r:0 w:1) /// Proof: `Delegation::DelegationHierarchies` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 5]`. fn reclaim_deposit(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `583 + r * (294 ±0)` + // Measured: `527 + r * (294 ±0)` // Estimated: `35665 + r * (34675 ±0)` - // Minimum execution time: 95_277_000 picoseconds. - Weight::from_parts(62_361_345, 0) + // Minimum execution time: 104_744_000 picoseconds. + Weight::from_parts(70_159_963, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 72_256 - .saturating_add(Weight::from_parts(36_212_512, 0).saturating_mul(r.into())) + // Standard Error: 63_014 + .saturating_add(Weight::from_parts(37_844_491, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -191,8 +189,8 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `613` // Estimated: `35665` - // Minimum execution time: 12_206_000 picoseconds. - Weight::from_parts(12_555_000, 0) + // Minimum execution time: 18_963_000 picoseconds. + Weight::from_parts(19_324_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -203,11 +201,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `341 + c * (240 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 11_218_000 picoseconds. - Weight::from_parts(8_196_690, 0) + // Minimum execution time: 17_510_000 picoseconds. + Weight::from_parts(13_234_110, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 16_268 - .saturating_add(Weight::from_parts(3_563_546, 0).saturating_mul(c.into())) + // Standard Error: 20_156 + .saturating_add(Weight::from_parts(5_066_094, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 34675).saturating_mul(c.into())) @@ -219,11 +217,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `341 + c * (240 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 11_180_000 picoseconds. - Weight::from_parts(8_147_080, 0) + // Minimum execution time: 17_561_000 picoseconds. + Weight::from_parts(13_304_454, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 15_643 - .saturating_add(Weight::from_parts(3_634_816, 0).saturating_mul(c.into())) + // Standard Error: 20_254 + .saturating_add(Weight::from_parts(5_039_002, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 34675).saturating_mul(c.into())) @@ -232,34 +230,34 @@ impl delegation::WeightInfo for WeightInfo { /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:2 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `829` + // Measured: `773` // Estimated: `35665` - // Minimum execution time: 83_409_000 picoseconds. - Weight::from_parts(84_131_000, 0) + // Minimum execution time: 95_286_000 picoseconds. + Weight::from_parts(96_262_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Delegation::DelegationNodes` (r:1 w:1) /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `685` + // Measured: `629` // Estimated: `35665` - // Minimum execution time: 76_806_000 picoseconds. - Weight::from_parts(77_508_000, 0) + // Minimum execution time: 80_598_000 picoseconds. + Weight::from_parts(81_757_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -277,7 +275,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3712 ); } #[test] diff --git a/runtimes/peregrine/src/weights/did.rs b/runtimes/peregrine/src/weights/did.rs index 22d805ab7..8ede552af 100644 --- a/runtimes/peregrine/src/weights/did.rs +++ b/runtimes/peregrine/src/weights/did.rs @@ -18,20 +18,21 @@ //! Autogenerated weights for `did` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=did // --extrinsic=* +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -50,10 +51,10 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -64,27 +65,27 @@ impl did::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 25]`. fn create_ed25519_keys(n: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `361` - // Estimated: `6204` - // Minimum execution time: 176_703_000 picoseconds. - Weight::from_parts(123_587_764, 0) - .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 140_510 - .saturating_add(Weight::from_parts(2_474_654, 0).saturating_mul(n.into())) - // Standard Error: 54_325 - .saturating_add(Weight::from_parts(27_504_309, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `287` + // Estimated: `5777` + // Minimum execution time: 175_368_000 picoseconds. + Weight::from_parts(130_552_590, 0) + .saturating_add(Weight::from_parts(0, 5777)) + // Standard Error: 46_885 + .saturating_add(Weight::from_parts(1_822_734, 0).saturating_mul(n.into())) + // Standard Error: 18_127 + .saturating_add(Weight::from_parts(28_511_457, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) } /// Storage: `Did::DidBlacklist` (r:1 w:0) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -95,27 +96,27 @@ impl did::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 25]`. fn create_sr25519_keys(n: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `361` - // Estimated: `6204` - // Minimum execution time: 170_835_000 picoseconds. - Weight::from_parts(118_906_598, 0) - .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 48_780 - .saturating_add(Weight::from_parts(1_768_612, 0).saturating_mul(n.into())) - // Standard Error: 18_859 - .saturating_add(Weight::from_parts(35_135_898, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `287` + // Estimated: `5777` + // Minimum execution time: 185_046_000 picoseconds. + Weight::from_parts(130_769_117, 0) + .saturating_add(Weight::from_parts(0, 5777)) + // Standard Error: 67_076 + .saturating_add(Weight::from_parts(1_958_720, 0).saturating_mul(n.into())) + // Standard Error: 25_933 + .saturating_add(Weight::from_parts(35_800_226, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) } /// Storage: `Did::DidBlacklist` (r:1 w:0) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -126,17 +127,17 @@ impl did::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 25]`. fn create_ecdsa_keys(n: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `361` - // Estimated: `6204` - // Minimum execution time: 160_788_000 picoseconds. - Weight::from_parts(122_676_200, 0) - .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 48_026 - .saturating_add(Weight::from_parts(1_698_790, 0).saturating_mul(n.into())) - // Standard Error: 18_568 - .saturating_add(Weight::from_parts(22_344_290, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `287` + // Estimated: `5777` + // Minimum execution time: 170_525_000 picoseconds. + Weight::from_parts(132_781_222, 0) + .saturating_add(Weight::from_parts(0, 5777)) + // Standard Error: 40_290 + .saturating_add(Weight::from_parts(1_772_581, 0).saturating_mul(n.into())) + // Standard Error: 15_577 + .saturating_add(Weight::from_parts(23_362_666, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) } /// Storage: `Did::DidEndpointsCount` (r:1 w:1) @@ -145,25 +146,29 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) + /// Storage: `Web3Names::Names` (r:1 w:0) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DidLookup::ConnectedAccounts` (r:1 w:0) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) /// Storage: `Did::DidBlacklist` (r:0 w:1) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 25]`. fn delete(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `724 + c * (105 ±0)` + // Measured: `919 + c * (105 ±0)` // Estimated: `5777 + c * (6690 ±0)` - // Minimum execution time: 59_941_000 picoseconds. - Weight::from_parts(60_787_776, 0) + // Minimum execution time: 86_352_000 picoseconds. + Weight::from_parts(87_086_272, 0) .saturating_add(Weight::from_parts(0, 5777)) - // Standard Error: 4_305 - .saturating_add(Weight::from_parts(1_182_832, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Standard Error: 15_613 + .saturating_add(Weight::from_parts(1_680_182, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -175,25 +180,29 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:25 w:25) /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) + /// Storage: `Web3Names::Names` (r:1 w:0) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DidLookup::ConnectedAccounts` (r:1 w:0) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) /// Storage: `Did::DidBlacklist` (r:0 w:1) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 25]`. fn reclaim_deposit(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `724 + c * (105 ±0)` + // Measured: `919 + c * (105 ±0)` // Estimated: `5777 + c * (6690 ±0)` - // Minimum execution time: 61_925_000 picoseconds. - Weight::from_parts(62_686_230, 0) + // Minimum execution time: 89_489_000 picoseconds. + Weight::from_parts(90_507_981, 0) .saturating_add(Weight::from_parts(0, 5777)) - // Standard Error: 4_880 - .saturating_add(Weight::from_parts(1_197_574, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Standard Error: 7_602 + .saturating_add(Weight::from_parts(1_686_023, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -203,10 +212,10 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) fn submit_did_call_ed25519_key() -> Weight { // Proof Size summary in bytes: - // Measured: `352` + // Measured: `385` // Estimated: `5777` - // Minimum execution time: 70_153_000 picoseconds. - Weight::from_parts(71_321_000, 0) + // Minimum execution time: 70_869_000 picoseconds. + Weight::from_parts(71_800_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -215,10 +224,10 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) fn submit_did_call_sr25519_key() -> Weight { // Proof Size summary in bytes: - // Measured: `352` + // Measured: `385` // Estimated: `5777` - // Minimum execution time: 57_176_000 picoseconds. - Weight::from_parts(57_930_000, 0) + // Minimum execution time: 72_110_000 picoseconds. + Weight::from_parts(72_882_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -227,10 +236,10 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) fn submit_did_call_ecdsa_key() -> Weight { // Proof Size summary in bytes: - // Measured: `353` + // Measured: `386` // Estimated: `5777` - // Minimum execution time: 59_897_000 picoseconds. - Weight::from_parts(61_614_000, 0) + // Minimum execution time: 72_158_000 picoseconds. + Weight::from_parts(72_844_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -239,421 +248,337 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn set_ed25519_authentication_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 73_397_000 picoseconds. - Weight::from_parts(74_826_000, 0) + // Minimum execution time: 46_393_000 picoseconds. + Weight::from_parts(47_020_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn set_sr25519_authentication_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 73_519_000 picoseconds. - Weight::from_parts(74_696_000, 0) + // Minimum execution time: 46_298_000 picoseconds. + Weight::from_parts(46_963_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn set_ecdsa_authentication_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 73_532_000 picoseconds. - Weight::from_parts(74_206_000, 0) + // Minimum execution time: 46_158_000 picoseconds. + Weight::from_parts(46_785_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn set_ed25519_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 73_492_000 picoseconds. - Weight::from_parts(74_719_000, 0) + // Minimum execution time: 45_735_000 picoseconds. + Weight::from_parts(46_473_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn set_sr25519_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 73_102_000 picoseconds. - Weight::from_parts(73_773_000, 0) + // Minimum execution time: 46_004_000 picoseconds. + Weight::from_parts(46_444_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn set_ecdsa_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 73_472_000 picoseconds. - Weight::from_parts(74_125_000, 0) + // Minimum execution time: 46_108_000 picoseconds. + Weight::from_parts(46_550_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn remove_ed25519_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 71_383_000 picoseconds. - Weight::from_parts(72_118_000, 0) + // Minimum execution time: 43_571_000 picoseconds. + Weight::from_parts(44_112_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn remove_sr25519_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 71_120_000 picoseconds. - Weight::from_parts(72_186_000, 0) + // Minimum execution time: 43_980_000 picoseconds. + Weight::from_parts(44_309_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn remove_ecdsa_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 71_313_000 picoseconds. - Weight::from_parts(72_083_000, 0) + // Minimum execution time: 43_829_000 picoseconds. + Weight::from_parts(44_316_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn set_ed25519_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 73_165_000 picoseconds. - Weight::from_parts(73_941_000, 0) + // Minimum execution time: 45_748_000 picoseconds. + Weight::from_parts(46_282_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn set_sr25519_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 73_271_000 picoseconds. - Weight::from_parts(74_303_000, 0) + // Minimum execution time: 45_682_000 picoseconds. + Weight::from_parts(46_444_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn set_ecdsa_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 73_118_000 picoseconds. - Weight::from_parts(74_354_000, 0) + // Minimum execution time: 45_799_000 picoseconds. + Weight::from_parts(46_472_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn remove_ed25519_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 71_464_000 picoseconds. - Weight::from_parts(72_435_000, 0) + // Minimum execution time: 43_461_000 picoseconds. + Weight::from_parts(43_995_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn remove_sr25519_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 71_836_000 picoseconds. - Weight::from_parts(72_819_000, 0) + // Minimum execution time: 43_701_000 picoseconds. + Weight::from_parts(44_364_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn remove_ecdsa_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 71_458_000 picoseconds. - Weight::from_parts(72_849_000, 0) + // Minimum execution time: 43_773_000 picoseconds. + Weight::from_parts(44_182_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn add_ed25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1629` + // Measured: `1555` // Estimated: `5777` - // Minimum execution time: 72_468_000 picoseconds. - Weight::from_parts(73_521_000, 0) + // Minimum execution time: 45_585_000 picoseconds. + Weight::from_parts(45_966_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn add_sr25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1629` + // Measured: `1555` // Estimated: `5777` - // Minimum execution time: 72_191_000 picoseconds. - Weight::from_parts(73_376_000, 0) + // Minimum execution time: 45_660_000 picoseconds. + Weight::from_parts(46_025_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn add_ecdsa_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1632` + // Measured: `1558` // Estimated: `5777` - // Minimum execution time: 72_969_000 picoseconds. - Weight::from_parts(73_442_000, 0) + // Minimum execution time: 45_160_000 picoseconds. + Weight::from_parts(45_876_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn remove_ed25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 71_449_000 picoseconds. - Weight::from_parts(72_497_000, 0) + // Minimum execution time: 44_548_000 picoseconds. + Weight::from_parts(45_134_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn remove_sr25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 72_068_000 picoseconds. - Weight::from_parts(73_229_000, 0) + // Minimum execution time: 44_417_000 picoseconds. + Weight::from_parts(45_034_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn remove_ecdsa_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 72_096_000 picoseconds. - Weight::from_parts(72_820_000, 0) + // Minimum execution time: 44_442_000 picoseconds. + Weight::from_parts(45_032_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) @@ -661,21 +586,17 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:1 w:1) /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn add_service_endpoint() -> Weight { // Proof Size summary in bytes: - // Measured: `1135` + // Measured: `1061` // Estimated: `7680` - // Minimum execution time: 88_854_000 picoseconds. - Weight::from_parts(89_516_000, 0) + // Minimum execution time: 63_655_000 picoseconds. + Weight::from_parts(64_329_000, 0) .saturating_add(Weight::from_parts(0, 7680)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) @@ -683,34 +604,30 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn remove_service_endpoint() -> Weight { // Proof Size summary in bytes: - // Measured: `5318` + // Measured: `5244` // Estimated: `7680` - // Minimum execution time: 81_709_000 picoseconds. - Weight::from_parts(83_575_000, 0) + // Minimum execution time: 56_744_000 picoseconds. + Weight::from_parts(57_531_000, 0) .saturating_add(Weight::from_parts(0, 7680)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Did::Did` (r:1 w:0) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// The range of component `l` is `[1, 5242880]`. fn signature_verification_sr25519(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1626` + // Measured: `1659` // Estimated: `5777` - // Minimum execution time: 47_054_000 picoseconds. - Weight::from_parts(19_434_438, 0) + // Minimum execution time: 56_644_000 picoseconds. + Weight::from_parts(15_199_747, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(4_280, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(3_853, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Did::Did` (r:1 w:0) @@ -718,13 +635,13 @@ impl did::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 5242880]`. fn signature_verification_ed25519(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1626` + // Measured: `1659` // Estimated: `5777` - // Minimum execution time: 60_357_000 picoseconds. - Weight::from_parts(39_287_609, 0) + // Minimum execution time: 54_998_000 picoseconds. + Weight::from_parts(7_206_398, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(2_364, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(2_107, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Did::Did` (r:1 w:0) @@ -732,13 +649,13 @@ impl did::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 5242880]`. fn signature_verification_ecdsa(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1627` + // Measured: `1660` // Estimated: `5777` - // Minimum execution time: 49_576_000 picoseconds. - Weight::from_parts(27_809_336, 0) + // Minimum execution time: 56_214_000 picoseconds. + Weight::from_parts(9_622_881, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_163, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(836, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Migration::MigratedKeys` (r:1 w:1) @@ -747,17 +664,17 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `519` + // Measured: `496` // Estimated: `5777` - // Minimum execution time: 68_038_000 picoseconds. - Weight::from_parts(68_764_000, 0) + // Minimum execution time: 69_145_000 picoseconds. + Weight::from_parts(70_070_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) @@ -765,26 +682,24 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `463` + // Measured: `389` // Estimated: `5777` - // Minimum execution time: 32_636_000 picoseconds. - Weight::from_parts(33_820_000, 0) + // Minimum execution time: 29_950_000 picoseconds. + Weight::from_parts(30_252_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:0) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) fn dispatch_as() -> Weight { // Proof Size summary in bytes: - // Measured: `353` + // Measured: `386` // Estimated: `5777` - // Minimum execution time: 17_323_000 picoseconds. - Weight::from_parts(17_851_000, 0) + // Minimum execution time: 27_004_000 picoseconds. + Weight::from_parts(27_546_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -792,21 +707,21 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn create_from_account() -> Weight { // Proof Size summary in bytes: - // Measured: `323` - // Estimated: `6204` - // Minimum execution time: 76_870_000 picoseconds. - Weight::from_parts(77_655_000, 0) - .saturating_add(Weight::from_parts(0, 6204)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `249` + // Estimated: `5777` + // Minimum execution time: 77_743_000 picoseconds. + Weight::from_parts(79_055_000, 0) + .saturating_add(Weight::from_parts(0, 5777)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } } @@ -821,7 +736,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6204 + > 5777 ); } #[test] @@ -833,7 +748,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6204 + > 5777 ); } #[test] @@ -845,7 +760,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6204 + > 5777 ); } #[test] @@ -1265,7 +1180,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6204 + > 5777 ); } } diff --git a/runtimes/peregrine/src/weights/frame_system.rs b/runtimes/peregrine/src/weights/frame_system.rs index 53b16ca3d..38fb2ca7b 100644 --- a/runtimes/peregrine/src/weights/frame_system.rs +++ b/runtimes/peregrine/src/weights/frame_system.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `frame_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=frame-system // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/frame_system.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,22 +52,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_095_000 picoseconds. - Weight::from_parts(2_196_000, 0) + // Minimum execution time: 4_591_000 picoseconds. + Weight::from_parts(4_655_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(390, 0).saturating_mul(b.into())) + // Standard Error: 129 + .saturating_add(Weight::from_parts(11_378, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_784_000 picoseconds. - Weight::from_parts(5_919_000, 0) + // Minimum execution time: 11_225_000 picoseconds. + Weight::from_parts(11_467_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_557, 0).saturating_mul(b.into())) + // Standard Error: 128 + .saturating_add(Weight::from_parts(12_184, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -79,8 +77,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_771_000 picoseconds. - Weight::from_parts(4_019_000, 0) + // Minimum execution time: 7_733_000 picoseconds. + Weight::from_parts(7_900_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -101,8 +99,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1612` - // Minimum execution time: 101_315_441_000 picoseconds. - Weight::from_parts(104_155_772_000, 0) + // Minimum execution time: 172_181_303_000 picoseconds. + Weight::from_parts(172_722_786_000, 0) .saturating_add(Weight::from_parts(0, 1612)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -114,11 +112,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_030_000 picoseconds. - Weight::from_parts(2_087_000, 0) + // Minimum execution time: 4_682_000 picoseconds. + Weight::from_parts(4_757_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_131 - .saturating_add(Weight::from_parts(739_354, 0).saturating_mul(i.into())) + // Standard Error: 907 + .saturating_add(Weight::from_parts(901_075, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -128,11 +126,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_101_000 picoseconds. - Weight::from_parts(2_171_000, 0) + // Minimum execution time: 4_701_000 picoseconds. + Weight::from_parts(4_846_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 819 - .saturating_add(Weight::from_parts(528_995, 0).saturating_mul(i.into())) + // Standard Error: 1_008 + .saturating_add(Weight::from_parts(682_412, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -140,13 +138,13 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `82 + p * (69 ±0)` - // Estimated: `92 + p * (70 ±0)` - // Minimum execution time: 4_152_000 picoseconds. - Weight::from_parts(4_262_000, 0) - .saturating_add(Weight::from_parts(0, 92)) - // Standard Error: 982 - .saturating_add(Weight::from_parts(1_029_408, 0).saturating_mul(p.into())) + // Measured: `115 + p * (69 ±0)` + // Estimated: `110 + p * (70 ±0)` + // Minimum execution time: 8_170_000 picoseconds. + Weight::from_parts(8_326_000, 0) + .saturating_add(Weight::from_parts(0, 110)) + // Standard Error: 1_067 + .saturating_add(Weight::from_parts(1_419_123, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) @@ -157,8 +155,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_906_000 picoseconds. - Weight::from_parts(8_575_000, 0) + // Minimum execution time: 13_653_000 picoseconds. + Weight::from_parts(14_379_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -180,8 +178,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149` // Estimated: `1634` - // Minimum execution time: 106_385_288_000 picoseconds. - Weight::from_parts(109_274_128_000, 0) + // Minimum execution time: 176_314_061_000 picoseconds. + Weight::from_parts(177_111_419_000, 0) .saturating_add(Weight::from_parts(0, 1634)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -223,7 +221,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 92 + > 110 ); } #[test] diff --git a/runtimes/peregrine/src/weights/ismp_parachain.rs b/runtimes/peregrine/src/weights/ismp_parachain.rs index b5ce8908e..00310ad87 100644 --- a/runtimes/peregrine/src/weights/ismp_parachain.rs +++ b/runtimes/peregrine/src/weights/ismp_parachain.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `ismp_parachain` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -56,25 +56,23 @@ impl ismp_parachain::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_388_000 picoseconds. - Weight::from_parts(6_725_135, 0) + // Minimum execution time: 14_477_000 picoseconds. + Weight::from_parts(11_198_746, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4_114 - .saturating_add(Weight::from_parts(1_995_999, 0).saturating_mul(n.into())) + // Standard Error: 3_602 + .saturating_add(Weight::from_parts(3_200_367, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) } /// Storage: `IsmpParachain::Parachains` (r:0 w:5) /// Proof: `IsmpParachain::Parachains` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 100]`. - fn remove_parachain(n: u32, ) -> Weight { + fn remove_parachain(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_479_000 picoseconds. - Weight::from_parts(8_755_956, 0) + // Minimum execution time: 16_092_000 picoseconds. + Weight::from_parts(17_628_706, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 475 - .saturating_add(Weight::from_parts(14_864, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `IsmpParachain::ConsensusUpdated` (r:1 w:1) @@ -103,14 +101,14 @@ impl ismp_parachain::WeightInfo for WeightInfo { /// Proof: `Ismp::StateCommitments` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Ismp::StateMachineUpdateTime` (r:0 w:1) /// Proof: `Ismp::StateMachineUpdateTime` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: UNKNOWN KEY `0x7374617465859b5c7d03c68da7d492f1cc906e886ce9b49cc592d063993bdd8c` (r:1 w:1) - /// Proof: UNKNOWN KEY `0x7374617465859b5c7d03c68da7d492f1cc906e886ce9b49cc592d063993bdd8c` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x73746174652258461ce4bf7dc4f816271181f41d0505f1cf62dccdb0eeaa2c84` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x73746174652258461ce4bf7dc4f816271181f41d0505f1cf62dccdb0eeaa2c84` (r:1 w:1) fn update_parachain_consensus() -> Weight { // Proof Size summary in bytes: // Measured: `753` // Estimated: `5964` - // Minimum execution time: 75_559_000 picoseconds. - Weight::from_parts(79_529_000, 0) + // Minimum execution time: 142_417_000 picoseconds. + Weight::from_parts(144_241_000, 0) .saturating_add(Weight::from_parts(0, 5964)) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/runtimes/peregrine/src/weights/pallet_asset_switch.rs b/runtimes/peregrine/src/weights/pallet_asset_switch.rs index f56c8f6bc..f9e639550 100644 --- a/runtimes/peregrine/src/weights/pallet_asset_switch.rs +++ b/runtimes/peregrine/src/weights/pallet_asset_switch.rs @@ -18,30 +18,24 @@ //! Autogenerated weights for `pallet_asset_switch` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 27.0.0 -//! DATE: 2024-07-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain -// dev -// --pallet -// pallet-asset-switch +// --pallet=pallet-asset-switch // --extrinsic=* -// --output -// ./runtimes/peregrine/src/weights/pallet_asset_switch.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,82 +48,99 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_asset_switch::WeightInfo for WeightInfo { /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `128` + // Measured: `220` // Estimated: `3597` - // Minimum execution time: 195_975_000 picoseconds. - Weight::from_parts(197_609_000, 0) + // Minimum execution time: 32_930_000 picoseconds. + Weight::from_parts(33_442_000, 0) .saturating_add(Weight::from_parts(0, 3597)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `AssetSwitchPool1::SwitchPair` (r:0 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) fn force_set_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 124_504_000 picoseconds. - Weight::from_parts(124_996_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `76` + // Estimated: `1489` + // Minimum execution time: 22_541_000 picoseconds. + Weight::from_parts(22_907_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn force_unset_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `3376` - // Minimum execution time: 146_871_000 picoseconds. - Weight::from_parts(149_775_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `218` + // Estimated: `3424` + // Minimum execution time: 22_506_000 picoseconds. + Weight::from_parts(22_954_000, 0) + .saturating_add(Weight::from_parts(0, 3424)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) fn pause_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `3376` - // Minimum execution time: 101_743_000 picoseconds. - Weight::from_parts(102_740_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `218` + // Estimated: `3424` + // Minimum execution time: 15_618_000 picoseconds. + Weight::from_parts(15_942_000, 0) + .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) fn resume_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `3376` - // Minimum execution time: 149_329_000 picoseconds. - Weight::from_parts(154_394_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `218` + // Estimated: `3424` + // Minimum execution time: 21_312_000 picoseconds. + Weight::from_parts(21_663_000, 0) + .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) fn update_remote_xcm_fee() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `3376` - // Minimum execution time: 103_161_000 picoseconds. - Weight::from_parts(105_989_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `218` + // Estimated: `3424` + // Minimum execution time: 16_629_000 picoseconds. + Weight::from_parts(17_057_000, 0) + .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:1 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) @@ -143,18 +154,22 @@ impl pallet_asset_switch::WeightInfo for WeightInfo /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::PendingSwitchConfirmations` (r:1 w:1) + /// Proof: `AssetSwitchPool1::PendingSwitchConfirmations` (`max_values`: None, `max_size`: Some(666), added: 3141, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:1) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn switch() -> Weight { // Proof Size summary in bytes: - // Measured: `1045` + // Measured: `1227` // Estimated: `6204` - // Minimum execution time: 1_435_326_000 picoseconds. - Weight::from_parts(1_466_377_000, 0) + // Minimum execution time: 230_512_000 picoseconds. + Weight::from_parts(231_784_000, 0) .saturating_add(Weight::from_parts(0, 6204)) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(11)) } } @@ -173,6 +188,18 @@ mod tests { ); } #[test] + fn test_force_set_switch_pair() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 1489 + ); + } + #[test] fn test_force_unset_switch_pair() { assert!( ::BlockWeights::get() @@ -181,7 +208,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3376 + > 3424 ); } #[test] @@ -193,7 +220,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3376 + > 3424 ); } #[test] @@ -205,11 +232,11 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3376 + > 3424 ); } #[test] - fn update_remote_xcm_fee() { + fn test_update_remote_xcm_fee() { assert!( ::BlockWeights::get() .per_class @@ -217,7 +244,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3376 + > 3424 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_assets.rs b/runtimes/peregrine/src/weights/pallet_assets.rs index 6bf952e5f..b540b9888 100644 --- a/runtimes/peregrine/src/weights/pallet_assets.rs +++ b/runtimes/peregrine/src/weights/pallet_assets.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -53,10 +53,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `42` + // Measured: `76` // Estimated: `4273` - // Minimum execution time: 9_846_000 picoseconds. - Weight::from_parts(10_636_000, 0) + // Minimum execution time: 22_080_000 picoseconds. + Weight::from_parts(22_492_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -67,10 +67,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: - // Measured: `42` + // Measured: `76` // Estimated: `4273` - // Minimum execution time: 9_609_000 picoseconds. - Weight::from_parts(9_960_000, 0) + // Minimum execution time: 22_133_000 picoseconds. + Weight::from_parts(22_461_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -79,10 +79,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `312` + // Measured: `346` // Estimated: `4273` - // Minimum execution time: 9_502_000 picoseconds. - Weight::from_parts(10_078_000, 0) + // Minimum execution time: 20_993_000 picoseconds. + Weight::from_parts(21_375_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,11 +98,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + c * (212 ±0)` // Estimated: `4273 + c * (3207 ±0)` - // Minimum execution time: 12_708_000 picoseconds. - Weight::from_parts(12_908_000, 0) + // Minimum execution time: 28_348_000 picoseconds. + Weight::from_parts(28_628_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 8_373 - .saturating_add(Weight::from_parts(10_367_179, 0).saturating_mul(c.into())) + // Standard Error: 14_127 + .saturating_add(Weight::from_parts(18_023_310, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -116,13 +116,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `447 + a * (86 ±0)` + // Measured: `481 + a * (86 ±0)` // Estimated: `4273 + a * (3221 ±0)` - // Minimum execution time: 13_046_000 picoseconds. - Weight::from_parts(13_596_000, 0) + // Minimum execution time: 28_207_000 picoseconds. + Weight::from_parts(28_600_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 3_824 - .saturating_add(Weight::from_parts(4_120_923, 0).saturating_mul(a.into())) + // Standard Error: 4_437 + .saturating_add(Weight::from_parts(6_635_999, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -135,10 +135,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 11_448_000 picoseconds. - Weight::from_parts(11_975_000, 0) + // Minimum execution time: 24_522_000 picoseconds. + Weight::from_parts(24_798_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -149,10 +149,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 20_251_000 picoseconds. - Weight::from_parts(20_700_000, 0) + // Minimum execution time: 39_120_000 picoseconds. + Weight::from_parts(39_466_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -163,10 +163,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `384` + // Measured: `418` // Estimated: `4273` - // Minimum execution time: 26_707_000 picoseconds. - Weight::from_parts(27_542_000, 0) + // Minimum execution time: 48_512_000 picoseconds. + Weight::from_parts(49_084_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -179,10 +179,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `436` + // Measured: `470` // Estimated: `7404` - // Minimum execution time: 36_742_000 picoseconds. - Weight::from_parts(37_880_000, 0) + // Minimum execution time: 67_268_000 picoseconds. + Weight::from_parts(67_729_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -195,10 +195,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `436` + // Measured: `470` // Estimated: `7404` - // Minimum execution time: 32_609_000 picoseconds. - Weight::from_parts(33_722_000, 0) + // Minimum execution time: 60_228_000 picoseconds. + Weight::from_parts(60_906_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -211,10 +211,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `436` + // Measured: `470` // Estimated: `7404` - // Minimum execution time: 37_069_000 picoseconds. - Weight::from_parts(37_919_000, 0) + // Minimum execution time: 67_237_000 picoseconds. + Weight::from_parts(67_789_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -225,10 +225,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `384` + // Measured: `418` // Estimated: `4273` - // Minimum execution time: 13_216_000 picoseconds. - Weight::from_parts(13_805_000, 0) + // Minimum execution time: 27_068_000 picoseconds. + Weight::from_parts(27_315_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -239,10 +239,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `384` + // Measured: `418` // Estimated: `4273` - // Minimum execution time: 13_486_000 picoseconds. - Weight::from_parts(14_055_000, 0) + // Minimum execution time: 26_972_000 picoseconds. + Weight::from_parts(27_387_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -251,10 +251,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `312` + // Measured: `346` // Estimated: `4273` - // Minimum execution time: 9_750_000 picoseconds. - Weight::from_parts(10_129_000, 0) + // Minimum execution time: 21_127_000 picoseconds. + Weight::from_parts(21_489_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -263,10 +263,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `312` + // Measured: `346` // Estimated: `4273` - // Minimum execution time: 9_785_000 picoseconds. - Weight::from_parts(10_292_000, 0) + // Minimum execution time: 20_909_000 picoseconds. + Weight::from_parts(21_305_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -277,10 +277,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 11_901_000 picoseconds. - Weight::from_parts(12_532_000, 0) + // Minimum execution time: 25_041_000 picoseconds. + Weight::from_parts(25_418_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -289,10 +289,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 10_301_000 picoseconds. - Weight::from_parts(10_801_000, 0) + // Minimum execution time: 22_537_000 picoseconds. + Weight::from_parts(22_905_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -303,15 +303,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 4]`. /// The range of component `s` is `[0, 4]`. - fn set_metadata(n: u32, _s: u32, ) -> Weight { + fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 10_783_000 picoseconds. - Weight::from_parts(12_053_448, 0) + // Minimum execution time: 23_950_000 picoseconds. + Weight::from_parts(24_475_950, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 6_846 - .saturating_add(Weight::from_parts(35_427, 0).saturating_mul(n.into())) + // Standard Error: 3_572 + .saturating_add(Weight::from_parts(44_161, 0).saturating_mul(n.into())) + // Standard Error: 3_572 + .saturating_add(Weight::from_parts(79_034, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -321,10 +323,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `346` + // Measured: `380` // Estimated: `4273` - // Minimum execution time: 11_543_000 picoseconds. - Weight::from_parts(12_348_000, 0) + // Minimum execution time: 25_124_000 picoseconds. + Weight::from_parts(25_649_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -337,13 +339,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4]`. fn force_set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `117` + // Measured: `151` // Estimated: `4273` - // Minimum execution time: 10_576_000 picoseconds. - Weight::from_parts(11_474_294, 0) + // Minimum execution time: 23_221_000 picoseconds. + Weight::from_parts(24_340_606, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 5_840 - .saturating_add(Weight::from_parts(41_680, 0).saturating_mul(s.into())) + // Standard Error: 5_448 + .saturating_add(Weight::from_parts(24_999, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -353,10 +355,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `346` + // Measured: `380` // Estimated: `4273` - // Minimum execution time: 11_704_000 picoseconds. - Weight::from_parts(12_366_000, 0) + // Minimum execution time: 24_612_000 picoseconds. + Weight::from_parts(24_945_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -365,10 +367,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 9_939_000 picoseconds. - Weight::from_parts(10_345_000, 0) + // Minimum execution time: 21_476_000 picoseconds. + Weight::from_parts(21_819_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -379,10 +381,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `312` + // Measured: `346` // Estimated: `4273` - // Minimum execution time: 15_144_000 picoseconds. - Weight::from_parts(15_578_000, 0) + // Minimum execution time: 30_525_000 picoseconds. + Weight::from_parts(30_884_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -397,10 +399,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `604` + // Measured: `638` // Estimated: `7404` - // Minimum execution time: 43_878_000 picoseconds. - Weight::from_parts(44_817_000, 0) + // Minimum execution time: 79_773_000 picoseconds. + Weight::from_parts(80_332_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -411,10 +413,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `480` + // Measured: `514` // Estimated: `4273` - // Minimum execution time: 17_418_000 picoseconds. - Weight::from_parts(18_024_000, 0) + // Minimum execution time: 33_728_000 picoseconds. + Weight::from_parts(34_055_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -425,10 +427,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `480` + // Measured: `514` // Estimated: `4273` - // Minimum execution time: 17_591_000 picoseconds. - Weight::from_parts(17_857_000, 0) + // Minimum execution time: 33_998_000 picoseconds. + Weight::from_parts(34_421_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -437,10 +439,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 10_772_000 picoseconds. - Weight::from_parts(11_279_000, 0) + // Minimum execution time: 23_145_000 picoseconds. + Weight::from_parts(23_498_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -451,10 +453,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 15_115_000 picoseconds. - Weight::from_parts(15_670_000, 0) + // Minimum execution time: 31_177_000 picoseconds. + Weight::from_parts(31_566_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -465,10 +467,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 14_835_000 picoseconds. - Weight::from_parts(15_181_000, 0) + // Minimum execution time: 29_669_000 picoseconds. + Weight::from_parts(30_042_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -479,10 +481,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `402` + // Measured: `436` // Estimated: `4273` - // Minimum execution time: 14_202_000 picoseconds. - Weight::from_parts(14_783_000, 0) + // Minimum execution time: 26_922_000 picoseconds. + Weight::from_parts(27_383_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -493,10 +495,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `435` + // Measured: `469` // Estimated: `4273` - // Minimum execution time: 13_326_000 picoseconds. - Weight::from_parts(13_840_000, 0) + // Minimum execution time: 25_635_000 picoseconds. + Weight::from_parts(26_114_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -507,10 +509,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `384` + // Measured: `418` // Estimated: `4273` - // Minimum execution time: 13_541_000 picoseconds. - Weight::from_parts(13_922_000, 0) + // Minimum execution time: 26_994_000 picoseconds. + Weight::from_parts(27_371_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -523,10 +525,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `436` + // Measured: `470` // Estimated: `7404` - // Minimum execution time: 44_656_000 picoseconds. - Weight::from_parts(45_847_000, 0) + // Minimum execution time: 80_201_000 picoseconds. + Weight::from_parts(80_998_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtimes/peregrine/src/weights/pallet_balances.rs b/runtimes/peregrine/src/weights/pallet_balances.rs index 33b9b338e..677a88b6b 100644 --- a/runtimes/peregrine/src/weights/pallet_balances.rs +++ b/runtimes/peregrine/src/weights/pallet_balances.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -53,8 +53,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `6204` - // Minimum execution time: 51_637_000 picoseconds. - Weight::from_parts(52_926_000, 0) + // Minimum execution time: 91_951_000 picoseconds. + Weight::from_parts(92_754_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -65,8 +65,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3597` - // Minimum execution time: 32_292_000 picoseconds. - Weight::from_parts(33_540_000, 0) + // Minimum execution time: 58_114_000 picoseconds. + Weight::from_parts(58_675_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -77,8 +77,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 12_856_000 picoseconds. - Weight::from_parts(13_355_000, 0) + // Minimum execution time: 25_949_000 picoseconds. + Weight::from_parts(26_505_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -89,8 +89,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 19_296_000 picoseconds. - Weight::from_parts(20_526_000, 0) + // Minimum execution time: 37_053_000 picoseconds. + Weight::from_parts(37_536_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -101,8 +101,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `214` // Estimated: `8811` - // Minimum execution time: 53_749_000 picoseconds. - Weight::from_parts(54_594_000, 0) + // Minimum execution time: 96_094_000 picoseconds. + Weight::from_parts(96_499_000, 0) .saturating_add(Weight::from_parts(0, 8811)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -113,8 +113,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3597` - // Minimum execution time: 40_191_000 picoseconds. - Weight::from_parts(41_039_000, 0) + // Minimum execution time: 71_851_000 picoseconds. + Weight::from_parts(72_378_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -125,8 +125,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 15_368_000 picoseconds. - Weight::from_parts(15_873_000, 0) + // Minimum execution time: 30_075_000 picoseconds. + Weight::from_parts(30_422_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,11 +138,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + u * (140 ±0)` // Estimated: `990 + u * (2607 ±0)` - // Minimum execution time: 14_634_000 picoseconds. - Weight::from_parts(14_833_000, 0) + // Minimum execution time: 28_475_000 picoseconds. + Weight::from_parts(28_695_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 7_838 - .saturating_add(Weight::from_parts(10_873_191, 0).saturating_mul(u.into())) + // Standard Error: 7_017 + .saturating_add(Weight::from_parts(18_297_053, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2607).saturating_mul(u.into())) @@ -153,8 +153,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1501` - // Minimum execution time: 5_428_000 picoseconds. - Weight::from_parts(5_647_000, 0) + // Minimum execution time: 20_173_000 picoseconds. + Weight::from_parts(20_583_000, 0) .saturating_add(Weight::from_parts(0, 1501)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -164,8 +164,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `3597` - // Minimum execution time: 35_830_000 picoseconds. - Weight::from_parts(36_438_000, 0) + // Minimum execution time: 67_745_000 picoseconds. + Weight::from_parts(68_304_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -174,8 +174,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_343_000 picoseconds. - Weight::from_parts(16_825_000, 0) + // Minimum execution time: 32_488_000 picoseconds. + Weight::from_parts(32_881_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtimes/peregrine/src/weights/pallet_bonded_assets.rs b/runtimes/peregrine/src/weights/pallet_bonded_assets.rs index 9c66b44b0..0b1abb742 100644 --- a/runtimes/peregrine/src/weights/pallet_bonded_assets.rs +++ b/runtimes/peregrine/src/weights/pallet_bonded_assets.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_bonded_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -58,8 +58,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `42` // Estimated: `3675` - // Minimum execution time: 10_003_000 picoseconds. - Weight::from_parts(10_816_000, 0) + // Minimum execution time: 21_482_000 picoseconds. + Weight::from_parts(21_915_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -72,8 +72,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `42` // Estimated: `3675` - // Minimum execution time: 9_846_000 picoseconds. - Weight::from_parts(10_130_000, 0) + // Minimum execution time: 21_074_000 picoseconds. + Weight::from_parts(21_561_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -84,8 +84,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 9_691_000 picoseconds. - Weight::from_parts(9_991_000, 0) + // Minimum execution time: 20_317_000 picoseconds. + Weight::from_parts(20_573_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -101,11 +101,11 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0 + c * (212 ±0)` // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 13_235_000 picoseconds. - Weight::from_parts(13_541_000, 0) + // Minimum execution time: 27_964_000 picoseconds. + Weight::from_parts(28_100_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 8_914 - .saturating_add(Weight::from_parts(10_410_204, 0).saturating_mul(c.into())) + // Standard Error: 13_449 + .saturating_add(Weight::from_parts(17_702_918, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -121,11 +121,11 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `451 + a * (86 ±0)` // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 13_010_000 picoseconds. - Weight::from_parts(13_468_000, 0) + // Minimum execution time: 27_518_000 picoseconds. + Weight::from_parts(27_716_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 3_880 - .saturating_add(Weight::from_parts(4_185_022, 0).saturating_mul(a.into())) + // Standard Error: 4_389 + .saturating_add(Weight::from_parts(6_518_242, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -140,8 +140,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 11_262_000 picoseconds. - Weight::from_parts(11_855_000, 0) + // Minimum execution time: 23_671_000 picoseconds. + Weight::from_parts(23_887_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,8 +154,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 19_635_000 picoseconds. - Weight::from_parts(20_505_000, 0) + // Minimum execution time: 37_963_000 picoseconds. + Weight::from_parts(38_383_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -168,8 +168,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 25_108_000 picoseconds. - Weight::from_parts(26_140_000, 0) + // Minimum execution time: 46_999_000 picoseconds. + Weight::from_parts(47_473_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -184,8 +184,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `440` // Estimated: `6208` - // Minimum execution time: 36_470_000 picoseconds. - Weight::from_parts(37_648_000, 0) + // Minimum execution time: 64_302_000 picoseconds. + Weight::from_parts(64_977_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -200,8 +200,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `440` // Estimated: `6208` - // Minimum execution time: 32_873_000 picoseconds. - Weight::from_parts(33_469_000, 0) + // Minimum execution time: 58_074_000 picoseconds. + Weight::from_parts(58_677_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -216,8 +216,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `440` // Estimated: `6208` - // Minimum execution time: 36_524_000 picoseconds. - Weight::from_parts(37_309_000, 0) + // Minimum execution time: 64_877_000 picoseconds. + Weight::from_parts(65_285_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -230,8 +230,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 13_330_000 picoseconds. - Weight::from_parts(13_742_000, 0) + // Minimum execution time: 26_199_000 picoseconds. + Weight::from_parts(26_576_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -244,8 +244,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 13_243_000 picoseconds. - Weight::from_parts(13_788_000, 0) + // Minimum execution time: 25_837_000 picoseconds. + Weight::from_parts(26_408_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -256,8 +256,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 9_629_000 picoseconds. - Weight::from_parts(10_087_000, 0) + // Minimum execution time: 20_187_000 picoseconds. + Weight::from_parts(20_570_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -268,8 +268,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 9_642_000 picoseconds. - Weight::from_parts(10_182_000, 0) + // Minimum execution time: 19_916_000 picoseconds. + Weight::from_parts(20_274_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -282,8 +282,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 11_978_000 picoseconds. - Weight::from_parts(12_354_000, 0) + // Minimum execution time: 24_204_000 picoseconds. + Weight::from_parts(24_696_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -294,8 +294,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 10_268_000 picoseconds. - Weight::from_parts(10_718_000, 0) + // Minimum execution time: 21_490_000 picoseconds. + Weight::from_parts(22_029_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -306,13 +306,15 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(_n: u32, _s: u32, ) -> Weight { + fn set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 11_085_000 picoseconds. - Weight::from_parts(12_793_627, 0) + // Minimum execution time: 23_797_000 picoseconds. + Weight::from_parts(24_714_805, 0) .saturating_add(Weight::from_parts(0, 3675)) + // Standard Error: 379 + .saturating_add(Weight::from_parts(1_727, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -324,8 +326,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `444` // Estimated: `3675` - // Minimum execution time: 11_653_000 picoseconds. - Weight::from_parts(12_068_000, 0) + // Minimum execution time: 24_671_000 picoseconds. + Weight::from_parts(24_954_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -340,11 +342,11 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `119` // Estimated: `3675` - // Minimum execution time: 10_509_000 picoseconds. - Weight::from_parts(12_055_798, 0) + // Minimum execution time: 22_985_000 picoseconds. + Weight::from_parts(23_695_268, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 2_305 - .saturating_add(Weight::from_parts(3_443, 0).saturating_mul(s.into())) + // Standard Error: 456 + .saturating_add(Weight::from_parts(3_438, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,8 +358,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `444` // Estimated: `3675` - // Minimum execution time: 12_233_000 picoseconds. - Weight::from_parts(12_815_000, 0) + // Minimum execution time: 23_662_000 picoseconds. + Weight::from_parts(24_269_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -368,8 +370,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 10_207_000 picoseconds. - Weight::from_parts(10_620_000, 0) + // Minimum execution time: 20_854_000 picoseconds. + Weight::from_parts(21_114_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -382,8 +384,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 15_368_000 picoseconds. - Weight::from_parts(16_162_000, 0) + // Minimum execution time: 28_907_000 picoseconds. + Weight::from_parts(29_373_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -400,8 +402,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `610` // Estimated: `6208` - // Minimum execution time: 44_392_000 picoseconds. - Weight::from_parts(45_926_000, 0) + // Minimum execution time: 76_474_000 picoseconds. + Weight::from_parts(77_051_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -414,8 +416,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `484` // Estimated: `3675` - // Minimum execution time: 17_013_000 picoseconds. - Weight::from_parts(17_615_000, 0) + // Minimum execution time: 32_078_000 picoseconds. + Weight::from_parts(32_692_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -428,8 +430,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `484` // Estimated: `3675` - // Minimum execution time: 16_969_000 picoseconds. - Weight::from_parts(17_730_000, 0) + // Minimum execution time: 32_573_000 picoseconds. + Weight::from_parts(32_962_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -440,8 +442,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 10_660_000 picoseconds. - Weight::from_parts(11_118_000, 0) + // Minimum execution time: 22_172_000 picoseconds. + Weight::from_parts(22_406_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -454,8 +456,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 14_678_000 picoseconds. - Weight::from_parts(15_256_000, 0) + // Minimum execution time: 29_741_000 picoseconds. + Weight::from_parts(29_998_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -468,8 +470,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 14_010_000 picoseconds. - Weight::from_parts(14_854_000, 0) + // Minimum execution time: 28_341_000 picoseconds. + Weight::from_parts(28_911_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -482,8 +484,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `406` // Estimated: `3675` - // Minimum execution time: 13_557_000 picoseconds. - Weight::from_parts(14_206_000, 0) + // Minimum execution time: 25_906_000 picoseconds. + Weight::from_parts(26_264_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -496,8 +498,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `439` // Estimated: `3675` - // Minimum execution time: 13_061_000 picoseconds. - Weight::from_parts(13_681_000, 0) + // Minimum execution time: 24_863_000 picoseconds. + Weight::from_parts(25_161_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -510,8 +512,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 13_201_000 picoseconds. - Weight::from_parts(13_722_000, 0) + // Minimum execution time: 25_930_000 picoseconds. + Weight::from_parts(26_444_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -526,8 +528,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `440` // Estimated: `6208` - // Minimum execution time: 43_581_000 picoseconds. - Weight::from_parts(45_042_000, 0) + // Minimum execution time: 77_704_000 picoseconds. + Weight::from_parts(78_349_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtimes/peregrine/src/weights/pallet_bonded_coins.rs b/runtimes/peregrine/src/weights/pallet_bonded_coins.rs index 3412dd993..a5e0a7f94 100644 --- a/runtimes/peregrine/src/weights/pallet_bonded_coins.rs +++ b/runtimes/peregrine/src/weights/pallet_bonded_coins.rs @@ -18,20 +18,21 @@ //! Autogenerated weights for `pallet_bonded_coins` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-bonded-coins // --extrinsic=* +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -46,154 +47,167 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_bonded_coins`. pub struct WeightInfo(PhantomData); impl pallet_bonded_coins::WeightInfo for WeightInfo { - /// Storage: `BondedCurrencies::NextAssetId` (r:1 w:1) - /// Proof: `BondedCurrencies::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:1) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Asset` (r:1 w:1) /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:50 w:50) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Pools` (r:0 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `475` - // Estimated: `4273 + c * (2685 ±0)` - // Minimum execution time: 43_873_000 picoseconds. - Weight::from_parts(39_421_152, 0) - .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 14_474 - .saturating_add(Weight::from_parts(6_295_882, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 102_557_000 picoseconds. + Weight::from_parts(90_262_401, 0) + .saturating_add(Weight::from_parts(0, 4460)) + // Standard Error: 12_341 + .saturating_add(Weight::from_parts(16_165_928, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCurrencies::NextAssetId` (r:1 w:1) - /// Proof: `BondedCurrencies::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:1) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Asset` (r:1 w:1) /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:50 w:50) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Pools` (r:0 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `475` - // Estimated: `4273 + c * (2685 ±0)` - // Minimum execution time: 43_983_000 picoseconds. - Weight::from_parts(40_277_345, 0) - .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 14_567 - .saturating_add(Weight::from_parts(6_239_888, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 102_262_000 picoseconds. + Weight::from_parts(91_592_909, 0) + .saturating_add(Weight::from_parts(0, 4460)) + // Standard Error: 12_861 + .saturating_add(Weight::from_parts(16_102_855, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCurrencies::NextAssetId` (r:1 w:1) - /// Proof: `BondedCurrencies::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:1) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Asset` (r:1 w:1) /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:50 w:50) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Pools` (r:0 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `475` - // Estimated: `4273 + c * (2685 ±0)` - // Minimum execution time: 42_177_000 picoseconds. - Weight::from_parts(42_240_143, 0) - .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 36_961 - .saturating_add(Weight::from_parts(6_287_254, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 102_792_000 picoseconds. + Weight::from_parts(89_009_428, 0) + .saturating_add(Weight::from_parts(0, 4460)) + // Standard Error: 11_612 + .saturating_add(Weight::from_parts(16_200_764, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) - /// Storage: `BondedFungibles::Asset` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - fn reset_team() -> Weight { + /// Storage: `BondedFungibles::Metadata` (r:50 w:0) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 50]`. + fn reset_team(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `535` - // Estimated: `4443` - // Minimum execution time: 10_928_000 picoseconds. - Weight::from_parts(11_491_000, 0) - .saturating_add(Weight::from_parts(0, 4443)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `338 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 51_752_000 picoseconds. + Weight::from_parts(36_574_655, 0) + .saturating_add(Weight::from_parts(0, 4460)) + // Standard Error: 17_194 + .saturating_add(Weight::from_parts(21_674_483, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn reset_manager() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `4443` - // Minimum execution time: 6_171_000 picoseconds. - Weight::from_parts(6_652_000, 0) - .saturating_add(Weight::from_parts(0, 4443)) + // Measured: `272` + // Estimated: `4460` + // Minimum execution time: 22_796_000 picoseconds. + Weight::from_parts(23_169_000, 0) + .saturating_add(Weight::from_parts(0, 4460)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn set_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `4443` - // Minimum execution time: 6_336_000 picoseconds. - Weight::from_parts(6_662_000, 0) - .saturating_add(Weight::from_parts(0, 4443)) + // Measured: `272` + // Estimated: `4460` + // Minimum execution time: 22_936_000 picoseconds. + Weight::from_parts(23_258_000, 0) + .saturating_add(Weight::from_parts(0, 4460)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `257` - // Estimated: `4443` - // Minimum execution time: 6_670_000 picoseconds. - Weight::from_parts(6_959_000, 0) - .saturating_add(Weight::from_parts(0, 4443)) + // Measured: `274` + // Estimated: `4460` + // Minimum execution time: 22_777_000 picoseconds. + Weight::from_parts(23_056_000, 0) + .saturating_add(Weight::from_parts(0, 4460)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -209,20 +223,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn mint_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + c * (221 ±0)` + // Measured: `971 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 50_842_000 picoseconds. - Weight::from_parts(49_324_659, 0) + // Minimum execution time: 121_794_000 picoseconds. + Weight::from_parts(121_366_443, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 6_548 - .saturating_add(Weight::from_parts(1_841_027, 0).saturating_mul(c.into())) + // Standard Error: 5_901 + .saturating_add(Weight::from_parts(3_984_927, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -238,20 +252,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn mint_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `904 + c * (221 ±0)` + // Measured: `955 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 85_145_000 picoseconds. - Weight::from_parts(86_694_260, 0) + // Minimum execution time: 149_215_000 picoseconds. + Weight::from_parts(151_554_319, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 8_592 - .saturating_add(Weight::from_parts(1_789_314, 0).saturating_mul(c.into())) + // Standard Error: 9_257 + .saturating_add(Weight::from_parts(3_939_430, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -267,20 +281,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn mint_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `888 + c * (221 ±0)` + // Measured: `939 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 50_361_000 picoseconds. - Weight::from_parts(40_047_834, 0) + // Minimum execution time: 123_026_000 picoseconds. + Weight::from_parts(116_024_959, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 40_577 - .saturating_add(Weight::from_parts(21_995_638, 0).saturating_mul(c.into())) + // Standard Error: 13_341 + .saturating_add(Weight::from_parts(17_798_435, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -296,20 +310,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn burn_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `951 + c * (221 ±0)` + // Measured: `1002 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 62_249_000 picoseconds. - Weight::from_parts(64_914_622, 0) + // Minimum execution time: 149_515_000 picoseconds. + Weight::from_parts(149_163_792, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 7_210 - .saturating_add(Weight::from_parts(1_757_444, 0).saturating_mul(c.into())) + // Standard Error: 6_416 + .saturating_add(Weight::from_parts(3_996_205, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -325,20 +339,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn burn_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `935 + c * (221 ±0)` + // Measured: `986 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 121_427_000 picoseconds. - Weight::from_parts(129_487_545, 0) + // Minimum execution time: 198_497_000 picoseconds. + Weight::from_parts(199_566_251, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 11_788 - .saturating_add(Weight::from_parts(1_730_380, 0).saturating_mul(c.into())) + // Standard Error: 8_825 + .saturating_add(Weight::from_parts(3_992_417, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -354,20 +368,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn burn_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `919 + c * (221 ±0)` + // Measured: `970 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 61_435_000 picoseconds. - Weight::from_parts(59_579_661, 0) + // Minimum execution time: 151_158_000 picoseconds. + Weight::from_parts(117_137_739, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 119_625 - .saturating_add(Weight::from_parts(54_327_998, 0).saturating_mul(c.into())) + // Standard Error: 33_459 + .saturating_add(Weight::from_parts(55_718_050, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:0) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:50) @@ -375,13 +389,13 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `331 + c * (221 ±0)` - // Estimated: `4443 + c * (2685 ±0)` - // Minimum execution time: 14_314_000 picoseconds. - Weight::from_parts(13_371_473, 0) - .saturating_add(Weight::from_parts(0, 4443)) - // Standard Error: 8_501 - .saturating_add(Weight::from_parts(3_998_524, 0).saturating_mul(c.into())) + // Measured: `382 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 46_669_000 picoseconds. + Weight::from_parts(42_173_461, 0) + .saturating_add(Weight::from_parts(0, 4460)) + // Standard Error: 6_659 + .saturating_add(Weight::from_parts(9_570_857, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -389,19 +403,19 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn force_start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `257 + c * (221 ±0)` - // Estimated: `4443 + c * (2685 ±0)` - // Minimum execution time: 11_754_000 picoseconds. - Weight::from_parts(10_155_072, 0) - .saturating_add(Weight::from_parts(0, 4443)) - // Standard Error: 8_562 - .saturating_add(Weight::from_parts(3_986_961, 0).saturating_mul(c.into())) + // Measured: `274 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 40_476_000 picoseconds. + Weight::from_parts(35_591_609, 0) + .saturating_add(Weight::from_parts(0, 4460)) + // Standard Error: 7_863 + .saturating_add(Weight::from_parts(9_555_012, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -409,35 +423,35 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:50 w:0) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:0) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:1) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn finish_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `462 + c * (221 ±0)` - // Estimated: `4443 + c * (2685 ±0)` - // Minimum execution time: 32_123_000 picoseconds. - Weight::from_parts(29_869_399, 0) - .saturating_add(Weight::from_parts(0, 4443)) - // Standard Error: 12_268 - .saturating_add(Weight::from_parts(4_934_515, 0).saturating_mul(c.into())) + // Measured: `499 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 64_222_000 picoseconds. + Weight::from_parts(59_360_629, 0) + .saturating_add(Weight::from_parts(0, 4460)) + // Standard Error: 10_791 + .saturating_add(Weight::from_parts(11_614_104, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:0) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:1 w:0) @@ -445,18 +459,18 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `967 + c * (12 ±0)` - // Estimated: `4443` - // Minimum execution time: 13_364_000 picoseconds. - Weight::from_parts(14_713_024, 0) - .saturating_add(Weight::from_parts(0, 4443)) - // Standard Error: 1_227 - .saturating_add(Weight::from_parts(54_572, 0).saturating_mul(c.into())) + // Measured: `1018 + c * (12 ±0)` + // Estimated: `4460` + // Minimum execution time: 41_336_000 picoseconds. + Weight::from_parts(44_149_240, 0) + .saturating_add(Weight::from_parts(0, 4460)) + // Standard Error: 1_488 + .saturating_add(Weight::from_parts(54_757, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:0) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:1 w:0) @@ -464,18 +478,18 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn force_start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `902 + c * (12 ±0)` - // Estimated: `4443` - // Minimum execution time: 13_807_000 picoseconds. - Weight::from_parts(15_020_098, 0) - .saturating_add(Weight::from_parts(0, 4443)) - // Standard Error: 1_489 - .saturating_add(Weight::from_parts(57_029, 0).saturating_mul(c.into())) + // Measured: `953 + c * (12 ±0)` + // Estimated: `4460` + // Minimum execution time: 41_658_000 picoseconds. + Weight::from_parts(44_334_926, 0) + .saturating_add(Weight::from_parts(0, 4460)) + // Standard Error: 1_443 + .saturating_add(Weight::from_parts(54_779, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:2 w:2) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) @@ -489,13 +503,13 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn refund_account(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `919 + c * (221 ±0)` + // Measured: `970 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 64_612_000 picoseconds. - Weight::from_parts(67_254_926, 0) + // Minimum execution time: 157_057_000 picoseconds. + Weight::from_parts(156_585_766, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 7_576 - .saturating_add(Weight::from_parts(1_730_580, 0).saturating_mul(c.into())) + // Standard Error: 5_022 + .saturating_add(Weight::from_parts(3_958_238, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -514,7 +528,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4273 + > 4460 ); } #[test] @@ -526,7 +540,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4273 + > 4460 ); } #[test] @@ -538,7 +552,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4273 + > 4460 ); } #[test] @@ -550,7 +564,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4460 ); } #[test] @@ -562,7 +576,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4460 ); } #[test] @@ -574,7 +588,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4460 ); } #[test] @@ -586,7 +600,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4460 ); } #[test] @@ -670,7 +684,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4460 ); } #[test] @@ -682,7 +696,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4460 ); } #[test] @@ -694,7 +708,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4460 ); } #[test] @@ -706,7 +720,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4460 ); } #[test] @@ -718,7 +732,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4460 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_collators.rs b/runtimes/peregrine/src/weights/pallet_collators.rs index 436f9995d..6a780727d 100644 --- a/runtimes/peregrine/src/weights/pallet_collators.rs +++ b/runtimes/peregrine/src/weights/pallet_collators.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_collators` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -57,11 +57,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `170 + m * (32 ±0)` // Estimated: `2510` - // Minimum execution time: 8_472_000 picoseconds. - Weight::from_parts(9_157_371, 0) + // Minimum execution time: 17_970_000 picoseconds. + Weight::from_parts(18_566_155, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 1_170 - .saturating_add(Weight::from_parts(26_129, 0).saturating_mul(m.into())) + // Standard Error: 551 + .saturating_add(Weight::from_parts(24_928, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,9 +76,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222 + m * (32 ±0)` // Estimated: `2510 + m * (32 ±0)` - // Minimum execution time: 11_115_000 picoseconds. - Weight::from_parts(12_303_767, 0) + // Minimum execution time: 22_226_000 picoseconds. + Weight::from_parts(22_967_572, 0) .saturating_add(Weight::from_parts(0, 2510)) + // Standard Error: 3_254 + .saturating_add(Weight::from_parts(19_289, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -94,11 +96,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222 + m * (32 ±0)` // Estimated: `2510 + m * (32 ±0)` - // Minimum execution time: 10_888_000 picoseconds. - Weight::from_parts(11_823_159, 0) + // Minimum execution time: 22_431_000 picoseconds. + Weight::from_parts(22_704_741, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 1_913 - .saturating_add(Weight::from_parts(21_019, 0).saturating_mul(m.into())) + // Standard Error: 856 + .saturating_add(Weight::from_parts(50_901, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -114,11 +116,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222 + m * (32 ±0)` // Estimated: `2510 + m * (32 ±0)` - // Minimum execution time: 10_864_000 picoseconds. - Weight::from_parts(11_892_378, 0) + // Minimum execution time: 22_312_000 picoseconds. + Weight::from_parts(23_158_101, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 1_333 - .saturating_add(Weight::from_parts(63_054, 0).saturating_mul(m.into())) + // Standard Error: 1_196 + .saturating_add(Weight::from_parts(155_932, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -134,11 +136,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222 + m * (32 ±0)` // Estimated: `2510 + m * (32 ±0)` - // Minimum execution time: 10_998_000 picoseconds. - Weight::from_parts(11_990_124, 0) + // Minimum execution time: 23_073_000 picoseconds. + Weight::from_parts(23_602_598, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 1_256 - .saturating_add(Weight::from_parts(19_368, 0).saturating_mul(m.into())) + // Standard Error: 1_013 + .saturating_add(Weight::from_parts(45_994, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -154,11 +156,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `170 + m * (32 ±0)` // Estimated: `2510 + m * (32 ±0)` - // Minimum execution time: 6_609_000 picoseconds. - Weight::from_parts(7_066_479, 0) + // Minimum execution time: 13_857_000 picoseconds. + Weight::from_parts(14_278_448, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 857 - .saturating_add(Weight::from_parts(12_319, 0).saturating_mul(m.into())) + // Standard Error: 483 + .saturating_add(Weight::from_parts(15_933, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -171,8 +173,8 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_246_000 picoseconds. - Weight::from_parts(2_417_000, 0) + // Minimum execution time: 5_668_000 picoseconds. + Weight::from_parts(5_869_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtimes/peregrine/src/weights/pallet_collective.rs b/runtimes/peregrine/src/weights/pallet_collective.rs index 69ac4f7d3..f0cba34c5 100644 --- a/runtimes/peregrine/src/weights/pallet_collective.rs +++ b/runtimes/peregrine/src/weights/pallet_collective.rs @@ -18,23 +18,21 @@ //! Autogenerated weights for `pallet_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-collective // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -50,216 +48,256 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { /// Storage: `Council::Members` (r:1 w:1) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:0) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:100 w:100) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:0 w:1) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3228 ±0) + p * (3195 ±0)` - // Estimated: `990` - // Minimum execution time: 369_621_000 picoseconds. - Weight::from_parts(369_621_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 17_102_279 - .saturating_add(Weight::from_parts(91_979_117, 0).saturating_mul(m.into())) - // Standard Error: 17_102_279 - .saturating_add(Weight::from_parts(90_212_097, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3194 ±0)` + // Estimated: `15736 + m * (1967 ±23) + p * (4336 ±23)` + // Minimum execution time: 24_329_000 picoseconds. + Weight::from_parts(24_668_000, 0) + .saturating_add(Weight::from_parts(0, 15736)) + // Standard Error: 72_318 + .saturating_add(Weight::from_parts(5_451_282, 0).saturating_mul(m.into())) + // Standard Error: 72_318 + .saturating_add(Weight::from_parts(9_947_045, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4336).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn execute(b: u32, _m: u32, ) -> Weight { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 625_331_000 picoseconds. - Weight::from_parts(787_644_463, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 16_228 - .saturating_add(Weight::from_parts(62_712, 0).saturating_mul(b.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `1555 + m * (32 ±0)` + // Minimum execution time: 23_660_000 picoseconds. + Weight::from_parts(23_135_582, 0) + .saturating_add(Weight::from_parts(0, 1555)) + // Standard Error: 24 + .saturating_add(Weight::from_parts(1_320, 0).saturating_mul(b.into())) + // Standard Error: 250 + .saturating_add(Weight::from_parts(21_852, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:0) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 711_111_000 picoseconds. - Weight::from_parts(658_477_137, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 17_555 - .saturating_add(Weight::from_parts(171_729, 0).saturating_mul(b.into())) - // Standard Error: 181_226 - .saturating_add(Weight::from_parts(522_904, 0).saturating_mul(m.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `3535 + m * (32 ±0)` + // Minimum execution time: 27_682_000 picoseconds. + Weight::from_parts(26_958_346, 0) + .saturating_add(Weight::from_parts(0, 3535)) + // Standard Error: 37 + .saturating_add(Weight::from_parts(1_672, 0).saturating_mul(b.into())) + // Standard Error: 385 + .saturating_add(Weight::from_parts(35_042, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalCount` (r:1 w:1) - /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:0 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - fn propose_proposed(b: u32, _m: u32, p: u32, ) -> Weight { + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4 + m * (32 ±0) + p * (39 ±0)` - // Estimated: `990` - // Minimum execution time: 775_269_000 picoseconds. - Weight::from_parts(905_763_953, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 89_660 - .saturating_add(Weight::from_parts(3_241, 0).saturating_mul(b.into())) - // Standard Error: 925_589 - .saturating_add(Weight::from_parts(5_095_420, 0).saturating_mul(p.into())) + // Measured: `359 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3751 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 36_067_000 picoseconds. + Weight::from_parts(38_159_861, 0) + .saturating_add(Weight::from_parts(0, 3751)) + // Standard Error: 98 + .saturating_add(Weight::from_parts(2_144, 0).saturating_mul(b.into())) + // Standard Error: 1_024 + .saturating_add(Weight::from_parts(23_377, 0).saturating_mul(m.into())) + // Standard Error: 1_011 + .saturating_add(Weight::from_parts(171_804, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. - fn vote(_m: u32, ) -> Weight { + fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `811 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 801_344_000 picoseconds. - Weight::from_parts(8_168_627_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `812 + m * (64 ±0)` + // Estimated: `4276 + m * (64 ±0)` + // Minimum execution time: 32_186_000 picoseconds. + Weight::from_parts(32_927_111, 0) + .saturating_add(Weight::from_parts(0, 4276)) + // Standard Error: 729 + .saturating_add(Weight::from_parts(48_607, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_disapproved(_m: u32, p: u32, ) -> Weight { + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `185 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 869_858_000 picoseconds. - Weight::from_parts(951_242_033, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 608_221 - .saturating_add(Weight::from_parts(3_301_904, 0).saturating_mul(p.into())) + // Measured: `401 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3846 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 39_256_000 picoseconds. + Weight::from_parts(39_354_396, 0) + .saturating_add(Weight::from_parts(0, 3846)) + // Standard Error: 878 + .saturating_add(Weight::from_parts(32_792, 0).saturating_mul(m.into())) + // Standard Error: 856 + .saturating_add(Weight::from_parts(173_132, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_approved(_b: u32, _m: u32, _p: u32, ) -> Weight { + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `400 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_416_290_000 picoseconds. - Weight::from_parts(27_075_651_756, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `703 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4020 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 53_869_000 picoseconds. + Weight::from_parts(55_229_558, 0) + .saturating_add(Weight::from_parts(0, 4020)) + // Standard Error: 184 + .saturating_add(Weight::from_parts(2_448, 0).saturating_mul(b.into())) + // Standard Error: 1_954 + .saturating_add(Weight::from_parts(11_775, 0).saturating_mul(m.into())) + // Standard Error: 1_904 + .saturating_add(Weight::from_parts(204_660, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_disapproved(_m: u32, _p: u32, ) -> Weight { + fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `205 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 1_168_659_000 picoseconds. - Weight::from_parts(1_589_757_573, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `421 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3866 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 42_585_000 picoseconds. + Weight::from_parts(42_013_182, 0) + .saturating_add(Weight::from_parts(0, 3866)) + // Standard Error: 848 + .saturating_add(Weight::from_parts(39_275, 0).saturating_mul(m.into())) + // Standard Error: 826 + .saturating_add(Weight::from_parts(173_790, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_approved(_b: u32, _m: u32, p: u32, ) -> Weight { + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `420 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_204_090_000 picoseconds. - Weight::from_parts(33_870_289_808, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 2_576_837 - .saturating_add(Weight::from_parts(8_788_127, 0).saturating_mul(p.into())) + // Measured: `723 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4040 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 56_900_000 picoseconds. + Weight::from_parts(57_949_716, 0) + .saturating_add(Weight::from_parts(0, 4040)) + // Standard Error: 196 + .saturating_add(Weight::from_parts(2_847, 0).saturating_mul(b.into())) + // Standard Error: 2_073 + .saturating_add(Weight::from_parts(11_793, 0).saturating_mul(m.into())) + // Standard Error: 2_021 + .saturating_add(Weight::from_parts(206_542, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:0 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. - fn disapprove_proposal(_p: u32, ) -> Weight { + fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `224 + p * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 754_675_000 picoseconds. - Weight::from_parts(1_018_024_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + p * (32 ±0)` + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 24_169_000 picoseconds. + Weight::from_parts(25_717_777, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 696 + .saturating_add(Weight::from_parts(157_245, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } @@ -274,7 +312,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 15736 ); } #[test] @@ -286,7 +324,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1555 ); } #[test] @@ -298,7 +336,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3535 ); } #[test] @@ -310,7 +348,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3751 ); } #[test] @@ -322,7 +360,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4276 ); } #[test] @@ -334,7 +372,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3846 ); } #[test] @@ -346,7 +384,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4020 ); } #[test] @@ -358,7 +396,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3866 ); } #[test] @@ -370,7 +408,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4040 ); } #[test] @@ -382,7 +420,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1711 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_democracy.rs b/runtimes/peregrine/src/weights/pallet_democracy.rs index 90a552695..f930fcd22 100644 --- a/runtimes/peregrine/src/weights/pallet_democracy.rs +++ b/runtimes/peregrine/src/weights/pallet_democracy.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-democracy // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_democracy.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -61,8 +59,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4738` // Estimated: `18187` - // Minimum execution time: 37_810_000 picoseconds. - Weight::from_parts(38_244_000, 0) + // Minimum execution time: 57_320_000 picoseconds. + Weight::from_parts(57_981_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -73,8 +71,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3493` // Estimated: `6695` - // Minimum execution time: 35_733_000 picoseconds. - Weight::from_parts(36_270_000, 0) + // Minimum execution time: 54_051_000 picoseconds. + Weight::from_parts(54_973_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -91,8 +89,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3475` // Estimated: `7264` - // Minimum execution time: 49_425_000 picoseconds. - Weight::from_parts(50_168_000, 0) + // Minimum execution time: 72_763_000 picoseconds. + Weight::from_parts(73_736_000, 0) .saturating_add(Weight::from_parts(0, 7264)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -109,8 +107,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3497` // Estimated: `7264` - // Minimum execution time: 51_698_000 picoseconds. - Weight::from_parts(52_387_000, 0) + // Minimum execution time: 76_476_000 picoseconds. + Weight::from_parts(76_930_000, 0) .saturating_add(Weight::from_parts(0, 7264)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -125,8 +123,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3674` - // Minimum execution time: 24_459_000 picoseconds. - Weight::from_parts(25_024_000, 0) + // Minimum execution time: 40_082_000 picoseconds. + Weight::from_parts(40_708_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -149,8 +147,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5999` // Estimated: `18187` - // Minimum execution time: 93_232_000 picoseconds. - Weight::from_parts(95_242_000, 0) + // Minimum execution time: 135_298_000 picoseconds. + Weight::from_parts(136_374_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -163,8 +161,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3353` // Estimated: `6707` - // Minimum execution time: 12_945_000 picoseconds. - Weight::from_parts(13_531_000, 0) + // Minimum execution time: 22_885_000 picoseconds. + Weight::from_parts(23_292_000, 0) .saturating_add(Weight::from_parts(0, 6707)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -175,8 +173,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_979_000 picoseconds. - Weight::from_parts(3_087_000, 0) + // Minimum execution time: 5_930_000 picoseconds. + Weight::from_parts(6_069_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +184,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_904_000 picoseconds. - Weight::from_parts(3_032_000, 0) + // Minimum execution time: 5_976_000 picoseconds. + Weight::from_parts(6_161_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,8 +201,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 23_538_000 picoseconds. - Weight::from_parts(24_008_000, 0) + // Minimum execution time: 39_799_000 picoseconds. + Weight::from_parts(40_174_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -219,8 +217,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3456` // Estimated: `6707` - // Minimum execution time: 27_422_000 picoseconds. - Weight::from_parts(27_731_000, 0) + // Minimum execution time: 44_216_000 picoseconds. + Weight::from_parts(44_883_000, 0) .saturating_add(Weight::from_parts(0, 6707)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -237,8 +235,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5902` // Estimated: `18187` - // Minimum execution time: 78_910_000 picoseconds. - Weight::from_parts(80_065_000, 0) + // Minimum execution time: 109_030_000 picoseconds. + Weight::from_parts(110_251_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -251,8 +249,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 17_492_000 picoseconds. - Weight::from_parts(17_789_000, 0) + // Minimum execution time: 29_721_000 picoseconds. + Weight::from_parts(30_127_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -268,11 +266,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (94 ±0)` // Estimated: `1489 + r * (2684 ±0)` - // Minimum execution time: 5_669_000 picoseconds. - Weight::from_parts(9_140_297, 0) + // Minimum execution time: 10_547_000 picoseconds. + Weight::from_parts(16_459_678, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 6_433 - .saturating_add(Weight::from_parts(2_864_062, 0).saturating_mul(r.into())) + // Standard Error: 6_770 + .saturating_add(Weight::from_parts(4_181_868, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -295,11 +293,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (94 ±0)` // Estimated: `18187 + r * (2684 ±0)` - // Minimum execution time: 8_023_000 picoseconds. - Weight::from_parts(11_420_577, 0) + // Minimum execution time: 14_377_000 picoseconds. + Weight::from_parts(20_585_979, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 6_142 - .saturating_add(Weight::from_parts(2_872_698, 0).saturating_mul(r.into())) + // Standard Error: 6_291 + .saturating_add(Weight::from_parts(4_192_370, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -318,11 +316,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `839 + r * (116 ±0)` // Estimated: `19812 + r * (2684 ±0)` - // Minimum execution time: 42_174_000 picoseconds. - Weight::from_parts(48_592_626, 0) + // Minimum execution time: 66_627_000 picoseconds. + Weight::from_parts(73_380_942, 0) .saturating_add(Weight::from_parts(0, 19812)) - // Standard Error: 6_937 - .saturating_add(Weight::from_parts(3_703_869, 0).saturating_mul(r.into())) + // Standard Error: 5_904 + .saturating_add(Weight::from_parts(5_322_936, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -338,11 +336,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `434 + r * (116 ±0)` // Estimated: `13538 + r * (2684 ±0)` - // Minimum execution time: 19_671_000 picoseconds. - Weight::from_parts(22_169_927, 0) + // Minimum execution time: 31_923_000 picoseconds. + Weight::from_parts(34_039_471, 0) .saturating_add(Weight::from_parts(0, 13538)) - // Standard Error: 6_629 - .saturating_add(Weight::from_parts(3_658_094, 0).saturating_mul(r.into())) + // Standard Error: 5_310 + .saturating_add(Weight::from_parts(5_318_792, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -355,8 +353,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_184_000 picoseconds. - Weight::from_parts(3_384_000, 0) + // Minimum execution time: 5_929_000 picoseconds. + Weight::from_parts(6_172_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -373,11 +371,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `484` // Estimated: `7264` - // Minimum execution time: 23_557_000 picoseconds. - Weight::from_parts(33_577_642, 0) + // Minimum execution time: 38_387_000 picoseconds. + Weight::from_parts(51_058_353, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 2_265 - .saturating_add(Weight::from_parts(35_028, 0).saturating_mul(r.into())) + // Standard Error: 2_797 + .saturating_add(Weight::from_parts(31_580, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -394,11 +392,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `485 + r * (22 ±0)` // Estimated: `7264` - // Minimum execution time: 32_888_000 picoseconds. - Weight::from_parts(34_545_478, 0) + // Minimum execution time: 50_604_000 picoseconds. + Weight::from_parts(52_395_659, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 672 - .saturating_add(Weight::from_parts(62_263, 0).saturating_mul(r.into())) + // Standard Error: 606 + .saturating_add(Weight::from_parts(59_292, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -411,11 +409,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `673 + r * (26 ±0)` // Estimated: `7264` - // Minimum execution time: 16_972_000 picoseconds. - Weight::from_parts(19_710_191, 0) + // Minimum execution time: 27_065_000 picoseconds. + Weight::from_parts(30_031_020, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 1_020 - .saturating_add(Weight::from_parts(68_259, 0).saturating_mul(r.into())) + // Standard Error: 1_182 + .saturating_add(Weight::from_parts(83_402, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -428,11 +426,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `673 + r * (26 ±0)` // Estimated: `7264` - // Minimum execution time: 17_055_000 picoseconds. - Weight::from_parts(19_833_390, 0) + // Minimum execution time: 27_378_000 picoseconds. + Weight::from_parts(30_484_086, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 1_065 - .saturating_add(Weight::from_parts(71_214, 0).saturating_mul(r.into())) + // Standard Error: 1_215 + .saturating_add(Weight::from_parts(81_761, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -446,10 +444,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `356` + // Measured: `323` // Estimated: `3556` - // Minimum execution time: 18_410_000 picoseconds. - Weight::from_parts(18_909_000, 0) + // Minimum execution time: 31_507_000 picoseconds. + Weight::from_parts(32_042_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -462,8 +460,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 15_561_000 picoseconds. - Weight::from_parts(15_873_000, 0) + // Minimum execution time: 25_705_000 picoseconds. + Weight::from_parts(26_514_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -478,10 +476,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4888` + // Measured: `4855` // Estimated: `18187` - // Minimum execution time: 38_177_000 picoseconds. - Weight::from_parts(38_935_000, 0) + // Minimum execution time: 54_215_000 picoseconds. + Weight::from_parts(54_859_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -494,8 +492,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4755` // Estimated: `18187` - // Minimum execution time: 34_101_000 picoseconds. - Weight::from_parts(34_544_000, 0) + // Minimum execution time: 48_095_000 picoseconds. + Weight::from_parts(48_677_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -508,10 +506,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `211` + // Measured: `178` // Estimated: `3556` - // Minimum execution time: 15_654_000 picoseconds. - Weight::from_parts(15_946_000, 0) + // Minimum execution time: 26_004_000 picoseconds. + Weight::from_parts(26_295_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -524,8 +522,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `3674` - // Minimum execution time: 17_949_000 picoseconds. - Weight::from_parts(18_489_000, 0) + // Minimum execution time: 29_499_000 picoseconds. + Weight::from_parts(29_943_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/peregrine/src/weights/pallet_deposit_storage.rs b/runtimes/peregrine/src/weights/pallet_deposit_storage.rs index af742c834..5627bec4d 100644 --- a/runtimes/peregrine/src/weights/pallet_deposit_storage.rs +++ b/runtimes/peregrine/src/weights/pallet_deposit_storage.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_deposit_storage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-deposit-storage // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_deposit_storage.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,16 +52,16 @@ impl pallet_deposit_storage::WeightInfo for WeightInfo< /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DipProvider::IdentityCommitments` (r:1 w:1) /// Proof: `DipProvider::IdentityCommitments` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `577` - // Estimated: `3658` - // Minimum execution time: 49_261_000 picoseconds. - Weight::from_parts(49_729_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Measured: `610` + // Estimated: `3712` + // Minimum execution time: 78_861_000 picoseconds. + Weight::from_parts(79_594_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -80,7 +78,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3712 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_did_lookup.rs b/runtimes/peregrine/src/weights/pallet_did_lookup.rs index b0146b0a7..1ab3b50c4 100644 --- a/runtimes/peregrine/src/weights/pallet_did_lookup.rs +++ b/runtimes/peregrine/src/weights/pallet_did_lookup.rs @@ -18,20 +18,21 @@ //! Autogenerated weights for `pallet_did_lookup` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-did-lookup // --extrinsic=* +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -49,7 +50,7 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) @@ -58,18 +59,18 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_account_multisig_sr25519() -> Weight { // Proof Size summary in bytes: - // Measured: `462` - // Estimated: `3766` - // Minimum execution time: 134_138_000 picoseconds. - Weight::from_parts(135_335_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `439` + // Estimated: `3712` + // Minimum execution time: 142_675_000 picoseconds. + Weight::from_parts(143_524_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) @@ -78,18 +79,18 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_account_multisig_ed25519() -> Weight { // Proof Size summary in bytes: - // Measured: `462` - // Estimated: `3766` - // Minimum execution time: 144_488_000 picoseconds. - Weight::from_parts(145_325_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `439` + // Estimated: `3712` + // Minimum execution time: 138_107_000 picoseconds. + Weight::from_parts(138_772_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) @@ -98,18 +99,18 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_account_multisig_ecdsa() -> Weight { // Proof Size summary in bytes: - // Measured: `462` - // Estimated: `3766` - // Minimum execution time: 135_063_000 picoseconds. - Weight::from_parts(136_676_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `439` + // Estimated: `3712` + // Minimum execution time: 139_223_000 picoseconds. + Weight::from_parts(140_379_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) @@ -118,18 +119,18 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_eth_account() -> Weight { // Proof Size summary in bytes: - // Measured: `449` - // Estimated: `3766` - // Minimum execution time: 135_528_000 picoseconds. - Weight::from_parts(137_337_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `426` + // Estimated: `3712` + // Minimum execution time: 140_412_000 picoseconds. + Weight::from_parts(141_602_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) @@ -138,11 +139,11 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_sender() -> Weight { // Proof Size summary in bytes: - // Measured: `462` - // Estimated: `3766` - // Minimum execution time: 87_591_000 picoseconds. - Weight::from_parts(88_240_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `439` + // Estimated: `3712` + // Minimum execution time: 90_388_000 picoseconds. + Weight::from_parts(90_990_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -150,19 +151,19 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:1) /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) fn remove_sender_association() -> Weight { // Proof Size summary in bytes: - // Measured: `540` - // Estimated: `3766` - // Minimum execution time: 49_033_000 picoseconds. - Weight::from_parts(49_721_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `517` + // Estimated: `3712` + // Minimum execution time: 55_648_000 picoseconds. + Weight::from_parts(56_398_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -170,19 +171,19 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:1) /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) fn remove_account_association() -> Weight { // Proof Size summary in bytes: - // Measured: `540` - // Estimated: `3766` - // Minimum execution time: 50_361_000 picoseconds. - Weight::from_parts(51_088_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `517` + // Estimated: `3712` + // Minimum execution time: 58_105_000 picoseconds. + Weight::from_parts(58_840_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -190,35 +191,35 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:2 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `647` - // Estimated: `6542` - // Minimum execution time: 83_991_000 picoseconds. - Weight::from_parts(84_807_000, 0) - .saturating_add(Weight::from_parts(0, 6542)) + // Measured: `624` + // Estimated: `6434` + // Minimum execution time: 89_878_000 picoseconds. + Weight::from_parts(90_562_000, 0) + .saturating_add(Weight::from_parts(0, 6434)) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `540` - // Estimated: `3766` - // Minimum execution time: 74_804_000 picoseconds. - Weight::from_parts(75_574_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `517` + // Estimated: `3712` + // Minimum execution time: 76_449_000 picoseconds. + Weight::from_parts(77_040_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -235,7 +236,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -247,7 +248,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -259,7 +260,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -271,7 +272,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -283,7 +284,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -295,7 +296,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -307,7 +308,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -319,7 +320,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6542 + > 6434 ); } #[test] @@ -331,7 +332,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_dip_provider.rs b/runtimes/peregrine/src/weights/pallet_dip_provider.rs index d763511a9..8a63cd141 100644 --- a/runtimes/peregrine/src/weights/pallet_dip_provider.rs +++ b/runtimes/peregrine/src/weights/pallet_dip_provider.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_dip_provider` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-dip-provider // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_dip_provider.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -65,33 +63,33 @@ impl pallet_dip_provider::WeightInfo for WeightInfo /// Proof: `DepositStorage::Deposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn commit_identity() -> Weight { // Proof Size summary in bytes: - // Measured: `2990` + // Measured: `3032` // Estimated: `29282` - // Minimum execution time: 387_079_000 picoseconds. - Weight::from_parts(396_068_000, 0) + // Minimum execution time: 431_730_000 picoseconds. + Weight::from_parts(441_287_000, 0) .saturating_add(Weight::from_parts(0, 29282)) .saturating_add(T::DbWeight::get().reads(19)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `DipProvider::IdentityCommitments` (r:1 w:1) /// Proof: `DipProvider::IdentityCommitments` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// Storage: `DepositStorage::Deposits` (r:1 w:1) /// Proof: `DepositStorage::Deposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn delete_identity_commitment() -> Weight { // Proof Size summary in bytes: - // Measured: `671` - // Estimated: `3658` - // Minimum execution time: 54_311_000 picoseconds. - Weight::from_parts(55_995_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Measured: `591` + // Estimated: `3712` + // Minimum execution time: 62_625_000 picoseconds. + Weight::from_parts(63_074_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -120,7 +118,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3712 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_indices.rs b/runtimes/peregrine/src/weights/pallet_indices.rs index 6c2f6e8cb..ef74af21e 100644 --- a/runtimes/peregrine/src/weights/pallet_indices.rs +++ b/runtimes/peregrine/src/weights/pallet_indices.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_indices` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-indices // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_indices.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -53,62 +51,58 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: `Indices::Accounts` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `42` + // Measured: `76` // Estimated: `3538` - // Minimum execution time: 21_558_000 picoseconds. - Weight::from_parts(21_795_000, 0) + // Minimum execution time: 17_002_000 picoseconds. + Weight::from_parts(17_229_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Indices::Accounts` (r:1 w:1) /// Proof: `Indices::Accounts` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `249` - // Estimated: `3597` - // Minimum execution time: 32_735_000 picoseconds. - Weight::from_parts(33_311_000, 0) - .saturating_add(Weight::from_parts(0, 3597)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `176` + // Estimated: `3538` + // Minimum execution time: 19_393_000 picoseconds. + Weight::from_parts(19_815_000, 0) + .saturating_add(Weight::from_parts(0, 3538)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Indices::Accounts` (r:1 w:1) /// Proof: `Indices::Accounts` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn free() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `176` // Estimated: `3538` - // Minimum execution time: 21_836_000 picoseconds. - Weight::from_parts(22_176_000, 0) + // Minimum execution time: 18_776_000 picoseconds. + Weight::from_parts(19_250_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Indices::Accounts` (r:1 w:1) /// Proof: `Indices::Accounts` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `249` - // Estimated: `3597` - // Minimum execution time: 24_857_000 picoseconds. - Weight::from_parts(25_341_000, 0) - .saturating_add(Weight::from_parts(0, 3597)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `176` + // Estimated: `3538` + // Minimum execution time: 20_392_000 picoseconds. + Weight::from_parts(21_014_000, 0) + .saturating_add(Weight::from_parts(0, 3538)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Indices::Accounts` (r:1 w:1) /// Proof: `Indices::Accounts` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `176` // Estimated: `3538` - // Minimum execution time: 22_785_000 picoseconds. - Weight::from_parts(23_367_000, 0) + // Minimum execution time: 18_986_000 picoseconds. + Weight::from_parts(19_357_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,7 +132,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3597 + > 3538 ); } #[test] @@ -162,7 +156,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3597 + > 3538 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_membership.rs b/runtimes/peregrine/src/weights/pallet_membership.rs index c9eb731d1..f884929e9 100644 --- a/runtimes/peregrine/src/weights/pallet_membership.rs +++ b/runtimes/peregrine/src/weights/pallet_membership.rs @@ -18,23 +18,21 @@ //! Autogenerated weights for `pallet_membership` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-membership // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -50,104 +48,132 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 20]`. - fn add_member(_m: u32, ) -> Weight { + fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `135 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 353_129_000 picoseconds. - Weight::from_parts(377_804_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `104 + m * (32 ±0)` + // Estimated: `2158` + // Minimum execution time: 17_722_000 picoseconds. + Weight::from_parts(18_225_462, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 771 + .saturating_add(Weight::from_parts(25_536, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[2, 21]`. - fn remove_member(_m: u32, ) -> Weight { + fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `189 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 390_037_000 picoseconds. - Weight::from_parts(404_106_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `193 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 22_541_000 picoseconds. + Weight::from_parts(22_962_713, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 950 + .saturating_add(Weight::from_parts(31_209, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[2, 21]`. - fn swap_member(_m: u32, ) -> Weight { + fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `189 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 393_449_000 picoseconds. - Weight::from_parts(403_152_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `193 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 22_523_000 picoseconds. + Weight::from_parts(23_027_779, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 949 + .saturating_add(Weight::from_parts(44_857, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[1, 21]`. - fn reset_members(_m: u32, ) -> Weight { + fn reset_members(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `187 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 448_047_000 picoseconds. - Weight::from_parts(448_683_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `193 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 22_353_000 picoseconds. + Weight::from_parts(23_124_140, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_712 + .saturating_add(Weight::from_parts(171_972, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[1, 21]`. - fn change_key(_m: u32, ) -> Weight { + fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `187 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 437_193_000 picoseconds. - Weight::from_parts(516_613_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `193 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 23_154_000 picoseconds. + Weight::from_parts(23_696_509, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_625 + .saturating_add(Weight::from_parts(55_110, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:0) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// Storage: `TipsMembership::Prime` (r:0 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 21]`. - fn set_prime(_m: u32, ) -> Weight { + fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `135 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 305_850_000 picoseconds. - Weight::from_parts(329_866_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `104 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 13_478_000 picoseconds. + Weight::from_parts(13_993_266, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 880 + .saturating_add(Weight::from_parts(21_109, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// Storage: `TipsMembership::Prime` (r:0 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) - /// The range of component `m` is `[1, 21]`. - fn clear_prime( ) -> Weight { + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + fn clear_prime() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 163_207_000 picoseconds. - Weight::from_parts(171_566_000, 0) + // Minimum execution time: 5_589_000 picoseconds. + Weight::from_parts(5_862_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) } } @@ -162,7 +188,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -174,7 +200,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -186,11 +212,11 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] - fn test_reset_member() { + fn test_reset_members() { assert!( ::BlockWeights::get() .per_class @@ -198,7 +224,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -210,7 +236,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -222,7 +248,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_message_queue.rs b/runtimes/peregrine/src/weights/pallet_message_queue.rs index a503cf007..61d55c3e6 100644 --- a/runtimes/peregrine/src/weights/pallet_message_queue.rs +++ b/runtimes/peregrine/src/weights/pallet_message_queue.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_message_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev -// --pallet=pallet_message_queue +// --pallet=pallet-message-queue // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_message_queue.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,10 +53,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn ready_ring_knit() -> Weight { // Proof Size summary in bytes: - // Measured: `327` + // Measured: `360` // Estimated: `6044` - // Minimum execution time: 12_180_000 picoseconds. - Weight::from_parts(12_729_000, 0) + // Minimum execution time: 21_580_000 picoseconds. + Weight::from_parts(21_858_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,10 +67,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) fn ready_ring_unknit() -> Weight { // Proof Size summary in bytes: - // Measured: `322` + // Measured: `355` // Estimated: `6044` - // Minimum execution time: 11_515_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 19_811_000 picoseconds. + Weight::from_parts(20_546_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -81,10 +79,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn service_queue_base() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `3517` - // Minimum execution time: 5_016_000 picoseconds. - Weight::from_parts(5_341_000, 0) + // Minimum execution time: 9_511_000 picoseconds. + Weight::from_parts(9_703_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -93,10 +91,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn service_page_base_completion() -> Weight { // Proof Size summary in bytes: - // Measured: `176` + // Measured: `209` // Estimated: `69050` - // Minimum execution time: 6_967_000 picoseconds. - Weight::from_parts(7_226_000, 0) + // Minimum execution time: 12_215_000 picoseconds. + Weight::from_parts(12_515_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -105,10 +103,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn service_page_base_no_completion() -> Weight { // Proof Size summary in bytes: - // Measured: `176` + // Measured: `209` // Estimated: `69050` - // Minimum execution time: 6_923_000 picoseconds. - Weight::from_parts(7_168_000, 0) + // Minimum execution time: 12_514_000 picoseconds. + Weight::from_parts(12_769_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -121,8 +119,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 165_732_000 picoseconds. - Weight::from_parts(166_843_000, 0) + // Minimum execution time: 118_521_000 picoseconds. + Weight::from_parts(120_359_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,10 +130,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn bump_service_head() -> Weight { // Proof Size summary in bytes: - // Measured: `275` + // Measured: `308` // Estimated: `3517` - // Minimum execution time: 7_412_000 picoseconds. - Weight::from_parts(7_629_000, 0) + // Minimum execution time: 13_827_000 picoseconds. + Weight::from_parts(14_084_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -146,10 +144,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn reap_page() -> Weight { // Proof Size summary in bytes: - // Measured: `65771` + // Measured: `65804` // Estimated: `69050` - // Minimum execution time: 58_384_000 picoseconds. - Weight::from_parts(59_021_000, 0) + // Minimum execution time: 76_176_000 picoseconds. + Weight::from_parts(78_165_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -160,10 +158,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn execute_overweight_page_removed() -> Weight { // Proof Size summary in bytes: - // Measured: `65771` + // Measured: `65804` // Estimated: `69050` - // Minimum execution time: 75_498_000 picoseconds. - Weight::from_parts(76_117_000, 0) + // Minimum execution time: 94_721_000 picoseconds. + Weight::from_parts(97_308_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -174,10 +172,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn execute_overweight_page_updated() -> Weight { // Proof Size summary in bytes: - // Measured: `65771` + // Measured: `65804` // Estimated: `69050` - // Minimum execution time: 118_738_000 picoseconds. - Weight::from_parts(120_535_000, 0) + // Minimum execution time: 111_441_000 picoseconds. + Weight::from_parts(114_923_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtimes/peregrine/src/weights/pallet_migration.rs b/runtimes/peregrine/src/weights/pallet_migration.rs index aa3fb92c6..3d9f21113 100644 --- a/runtimes/peregrine/src/weights/pallet_migration.rs +++ b/runtimes/peregrine/src/weights/pallet_migration.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_migration` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-migration // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_migration.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,14 +54,14 @@ impl pallet_migration::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn attestation_migration_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `307` - // Estimated: `3660` - // Minimum execution time: 59_342_000 picoseconds. - Weight::from_parts(60_044_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `344` + // Estimated: `3712` + // Minimum execution time: 92_841_000 picoseconds. + Weight::from_parts(93_774_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -73,8 +71,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `115` // Estimated: `3513` - // Minimum execution time: 15_681_000 picoseconds. - Weight::from_parts(16_061_000, 0) + // Minimum execution time: 24_859_000 picoseconds. + Weight::from_parts(25_243_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -85,13 +83,13 @@ impl pallet_migration::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn did_migration_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `463` + // Measured: `496` // Estimated: `5777` - // Minimum execution time: 61_231_000 picoseconds. - Weight::from_parts(62_291_000, 0) + // Minimum execution time: 95_598_000 picoseconds. + Weight::from_parts(96_409_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -102,8 +100,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 14_416_000 picoseconds. - Weight::from_parts(14_634_000, 0) + // Minimum execution time: 23_316_000 picoseconds. + Weight::from_parts(23_523_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -113,8 +111,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 14_492_000 picoseconds. - Weight::from_parts(14_920_000, 0) + // Minimum execution time: 23_160_000 picoseconds. + Weight::from_parts(23_553_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -124,8 +122,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 18_474_000 picoseconds. - Weight::from_parts(18_680_000, 0) + // Minimum execution time: 27_927_000 picoseconds. + Weight::from_parts(28_195_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -142,7 +140,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3712 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_multisig.rs b/runtimes/peregrine/src/weights/pallet_multisig.rs index 195149369..1b86485dc 100644 --- a/runtimes/peregrine/src/weights/pallet_multisig.rs +++ b/runtimes/peregrine/src/weights/pallet_multisig.rs @@ -16,103 +16,221 @@ // If you feel like getting in touch with us, you can do so at -//! Autogenerated weights for pallet_multisig +//! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --pallet=pallet_multisig -// --execution=wasm -// --wasm-execution=compiled // --extrinsic=* -// --heap-pages=4096 -// --output=./runtimes/peregrine/src/weights/pallet_multisig.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] #![allow(clippy::as_conversions)] -#![allow(clippy::unnecessary_cast)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weights for `pallet_multisig`. +/// Weight functions for `pallet_multisig`. pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { + /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - Weight::from_parts(8_364_882 as u64, 0) - // Standard Error: 79 - .saturating_add(Weight::from_parts(849 as u64, 0).saturating_mul(z as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 14_155_000 picoseconds. + Weight::from_parts(14_538_469, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(460, 0).saturating_mul(z.into())) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { - Weight::from_parts(20_285_811 as u64, 0) - // Standard Error: 5_408 - .saturating_add(Weight::from_parts(80_065 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 33 - .saturating_add(Weight::from_parts(986 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `5663` + // Minimum execution time: 31_204_000 picoseconds. + Weight::from_parts(28_106_744, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 445 + .saturating_add(Weight::from_parts(62_243, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[3, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - Weight::from_parts(12_705_025 as u64, 0) - // Standard Error: 30_300 - .saturating_add(Weight::from_parts(20_431 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 186 - .saturating_add(Weight::from_parts(3_373 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `352` + // Estimated: `5663` + // Minimum execution time: 34_990_000 picoseconds. + Weight::from_parts(31_049_409, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 396 + .saturating_add(Weight::from_parts(69_388, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_229, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { - Weight::from_parts(20_642_060 as u64, 0) - // Standard Error: 5_511 - .saturating_add(Weight::from_parts(104_693 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 34 - .saturating_add(Weight::from_parts(1_132 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `288 + s * (32 ±0)` + // Estimated: `5663` + // Minimum execution time: 39_029_000 picoseconds. + Weight::from_parts(33_771_824, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 513 + .saturating_add(Weight::from_parts(93_103, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_241, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn approve_as_multi_create(s: u32, ) -> Weight { - Weight::from_parts(17_036_891 as u64, 0) - // Standard Error: 4_200 - .saturating_add(Weight::from_parts(122_554 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `5663` + // Minimum execution time: 25_940_000 picoseconds. + Weight::from_parts(26_409_629, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 701 + .saturating_add(Weight::from_parts(65_004, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - Weight::from_parts(12_421_505 as u64, 0) - // Standard Error: 7_770 - .saturating_add(Weight::from_parts(81_668 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `352` + // Estimated: `5663` + // Minimum execution time: 29_081_000 picoseconds. + Weight::from_parts(29_757_236, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 539 + .saturating_add(Weight::from_parts(64_938, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn cancel_as_multi(s: u32, ) -> Weight { - Weight::from_parts(19_681_233 as u64, 0) - // Standard Error: 4_292 - .saturating_add(Weight::from_parts(70_945 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `352` + // Estimated: `5663` + // Minimum execution time: 27_621_000 picoseconds. + Weight::from_parts(28_545_951, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 449 + .saturating_add(Weight::from_parts(64_533, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} + +#[cfg(test)] +mod tests { + #[test] + fn test_as_multi_create() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_as_multi_approve() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_as_multi_complete() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_approve_as_multi_create() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_approve_as_multi_approve() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_cancel_as_multi() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); } } diff --git a/runtimes/peregrine/src/weights/pallet_preimage.rs b/runtimes/peregrine/src/weights/pallet_preimage.rs index ea4915db8..da1172edf 100644 --- a/runtimes/peregrine/src/weights/pallet_preimage.rs +++ b/runtimes/peregrine/src/weights/pallet_preimage.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-preimage // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_preimage.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -53,22 +51,22 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `3658` - // Minimum execution time: 45_288_000 picoseconds. - Weight::from_parts(45_876_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_462, 0).saturating_mul(s.into())) + // Measured: `76` + // Estimated: `3712` + // Minimum execution time: 53_532_000 picoseconds. + Weight::from_parts(54_054_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) + // Standard Error: 138 + .saturating_add(Weight::from_parts(13_284, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) @@ -79,13 +77,13 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `140` // Estimated: `3556` - // Minimum execution time: 15_921_000 picoseconds. - Weight::from_parts(16_050_000, 0) + // Minimum execution time: 27_343_000 picoseconds. + Weight::from_parts(27_615_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_465, 0).saturating_mul(s.into())) + // Standard Error: 139 + .saturating_add(Weight::from_parts(13_285, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,13 +96,13 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `140` // Estimated: `3556` - // Minimum execution time: 15_798_000 picoseconds. - Weight::from_parts(15_954_000, 0) + // Minimum execution time: 27_958_000 picoseconds. + Weight::from_parts(28_228_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_417, 0).saturating_mul(s.into())) + // Standard Error: 139 + .saturating_add(Weight::from_parts(13_285, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -113,16 +111,16 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `311` - // Estimated: `3658` - // Minimum execution time: 50_447_000 picoseconds. - Weight::from_parts(53_356_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Measured: `222` + // Estimated: `3712` + // Minimum execution time: 55_106_000 picoseconds. + Weight::from_parts(56_408_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -134,10 +132,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `211` + // Measured: `178` // Estimated: `3556` - // Minimum execution time: 25_212_000 picoseconds. - Weight::from_parts(26_852_000, 0) + // Minimum execution time: 37_721_000 picoseconds. + Weight::from_parts(38_971_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -148,10 +146,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `255` + // Measured: `222` // Estimated: `3556` - // Minimum execution time: 21_064_000 picoseconds. - Weight::from_parts(22_145_000, 0) + // Minimum execution time: 30_337_000 picoseconds. + Weight::from_parts(31_720_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -162,10 +160,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `211` + // Measured: `178` // Estimated: `3556` - // Minimum execution time: 15_869_000 picoseconds. - Weight::from_parts(17_058_000, 0) + // Minimum execution time: 23_462_000 picoseconds. + Weight::from_parts(24_129_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -176,10 +174,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `76` // Estimated: `3556` - // Minimum execution time: 13_987_000 picoseconds. - Weight::from_parts(14_660_000, 0) + // Minimum execution time: 24_222_000 picoseconds. + Weight::from_parts(24_573_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -190,10 +188,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `140` // Estimated: `3556` - // Minimum execution time: 10_379_000 picoseconds. - Weight::from_parts(10_800_000, 0) + // Minimum execution time: 19_079_000 picoseconds. + Weight::from_parts(19_418_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -206,10 +204,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `211` + // Measured: `178` // Estimated: `3556` - // Minimum execution time: 23_345_000 picoseconds. - Weight::from_parts(24_350_000, 0) + // Minimum execution time: 33_113_000 picoseconds. + Weight::from_parts(34_459_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -220,10 +218,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `140` // Estimated: `3556` - // Minimum execution time: 10_686_000 picoseconds. - Weight::from_parts(11_227_000, 0) + // Minimum execution time: 18_686_000 picoseconds. + Weight::from_parts(19_042_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -234,10 +232,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `140` // Estimated: `3556` - // Minimum execution time: 10_760_000 picoseconds. - Weight::from_parts(11_255_000, 0) + // Minimum execution time: 19_023_000 picoseconds. + Weight::from_parts(19_286_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -246,23 +244,23 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1023 w:1023) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1023 w:1023) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 1024]`. fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + n * (231 ±0)` - // Estimated: `990 + n * (2668 ±0)` - // Minimum execution time: 50_302_000 picoseconds. - Weight::from_parts(50_768_000, 0) + // Estimated: `990 + n * (2722 ±0)` + // Minimum execution time: 62_044_000 picoseconds. + Weight::from_parts(62_440_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 31_039 - .saturating_add(Weight::from_parts(46_821_516, 0).saturating_mul(n.into())) + // Standard Error: 33_821 + .saturating_add(Weight::from_parts(51_676_751, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2668).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2722).saturating_mul(n.into())) } } @@ -277,7 +275,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3712 ); } #[test] @@ -313,7 +311,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3712 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_proxy.rs b/runtimes/peregrine/src/weights/pallet_proxy.rs index e94d0b008..0a1801024 100644 --- a/runtimes/peregrine/src/weights/pallet_proxy.rs +++ b/runtimes/peregrine/src/weights/pallet_proxy.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-proxy // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_proxy.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,105 +52,103 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 9]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + p * (41 ±0)` + // Measured: `161 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 13_943_000 picoseconds. - Weight::from_parts(14_378_457, 0) + // Minimum execution time: 23_223_000 picoseconds. + Weight::from_parts(23_733_097, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 1_874 - .saturating_add(Weight::from_parts(55_778, 0).saturating_mul(p.into())) + // Standard Error: 2_182 + .saturating_add(Weight::from_parts(40_458, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(467), added: 2942, mode: `MaxEncodedLen`) /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(777), added: 3252, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. - fn proxy_announced(a: u32, _p: u32, ) -> Weight { + fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `425 + a * (72 ±0) + p * (41 ±0)` + // Measured: `352 + a * (72 ±0) + p * (41 ±0)` // Estimated: `4242` - // Minimum execution time: 33_688_000 picoseconds. - Weight::from_parts(34_507_579, 0) + // Minimum execution time: 32_416_000 picoseconds. + Weight::from_parts(32_607_514, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_792 - .saturating_add(Weight::from_parts(148_008, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Standard Error: 3_070 + .saturating_add(Weight::from_parts(251_973, 0).saturating_mul(a.into())) + // Standard Error: 3_408 + .saturating_add(Weight::from_parts(74_626, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(777), added: 3252, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. - fn remove_announcement(a: u32, _p: u32, ) -> Weight { + fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `340 + a * (72 ±0)` + // Measured: `267 + a * (72 ±0)` // Estimated: `4242` - // Minimum execution time: 22_974_000 picoseconds. - Weight::from_parts(24_075_448, 0) + // Minimum execution time: 15_075_000 picoseconds. + Weight::from_parts(15_681_351, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_329 - .saturating_add(Weight::from_parts(146_622, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Standard Error: 1_761 + .saturating_add(Weight::from_parts(227_629, 0).saturating_mul(a.into())) + // Standard Error: 1_955 + .saturating_add(Weight::from_parts(17_344, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(777), added: 3252, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. - fn reject_announcement(a: u32, _p: u32, ) -> Weight { + fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `340 + a * (72 ±0)` + // Measured: `267 + a * (72 ±0)` // Estimated: `4242` - // Minimum execution time: 23_257_000 picoseconds. - Weight::from_parts(24_232_121, 0) + // Minimum execution time: 14_840_000 picoseconds. + Weight::from_parts(15_773_331, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_311 - .saturating_add(Weight::from_parts(140_335, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Standard Error: 1_815 + .saturating_add(Weight::from_parts(205_875, 0).saturating_mul(a.into())) + // Standard Error: 2_015 + .saturating_add(Weight::from_parts(8_753, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(467), added: 2942, mode: `MaxEncodedLen`) /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(777), added: 3252, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `353 + a * (72 ±0) + p * (41 ±0)` + // Measured: `280 + a * (72 ±0) + p * (41 ±0)` // Estimated: `4242` - // Minimum execution time: 29_784_000 picoseconds. - Weight::from_parts(30_592_025, 0) + // Minimum execution time: 25_696_000 picoseconds. + Weight::from_parts(27_022_182, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_674 - .saturating_add(Weight::from_parts(131_023, 0).saturating_mul(a.into())) - // Standard Error: 2_969 - .saturating_add(Weight::from_parts(5_881, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Standard Error: 6_356 + .saturating_add(Weight::from_parts(314_017, 0).saturating_mul(a.into())) + // Standard Error: 7_056 + .saturating_add(Weight::from_parts(77_339, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(467), added: 2942, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 9]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + p * (41 ±0)` + // Measured: `161 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 22_387_000 picoseconds. - Weight::from_parts(22_881_097, 0) + // Minimum execution time: 20_047_000 picoseconds. + Weight::from_parts(20_609_285, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_537 - .saturating_add(Weight::from_parts(52_553, 0).saturating_mul(p.into())) + // Standard Error: 2_129 + .saturating_add(Weight::from_parts(39_081, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,13 +157,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 9]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + p * (41 ±0)` + // Measured: `161 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 22_439_000 picoseconds. - Weight::from_parts(23_053_180, 0) + // Minimum execution time: 19_693_000 picoseconds. + Weight::from_parts(20_150_153, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_570 - .saturating_add(Weight::from_parts(66_474, 0).saturating_mul(p.into())) + // Standard Error: 1_633 + .saturating_add(Weight::from_parts(88_141, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,28 +172,26 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 9]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + p * (41 ±0)` + // Measured: `161 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 20_043_000 picoseconds. - Weight::from_parts(20_684_137, 0) + // Minimum execution time: 14_044_000 picoseconds. + Weight::from_parts(14_511_037, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_488 - .saturating_add(Weight::from_parts(71_363, 0).saturating_mul(p.into())) + // Standard Error: 1_840 + .saturating_add(Weight::from_parts(27_355, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(467), added: 2942, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 9]`. - fn create_pure(p: u32, ) -> Weight { + fn create_pure(_p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `139` + // Measured: `173` // Estimated: `3932` - // Minimum execution time: 23_627_000 picoseconds. - Weight::from_parts(24_313_377, 0) + // Minimum execution time: 22_456_000 picoseconds. + Weight::from_parts(23_316_821, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_738 - .saturating_add(Weight::from_parts(6_103, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,13 +200,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 8]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `168 + p * (41 ±0)` + // Measured: `202 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 21_252_000 picoseconds. - Weight::from_parts(21_743_076, 0) + // Minimum execution time: 15_126_000 picoseconds. + Weight::from_parts(15_650_636, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_638 - .saturating_add(Weight::from_parts(72_099, 0).saturating_mul(p.into())) + // Standard Error: 1_763 + .saturating_add(Weight::from_parts(37_900, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtimes/peregrine/src/weights/pallet_scheduler.rs b/runtimes/peregrine/src/weights/pallet_scheduler.rs index c06d02f2d..bb3191660 100644 --- a/runtimes/peregrine/src/weights/pallet_scheduler.rs +++ b/runtimes/peregrine/src/weights/pallet_scheduler.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -53,8 +53,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `36` // Estimated: `1493` - // Minimum execution time: 4_647_000 picoseconds. - Weight::from_parts(4_883_000, 0) + // Minimum execution time: 5_868_000 picoseconds. + Weight::from_parts(6_151_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -66,11 +66,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 5_373_000 picoseconds. - Weight::from_parts(7_568_073, 0) + // Minimum execution time: 6_399_000 picoseconds. + Weight::from_parts(13_256_248, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 2_446 - .saturating_add(Weight::from_parts(276_325, 0).saturating_mul(s.into())) + // Standard Error: 3_226 + .saturating_add(Weight::from_parts(510_232, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -78,12 +78,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_935_000 picoseconds. - Weight::from_parts(3_097_000, 0) + // Minimum execution time: 6_703_000 picoseconds. + Weight::from_parts(6_857_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) - /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) @@ -92,14 +92,15 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` - // Estimated: `4197809` - // Minimum execution time: 15_916_000 picoseconds. - Weight::from_parts(16_472_000, 0) - .saturating_add(Weight::from_parts(0, 4197809)) - // Standard Error: 142 - .saturating_add(Weight::from_parts(13_204, 0).saturating_mul(s.into())) + // Estimated: `3678 + s * (1 ±0)` + // Minimum execution time: 31_508_000 picoseconds. + Weight::from_parts(31_853_000, 0) + .saturating_add(Weight::from_parts(0, 3678)) + // Standard Error: 276 + .saturating_add(Weight::from_parts(24_379, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } /// Storage: `Scheduler::Lookup` (r:0 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -107,8 +108,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_171_000 picoseconds. - Weight::from_parts(4_333_000, 0) + // Minimum execution time: 9_785_000 picoseconds. + Weight::from_parts(10_113_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -116,24 +117,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_082_000 picoseconds. - Weight::from_parts(3_284_000, 0) + // Minimum execution time: 6_631_000 picoseconds. + Weight::from_parts(6_851_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_943_000 picoseconds. - Weight::from_parts(2_110_000, 0) + // Minimum execution time: 4_987_000 picoseconds. + Weight::from_parts(5_159_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_965_000 picoseconds. - Weight::from_parts(2_047_000, 0) + // Minimum execution time: 4_952_000 picoseconds. + Weight::from_parts(5_160_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -143,11 +144,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 8_540_000 picoseconds. - Weight::from_parts(12_005_932, 0) + // Minimum execution time: 19_089_000 picoseconds. + Weight::from_parts(25_092_406, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 1_768 - .saturating_add(Weight::from_parts(313_546, 0).saturating_mul(s.into())) + // Standard Error: 2_846 + .saturating_add(Weight::from_parts(508_640, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -162,11 +163,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 13_766_000 picoseconds. - Weight::from_parts(14_503_459, 0) + // Minimum execution time: 28_909_000 picoseconds. + Weight::from_parts(29_152_235, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 1_808 - .saturating_add(Weight::from_parts(495_489, 0).saturating_mul(s.into())) + // Standard Error: 1_596 + .saturating_add(Weight::from_parts(772_948, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -179,11 +180,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `266 + s * (189 ±0)` // Estimated: `42632` - // Minimum execution time: 11_223_000 picoseconds. - Weight::from_parts(15_993_707, 0) + // Minimum execution time: 24_494_000 picoseconds. + Weight::from_parts(32_415_401, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 3_161 - .saturating_add(Weight::from_parts(349_634, 0).saturating_mul(s.into())) + // Standard Error: 4_692 + .saturating_add(Weight::from_parts(549_394, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -198,11 +199,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `290 + s * (189 ±0)` // Estimated: `42632` - // Minimum execution time: 15_833_000 picoseconds. - Weight::from_parts(17_229_195, 0) + // Minimum execution time: 32_567_000 picoseconds. + Weight::from_parts(33_383_801, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 2_194 - .saturating_add(Weight::from_parts(518_980, 0).saturating_mul(s.into())) + // Standard Error: 3_012 + .saturating_add(Weight::from_parts(832_389, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -215,11 +216,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `123` // Estimated: `42632` - // Minimum execution time: 8_589_000 picoseconds. - Weight::from_parts(9_308_498, 0) + // Minimum execution time: 18_205_000 picoseconds. + Weight::from_parts(18_914_169, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 603 - .saturating_add(Weight::from_parts(25_962, 0).saturating_mul(s.into())) + // Standard Error: 532 + .saturating_add(Weight::from_parts(17_709, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -231,8 +232,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `9133` // Estimated: `42632` - // Minimum execution time: 22_227_000 picoseconds. - Weight::from_parts(23_065_000, 0) + // Minimum execution time: 40_059_000 picoseconds. + Weight::from_parts(40_649_000, 0) .saturating_add(Weight::from_parts(0, 42632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -247,8 +248,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `9815` // Estimated: `42632` - // Minimum execution time: 27_138_000 picoseconds. - Weight::from_parts(27_964_000, 0) + // Minimum execution time: 49_598_000 picoseconds. + Weight::from_parts(50_333_000, 0) .saturating_add(Weight::from_parts(0, 42632)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -261,8 +262,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `9145` // Estimated: `42632` - // Minimum execution time: 21_253_000 picoseconds. - Weight::from_parts(21_962_000, 0) + // Minimum execution time: 39_732_000 picoseconds. + Weight::from_parts(40_158_000, 0) .saturating_add(Weight::from_parts(0, 42632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -277,8 +278,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `9827` // Estimated: `42632` - // Minimum execution time: 26_658_000 picoseconds. - Weight::from_parts(27_644_000, 0) + // Minimum execution time: 48_163_000 picoseconds. + Weight::from_parts(48_579_000, 0) .saturating_add(Weight::from_parts(0, 42632)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -320,7 +321,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3407870 + > 3678 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_session.rs b/runtimes/peregrine/src/weights/pallet_session.rs index 76c191a79..f8fce3d0c 100644 --- a/runtimes/peregrine/src/weights/pallet_session.rs +++ b/runtimes/peregrine/src/weights/pallet_session.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_session` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-session // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_session.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -57,8 +55,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `298` // Estimated: `3763` - // Minimum execution time: 16_908_000 picoseconds. - Weight::from_parts(17_299_000, 0) + // Minimum execution time: 29_008_000 picoseconds. + Weight::from_parts(29_602_000, 0) .saturating_add(Weight::from_parts(0, 3763)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -71,8 +69,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3745` - // Minimum execution time: 12_647_000 picoseconds. - Weight::from_parts(12_852_000, 0) + // Minimum execution time: 21_608_000 picoseconds. + Weight::from_parts(21_859_000, 0) .saturating_add(Weight::from_parts(0, 3745)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtimes/peregrine/src/weights/pallet_sudo.rs b/runtimes/peregrine/src/weights/pallet_sudo.rs index 0d3e84848..8ff958ed9 100644 --- a/runtimes/peregrine/src/weights/pallet_sudo.rs +++ b/runtimes/peregrine/src/weights/pallet_sudo.rs @@ -18,20 +18,21 @@ //! Autogenerated weights for `pallet_sudo` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-sudo // --extrinsic=* +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -52,8 +53,8 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 10_709_000 picoseconds. - Weight::from_parts(11_006_000, 0) + // Minimum execution time: 18_644_000 picoseconds. + Weight::from_parts(18_969_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,8 +65,8 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 11_399_000 picoseconds. - Weight::from_parts(11_808_000, 0) + // Minimum execution time: 19_754_000 picoseconds. + Weight::from_parts(20_085_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -75,8 +76,8 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 11_601_000 picoseconds. - Weight::from_parts(12_031_000, 0) + // Minimum execution time: 19_544_000 picoseconds. + Weight::from_parts(19_987_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -86,8 +87,8 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 9_813_000 picoseconds. - Weight::from_parts(9_961_000, 0) + // Minimum execution time: 17_024_000 picoseconds. + Weight::from_parts(17_327_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/peregrine/src/weights/pallet_technical_committee_collective.rs b/runtimes/peregrine/src/weights/pallet_technical_committee_collective.rs index a4628f013..0e6c1240d 100644 --- a/runtimes/peregrine/src/weights/pallet_technical_committee_collective.rs +++ b/runtimes/peregrine/src/weights/pallet_technical_committee_collective.rs @@ -18,23 +18,21 @@ //! Autogenerated weights for `pallet_technical_committee_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-technical-committee-collective // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -53,226 +51,256 @@ use pallet_collective as pallet_technical_committee_collective; pub struct WeightInfo(PhantomData); impl pallet_technical_committee_collective::WeightInfo for WeightInfo { /// Storage: `TechnicalCommittee::Members` (r:1 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:100 w:100) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. - fn set_members(m: u32, n: u32, p: u32, ) -> Weight { + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3228 ±0) + p * (3195 ±0)` - // Estimated: `990` - // Minimum execution time: 460_642_000 picoseconds. - Weight::from_parts(460_642_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(127_672_940, 0).saturating_mul(m.into())) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(34_349_310, 0).saturating_mul(n.into())) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(126_599_270, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3194 ±0)` + // Estimated: `15770 + m * (1967 ±23) + p * (4336 ±23)` + // Minimum execution time: 24_577_000 picoseconds. + Weight::from_parts(24_770_000, 0) + .saturating_add(Weight::from_parts(0, 15770)) + // Standard Error: 72_443 + .saturating_add(Weight::from_parts(5_401_875, 0).saturating_mul(m.into())) + // Standard Error: 72_443 + .saturating_add(Weight::from_parts(9_990_373, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4336).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn execute(b: u32, _m: u32, ) -> Weight { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `102 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 573_430_000 picoseconds. - Weight::from_parts(29_965_404_055, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 3_984_281 - .saturating_add(Weight::from_parts(2_473_578, 0).saturating_mul(b.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `1589 + m * (32 ±0)` + // Minimum execution time: 24_022_000 picoseconds. + Weight::from_parts(23_038_956, 0) + .saturating_add(Weight::from_parts(0, 1589)) + // Standard Error: 26 + .saturating_add(Weight::from_parts(1_332, 0).saturating_mul(b.into())) + // Standard Error: 272 + .saturating_add(Weight::from_parts(22_481, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `102 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 715_079_000 picoseconds. - Weight::from_parts(636_745_116, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 10_109 - .saturating_add(Weight::from_parts(75_330, 0).saturating_mul(b.into())) - // Standard Error: 104_360 - .saturating_add(Weight::from_parts(1_195_222, 0).saturating_mul(m.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `3569 + m * (32 ±0)` + // Minimum execution time: 27_956_000 picoseconds. + Weight::from_parts(27_280_624, 0) + .saturating_add(Weight::from_parts(0, 3569)) + // Standard Error: 36 + .saturating_add(Weight::from_parts(1_562, 0).saturating_mul(b.into())) + // Standard Error: 375 + .saturating_add(Weight::from_parts(32_461, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - fn propose_proposed(b: u32, _m: u32, p: u32, ) -> Weight { + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `38 + m * (32 ±0) + p * (39 ±0)` - // Estimated: `990` - // Minimum execution time: 972_408_000 picoseconds. - Weight::from_parts(1_342_425_531, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 40_523 - .saturating_add(Weight::from_parts(142_705, 0).saturating_mul(b.into())) - // Standard Error: 418_333 - .saturating_add(Weight::from_parts(3_118_730, 0).saturating_mul(p.into())) + // Measured: `393 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 36_091_000 picoseconds. + Weight::from_parts(38_303_485, 0) + .saturating_add(Weight::from_parts(0, 3785)) + // Standard Error: 96 + .saturating_add(Weight::from_parts(2_437, 0).saturating_mul(b.into())) + // Standard Error: 1_003 + .saturating_add(Weight::from_parts(22_935, 0).saturating_mul(m.into())) + // Standard Error: 990 + .saturating_add(Weight::from_parts(170_130, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. - fn vote(_m: u32, ) -> Weight { + fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `845 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 604_239_000 picoseconds. - Weight::from_parts(705_575_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `846 + m * (64 ±0)` + // Estimated: `4310 + m * (64 ±0)` + // Minimum execution time: 32_352_000 picoseconds. + Weight::from_parts(33_070_856, 0) + .saturating_add(Weight::from_parts(0, 4310)) + // Standard Error: 732 + .saturating_add(Weight::from_parts(48_780, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_disapproved(m: u32, _p: u32, ) -> Weight { + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `219 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 1_062_882_000 picoseconds. - Weight::from_parts(17_615_015_534, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 1_146_969 - .saturating_add(Weight::from_parts(1_026_338, 0).saturating_mul(m.into())) + // Measured: `435 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3880 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 40_119_000 picoseconds. + Weight::from_parts(39_782_563, 0) + .saturating_add(Weight::from_parts(0, 3880)) + // Standard Error: 826 + .saturating_add(Weight::from_parts(35_260, 0).saturating_mul(m.into())) + // Standard Error: 806 + .saturating_add(Weight::from_parts(173_046, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_approved(_b: u32, m: u32, p: u32, ) -> Weight { + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `434 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_150_858_000 picoseconds. - Weight::from_parts(17_456_729_928, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 729_009 - .saturating_add(Weight::from_parts(116_718, 0).saturating_mul(m.into())) - // Standard Error: 706_917 - .saturating_add(Weight::from_parts(4_476_141, 0).saturating_mul(p.into())) + // Measured: `737 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4054 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 54_218_000 picoseconds. + Weight::from_parts(55_829_780, 0) + .saturating_add(Weight::from_parts(0, 4054)) + // Standard Error: 179 + .saturating_add(Weight::from_parts(2_603, 0).saturating_mul(b.into())) + // Standard Error: 1_899 + .saturating_add(Weight::from_parts(10_232, 0).saturating_mul(m.into())) + // Standard Error: 1_851 + .saturating_add(Weight::from_parts(201_474, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 876_906_000 picoseconds. - Weight::from_parts(876_906_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 77_271_809 - .saturating_add(Weight::from_parts(34_940_280, 0).saturating_mul(m.into())) - // Standard Error: 77_291_124 - .saturating_add(Weight::from_parts(39_111_834, 0).saturating_mul(p.into())) + // Measured: `455 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3900 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 43_168_000 picoseconds. + Weight::from_parts(42_351_838, 0) + .saturating_add(Weight::from_parts(0, 3900)) + // Standard Error: 895 + .saturating_add(Weight::from_parts(41_336, 0).saturating_mul(m.into())) + // Standard Error: 873 + .saturating_add(Weight::from_parts(175_507, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_approved(_b: u32, _m: u32, p: u32, ) -> Weight { + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `454 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_610_558_000 picoseconds. - Weight::from_parts(2_769_131_417, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 10_668_245 - .saturating_add(Weight::from_parts(5_164_747, 0).saturating_mul(p.into())) + // Measured: `757 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4074 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 57_128_000 picoseconds. + Weight::from_parts(58_759_372, 0) + .saturating_add(Weight::from_parts(0, 4074)) + // Standard Error: 192 + .saturating_add(Weight::from_parts(2_667, 0).saturating_mul(b.into())) + // Standard Error: 2_034 + .saturating_add(Weight::from_parts(12_562, 0).saturating_mul(m.into())) + // Standard Error: 1_983 + .saturating_add(Weight::from_parts(204_876, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. - fn disapprove_proposal(_p: u32, ) -> Weight { + fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `258 + p * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 1_112_072_000 picoseconds. - Weight::from_parts(1_726_467_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `260 + p * (32 ±0)` + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 24_513_000 picoseconds. + Weight::from_parts(26_923_357, 0) + .saturating_add(Weight::from_parts(0, 1745)) + // Standard Error: 5_427 + .saturating_add(Weight::from_parts(149_610, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } @@ -287,7 +315,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 15770 ); } #[test] @@ -299,7 +327,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1589 ); } #[test] @@ -311,7 +339,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3569 ); } #[test] @@ -323,7 +351,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3785 ); } #[test] @@ -335,7 +363,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4310 ); } #[test] @@ -347,7 +375,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3880 ); } #[test] @@ -359,7 +387,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4054 ); } #[test] @@ -371,7 +399,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3900 ); } #[test] @@ -383,7 +411,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4074 ); } #[test] @@ -395,7 +423,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1745 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_technical_membership.rs b/runtimes/peregrine/src/weights/pallet_technical_membership.rs index c2ec3694f..825c6c6f7 100644 --- a/runtimes/peregrine/src/weights/pallet_technical_membership.rs +++ b/runtimes/peregrine/src/weights/pallet_technical_membership.rs @@ -18,23 +18,21 @@ //! Autogenerated weights for `pallet_technical_membership` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-technical-membership // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -53,136 +51,153 @@ use pallet_membership as pallet_technical_membership; pub struct WeightInfo(PhantomData); impl pallet_technical_membership::WeightInfo for WeightInfo { /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. - fn add_member(_m: u32, ) -> Weight { + fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `133 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 405_749_000 picoseconds. - Weight::from_parts(498_827_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `136 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 22_526_000 picoseconds. + Weight::from_parts(23_199_194, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 507 + .saturating_add(Weight::from_parts(39_540, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. - fn remove_member(_m: u32, ) -> Weight { + fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 500_744_000 picoseconds. - Weight::from_parts(527_487_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 26_397_000 picoseconds. + Weight::from_parts(26_809_615, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 477 + .saturating_add(Weight::from_parts(37_756, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. - fn swap_member(_m: u32, ) -> Weight { + fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 511_254_000 picoseconds. - Weight::from_parts(993_980_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 26_209_000 picoseconds. + Weight::from_parts(26_900_657, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 831 + .saturating_add(Weight::from_parts(63_012, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn reset_members(_m: u32, ) -> Weight { + fn reset_members(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `237 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 534_955_000 picoseconds. - Weight::from_parts(688_451_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 25_695_000 picoseconds. + Weight::from_parts(27_308_067, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 1_015 + .saturating_add(Weight::from_parts(167_348, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn change_key(_m: u32, ) -> Weight { + fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `237 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 538_986_000 picoseconds. - Weight::from_parts(598_771_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 27_107_000 picoseconds. + Weight::from_parts(27_808_668, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 1_216 + .saturating_add(Weight::from_parts(66_934, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:0) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalMembership::Prime` (r:0 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn set_prime(_m: u32, ) -> Weight { + fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `30 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 259_951_000 picoseconds. - Weight::from_parts(340_969_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `32 + m * (32 ±0)` + // Estimated: `4687 + m * (32 ±0)` + // Minimum execution time: 12_473_000 picoseconds. + Weight::from_parts(13_076_067, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 293 + .saturating_add(Weight::from_parts(19_183, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Prime` (r:0 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) - /// The range of component `m` is `[1, 100]`. - fn clear_prime( ) -> Weight { + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn clear_prime() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 154_822_000 picoseconds. - Weight::from_parts(220_683_000, 0) + // Minimum execution time: 5_402_000 picoseconds. + Weight::from_parts(5_628_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -199,7 +214,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -211,7 +226,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -223,11 +238,11 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] - fn test_reset_member() { + fn test_reset_members() { assert!( ::BlockWeights::get() .per_class @@ -235,7 +250,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -247,7 +262,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -259,7 +274,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_timestamp.rs b/runtimes/peregrine/src/weights/pallet_timestamp.rs index 7c9e92095..e004e388c 100644 --- a/runtimes/peregrine/src/weights/pallet_timestamp.rs +++ b/runtimes/peregrine/src/weights/pallet_timestamp.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-timestamp // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_timestamp.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +53,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1493` - // Minimum execution time: 6_217_000 picoseconds. - Weight::from_parts(6_411_000, 0) + // Minimum execution time: 11_733_000 picoseconds. + Weight::from_parts(11_996_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -65,8 +63,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 4_270_000 picoseconds. - Weight::from_parts(4_498_000, 0) + // Minimum execution time: 7_634_000 picoseconds. + Weight::from_parts(8_013_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtimes/peregrine/src/weights/pallet_tips.rs b/runtimes/peregrine/src/weights/pallet_tips.rs index b9f7174ff..12ba6d69a 100644 --- a/runtimes/peregrine/src/weights/pallet_tips.rs +++ b/runtimes/peregrine/src/weights/pallet_tips.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_tips` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-tips // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_tips.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -58,11 +56,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4` // Estimated: `3469` - // Minimum execution time: 27_311_000 picoseconds. - Weight::from_parts(28_110_607, 0) + // Minimum execution time: 44_156_000 picoseconds. + Weight::from_parts(45_472_973, 0) .saturating_add(Weight::from_parts(0, 3469)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_547, 0).saturating_mul(r.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_462, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -74,8 +72,8 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `221` // Estimated: `3686` - // Minimum execution time: 25_148_000 picoseconds. - Weight::from_parts(25_454_000, 0) + // Minimum execution time: 40_347_000 picoseconds. + Weight::from_parts(40_886_000, 0) .saturating_add(Weight::from_parts(0, 3686)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -90,15 +88,15 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 21]`. fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `141 + t * (32 ±0)` - // Estimated: `3606 + t * (32 ±0)` - // Minimum execution time: 19_348_000 picoseconds. - Weight::from_parts(17_861_203, 0) - .saturating_add(Weight::from_parts(0, 3606)) + // Measured: `108 + t * (32 ±0)` + // Estimated: `3573 + t * (32 ±0)` + // Minimum execution time: 31_300_000 picoseconds. + Weight::from_parts(29_856_187, 0) + .saturating_add(Weight::from_parts(0, 3573)) // Standard Error: 6 - .saturating_add(Weight::from_parts(1_401, 0).saturating_mul(r.into())) - // Standard Error: 4_912 - .saturating_add(Weight::from_parts(135_186, 0).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(1_310, 0).saturating_mul(r.into())) + // Standard Error: 5_200 + .saturating_add(Weight::from_parts(160_087, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) @@ -110,13 +108,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 21]`. fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366 + t * (80 ±0)` - // Estimated: `3831 + t * (80 ±0)` - // Minimum execution time: 15_591_000 picoseconds. - Weight::from_parts(15_986_370, 0) - .saturating_add(Weight::from_parts(0, 3831)) - // Standard Error: 1_501 - .saturating_add(Weight::from_parts(120_962, 0).saturating_mul(t.into())) + // Measured: `333 + t * (80 ±0)` + // Estimated: `3798 + t * (80 ±0)` + // Minimum execution time: 25_663_000 picoseconds. + Weight::from_parts(25_798_345, 0) + .saturating_add(Weight::from_parts(0, 3798)) + // Standard Error: 1_997 + .saturating_add(Weight::from_parts(183_190, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(t.into())) @@ -132,16 +130,16 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 21]`. fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `473 + t * (80 ±0)` - // Estimated: `6204 + t * (80 ±0)` - // Minimum execution time: 55_216_000 picoseconds. - Weight::from_parts(56_832_101, 0) + // Measured: `440 + t * (80 ±0)` + // Estimated: `6204 + t * (79 ±0)` + // Minimum execution time: 85_847_000 picoseconds. + Weight::from_parts(87_016_609, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 3_930 - .saturating_add(Weight::from_parts(118_712, 0).saturating_mul(t.into())) + // Standard Error: 5_289 + .saturating_add(Weight::from_parts(159_822, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 79).saturating_mul(t.into())) } /// Storage: `Tips::Tips` (r:1 w:1) /// Proof: `Tips::Tips` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -152,11 +150,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3734` - // Minimum execution time: 14_140_000 picoseconds. - Weight::from_parts(14_682_084, 0) + // Minimum execution time: 22_841_000 picoseconds. + Weight::from_parts(23_483_998, 0) .saturating_add(Weight::from_parts(0, 3734)) - // Standard Error: 1_130 - .saturating_add(Weight::from_parts(3_291, 0).saturating_mul(t.into())) + // Standard Error: 905 + .saturating_add(Weight::from_parts(11_104, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -197,7 +195,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3606 + > 3573 ); } #[test] @@ -209,7 +207,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3831 + > 3798 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_token_gateway.rs b/runtimes/peregrine/src/weights/pallet_token_gateway.rs index 6f27639b3..cfb41ef27 100644 --- a/runtimes/peregrine/src/weights/pallet_token_gateway.rs +++ b/runtimes/peregrine/src/weights/pallet_token_gateway.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_token_gateway` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -59,20 +59,22 @@ impl pallet_token_gateway::WeightInfo for WeightInfo /// Proof: `TokenGateway::LocalAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TokenGateway::SupportedAssets` (r:0 w:1) /// Proof: `TokenGateway::SupportedAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e74736dbf7451ee5809df8f986d7fa449` (r:1 w:1) - /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e74736dbf7451ee5809df8f986d7fa449` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e747333c2095ada582ac4c1499d9d6092` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e747333c2095ada582ac4c1499d9d6092` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x526571756573745061796d656e7433c2095ada582ac4c1499d9d6092243ea5b3` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x526571756573745061796d656e7433c2095ada582ac4c1499d9d6092243ea5b3` (r:0 w:1) /// The range of component `x` is `[1, 100]`. fn create_erc6160_asset(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `290` // Estimated: `3755` - // Minimum execution time: 31_268_000 picoseconds. - Weight::from_parts(30_872_263, 0) + // Minimum execution time: 60_149_000 picoseconds. + Weight::from_parts(61_529_136, 0) .saturating_add(Weight::from_parts(0, 3755)) - // Standard Error: 3_317 - .saturating_add(Weight::from_parts(1_558_070, 0).saturating_mul(x.into())) + // Standard Error: 2_181 + .saturating_add(Weight::from_parts(2_468_539, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) } /// Storage: `TokenGateway::SupportedAssets` (r:1 w:0) @@ -83,19 +85,23 @@ impl pallet_token_gateway::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `TokenGateway::Precisions` (r:1 w:0) /// Proof: `TokenGateway::Precisions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Hyperbridge::HostParams` (r:1 w:0) + /// Proof: `Hyperbridge::HostParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Ismp::Nonce` (r:1 w:1) /// Proof: `Ismp::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e747387c60cc3838067ec43c7c32db115` (r:1 w:1) - /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e747387c60cc3838067ec43c7c32db115` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473367017d1ad5c23b0cb1956a4350a` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473367017d1ad5c23b0cb1956a4350a` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x526571756573745061796d656e74367017d1ad5c23b0cb1956a4350ab27f1a08` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x526571756573745061796d656e74367017d1ad5c23b0cb1956a4350ab27f1a08` (r:0 w:1) fn teleport() -> Weight { // Proof Size summary in bytes: - // Measured: `732` - // Estimated: `4197` - // Minimum execution time: 64_709_000 picoseconds. - Weight::from_parts(66_906_000, 0) - .saturating_add(Weight::from_parts(0, 4197)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `846` + // Estimated: `4311` + // Minimum execution time: 126_789_000 picoseconds. + Weight::from_parts(128_411_000, 0) + .saturating_add(Weight::from_parts(0, 4311)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `TokenGateway::TokenGatewayAddresses` (r:0 w:1) /// Proof: `TokenGateway::TokenGatewayAddresses` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -104,8 +110,8 @@ impl pallet_token_gateway::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_490_000 picoseconds. - Weight::from_parts(4_037_612, 0) + // Minimum execution time: 9_415_000 picoseconds. + Weight::from_parts(9_769_665, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,17 +119,19 @@ impl pallet_token_gateway::WeightInfo for WeightInfo /// Proof: `Hyperbridge::HostParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Ismp::Nonce` (r:1 w:1) /// Proof: `Ismp::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473063ffee434bbc145cf1b300aac5e` (r:1 w:1) - /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473063ffee434bbc145cf1b300aac5e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473203c0d3cc447f181440596bddf2f` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473203c0d3cc447f181440596bddf2f` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x526571756573745061796d656e74203c0d3cc447f181440596bddf2fb5484348` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x526571756573745061796d656e74203c0d3cc447f181440596bddf2fb5484348` (r:0 w:1) fn update_erc6160_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `455` - // Estimated: `3920` - // Minimum execution time: 24_180_000 picoseconds. - Weight::from_parts(25_391_000, 0) - .saturating_add(Weight::from_parts(0, 3920)) + // Measured: `493` + // Estimated: `3958` + // Minimum execution time: 52_266_000 picoseconds. + Weight::from_parts(52_734_000, 0) + .saturating_add(Weight::from_parts(0, 3958)) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `TokenGateway::Precisions` (r:0 w:100) /// Proof: `TokenGateway::Precisions` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -132,11 +140,11 @@ impl pallet_token_gateway::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_861_000 picoseconds. - Weight::from_parts(2_719_181, 0) + // Minimum execution time: 9_666_000 picoseconds. + Weight::from_parts(8_975_612, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_076 - .saturating_add(Weight::from_parts(1_528_011, 0).saturating_mul(x.into())) + // Standard Error: 1_992 + .saturating_add(Weight::from_parts(2_438_896, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) } } @@ -164,7 +172,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4197 + > 4311 ); } #[test] @@ -176,7 +184,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3920 + > 3958 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_treasury.rs b/runtimes/peregrine/src/weights/pallet_treasury.rs index faa261f1e..63ebc00e4 100644 --- a/runtimes/peregrine/src/weights/pallet_treasury.rs +++ b/runtimes/peregrine/src/weights/pallet_treasury.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_treasury` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-treasury // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_treasury.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -59,8 +57,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6` // Estimated: `1887` - // Minimum execution time: 11_688_000 picoseconds. - Weight::from_parts(12_036_000, 0) + // Minimum execution time: 20_004_000 picoseconds. + Weight::from_parts(20_336_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -71,13 +69,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `90` // Estimated: `1887` - // Minimum execution time: 6_121_000 picoseconds. - Weight::from_parts(6_335_000, 0) + // Minimum execution time: 10_224_000 picoseconds. + Weight::from_parts(10_505_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `System::Account` (r:199 w:199) + /// Storage: `System::Account` (r:100 w:100) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Treasury::Deactivated` (r:1 w:1) /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) @@ -90,18 +88,18 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `33 + p * (256 ±0)` - // Estimated: `3597 + p * (5214 ±0)` - // Minimum execution time: 18_511_000 picoseconds. - Weight::from_parts(31_104_251, 0) + // Measured: `0 + p * (158 ±0)` + // Estimated: `3597 + p * (2607 ±0)` + // Minimum execution time: 56_400_000 picoseconds. + Weight::from_parts(58_684_472, 0) .saturating_add(Weight::from_parts(0, 3597)) - // Standard Error: 18_385 - .saturating_add(Weight::from_parts(29_250_242, 0).saturating_mul(p.into())) + // Standard Error: 15_991 + .saturating_add(Weight::from_parts(28_463_101, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5214).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 2607).saturating_mul(p.into())) } /// Storage: `Treasury::SpendCount` (r:1 w:1) /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -111,8 +109,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6` // Estimated: `1489` - // Minimum execution time: 10_575_000 picoseconds. - Weight::from_parts(10_762_000, 0) + // Minimum execution time: 18_043_000 picoseconds. + Weight::from_parts(18_394_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -125,8 +123,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `6204` - // Minimum execution time: 44_998_000 picoseconds. - Weight::from_parts(46_059_000, 0) + // Minimum execution time: 70_920_000 picoseconds. + Weight::from_parts(71_658_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -137,8 +135,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `133` // Estimated: `3542` - // Minimum execution time: 12_873_000 picoseconds. - Weight::from_parts(13_136_000, 0) + // Minimum execution time: 21_280_000 picoseconds. + Weight::from_parts(21_572_000, 0) .saturating_add(Weight::from_parts(0, 3542)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -149,8 +147,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `133` // Estimated: `3542` - // Minimum execution time: 11_977_000 picoseconds. - Weight::from_parts(12_433_000, 0) + // Minimum execution time: 20_348_000 picoseconds. + Weight::from_parts(20_603_000, 0) .saturating_add(Weight::from_parts(0, 3542)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -172,42 +170,6 @@ mod tests { ); } #[test] - fn test_propose_spend() { - assert!( - ::BlockWeights::get() - .per_class - .get(frame_support::dispatch::DispatchClass::Normal) - .max_extrinsic - .unwrap_or_else(::max_value) - .proof_size() - > 1489 - ); - } - #[test] - fn test_reject_proposal() { - assert!( - ::BlockWeights::get() - .per_class - .get(frame_support::dispatch::DispatchClass::Normal) - .max_extrinsic - .unwrap_or_else(::max_value) - .proof_size() - > 6204 - ); - } - #[test] - fn test_approve_proposal() { - assert!( - ::BlockWeights::get() - .per_class - .get(frame_support::dispatch::DispatchClass::Normal) - .max_extrinsic - .unwrap_or_else(::max_value) - .proof_size() - > 3573 - ); - } - #[test] fn test_remove_approval() { assert!( ::BlockWeights::get() diff --git a/runtimes/peregrine/src/weights/pallet_utility.rs b/runtimes/peregrine/src/weights/pallet_utility.rs index a0e73a03a..19ba74777 100644 --- a/runtimes/peregrine/src/weights/pallet_utility.rs +++ b/runtimes/peregrine/src/weights/pallet_utility.rs @@ -18,20 +18,21 @@ //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-utility // --extrinsic=* +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -51,18 +52,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_208_000 picoseconds. - Weight::from_parts(5_901_320, 0) + // Minimum execution time: 10_340_000 picoseconds. + Weight::from_parts(10_388_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_466 - .saturating_add(Weight::from_parts(2_876_375, 0).saturating_mul(c.into())) + // Standard Error: 1_619 + .saturating_add(Weight::from_parts(4_371_163, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_694_000 picoseconds. - Weight::from_parts(4_831_000, 0) + // Minimum execution time: 8_596_000 picoseconds. + Weight::from_parts(8_820_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -70,18 +71,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_926_000 picoseconds. - Weight::from_parts(10_741_519, 0) + // Minimum execution time: 9_992_000 picoseconds. + Weight::from_parts(10_163_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_402 - .saturating_add(Weight::from_parts(3_075_784, 0).saturating_mul(c.into())) + // Standard Error: 1_567 + .saturating_add(Weight::from_parts(4_686_005, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_929_000 picoseconds. - Weight::from_parts(7_293_000, 0) + // Minimum execution time: 12_954_000 picoseconds. + Weight::from_parts(13_265_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -89,11 +90,11 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_018_000 picoseconds. - Weight::from_parts(11_815_047, 0) + // Minimum execution time: 10_131_000 picoseconds. + Weight::from_parts(10_221_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_373 - .saturating_add(Weight::from_parts(2_834_449, 0).saturating_mul(c.into())) + // Standard Error: 1_952 + .saturating_add(Weight::from_parts(4_435_764, 0).saturating_mul(c.into())) } } diff --git a/runtimes/peregrine/src/weights/pallet_vesting.rs b/runtimes/peregrine/src/weights/pallet_vesting.rs index 72e5be851..ba9459ea8 100644 --- a/runtimes/peregrine/src/weights/pallet_vesting.rs +++ b/runtimes/peregrine/src/weights/pallet_vesting.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-vesting // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_vesting.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -61,13 +59,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 32_716_000 picoseconds. - Weight::from_parts(31_624_238, 0) + // Minimum execution time: 52_145_000 picoseconds. + Weight::from_parts(51_123_300, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 610 - .saturating_add(Weight::from_parts(37_011, 0).saturating_mul(l.into())) - // Standard Error: 1_086 - .saturating_add(Weight::from_parts(141_132, 0).saturating_mul(s.into())) + // Standard Error: 911 + .saturating_add(Weight::from_parts(47_872, 0).saturating_mul(l.into())) + // Standard Error: 1_622 + .saturating_add(Weight::from_parts(64_943, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,13 +81,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 34_933_000 picoseconds. - Weight::from_parts(34_148_826, 0) + // Minimum execution time: 55_053_000 picoseconds. + Weight::from_parts(54_169_107, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 527 - .saturating_add(Weight::from_parts(30_137, 0).saturating_mul(l.into())) - // Standard Error: 938 - .saturating_add(Weight::from_parts(127_675, 0).saturating_mul(s.into())) + // Standard Error: 823 + .saturating_add(Weight::from_parts(53_898, 0).saturating_mul(l.into())) + // Standard Error: 1_464 + .saturating_add(Weight::from_parts(60_572, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,13 +105,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `434 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 34_970_000 picoseconds. - Weight::from_parts(33_396_762, 0) + // Minimum execution time: 54_285_000 picoseconds. + Weight::from_parts(53_220_047, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 655 - .saturating_add(Weight::from_parts(39_902, 0).saturating_mul(l.into())) - // Standard Error: 1_166 - .saturating_add(Weight::from_parts(146_668, 0).saturating_mul(s.into())) + // Standard Error: 2_191 + .saturating_add(Weight::from_parts(54_813, 0).saturating_mul(l.into())) + // Standard Error: 3_898 + .saturating_add(Weight::from_parts(69_124, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -131,13 +129,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `434 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 36_957_000 picoseconds. - Weight::from_parts(36_063_061, 0) + // Minimum execution time: 57_454_000 picoseconds. + Weight::from_parts(56_575_357, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 529 - .saturating_add(Weight::from_parts(31_993, 0).saturating_mul(l.into())) - // Standard Error: 941 - .saturating_add(Weight::from_parts(123_889, 0).saturating_mul(s.into())) + // Standard Error: 857 + .saturating_add(Weight::from_parts(55_038, 0).saturating_mul(l.into())) + // Standard Error: 1_525 + .saturating_add(Weight::from_parts(59_853, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -155,13 +153,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `471 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 66_016_000 picoseconds. - Weight::from_parts(66_301_649, 0) + // Minimum execution time: 102_859_000 picoseconds. + Weight::from_parts(103_558_479, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_235 - .saturating_add(Weight::from_parts(45_951, 0).saturating_mul(l.into())) - // Standard Error: 2_198 - .saturating_add(Weight::from_parts(171_498, 0).saturating_mul(s.into())) + // Standard Error: 1_437 + .saturating_add(Weight::from_parts(53_726, 0).saturating_mul(l.into())) + // Standard Error: 2_557 + .saturating_add(Weight::from_parts(118_711, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -179,13 +177,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `578 + l * (25 ±0) + s * (40 ±0)` // Estimated: `6204` - // Minimum execution time: 69_129_000 picoseconds. - Weight::from_parts(69_076_699, 0) + // Minimum execution time: 106_171_000 picoseconds. + Weight::from_parts(106_951_831, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 1_189 - .saturating_add(Weight::from_parts(45_612, 0).saturating_mul(l.into())) - // Standard Error: 2_116 - .saturating_add(Weight::from_parts(169_957, 0).saturating_mul(s.into())) + // Standard Error: 1_581 + .saturating_add(Weight::from_parts(57_945, 0).saturating_mul(l.into())) + // Standard Error: 2_814 + .saturating_add(Weight::from_parts(120_804, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -203,13 +201,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `471 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 36_571_000 picoseconds. - Weight::from_parts(35_060_968, 0) + // Minimum execution time: 57_077_000 picoseconds. + Weight::from_parts(55_794_686, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 525 - .saturating_add(Weight::from_parts(42_288, 0).saturating_mul(l.into())) - // Standard Error: 970 - .saturating_add(Weight::from_parts(142_565, 0).saturating_mul(s.into())) + // Standard Error: 965 + .saturating_add(Weight::from_parts(54_535, 0).saturating_mul(l.into())) + // Standard Error: 1_783 + .saturating_add(Weight::from_parts(76_663, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,13 +225,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `471 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 39_189_000 picoseconds. - Weight::from_parts(37_159_926, 0) + // Minimum execution time: 60_575_000 picoseconds. + Weight::from_parts(59_680_767, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 636 - .saturating_add(Weight::from_parts(46_607, 0).saturating_mul(l.into())) - // Standard Error: 1_175 - .saturating_add(Weight::from_parts(147_625, 0).saturating_mul(s.into())) + // Standard Error: 1_087 + .saturating_add(Weight::from_parts(52_553, 0).saturating_mul(l.into())) + // Standard Error: 2_008 + .saturating_add(Weight::from_parts(81_480, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -251,13 +249,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `471 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 39_755_000 picoseconds. - Weight::from_parts(38_003_429, 0) + // Minimum execution time: 61_795_000 picoseconds. + Weight::from_parts(60_791_360, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 864 - .saturating_add(Weight::from_parts(43_527, 0).saturating_mul(l.into())) - // Standard Error: 1_596 - .saturating_add(Weight::from_parts(144_859, 0).saturating_mul(s.into())) + // Standard Error: 1_022 + .saturating_add(Weight::from_parts(43_928, 0).saturating_mul(l.into())) + // Standard Error: 1_888 + .saturating_add(Weight::from_parts(82_272, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtimes/peregrine/src/weights/pallet_web3_names.rs b/runtimes/peregrine/src/weights/pallet_web3_names.rs index 91306dfae..f081a9d55 100644 --- a/runtimes/peregrine/src/weights/pallet_web3_names.rs +++ b/runtimes/peregrine/src/weights/pallet_web3_names.rs @@ -18,20 +18,21 @@ //! Autogenerated weights for `pallet_web3_names` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-web3-names // --extrinsic=* +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -54,20 +55,22 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. - fn claim(_n: u32, ) -> Weight { + fn claim(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `147` - // Estimated: `3766` - // Minimum execution time: 56_910_000 picoseconds. - Weight::from_parts(57_849_856, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `181` + // Estimated: `3712` + // Minimum execution time: 70_085_000 picoseconds. + Weight::from_parts(71_238_155, 0) + .saturating_add(Weight::from_parts(0, 3712)) + // Standard Error: 1_272 + .saturating_add(Weight::from_parts(12_949, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Web3Names::Names` (r:1 w:1) /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) @@ -75,17 +78,17 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn release_by_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `552` - // Estimated: `3766` - // Minimum execution time: 50_225_000 picoseconds. - Weight::from_parts(51_126_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `530` + // Estimated: `3712` + // Minimum execution time: 60_452_000 picoseconds. + Weight::from_parts(60_955_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -93,22 +96,22 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Names` (r:0 w:1) /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. fn reclaim_deposit(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `448 + n * (1 ±0)` - // Estimated: `3766` - // Minimum execution time: 48_077_000 picoseconds. - Weight::from_parts(49_012_304, 0) - .saturating_add(Weight::from_parts(0, 3766)) - // Standard Error: 1_284 - .saturating_add(Weight::from_parts(22_720, 0).saturating_mul(n.into())) + // Measured: `426 + n * (1 ±0)` + // Estimated: `3712` + // Minimum execution time: 57_175_000 picoseconds. + Weight::from_parts(58_433_938, 0) + .saturating_add(Weight::from_parts(0, 3712)) + // Standard Error: 1_602 + .saturating_add(Weight::from_parts(17_283, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -118,22 +121,22 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Names` (r:0 w:1) /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. fn ban(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `448 + n * (1 ±0)` - // Estimated: `3766` - // Minimum execution time: 53_916_000 picoseconds. - Weight::from_parts(54_905_352, 0) - .saturating_add(Weight::from_parts(0, 3766)) - // Standard Error: 1_190 - .saturating_add(Weight::from_parts(12_308, 0).saturating_mul(n.into())) + // Measured: `426 + n * (1 ±0)` + // Estimated: `3712` + // Minimum execution time: 66_336_000 picoseconds. + Weight::from_parts(67_426_505, 0) + .saturating_add(Weight::from_parts(0, 3712)) + // Standard Error: 1_364 + .saturating_add(Weight::from_parts(32_509, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -142,13 +145,13 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// The range of component `n` is `[3, 32]`. fn unban(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `84 + n * (1 ±0)` + // Measured: `118 + n * (1 ±0)` // Estimated: `3514` - // Minimum execution time: 12_818_000 picoseconds. - Weight::from_parts(13_203_572, 0) + // Minimum execution time: 22_005_000 picoseconds. + Weight::from_parts(22_421_262, 0) .saturating_add(Weight::from_parts(0, 3514)) - // Standard Error: 841 - .saturating_add(Weight::from_parts(22_244, 0).saturating_mul(n.into())) + // Standard Error: 655 + .saturating_add(Weight::from_parts(26_102, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -158,19 +161,19 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Owner` (r:1 w:1) /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:2 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `659` - // Estimated: `6542` - // Minimum execution time: 82_337_000 picoseconds. - Weight::from_parts(83_234_000, 0) - .saturating_add(Weight::from_parts(0, 6542)) + // Measured: `637` + // Estimated: `6434` + // Minimum execution time: 94_401_000 picoseconds. + Weight::from_parts(95_239_000, 0) + .saturating_add(Weight::from_parts(0, 6434)) .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Web3Names::Owner` (r:1 w:1) /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) @@ -178,17 +181,17 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `407` - // Estimated: `3766` - // Minimum execution time: 64_526_000 picoseconds. - Weight::from_parts(65_698_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Measured: `385` + // Estimated: `3712` + // Minimum execution time: 63_045_000 picoseconds. + Weight::from_parts(63_975_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) } } @@ -203,7 +206,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -215,7 +218,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -227,7 +230,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -239,7 +242,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } #[test] @@ -263,7 +266,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6542 + > 6434 ); } #[test] @@ -275,7 +278,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3712 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_xcm.rs b/runtimes/peregrine/src/weights/pallet_xcm.rs index 5d7d2e1db..0f9e1f968 100644 --- a/runtimes/peregrine/src/weights/pallet_xcm.rs +++ b/runtimes/peregrine/src/weights/pallet_xcm.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=pallet-xcm // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_xcm.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -58,16 +56,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3742` - // Minimum execution time: 29_784_000 picoseconds. - Weight::from_parts(30_448_000, 0) - .saturating_add(Weight::from_parts(0, 3742)) + // Measured: `344` + // Estimated: `3809` + // Minimum execution time: 47_447_000 picoseconds. + Weight::from_parts(48_031_000, 0) + .saturating_add(Weight::from_parts(0, 3809)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,8 +79,12 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) @@ -94,23 +96,25 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `309` - // Estimated: `3774` - // Minimum execution time: 91_369_000 picoseconds. - Weight::from_parts(92_344_000, 0) - .saturating_add(Weight::from_parts(0, 3774)) - .saturating_add(T::DbWeight::get().reads(7)) + // Measured: `416` + // Estimated: `3881` + // Minimum execution time: 170_038_000 picoseconds. + Weight::from_parts(171_628_000, 0) + .saturating_add(Weight::from_parts(0, 3881)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) @@ -122,17 +126,17 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3811` - // Minimum execution time: 1_048_341_000 picoseconds. - Weight::from_parts(1_058_740_000, 0) - .saturating_add(Weight::from_parts(0, 3811)) - .saturating_add(T::DbWeight::get().reads(8)) + // Measured: `416` + // Estimated: `3881` + // Minimum execution time: 171_453_000 picoseconds. + Weight::from_parts(172_931_000, 0) + .saturating_add(Weight::from_parts(0, 3881)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Benchmark::Override` (r:0 w:0) @@ -151,8 +155,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_878_000 picoseconds. - Weight::from_parts(9_420_000, 0) + // Minimum execution time: 15_291_000 picoseconds. + Weight::from_parts(15_724_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -162,8 +166,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_571_000 picoseconds. - Weight::from_parts(2_662_000, 0) + // Minimum execution time: 5_312_000 picoseconds. + Weight::from_parts(5_482_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -180,18 +184,18 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::Queries` (r:0 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3742` - // Minimum execution time: 36_578_000 picoseconds. - Weight::from_parts(36_960_000, 0) - .saturating_add(Weight::from_parts(0, 3742)) + // Measured: `344` + // Estimated: `3809` + // Minimum execution time: 58_585_000 picoseconds. + Weight::from_parts(59_148_000, 0) + .saturating_add(Weight::from_parts(0, 3809)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -206,18 +210,18 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::Queries` (r:0 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `532` - // Estimated: `3997` - // Minimum execution time: 39_310_000 picoseconds. - Weight::from_parts(39_690_000, 0) - .saturating_add(Weight::from_parts(0, 3997)) + // Measured: `599` + // Estimated: `134571` + // Minimum execution time: 62_546_000 picoseconds. + Weight::from_parts(63_280_000, 0) + .saturating_add(Weight::from_parts(0, 134571)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -227,8 +231,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_652_000 picoseconds. - Weight::from_parts(2_778_000, 0) + // Minimum execution time: 5_517_000 picoseconds. + Weight::from_parts(5_629_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -236,11 +240,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `125` - // Estimated: `13490` - // Minimum execution time: 20_568_000 picoseconds. - Weight::from_parts(21_057_000, 0) - .saturating_add(Weight::from_parts(0, 13490)) + // Measured: `159` + // Estimated: `13524` + // Minimum execution time: 30_430_000 picoseconds. + Weight::from_parts(31_008_000, 0) + .saturating_add(Weight::from_parts(0, 13524)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -248,11 +252,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `129` - // Estimated: `13494` - // Minimum execution time: 20_906_000 picoseconds. - Weight::from_parts(21_366_000, 0) - .saturating_add(Weight::from_parts(0, 13494)) + // Measured: `163` + // Estimated: `13528` + // Minimum execution time: 30_566_000 picoseconds. + Weight::from_parts(31_393_000, 0) + .saturating_add(Weight::from_parts(0, 13528)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -260,11 +264,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `183` - // Estimated: `16023` - // Minimum execution time: 23_236_000 picoseconds. - Weight::from_parts(23_742_000, 0) - .saturating_add(Weight::from_parts(0, 16023)) + // Measured: `178` + // Estimated: `16018` + // Minimum execution time: 33_299_000 picoseconds. + Weight::from_parts(33_914_000, 0) + .saturating_add(Weight::from_parts(0, 16018)) .saturating_add(T::DbWeight::get().reads(6)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) @@ -278,16 +282,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `6289` - // Minimum execution time: 35_279_000 picoseconds. - Weight::from_parts(36_068_000, 0) - .saturating_add(Weight::from_parts(0, 6289)) + // Measured: `416` + // Estimated: `6356` + // Minimum execution time: 53_562_000 picoseconds. + Weight::from_parts(54_184_000, 0) + .saturating_add(Weight::from_parts(0, 6356)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -295,22 +299,22 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `11062` - // Minimum execution time: 12_676_000 picoseconds. - Weight::from_parts(13_133_000, 0) - .saturating_add(Weight::from_parts(0, 11062)) + // Measured: `173` + // Estimated: `11063` + // Minimum execution time: 19_403_000 picoseconds. + Weight::from_parts(19_786_000, 0) + .saturating_add(Weight::from_parts(0, 11063)) .saturating_add(T::DbWeight::get().reads(4)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `13501` - // Minimum execution time: 20_858_000 picoseconds. - Weight::from_parts(21_234_000, 0) - .saturating_add(Weight::from_parts(0, 13501)) + // Measured: `170` + // Estimated: `13535` + // Minimum execution time: 31_031_000 picoseconds. + Weight::from_parts(31_348_000, 0) + .saturating_add(Weight::from_parts(0, 13535)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -325,16 +329,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `13714` - // Minimum execution time: 44_759_000 picoseconds. - Weight::from_parts(45_465_000, 0) - .saturating_add(Weight::from_parts(0, 13714)) + // Measured: `416` + // Estimated: `13781` + // Minimum execution time: 66_435_000 picoseconds. + Weight::from_parts(67_614_000, 0) + .saturating_add(Weight::from_parts(0, 13781)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -344,11 +348,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: - // Measured: `69` - // Estimated: `1554` - // Minimum execution time: 5_050_000 picoseconds. - Weight::from_parts(5_350_000, 0) - .saturating_add(Weight::from_parts(0, 1554)) + // Measured: `103` + // Estimated: `1588` + // Minimum execution time: 9_835_000 picoseconds. + Weight::from_parts(10_256_000, 0) + .saturating_add(Weight::from_parts(0, 1588)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -356,24 +360,28 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: - // Measured: `7710` - // Estimated: `11175` - // Minimum execution time: 28_206_000 picoseconds. - Weight::from_parts(28_515_000, 0) - .saturating_add(Weight::from_parts(0, 11175)) + // Measured: `7744` + // Estimated: `11209` + // Minimum execution time: 42_719_000 picoseconds. + Weight::from_parts(43_170_000, 0) + .saturating_add(Weight::from_parts(0, 11209)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `126` - // Estimated: `3591` - // Minimum execution time: 42_518_000 picoseconds. - Weight::from_parts(43_653_000, 0) - .saturating_add(Weight::from_parts(0, 3591)) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `163` + // Estimated: `3628` + // Minimum execution time: 99_352_000 picoseconds. + Weight::from_parts(100_578_000, 0) + .saturating_add(Weight::from_parts(0, 3628)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } } @@ -389,7 +397,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3742 + > 3809 ); } #[test] @@ -401,7 +409,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3774 + > 3881 ); } #[test] @@ -413,7 +421,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3811 + > 3881 ); } #[test] @@ -425,7 +433,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3742 + > 3809 ); } #[test] @@ -437,7 +445,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3997 + > 134571 ); } #[test] @@ -449,7 +457,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13490 + > 13524 ); } #[test] @@ -461,7 +469,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13494 + > 13528 ); } #[test] @@ -473,7 +481,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 16023 + > 16018 ); } #[test] @@ -485,7 +493,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6289 + > 6356 ); } #[test] @@ -497,7 +505,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11062 + > 11063 ); } #[test] @@ -509,7 +517,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13501 + > 13535 ); } #[test] @@ -521,7 +529,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13714 + > 13781 ); } #[test] @@ -533,7 +541,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 1554 + > 1588 ); } #[test] @@ -545,7 +553,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11175 + > 11209 ); } #[test] @@ -557,7 +565,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3591 + > 3628 ); } } diff --git a/runtimes/peregrine/src/weights/parachain_staking.rs b/runtimes/peregrine/src/weights/parachain_staking.rs index 13c6863a4..69ffb674b 100644 --- a/runtimes/peregrine/src/weights/parachain_staking.rs +++ b/runtimes/peregrine/src/weights/parachain_staking.rs @@ -1,5 +1,3 @@ -// TODO: UPDATE BEFORE RELEASE - // KILT Blockchain – // Copyright (C) 2025, KILT Foundation @@ -20,27 +18,24 @@ //! Autogenerated weights for `parachain_staking` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-05, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=2 -// --repeat=1 -// --chain=dev // --pallet=parachain-staking // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/parachain_staking.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -52,62 +47,59 @@ use sp_std::marker::PhantomData; /// Weight functions for `parachain_staking`. pub struct WeightInfo(PhantomData); impl parachain_staking::WeightInfo for WeightInfo { - /// Storage: ParachainStaking Round (r:1 w:0) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn on_initialize_no_action() -> Weight { // Proof Size summary in bytes: // Measured: `335` - // Estimated: `515` - // Minimum execution time: 4_572_000 picoseconds. - Weight::from_parts(4_572_000, 0) - .saturating_add(Weight::from_parts(0, 515)) + // Estimated: `1505` + // Minimum execution time: 8_594_000 picoseconds. + Weight::from_parts(8_906_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: ParachainStaking Round (r:1 w:1) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn on_initialize_round_update() -> Weight { // Proof Size summary in bytes: // Measured: `335` - // Estimated: `515` - // Minimum execution time: 12_371_000 picoseconds. - Weight::from_parts(12_371_000, 0) - .saturating_add(Weight::from_parts(0, 515)) + // Estimated: `1505` + // Minimum execution time: 14_841_000 picoseconds. + Weight::from_parts(15_183_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: ParachainStaking Round (r:1 w:1) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - /// Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn on_initialize_network_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `881` - // Estimated: `4723` - // Minimum execution time: 52_932_000 picoseconds. - Weight::from_parts(52_932_000, 0) - .saturating_add(Weight::from_parts(0, 4723)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `375` + // Estimated: `1581` + // Minimum execution time: 28_302_000 picoseconds. + Weight::from_parts(28_687_000, 0) + .saturating_add(Weight::from_parts(0, 1581)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: ParachainStaking ForceNewRound (r:0 w:1) - /// Proof: ParachainStaking ForceNewRound (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::ForceNewRound` (r:0 w:1) + /// Proof: `ParachainStaking::ForceNewRound` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn force_new_round() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_626_000 picoseconds. - Weight::from_parts(8_626_000, 0) + // Minimum execution time: 5_537_000 picoseconds. + Weight::from_parts(5_724_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - -/// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:0) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:0) /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::CandidatePool` (r:76 w:0) /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) @@ -126,14 +118,14 @@ impl parachain_staking::WeightInfo for WeightInfo { fn set_inflation(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (7573 ±0) + n * (3709 ±0)` - // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±1_009)` - // Minimum execution time: 704_611_000 picoseconds. - Weight::from_parts(707_105_000, 0) + // Estimated: `183222 + m * (64823 ±2_174) + n * (31965 ±0)` + // Minimum execution time: 979_507_000 picoseconds. + Weight::from_parts(984_183_000, 0) .saturating_add(Weight::from_parts(0, 183222)) - // Standard Error: 4_876_636 - .saturating_add(Weight::from_parts(150_694_630, 0).saturating_mul(n.into())) - // Standard Error: 10_470_032 - .saturating_add(Weight::from_parts(290_425_882, 0).saturating_mul(m.into())) + // Standard Error: 6_365_646 + .saturating_add(Weight::from_parts(196_168_706, 0).saturating_mul(n.into())) + // Standard Error: 13_666_902 + .saturating_add(Weight::from_parts(379_730_575, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(152)) .saturating_add(T::DbWeight::get().reads((27_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((51_u64).saturating_mul(m.into()))) @@ -143,535 +135,550 @@ impl parachain_staking::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 64823).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 31965).saturating_mul(n.into())) } - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:1) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:0) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:59 w:0) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:59 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `n` is `[16, 75]`. /// The range of component `m` is `[0, 35]`. - fn set_max_selected_candidates(n: u32, m: u32, ) -> Weight { + fn set_max_selected_candidates(n: u32, _m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (1883 ±0) + m * (2832 ±0)` - // Estimated: `5168 + n * (3355 ±0)` - // Minimum execution time: 23_081_000 picoseconds. - Weight::from_parts(23_081_000, 0) - .saturating_add(Weight::from_parts(0, 5168)) - // Standard Error: 459_002 - .saturating_add(Weight::from_parts(2_023_254, 0).saturating_mul(n.into())) - // Standard Error: 991_008 - .saturating_add(Weight::from_parts(204_663, 0).saturating_mul(m.into())) + // Measured: `0 + m * (2832 ±0) + n * (1843 ±0)` + // Estimated: `5255 + n * (3554 ±9)` + // Minimum execution time: 41_123_000 picoseconds. + Weight::from_parts(41_703_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 29_644 + .saturating_add(Weight::from_parts(4_842_980, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 3355).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3554).saturating_mul(n.into())) } - /// Storage: ParachainStaking Round (r:1 w:1) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn set_blocks_per_round() -> Weight { // Proof Size summary in bytes: // Measured: `335` - // Estimated: `515` - // Minimum execution time: 18_585_000 picoseconds. - Weight::from_parts(18_585_000, 0) - .saturating_add(Weight::from_parts(0, 515)) + // Estimated: `1505` + // Minimum execution time: 20_598_000 picoseconds. + Weight::from_parts(21_092_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: ParachainStaking CandidatePool (r:17 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:1) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:36 w:36) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:36 w:36) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:36 w:36) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:35 w:35) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: Session Validators (r:1 w:0) - /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session DisabledValidators (r:1 w:1) - /// Proof Skipped: Session DisabledValidators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - /// Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:17 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:36 w:36) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:36 w:36) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:36 w:36) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:35 w:35) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:1) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `n` is `[17, 75]`. /// The range of component `m` is `[0, 35]`. fn force_remove_candidate(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (435 ±0) + m * (2388 ±0)` - // Estimated: `116721 + m * (16221 ±0) + n * (372 ±138)` - // Minimum execution time: 92_957_000 picoseconds. - Weight::from_parts(92_957_000, 0) - .saturating_add(Weight::from_parts(0, 116721)) - // Standard Error: 679_179 - .saturating_add(Weight::from_parts(603_826, 0).saturating_mul(n.into())) - // Standard Error: 1_467_794 - .saturating_add(Weight::from_parts(16_308_990, 0).saturating_mul(m.into())) + // Measured: `0 + m * (2303 ±0) + n * (397 ±0)` + // Estimated: `73495 + m * (2756 ±8) + n * (136 ±3)` + // Minimum execution time: 184_808_000 picoseconds. + Weight::from_parts(186_958_000, 0) + .saturating_add(Weight::from_parts(0, 73495)) + // Standard Error: 37_091 + .saturating_add(Weight::from_parts(1_246_063, 0).saturating_mul(n.into())) + // Standard Error: 82_282 + .saturating_add(Weight::from_parts(37_443_654, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(29)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes(10)) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(m.into()))) - .saturating_add(Weight::from_parts(0, 16221).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 372).saturating_mul(n.into())) - } - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - /// Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - /// Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + .saturating_add(Weight::from_parts(0, 2756).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 136).saturating_mul(n.into())) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. fn join_candidates(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `78 + n * (83 ±0) + m * (85 ±0)` - // Estimated: `22098` - // Minimum execution time: 50_697_000 picoseconds. - Weight::from_parts(4_904_178, 0) - .saturating_add(Weight::from_parts(0, 22098)) - // Standard Error: 95_903 - .saturating_add(Weight::from_parts(618_821, 0).saturating_mul(n.into())) - // Standard Error: 200_027 - .saturating_add(Weight::from_parts(1_353_228, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(10)) + // Measured: `2617 + m * (37 ±0) + n * (76 ±0)` + // Estimated: `5255 + m * (43 ±0)` + // Minimum execution time: 107_314_000 picoseconds. + Weight::from_parts(100_006_923, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 13_053 + .saturating_add(Weight::from_parts(499_029, 0).saturating_mul(n.into())) + // Standard Error: 27_105 + .saturating_add(Weight::from_parts(922_440, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(Weight::from_parts(0, 43).saturating_mul(m.into())) } - /// Storage: ParachainStaking CandidatePool (r:17 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking Round (r:1 w:0) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:17 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. - fn init_leave_candidates(n: u32, _m: u32, ) -> Weight { + fn init_leave_candidates(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2447 + n * (72 ±0) + m * (818 ±0)` - // Estimated: `78143` - // Minimum execution time: 91_929_000 picoseconds. - Weight::from_parts(86_361_105, 0) - .saturating_add(Weight::from_parts(0, 78143)) - // Standard Error: 123_416 - .saturating_add(Weight::from_parts(492_552, 0).saturating_mul(n.into())) + // Measured: `2007 + m * (816 ±0) + n * (71 ±0)` + // Estimated: `73495` + // Minimum execution time: 146_977_000 picoseconds. + Weight::from_parts(135_871_181, 0) + .saturating_add(Weight::from_parts(0, 73495)) + // Standard Error: 12_564 + .saturating_add(Weight::from_parts(539_205, 0).saturating_mul(n.into())) + // Standard Error: 20_375 + .saturating_add(Weight::from_parts(1_336_660, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: ParachainStaking CandidatePool (r:2 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:2 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. fn cancel_leave_candidates(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `846 + n * (53 ±0) + m * (96 ±0)` - // Estimated: `13653` - // Minimum execution time: 34_969_000 picoseconds. - Weight::from_parts(5_322_543, 0) - .saturating_add(Weight::from_parts(0, 13653)) - // Standard Error: 114_619 - .saturating_add(Weight::from_parts(403_438, 0).saturating_mul(n.into())) - // Standard Error: 186_665 - .saturating_add(Weight::from_parts(651_085, 0).saturating_mul(m.into())) + // Measured: `780 + m * (96 ±0) + n * (53 ±0)` + // Estimated: `9520` + // Minimum execution time: 58_176_000 picoseconds. + Weight::from_parts(57_514_527, 0) + .saturating_add(Weight::from_parts(0, 9520)) + // Standard Error: 8_187 + .saturating_add(Weight::from_parts(243_661, 0).saturating_mul(n.into())) + // Standard Error: 13_277 + .saturating_add(Weight::from_parts(500_782, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking Round (r:1 w:0) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:1) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:36 w:36) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:36 w:36) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:36 w:36) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:35 w:35) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: Session Validators (r:1 w:0) - /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session DisabledValidators (r:1 w:1) - /// Proof Skipped: Session DisabledValidators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - /// Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:36 w:36) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:36 w:36) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:36 w:36) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:35 w:35) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:1) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. fn execute_leave_candidates(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (368 ±0) + m * (1611 ±0)` - // Estimated: `25299 + m * (14112 ±0) + n * (312 ±117)` - // Minimum execution time: 48_603_000 picoseconds. - Weight::from_parts(48_603_000, 0) - .saturating_add(Weight::from_parts(0, 25299)) - // Standard Error: 599_572 - .saturating_add(Weight::from_parts(479_149, 0).saturating_mul(n.into())) - // Standard Error: 1_278_769 - .saturating_add(Weight::from_parts(15_930_155, 0).saturating_mul(m.into())) + // Measured: `0 + m * (1534 ±0) + n * (335 ±0)` + // Estimated: `5255 + m * (2756 ±0) + n * (118 ±3)` + // Minimum execution time: 91_849_000 picoseconds. + Weight::from_parts(92_623_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 30_449 + .saturating_add(Weight::from_parts(1_020_807, 0).saturating_mul(n.into())) + // Standard Error: 66_685 + .saturating_add(Weight::from_parts(37_776_851, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes(8)) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(m.into()))) - .saturating_add(Weight::from_parts(0, 14112).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 312).saturating_mul(n.into())) - } - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - /// Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + .saturating_add(Weight::from_parts(0, 2756).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 118).saturating_mul(n.into())) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. /// The range of component `u` is `[0, 9]`. fn candidate_stake_more(n: u32, m: u32, u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `510 + n * (83 ±0) + m * (128 ±0) + u * (27 ±0)` - // Estimated: `27204` - // Minimum execution time: 57_740_000 picoseconds. - Weight::from_parts(1_978_780, 0) - .saturating_add(Weight::from_parts(0, 27204)) - // Standard Error: 104_528 - .saturating_add(Weight::from_parts(655_552, 0).saturating_mul(n.into())) - // Standard Error: 218_015 - .saturating_add(Weight::from_parts(1_264_552, 0).saturating_mul(m.into())) - // Standard Error: 847_839 - .saturating_add(Weight::from_parts(1_205_148, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(12)) + // Measured: `3030 + m * (92 ±0) + n * (65 ±0) + u * (24 ±0)` + // Estimated: `5255` + // Minimum execution time: 123_381_000 picoseconds. + Weight::from_parts(101_853_202, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 11_633 + .saturating_add(Weight::from_parts(585_724, 0).saturating_mul(n.into())) + // Standard Error: 24_150 + .saturating_add(Weight::from_parts(1_154_761, 0).saturating_mul(m.into())) + // Standard Error: 89_456 + .saturating_add(Weight::from_parts(1_194_614, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. fn candidate_stake_less(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `49 + n * (72 ±0) + m * (103 ±0)` - // Estimated: `20312` - // Minimum execution time: 44_572_000 picoseconds. - Weight::from_parts(16_172_013, 0) - .saturating_add(Weight::from_parts(0, 20312)) - // Standard Error: 48_260 - .saturating_add(Weight::from_parts(513_986, 0).saturating_mul(n.into())) - // Standard Error: 100_656 - .saturating_add(Weight::from_parts(796_742, 0).saturating_mul(m.into())) + // Measured: `2099 + m * (70 ±0) + n * (60 ±0)` + // Estimated: `5255` + // Minimum execution time: 83_982_000 picoseconds. + Weight::from_parts(77_780_898, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 14_035 + .saturating_add(Weight::from_parts(484_273, 0).saturating_mul(n.into())) + // Standard Error: 29_145 + .saturating_add(Weight::from_parts(896_556, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:2 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking LastDelegation (r:1 w:1) - /// Proof: ParachainStaking LastDelegation (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Round (r:1 w:0) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:0 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:2 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::LastDelegation` (r:1 w:1) + /// Proof: `ParachainStaking::LastDelegation` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:0 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn join_delegators(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `929 + n * (97 ±0) + m * (135 ±0)` - // Estimated: `30914` - // Minimum execution time: 58_247_000 picoseconds. - Weight::from_parts(28_773_576, 0) - .saturating_add(Weight::from_parts(0, 30914)) - // Standard Error: 51_294 - .saturating_add(Weight::from_parts(603_817, 0).saturating_mul(n.into())) - // Standard Error: 115_023 - .saturating_add(Weight::from_parts(849_106, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(12)) + // Measured: `3558 + m * (93 ±0) + n * (84 ±0)` + // Estimated: `9520` + // Minimum execution time: 132_403_000 picoseconds. + Weight::from_parts(114_615_933, 0) + .saturating_add(Weight::from_parts(0, 9520)) + // Standard Error: 13_042 + .saturating_add(Weight::from_parts(691_504, 0).saturating_mul(n.into())) + // Standard Error: 28_986 + .saturating_add(Weight::from_parts(1_441_709, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(9)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. /// The range of component `u` is `[1, 9]`. - fn delegator_stake_more(n: u32, m: u32, _u: u32, ) -> Weight { + fn delegator_stake_more(n: u32, m: u32, u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1515 + n * (94 ±0) + m * (114 ±0) + u * (28 ±0)` - // Estimated: `29256` - // Minimum execution time: 62_490_000 picoseconds. - Weight::from_parts(33_402_121, 0) - .saturating_add(Weight::from_parts(0, 29256)) - // Standard Error: 44_620 - .saturating_add(Weight::from_parts(606_783, 0).saturating_mul(n.into())) - // Standard Error: 100_057 - .saturating_add(Weight::from_parts(1_189_969, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(12)) + // Measured: `4166 + m * (88 ±0) + n * (72 ±0) + u * (24 ±0)` + // Estimated: `5255` + // Minimum execution time: 134_362_000 picoseconds. + Weight::from_parts(117_302_319, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 10_742 + .saturating_add(Weight::from_parts(624_012, 0).saturating_mul(n.into())) + // Standard Error: 23_866 + .saturating_add(Weight::from_parts(1_175_292, 0).saturating_mul(m.into())) + // Standard Error: 92_566 + .saturating_add(Weight::from_parts(1_156_852, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(9)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn delegator_stake_less(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1244 + n * (80 ±0) + m * (91 ±0)` - // Estimated: `22875` - // Minimum execution time: 51_678_000 picoseconds. - Weight::from_parts(14_393_305, 0) - .saturating_add(Weight::from_parts(0, 22875)) - // Standard Error: 11_562 - .saturating_add(Weight::from_parts(516_270, 0).saturating_mul(n.into())) - // Standard Error: 25_928 - .saturating_add(Weight::from_parts(1_081_424, 0).saturating_mul(m.into())) + // Measured: `2952 + m * (71 ±0) + n * (67 ±0)` + // Estimated: `5255` + // Minimum execution time: 97_448_000 picoseconds. + Weight::from_parts(89_420_703, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 13_082 + .saturating_add(Weight::from_parts(544_671, 0).saturating_mul(n.into())) + // Standard Error: 29_074 + .saturating_add(Weight::from_parts(1_055_899, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(7)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn leave_delegators(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1244 + n * (80 ±0) + m * (91 ±0)` - // Estimated: `22875` - // Minimum execution time: 56_485_000 picoseconds. - Weight::from_parts(20_483_674, 0) - .saturating_add(Weight::from_parts(0, 22875)) - // Standard Error: 104_239 - .saturating_add(Weight::from_parts(498_628, 0).saturating_mul(n.into())) - // Standard Error: 233_748 - .saturating_add(Weight::from_parts(1_044_196, 0).saturating_mul(m.into())) + // Measured: `2952 + m * (71 ±0) + n * (67 ±0)` + // Estimated: `5255` + // Minimum execution time: 101_710_000 picoseconds. + Weight::from_parts(96_460_138, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 12_997 + .saturating_add(Weight::from_parts(566_499, 0).saturating_mul(n.into())) + // Standard Error: 28_886 + .saturating_add(Weight::from_parts(976_326, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(7)) } - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 9]`. - fn unlock_unstaked(_u: u32, ) -> Weight { + fn unlock_unstaked(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1449 + u * (28 ±0)` - // Estimated: `9137` - // Minimum execution time: 29_489_000 picoseconds. - Weight::from_parts(36_332_000, 0) - .saturating_add(Weight::from_parts(0, 9137)) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `709 + u * (24 ±0)` + // Estimated: `4764` + // Minimum execution time: 56_096_000 picoseconds. + Weight::from_parts(57_159_928, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 5_232 + .saturating_add(Weight::from_parts(98_630, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: ParachainStaking MaxCollatorCandidateStake (r:0 w:1) - /// Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:0 w:1) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_max_candidate_stake() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_555_000 picoseconds. - Weight::from_parts(8_555_000, 0) + // Minimum execution time: 11_035_000 picoseconds. + Weight::from_parts(11_367_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) fn increment_delegator_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `739` - // Estimated: `11258` - // Minimum execution time: 16_914_000 picoseconds. - Weight::from_parts(16_914_000, 0) - .saturating_add(Weight::from_parts(0, 11258)) + // Measured: `676` + // Estimated: `3553` + // Minimum execution time: 41_261_000 picoseconds. + Weight::from_parts(42_302_000, 0) + .saturating_add(Weight::from_parts(0, 3553)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: ParachainStaking CandidatePool (r:1 w:0) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) fn increment_collator_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `654` - // Estimated: `12960` - // Minimum execution time: 17_807_000 picoseconds. - Weight::from_parts(17_807_000, 0) - .saturating_add(Weight::from_parts(0, 12960)) + // Measured: `590` + // Estimated: `5255` + // Minimum execution time: 38_179_000 picoseconds. + Weight::from_parts(38_679_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `950` - // Estimated: `5138` - // Minimum execution time: 28_715_000 picoseconds. - Weight::from_parts(28_715_000, 0) - .saturating_add(Weight::from_parts(0, 5138)) + // Measured: `516` + // Estimated: `3597` + // Minimum execution time: 43_274_000 picoseconds. + Weight::from_parts(43_801_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -696,14 +703,14 @@ impl parachain_staking::WeightInfo for WeightInfo { fn execute_scheduled_reward_change(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (7573 ±0) + n * (3647 ±0)` - // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±1_009)` - // Minimum execution time: 683_160_000 picoseconds. - Weight::from_parts(687_351_000, 0) + // Estimated: `183222 + m * (64823 ±2_174) + n * (31965 ±1_012)` + // Minimum execution time: 973_270_000 picoseconds. + Weight::from_parts(978_516_000, 0) .saturating_add(Weight::from_parts(0, 183222)) - // Standard Error: 4_643_820 - .saturating_add(Weight::from_parts(141_740_256, 0).saturating_mul(n.into())) - // Standard Error: 9_970_180 - .saturating_add(Weight::from_parts(280_674_034, 0).saturating_mul(m.into())) + // Standard Error: 6_346_571 + .saturating_add(Weight::from_parts(193_458_703, 0).saturating_mul(n.into())) + // Standard Error: 13_625_949 + .saturating_add(Weight::from_parts(382_105_749, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(153)) .saturating_add(T::DbWeight::get().reads((27_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((51_u64).saturating_mul(m.into()))) @@ -726,7 +733,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -738,7 +745,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -750,7 +757,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4723 + > 1581 ); } #[test] @@ -774,7 +781,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 5168 + > 5255 ); } #[test] @@ -786,7 +793,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -798,7 +805,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 116721 + > 73495 ); } #[test] @@ -810,7 +817,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22098 + > 5255 ); } #[test] @@ -822,7 +829,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 78143 + > 73495 ); } #[test] @@ -834,7 +841,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13653 + > 9520 ); } #[test] @@ -846,7 +853,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 25299 + > 5255 ); } #[test] @@ -858,7 +865,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 27204 + > 5255 ); } #[test] @@ -870,7 +877,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 20312 + > 5255 ); } #[test] @@ -882,7 +889,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 30914 + > 9520 ); } #[test] @@ -894,7 +901,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 29256 + > 5255 ); } #[test] @@ -906,7 +913,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22875 + > 5255 ); } #[test] @@ -918,7 +925,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22875 + > 5255 ); } #[test] @@ -930,7 +937,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 9137 + > 4764 ); } #[test] @@ -942,7 +949,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11258 + > 3553 ); } #[test] @@ -954,7 +961,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 12960 + > 5255 ); } #[test] @@ -966,7 +973,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 5138 + > 3597 ); } #[test] diff --git a/runtimes/peregrine/src/weights/public_credentials.rs b/runtimes/peregrine/src/weights/public_credentials.rs index 382280255..6436e1d46 100644 --- a/runtimes/peregrine/src/weights/public_credentials.rs +++ b/runtimes/peregrine/src/weights/public_credentials.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `public_credentials` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=dev // --pallet=public-credentials // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/public_credentials.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +53,8 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `PublicCredentials::CredentialSubjects` (r:0 w:1) /// Proof: `PublicCredentials::CredentialSubjects` (`max_values`: None, `max_size`: Some(312), added: 2787, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) @@ -64,15 +62,15 @@ impl public_credentials::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 100000]`. fn add(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `363` + // Measured: `396` // Estimated: `3940` - // Minimum execution time: 65_939_000 picoseconds. - Weight::from_parts(62_465_999, 0) + // Minimum execution time: 79_454_000 picoseconds. + Weight::from_parts(73_758_537, 0) .saturating_add(Weight::from_parts(0, 3940)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_372, 0).saturating_mul(c.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(2_137, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `PublicCredentials::CredentialSubjects` (r:1 w:0) /// Proof: `PublicCredentials::CredentialSubjects` (`max_values`: None, `max_size`: Some(312), added: 2787, mode: `MaxEncodedLen`) @@ -80,10 +78,10 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) fn revoke() -> Weight { // Proof Size summary in bytes: - // Measured: `919` + // Measured: `952` // Estimated: `3940` - // Minimum execution time: 24_868_000 picoseconds. - Weight::from_parts(25_278_000, 0) + // Minimum execution time: 36_309_000 picoseconds. + Weight::from_parts(36_811_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -94,10 +92,10 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) fn unrevoke() -> Weight { // Proof Size summary in bytes: - // Measured: `919` + // Measured: `952` // Estimated: `3940` - // Minimum execution time: 24_328_000 picoseconds. - Weight::from_parts(24_757_000, 0) + // Minimum execution time: 35_974_000 picoseconds. + Weight::from_parts(36_388_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -108,16 +106,16 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: - // Measured: `1160` + // Measured: `1137` // Estimated: `3940` - // Minimum execution time: 62_908_000 picoseconds. - Weight::from_parts(63_578_000, 0) + // Minimum execution time: 73_931_000 picoseconds. + Weight::from_parts(74_801_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -128,16 +126,16 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `1160` + // Measured: `1137` // Estimated: `3940` - // Minimum execution time: 62_638_000 picoseconds. - Weight::from_parts(63_232_000, 0) + // Minimum execution time: 74_211_000 picoseconds. + Weight::from_parts(74_866_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -148,19 +146,19 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:2 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `1265` - // Estimated: `6326` - // Minimum execution time: 98_356_000 picoseconds. - Weight::from_parts(99_382_000, 0) - .saturating_add(Weight::from_parts(0, 6326)) + // Measured: `1242` + // Estimated: `6434` + // Minimum execution time: 116_661_000 picoseconds. + Weight::from_parts(117_437_000, 0) + .saturating_add(Weight::from_parts(0, 6434)) .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `PublicCredentials::CredentialSubjects` (r:1 w:0) /// Proof: `PublicCredentials::CredentialSubjects` (`max_values`: None, `max_size`: Some(312), added: 2787, mode: `MaxEncodedLen`) @@ -170,17 +168,17 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `1084` + // Measured: `1061` // Estimated: `3940` - // Minimum execution time: 85_146_000 picoseconds. - Weight::from_parts(86_307_000, 0) + // Minimum execution time: 87_453_000 picoseconds. + Weight::from_parts(88_304_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) } } @@ -255,7 +253,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6326 + > 6434 ); } #[test] diff --git a/runtimes/spiritnet/src/lib.rs b/runtimes/spiritnet/src/lib.rs index 247a5e4ea..47641d083 100644 --- a/runtimes/spiritnet/src/lib.rs +++ b/runtimes/spiritnet/src/lib.rs @@ -78,7 +78,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kilt-spiritnet"), impl_name: create_runtime_str!("kilt-spiritnet"), authoring_version: 1, - spec_version: 11602, + spec_version: 11603, impl_version: 0, apis: RUNTIME_API_VERSION, transaction_version: 12, diff --git a/runtimes/spiritnet/src/migrations/mod.rs b/runtimes/spiritnet/src/migrations/mod.rs index 5856e3319..f9b6e6dcf 100644 --- a/runtimes/spiritnet/src/migrations/mod.rs +++ b/runtimes/spiritnet/src/migrations/mod.rs @@ -16,26 +16,11 @@ // If you feel like getting in touch with us, you can do so at -use frame_support::parameter_types; use runtime_common::constants; -use crate::{weights, Balances, ParachainSystem, Runtime, RuntimeEvent}; +use crate::{weights, Balances, Runtime, RuntimeEvent}; -parameter_types! { - pub const Inflation: &'static str = "Inflation"; - pub const DmpPalletName: &'static str = "DmpQueue"; -} - -impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { - type ChannelList = ParachainSystem; -} - -pub type RuntimeMigrations = ( - pallet_xcm::migration::MigrateToLatestXcmVersion, - frame_support::migrations::RemovePallet::DbWeight>, - cumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5, - frame_support::migrations::RemovePallet::DbWeight>, -); +pub type RuntimeMigrations = (); // pallet_xcm::migration::MigrateToLatestXcmVersion, impl pallet_migration::Config for Runtime { type RuntimeEvent = RuntimeEvent; diff --git a/runtimes/spiritnet/src/system/mod.rs b/runtimes/spiritnet/src/system/mod.rs index 011c867b2..72db53e62 100644 --- a/runtimes/spiritnet/src/system/mod.rs +++ b/runtimes/spiritnet/src/system/mod.rs @@ -17,8 +17,8 @@ // If you feel like getting in touch with us, you can do so at use frame_support::{ - parameter_types, - traits::{AsEnsureOriginWithArg, Everything, PrivilegeCmp}, + match_types, parameter_types, + traits::{AsEnsureOriginWithArg, EverythingBut, PrivilegeCmp}, weights::Weight, }; use frame_system::EnsureRoot; @@ -55,6 +55,15 @@ parameter_types! { pub const Version: RuntimeVersion = VERSION; } +match_types! { + pub type IncreaseStakingCalls: impl Contains = { + RuntimeCall::ParachainStaking(parachain_staking::Call::::join_candidates { .. }) | + RuntimeCall::ParachainStaking(parachain_staking::Call::::join_delegators { .. }) | + RuntimeCall::ParachainStaking(parachain_staking::Call::::delegator_stake_more { .. }) | + RuntimeCall::ParachainStaking(parachain_staking::Call::::candidate_stake_more { .. }) + }; +} + impl frame_system::Config for Runtime { /// The identifier used to distinguish between accounts. type AccountId = AccountId; @@ -87,7 +96,7 @@ impl frame_system::Config for Runtime { type OnNewAccount = (); type OnKilledAccount = (); type DbWeight = weights::rocksdb_weights::constants::RocksDbWeight; - type BaseCallFilter = Everything; + type BaseCallFilter = EverythingBut; type SystemWeightInfo = crate::weights::frame_system::WeightInfo; type BlockWeights = BlockWeights; type BlockLength = BlockLength; diff --git a/runtimes/spiritnet/src/weights/attestation.rs b/runtimes/spiritnet/src/weights/attestation.rs index 36ff98083..7271202c2 100644 --- a/runtimes/spiritnet/src/weights/attestation.rs +++ b/runtimes/spiritnet/src/weights/attestation.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `attestation` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=attestation // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/attestation.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,19 +53,19 @@ impl attestation::WeightInfo for WeightInfo { /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add() -> Weight { // Proof Size summary in bytes: // Measured: `260` - // Estimated: `3660` - // Minimum execution time: 51_135_000 picoseconds. - Weight::from_parts(51_755_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Estimated: `3712` + // Minimum execution time: 62_873_000 picoseconds. + Weight::from_parts(63_665_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Attestation::Attestations` (r:1 w:1) /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) @@ -75,8 +73,8 @@ impl attestation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `196` // Estimated: `3660` - // Minimum execution time: 14_512_000 picoseconds. - Weight::from_parts(14_684_000, 0) + // Minimum execution time: 23_330_000 picoseconds. + Weight::from_parts(23_740_000, 0) .saturating_add(Weight::from_parts(0, 3660)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -85,17 +83,17 @@ impl attestation::WeightInfo for WeightInfo { /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 47_728_000 picoseconds. - Weight::from_parts(48_196_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `381` + // Estimated: `3712` + // Minimum execution time: 57_274_000 picoseconds. + Weight::from_parts(57_951_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -103,17 +101,17 @@ impl attestation::WeightInfo for WeightInfo { /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 47_883_000 picoseconds. - Weight::from_parts(48_325_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `381` + // Estimated: `3712` + // Minimum execution time: 57_299_000 picoseconds. + Weight::from_parts(57_995_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -121,35 +119,35 @@ impl attestation::WeightInfo for WeightInfo { /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:2 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `581` - // Estimated: `6326` - // Minimum execution time: 77_079_000 picoseconds. - Weight::from_parts(77_637_000, 0) - .saturating_add(Weight::from_parts(0, 6326)) + // Measured: `525` + // Estimated: `6434` + // Minimum execution time: 89_898_000 picoseconds. + Weight::from_parts(91_083_000, 0) + .saturating_add(Weight::from_parts(0, 6434)) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Attestation::Attestations` (r:1 w:1) /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 70_610_000 picoseconds. - Weight::from_parts(71_270_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `381` + // Estimated: `3712` + // Minimum execution time: 75_855_000 picoseconds. + Weight::from_parts(76_648_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -166,7 +164,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3712 ); } #[test] @@ -190,7 +188,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3712 ); } #[test] @@ -202,7 +200,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3712 ); } #[test] @@ -214,7 +212,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6326 + > 6434 ); } #[test] @@ -226,7 +224,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3712 ); } } diff --git a/runtimes/spiritnet/src/weights/ctype.rs b/runtimes/spiritnet/src/weights/ctype.rs index 279550b39..cbdf4889c 100644 --- a/runtimes/spiritnet/src/weights/ctype.rs +++ b/runtimes/spiritnet/src/weights/ctype.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `ctype` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=ctype // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/ctype.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -49,22 +47,22 @@ use sp_std::marker::PhantomData; /// Weight functions for `ctype`. pub struct WeightInfo(PhantomData); impl ctype::WeightInfo for WeightInfo { - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Ctype::Ctypes` (r:1 w:1) /// Proof: `Ctype::Ctypes` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) /// The range of component `l` is `[1, 5242880]`. fn add(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `254` - // Estimated: `6204` - // Minimum execution time: 44_236_000 picoseconds. - Weight::from_parts(1_715_088, 0) - .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_628, 0).saturating_mul(l.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `147` + // Estimated: `3597` + // Minimum execution time: 49_360_000 picoseconds. + Weight::from_parts(49_667_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) + // Standard Error: 183 + .saturating_add(Weight::from_parts(16_338, 0).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Ctype::Ctypes` (r:1 w:1) /// Proof: `Ctype::Ctypes` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) @@ -72,8 +70,8 @@ impl ctype::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `158` // Estimated: `3553` - // Minimum execution time: 17_668_000 picoseconds. - Weight::from_parts(18_341_000, 0) + // Minimum execution time: 25_998_000 picoseconds. + Weight::from_parts(27_032_000, 0) .saturating_add(Weight::from_parts(0, 3553)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -91,7 +89,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6204 + > 3597 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/cumulus_pallet_parachain_system.rs b/runtimes/spiritnet/src/weights/cumulus_pallet_parachain_system.rs index f27329be3..9edd803c0 100644 --- a/runtimes/spiritnet/src/weights/cumulus_pallet_parachain_system.rs +++ b/runtimes/spiritnet/src/weights/cumulus_pallet_parachain_system.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `cumulus_pallet_parachain_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev -// --pallet=cumulus_pallet_parachain_system +// --pallet=cumulus-pallet-parachain-system // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/cumulus_pallet_parachain_system.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -62,13 +60,13 @@ impl cumulus_pallet_parachain_system::WeightInfo for We /// The range of component `n` is `[0, 1000]`. fn enqueue_inbound_downward_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `148` // Estimated: `3517` - // Minimum execution time: 1_824_000 picoseconds. - Weight::from_parts(3_137_458_802, 0) + // Minimum execution time: 3_836_000 picoseconds. + Weight::from_parts(3_969_000, 0) .saturating_add(Weight::from_parts(0, 3517)) - // Standard Error: 1_119_461 - .saturating_add(Weight::from_parts(188_354_017, 0).saturating_mul(n.into())) + // Standard Error: 9_692 + .saturating_add(Weight::from_parts(144_938_381, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) diff --git a/runtimes/spiritnet/src/weights/delegation.rs b/runtimes/spiritnet/src/weights/delegation.rs index 5d5d87761..e4e109f25 100644 --- a/runtimes/spiritnet/src/weights/delegation.rs +++ b/runtimes/spiritnet/src/weights/delegation.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `delegation` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=delegation // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/delegation.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +53,8 @@ impl delegation::WeightInfo for WeightInfo { /// Proof: `Ctype::Ctypes` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationNodes` (r:0 w:1) /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) @@ -64,30 +62,30 @@ impl delegation::WeightInfo for WeightInfo { fn create_hierarchy() -> Weight { // Proof Size summary in bytes: // Measured: `330` - // Estimated: `3658` - // Minimum execution time: 56_654_000 picoseconds. - Weight::from_parts(57_074_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3712` + // Minimum execution time: 66_304_000 picoseconds. + Weight::from_parts(67_242_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Delegation::DelegationNodes` (r:2 w:2) /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add_delegation() -> Weight { // Proof Size summary in bytes: - // Measured: `469` + // Measured: `413` // Estimated: `70340` - // Minimum execution time: 61_676_000 picoseconds. - Weight::from_parts(62_625_000, 0) + // Minimum execution time: 68_443_000 picoseconds. + Weight::from_parts(69_441_000, 0) .saturating_add(Weight::from_parts(0, 70340)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Delegation::DelegationNodes` (r:5 w:5) /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) @@ -99,13 +97,13 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `208 + r * (239 ±0)` // Estimated: `3545 + r * (34675 ±0)` - // Minimum execution time: 24_738_000 picoseconds. - Weight::from_parts(16_570_193, 0) + // Minimum execution time: 38_348_000 picoseconds. + Weight::from_parts(25_974_070, 0) .saturating_add(Weight::from_parts(0, 3545)) - // Standard Error: 18_176 - .saturating_add(Weight::from_parts(9_591_484, 0).saturating_mul(r.into())) - // Standard Error: 18_176 - .saturating_add(Weight::from_parts(54_078, 0).saturating_mul(c.into())) + // Standard Error: 23_865 + .saturating_add(Weight::from_parts(13_943_365, 0).saturating_mul(r.into())) + // Standard Error: 23_865 + .saturating_add(Weight::from_parts(53_712, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -121,11 +119,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `381 + c * (239 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 28_480_000 picoseconds. - Weight::from_parts(26_142_601, 0) + // Minimum execution time: 43_161_000 picoseconds. + Weight::from_parts(39_090_802, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 18_975 - .saturating_add(Weight::from_parts(4_367_029, 0).saturating_mul(c.into())) + // Standard Error: 13_043 + .saturating_add(Weight::from_parts(5_749_994, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -135,22 +133,22 @@ impl delegation::WeightInfo for WeightInfo { /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:6 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationHierarchies` (r:1 w:1) /// Proof: `Delegation::DelegationHierarchies` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 5]`. fn remove_delegation(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `618 + r * (294 ±0)` + // Measured: `562 + r * (294 ±0)` // Estimated: `35665 + r * (34675 ±0)` - // Minimum execution time: 99_379_000 picoseconds. - Weight::from_parts(67_667_457, 0) + // Minimum execution time: 113_011_000 picoseconds. + Weight::from_parts(78_229_625, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 101_036 - .saturating_add(Weight::from_parts(35_735_298, 0).saturating_mul(r.into())) + // Standard Error: 76_176 + .saturating_add(Weight::from_parts(37_924_725, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -161,22 +159,22 @@ impl delegation::WeightInfo for WeightInfo { /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:6 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationHierarchies` (r:0 w:1) /// Proof: `Delegation::DelegationHierarchies` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 5]`. fn reclaim_deposit(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `550 + r * (294 ±0)` + // Measured: `494 + r * (294 ±0)` // Estimated: `35665 + r * (34675 ±0)` - // Minimum execution time: 92_101_000 picoseconds. - Weight::from_parts(58_494_298, 0) + // Minimum execution time: 105_092_000 picoseconds. + Weight::from_parts(69_724_562, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 56_546 - .saturating_add(Weight::from_parts(36_463_171, 0).saturating_mul(r.into())) + // Standard Error: 56_448 + .saturating_add(Weight::from_parts(38_305_675, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -191,8 +189,8 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `580` // Estimated: `35665` - // Minimum execution time: 11_732_000 picoseconds. - Weight::from_parts(12_043_000, 0) + // Minimum execution time: 19_406_000 picoseconds. + Weight::from_parts(19_612_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -203,11 +201,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308 + c * (240 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 10_893_000 picoseconds. - Weight::from_parts(7_787_310, 0) + // Minimum execution time: 17_558_000 picoseconds. + Weight::from_parts(13_311_192, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 15_306 - .saturating_add(Weight::from_parts(3_597_394, 0).saturating_mul(c.into())) + // Standard Error: 21_464 + .saturating_add(Weight::from_parts(5_085_353, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 34675).saturating_mul(c.into())) @@ -219,11 +217,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308 + c * (240 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 10_869_000 picoseconds. - Weight::from_parts(7_855_382, 0) + // Minimum execution time: 17_383_000 picoseconds. + Weight::from_parts(13_293_641, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 16_019 - .saturating_add(Weight::from_parts(3_577_958, 0).saturating_mul(c.into())) + // Standard Error: 22_281 + .saturating_add(Weight::from_parts(5_104_750, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 34675).saturating_mul(c.into())) @@ -232,34 +230,34 @@ impl delegation::WeightInfo for WeightInfo { /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:2 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `796` + // Measured: `740` // Estimated: `35665` - // Minimum execution time: 84_824_000 picoseconds. - Weight::from_parts(85_612_000, 0) + // Minimum execution time: 96_507_000 picoseconds. + Weight::from_parts(97_739_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Delegation::DelegationNodes` (r:1 w:1) /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `652` + // Measured: `596` // Estimated: `35665` - // Minimum execution time: 78_639_000 picoseconds. - Weight::from_parts(79_283_000, 0) + // Minimum execution time: 82_888_000 picoseconds. + Weight::from_parts(83_480_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -277,7 +275,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3712 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/did.rs b/runtimes/spiritnet/src/weights/did.rs index 155ab8523..917976329 100644 --- a/runtimes/spiritnet/src/weights/did.rs +++ b/runtimes/spiritnet/src/weights/did.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `did` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=did // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/did.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -53,10 +51,10 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -67,27 +65,27 @@ impl did::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 25]`. fn create_ed25519_keys(n: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `361` - // Estimated: `6204` - // Minimum execution time: 179_645_000 picoseconds. - Weight::from_parts(140_140_433, 0) - .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 66_286 - .saturating_add(Weight::from_parts(1_325_294, 0).saturating_mul(n.into())) - // Standard Error: 25_628 - .saturating_add(Weight::from_parts(27_990_119, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `287` + // Estimated: `5777` + // Minimum execution time: 175_936_000 picoseconds. + Weight::from_parts(135_499_209, 0) + .saturating_add(Weight::from_parts(0, 5777)) + // Standard Error: 53_000 + .saturating_add(Weight::from_parts(1_458_094, 0).saturating_mul(n.into())) + // Standard Error: 20_491 + .saturating_add(Weight::from_parts(27_998_467, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) } /// Storage: `Did::DidBlacklist` (r:1 w:0) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -98,27 +96,27 @@ impl did::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 25]`. fn create_sr25519_keys(n: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `361` - // Estimated: `6204` - // Minimum execution time: 174_477_000 picoseconds. - Weight::from_parts(122_131_516, 0) - .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 53_422 - .saturating_add(Weight::from_parts(1_616_614, 0).saturating_mul(n.into())) - // Standard Error: 20_654 - .saturating_add(Weight::from_parts(36_170_906, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `287` + // Estimated: `5777` + // Minimum execution time: 185_262_000 picoseconds. + Weight::from_parts(138_262_284, 0) + .saturating_add(Weight::from_parts(0, 5777)) + // Standard Error: 76_110 + .saturating_add(Weight::from_parts(1_396_039, 0).saturating_mul(n.into())) + // Standard Error: 29_426 + .saturating_add(Weight::from_parts(35_167_934, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) } /// Storage: `Did::DidBlacklist` (r:1 w:0) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -127,17 +125,19 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. /// The range of component `c` is `[1, 25]`. - fn create_ecdsa_keys(_n: u32, c: u32, ) -> Weight { + fn create_ecdsa_keys(n: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `361` - // Estimated: `6204` - // Minimum execution time: 160_082_000 picoseconds. - Weight::from_parts(149_830_386, 0) - .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 33_424 - .saturating_add(Weight::from_parts(22_228_318, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `287` + // Estimated: `5777` + // Minimum execution time: 171_167_000 picoseconds. + Weight::from_parts(131_646_508, 0) + .saturating_add(Weight::from_parts(0, 5777)) + // Standard Error: 40_120 + .saturating_add(Weight::from_parts(1_834_474, 0).saturating_mul(n.into())) + // Standard Error: 15_511 + .saturating_add(Weight::from_parts(22_794_095, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) } /// Storage: `Did::DidEndpointsCount` (r:1 w:1) @@ -146,25 +146,29 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) + /// Storage: `Web3Names::Names` (r:1 w:0) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DidLookup::ConnectedAccounts` (r:1 w:0) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// Storage: `Did::DidBlacklist` (r:0 w:1) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 25]`. fn delete(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `724 + c * (105 ±0)` + // Measured: `919 + c * (105 ±0)` // Estimated: `5777 + c * (6690 ±0)` - // Minimum execution time: 59_047_000 picoseconds. - Weight::from_parts(59_454_165, 0) + // Minimum execution time: 86_776_000 picoseconds. + Weight::from_parts(88_333_919, 0) .saturating_add(Weight::from_parts(0, 5777)) - // Standard Error: 3_867 - .saturating_add(Weight::from_parts(1_196_375, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Standard Error: 6_913 + .saturating_add(Weight::from_parts(1_638_544, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -176,25 +180,29 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:25 w:25) /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) + /// Storage: `Web3Names::Names` (r:1 w:0) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DidLookup::ConnectedAccounts` (r:1 w:0) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// Storage: `Did::DidBlacklist` (r:0 w:1) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 25]`. fn reclaim_deposit(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `724 + c * (105 ±0)` + // Measured: `919 + c * (105 ±0)` // Estimated: `5777 + c * (6690 ±0)` - // Minimum execution time: 61_094_000 picoseconds. - Weight::from_parts(61_617_698, 0) + // Minimum execution time: 90_388_000 picoseconds. + Weight::from_parts(92_236_860, 0) .saturating_add(Weight::from_parts(0, 5777)) - // Standard Error: 17_827 - .saturating_add(Weight::from_parts(1_213_047, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Standard Error: 7_553 + .saturating_add(Weight::from_parts(1_650_178, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -204,10 +212,10 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) fn submit_did_call_ed25519_key() -> Weight { // Proof Size summary in bytes: - // Measured: `352` + // Measured: `385` // Estimated: `5777` - // Minimum execution time: 69_858_000 picoseconds. - Weight::from_parts(71_302_000, 0) + // Minimum execution time: 74_302_000 picoseconds. + Weight::from_parts(74_924_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -216,10 +224,10 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) fn submit_did_call_sr25519_key() -> Weight { // Proof Size summary in bytes: - // Measured: `352` + // Measured: `385` // Estimated: `5777` - // Minimum execution time: 56_726_000 picoseconds. - Weight::from_parts(57_659_000, 0) + // Minimum execution time: 72_671_000 picoseconds. + Weight::from_parts(73_441_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -228,10 +236,10 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) fn submit_did_call_ecdsa_key() -> Weight { // Proof Size summary in bytes: - // Measured: `353` + // Measured: `386` // Estimated: `5777` - // Minimum execution time: 59_676_000 picoseconds. - Weight::from_parts(60_698_000, 0) + // Minimum execution time: 71_828_000 picoseconds. + Weight::from_parts(73_173_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -240,421 +248,337 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn set_ed25519_authentication_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 73_313_000 picoseconds. - Weight::from_parts(74_181_000, 0) + // Minimum execution time: 46_586_000 picoseconds. + Weight::from_parts(47_145_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn set_sr25519_authentication_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 73_640_000 picoseconds. - Weight::from_parts(75_533_000, 0) + // Minimum execution time: 46_930_000 picoseconds. + Weight::from_parts(47_311_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn set_ecdsa_authentication_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 73_143_000 picoseconds. - Weight::from_parts(74_398_000, 0) + // Minimum execution time: 46_800_000 picoseconds. + Weight::from_parts(47_296_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn set_ed25519_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1772` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 73_982_000 picoseconds. - Weight::from_parts(74_831_000, 0) + // Minimum execution time: 46_083_000 picoseconds. + Weight::from_parts(46_702_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn set_sr25519_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 72_948_000 picoseconds. - Weight::from_parts(74_124_000, 0) + // Minimum execution time: 46_246_000 picoseconds. + Weight::from_parts(46_805_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn set_ecdsa_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 72_776_000 picoseconds. - Weight::from_parts(73_973_000, 0) + // Minimum execution time: 46_220_000 picoseconds. + Weight::from_parts(46_838_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_ed25519_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 71_002_000 picoseconds. - Weight::from_parts(72_014_000, 0) + // Minimum execution time: 43_714_000 picoseconds. + Weight::from_parts(44_537_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_sr25519_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 71_170_000 picoseconds. - Weight::from_parts(72_281_000, 0) + // Minimum execution time: 44_125_000 picoseconds. + Weight::from_parts(44_734_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_ecdsa_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 70_930_000 picoseconds. - Weight::from_parts(71_820_000, 0) + // Minimum execution time: 44_248_000 picoseconds. + Weight::from_parts(44_722_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn set_ed25519_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 73_075_000 picoseconds. - Weight::from_parts(74_451_000, 0) + // Minimum execution time: 46_322_000 picoseconds. + Weight::from_parts(47_081_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn set_sr25519_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 72_776_000 picoseconds. - Weight::from_parts(73_833_000, 0) + // Minimum execution time: 46_307_000 picoseconds. + Weight::from_parts(47_032_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn set_ecdsa_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 72_958_000 picoseconds. - Weight::from_parts(74_260_000, 0) + // Minimum execution time: 46_166_000 picoseconds. + Weight::from_parts(47_001_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_ed25519_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 70_897_000 picoseconds. - Weight::from_parts(72_155_000, 0) + // Minimum execution time: 43_973_000 picoseconds. + Weight::from_parts(44_813_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_sr25519_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 72_222_000 picoseconds. - Weight::from_parts(73_100_000, 0) + // Minimum execution time: 44_194_000 picoseconds. + Weight::from_parts(44_726_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_ecdsa_attestation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 71_533_000 picoseconds. - Weight::from_parts(72_491_000, 0) + // Minimum execution time: 44_211_000 picoseconds. + Weight::from_parts(44_548_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn add_ed25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1629` + // Measured: `1555` // Estimated: `5777` - // Minimum execution time: 73_781_000 picoseconds. - Weight::from_parts(74_430_000, 0) + // Minimum execution time: 45_508_000 picoseconds. + Weight::from_parts(46_484_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn add_sr25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1629` + // Measured: `1555` // Estimated: `5777` - // Minimum execution time: 72_993_000 picoseconds. - Weight::from_parts(74_268_000, 0) + // Minimum execution time: 45_917_000 picoseconds. + Weight::from_parts(46_502_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn add_ecdsa_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1632` + // Measured: `1558` // Estimated: `5777` - // Minimum execution time: 74_264_000 picoseconds. - Weight::from_parts(75_192_000, 0) + // Minimum execution time: 45_893_000 picoseconds. + Weight::from_parts(46_316_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_ed25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 71_437_000 picoseconds. - Weight::from_parts(72_238_000, 0) + // Minimum execution time: 44_510_000 picoseconds. + Weight::from_parts(45_154_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_sr25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1661` // Estimated: `5777` - // Minimum execution time: 71_933_000 picoseconds. - Weight::from_parts(72_751_000, 0) + // Minimum execution time: 44_953_000 picoseconds. + Weight::from_parts(45_686_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:0) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_ecdsa_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1738` + // Measured: `1664` // Estimated: `5777` - // Minimum execution time: 71_479_000 picoseconds. - Weight::from_parts(72_521_000, 0) + // Minimum execution time: 44_551_000 picoseconds. + Weight::from_parts(45_348_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) @@ -662,21 +586,17 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:1 w:1) /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn add_service_endpoint() -> Weight { // Proof Size summary in bytes: - // Measured: `1135` + // Measured: `1061` // Estimated: `7680` - // Minimum execution time: 88_127_000 picoseconds. - Weight::from_parts(89_305_000, 0) + // Minimum execution time: 63_053_000 picoseconds. + Weight::from_parts(63_943_000, 0) .saturating_add(Weight::from_parts(0, 7680)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) @@ -684,34 +604,30 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:1 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Migration::MigratedKeys` (r:1 w:1) + /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_service_endpoint() -> Weight { // Proof Size summary in bytes: - // Measured: `5318` + // Measured: `5244` // Estimated: `7680` - // Minimum execution time: 82_371_000 picoseconds. - Weight::from_parts(83_453_000, 0) + // Minimum execution time: 57_057_000 picoseconds. + Weight::from_parts(57_636_000, 0) .saturating_add(Weight::from_parts(0, 7680)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Did::Did` (r:1 w:0) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// The range of component `l` is `[1, 5242880]`. fn signature_verification_sr25519(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1626` + // Measured: `1659` // Estimated: `5777` - // Minimum execution time: 46_835_000 picoseconds. - Weight::from_parts(26_104_235, 0) + // Minimum execution time: 57_438_000 picoseconds. + Weight::from_parts(20_236_839, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(4_280, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(3_854, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Did::Did` (r:1 w:0) @@ -719,13 +635,13 @@ impl did::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 5242880]`. fn signature_verification_ed25519(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1626` + // Measured: `1659` // Estimated: `5777` - // Minimum execution time: 59_948_000 picoseconds. - Weight::from_parts(36_083_978, 0) + // Minimum execution time: 59_410_000 picoseconds. + Weight::from_parts(16_300_207, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(2_362, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(2_103, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Did::Did` (r:1 w:0) @@ -733,13 +649,13 @@ impl did::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 5242880]`. fn signature_verification_ecdsa(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1627` + // Measured: `1660` // Estimated: `5777` - // Minimum execution time: 49_515_000 picoseconds. - Weight::from_parts(22_529_728, 0) + // Minimum execution time: 56_666_000 picoseconds. + Weight::from_parts(14_867_191, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_165, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(832, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Migration::MigratedKeys` (r:1 w:1) @@ -748,17 +664,17 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `519` + // Measured: `496` // Estimated: `5777` - // Minimum execution time: 65_775_000 picoseconds. - Weight::from_parts(66_720_000, 0) + // Minimum execution time: 69_813_000 picoseconds. + Weight::from_parts(71_002_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) @@ -766,26 +682,24 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `463` + // Measured: `389` // Estimated: `5777` - // Minimum execution time: 32_895_000 picoseconds. - Weight::from_parts(33_748_000, 0) + // Minimum execution time: 29_994_000 picoseconds. + Weight::from_parts(30_510_000, 0) .saturating_add(Weight::from_parts(0, 5777)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Did::Did` (r:1 w:0) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) fn dispatch_as() -> Weight { // Proof Size summary in bytes: - // Measured: `353` + // Measured: `386` // Estimated: `5777` - // Minimum execution time: 17_099_000 picoseconds. - Weight::from_parts(17_324_000, 0) + // Minimum execution time: 27_209_000 picoseconds. + Weight::from_parts(27_663_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -793,21 +707,21 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn create_from_account() -> Weight { // Proof Size summary in bytes: - // Measured: `323` - // Estimated: `6204` - // Minimum execution time: 77_079_000 picoseconds. - Weight::from_parts(77_988_000, 0) - .saturating_add(Weight::from_parts(0, 6204)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `249` + // Estimated: `5777` + // Minimum execution time: 78_946_000 picoseconds. + Weight::from_parts(80_112_000, 0) + .saturating_add(Weight::from_parts(0, 5777)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } } @@ -822,7 +736,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6204 + > 5777 ); } #[test] @@ -834,7 +748,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6204 + > 5777 ); } #[test] @@ -846,7 +760,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6204 + > 5777 ); } #[test] @@ -1266,7 +1180,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6204 + > 5777 ); } } diff --git a/runtimes/spiritnet/src/weights/frame_system.rs b/runtimes/spiritnet/src/weights/frame_system.rs index 05ba542d7..17e90248d 100644 --- a/runtimes/spiritnet/src/weights/frame_system.rs +++ b/runtimes/spiritnet/src/weights/frame_system.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `frame_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=frame-system // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/frame_system.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,22 +52,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_170_000 picoseconds. - Weight::from_parts(2_200_000, 0) + // Minimum execution time: 4_743_000 picoseconds. + Weight::from_parts(4_785_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(391, 0).saturating_mul(b.into())) + // Standard Error: 131 + .saturating_add(Weight::from_parts(11_522, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_826_000 picoseconds. - Weight::from_parts(5_937_000, 0) + // Minimum execution time: 11_194_000 picoseconds. + Weight::from_parts(11_382_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_548, 0).saturating_mul(b.into())) + // Standard Error: 131 + .saturating_add(Weight::from_parts(12_331, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -79,8 +77,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_795_000 picoseconds. - Weight::from_parts(3_957_000, 0) + // Minimum execution time: 7_710_000 picoseconds. + Weight::from_parts(7_990_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -101,8 +99,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1612` - // Minimum execution time: 101_619_838_000 picoseconds. - Weight::from_parts(103_955_584_000, 0) + // Minimum execution time: 173_276_022_000 picoseconds. + Weight::from_parts(173_774_164_000, 0) .saturating_add(Weight::from_parts(0, 1612)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -114,11 +112,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_248_000 picoseconds. - Weight::from_parts(2_336_000, 0) + // Minimum execution time: 4_724_000 picoseconds. + Weight::from_parts(4_780_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_870 - .saturating_add(Weight::from_parts(736_156, 0).saturating_mul(i.into())) + // Standard Error: 850 + .saturating_add(Weight::from_parts(904_006, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -128,11 +126,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_220_000 picoseconds. - Weight::from_parts(2_271_000, 0) + // Minimum execution time: 4_771_000 picoseconds. + Weight::from_parts(4_838_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 766 - .saturating_add(Weight::from_parts(529_745, 0).saturating_mul(i.into())) + // Standard Error: 1_149 + .saturating_add(Weight::from_parts(680_627, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -140,13 +138,13 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `82 + p * (69 ±0)` - // Estimated: `91 + p * (70 ±0)` - // Minimum execution time: 4_183_000 picoseconds. - Weight::from_parts(4_309_000, 0) - .saturating_add(Weight::from_parts(0, 91)) - // Standard Error: 923 - .saturating_add(Weight::from_parts(1_027_074, 0).saturating_mul(p.into())) + // Measured: `115 + p * (69 ±0)` + // Estimated: `106 + p * (70 ±0)` + // Minimum execution time: 8_256_000 picoseconds. + Weight::from_parts(8_432_000, 0) + .saturating_add(Weight::from_parts(0, 106)) + // Standard Error: 1_039 + .saturating_add(Weight::from_parts(1_422_326, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) @@ -157,8 +155,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_754_000 picoseconds. - Weight::from_parts(8_184_000, 0) + // Minimum execution time: 14_088_000 picoseconds. + Weight::from_parts(14_854_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -180,8 +178,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149` // Estimated: `1634` - // Minimum execution time: 104_821_125_000 picoseconds. - Weight::from_parts(106_523_390_000, 0) + // Minimum execution time: 177_597_574_000 picoseconds. + Weight::from_parts(177_913_246_000, 0) .saturating_add(Weight::from_parts(0, 1634)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -223,7 +221,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 91 + > 106 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/ismp_parachain.rs b/runtimes/spiritnet/src/weights/ismp_parachain.rs index dafd48f95..da8bf1b54 100644 --- a/runtimes/spiritnet/src/weights/ismp_parachain.rs +++ b/runtimes/spiritnet/src/weights/ismp_parachain.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `ismp_parachain` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -56,11 +56,11 @@ impl ismp_parachain::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_230_000 picoseconds. - Weight::from_parts(5_017_544, 0) + // Minimum execution time: 14_641_000 picoseconds. + Weight::from_parts(13_924_620, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_189 - .saturating_add(Weight::from_parts(1_970_967, 0).saturating_mul(n.into())) + // Standard Error: 3_191 + .saturating_add(Weight::from_parts(3_215_542, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) } /// Storage: `IsmpParachain::Parachains` (r:0 w:5) @@ -70,11 +70,11 @@ impl ismp_parachain::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_446_000 picoseconds. - Weight::from_parts(8_612_220, 0) + // Minimum execution time: 16_228_000 picoseconds. + Weight::from_parts(17_321_803, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 490 - .saturating_add(Weight::from_parts(12_386, 0).saturating_mul(n.into())) + // Standard Error: 297 + .saturating_add(Weight::from_parts(4_514, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `IsmpParachain::ConsensusUpdated` (r:1 w:1) @@ -109,8 +109,8 @@ impl ismp_parachain::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `753` // Estimated: `5964` - // Minimum execution time: 75_663_000 picoseconds. - Weight::from_parts(77_561_000, 0) + // Minimum execution time: 142_362_000 picoseconds. + Weight::from_parts(143_303_000, 0) .saturating_add(Weight::from_parts(0, 5964)) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/runtimes/spiritnet/src/weights/pallet_asset_switch.rs b/runtimes/spiritnet/src/weights/pallet_asset_switch.rs index 56778f4ef..aee449ddb 100644 --- a/runtimes/spiritnet/src/weights/pallet_asset_switch.rs +++ b/runtimes/spiritnet/src/weights/pallet_asset_switch.rs @@ -1,26 +1,41 @@ +// KILT Blockchain – +// Copyright (C) 2025, KILT Foundation + +// The KILT Blockchain is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The KILT Blockchain is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// If you feel like getting in touch with us, you can do so at //! Autogenerated weights for `pallet_asset_switch` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-08-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=spiritnet-dev -// --steps=50 -// --repeat=20 // --pallet=pallet-asset-switch // --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=./runtimes/spiritnet/src/weights/ +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -34,40 +49,53 @@ pub struct WeightInfo(PhantomData); impl pallet_asset_switch::WeightInfo for WeightInfo { /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set_switch_pair() -> Weight { // Proof Size summary in bytes: // Measured: `220` // Estimated: `3597` - // Minimum execution time: 201_873_000 picoseconds. - Weight::from_parts(203_847_000, 0) + // Minimum execution time: 33_097_000 picoseconds. + Weight::from_parts(33_704_000, 0) .saturating_add(Weight::from_parts(0, 3597)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `AssetSwitchPool1::SwitchPair` (r:0 w:1) /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) fn force_set_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 99_925_000 picoseconds. - Weight::from_parts(101_714_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `76` + // Estimated: `1489` + // Minimum execution time: 22_777_000 picoseconds. + Weight::from_parts(23_155_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn force_unset_switch_pair() -> Weight { // Proof Size summary in bytes: // Measured: `218` // Estimated: `3424` - // Minimum execution time: 113_309_000 picoseconds. - Weight::from_parts(116_506_000, 0) + // Minimum execution time: 22_879_000 picoseconds. + Weight::from_parts(23_276_000, 0) .saturating_add(Weight::from_parts(0, 3424)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) @@ -75,8 +103,8 @@ impl pallet_asset_switch::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `218` // Estimated: `3424` - // Minimum execution time: 88_871_000 picoseconds. - Weight::from_parts(89_525_000, 0) + // Minimum execution time: 15_695_000 picoseconds. + Weight::from_parts(15_989_000, 0) .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +115,8 @@ impl pallet_asset_switch::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `218` // Estimated: `3424` - // Minimum execution time: 115_902_000 picoseconds. - Weight::from_parts(118_293_000, 0) + // Minimum execution time: 21_515_000 picoseconds. + Weight::from_parts(21_740_000, 0) .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,8 +127,8 @@ impl pallet_asset_switch::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `218` // Estimated: `3424` - // Minimum execution time: 91_074_000 picoseconds. - Weight::from_parts(92_105_000, 0) + // Minimum execution time: 16_540_000 picoseconds. + Weight::from_parts(16_858_000, 0) .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -109,6 +137,10 @@ impl pallet_asset_switch::WeightInfo for WeightInfo /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:1 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) @@ -122,18 +154,22 @@ impl pallet_asset_switch::WeightInfo for WeightInfo /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::PendingSwitchConfirmations` (r:1 w:1) + /// Proof: `AssetSwitchPool1::PendingSwitchConfirmations` (`max_values`: None, `max_size`: Some(666), added: 3141, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:1) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn switch() -> Weight { // Proof Size summary in bytes: - // Measured: `1091` + // Measured: `1227` // Estimated: `6204` - // Minimum execution time: 1_543_529_000 picoseconds. - Weight::from_parts(1_578_149_000, 0) + // Minimum execution time: 230_260_000 picoseconds. + Weight::from_parts(231_879_000, 0) .saturating_add(Weight::from_parts(0, 6204)) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(11)) } } @@ -152,6 +188,18 @@ mod tests { ); } #[test] + fn test_force_set_switch_pair() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 1489 + ); + } + #[test] fn test_force_unset_switch_pair() { assert!( ::BlockWeights::get() diff --git a/runtimes/spiritnet/src/weights/pallet_assets.rs b/runtimes/spiritnet/src/weights/pallet_assets.rs index 5d30cda3a..0aefdf633 100644 --- a/runtimes/spiritnet/src/weights/pallet_assets.rs +++ b/runtimes/spiritnet/src/weights/pallet_assets.rs @@ -1,11 +1,27 @@ +// KILT Blockchain – +// Copyright (C) 2025, KILT Foundation +// The KILT Blockchain is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The KILT Blockchain is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// If you feel like getting in touch with us, you can do so at //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -37,10 +53,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `42` + // Measured: `76` // Estimated: `4273` - // Minimum execution time: 10_247_000 picoseconds. - Weight::from_parts(10_566_000, 0) + // Minimum execution time: 22_098_000 picoseconds. + Weight::from_parts(22_422_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -51,10 +67,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(602), added: 1097, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: - // Measured: `42` + // Measured: `76` // Estimated: `4273` - // Minimum execution time: 9_923_000 picoseconds. - Weight::from_parts(10_556_000, 0) + // Minimum execution time: 22_212_000 picoseconds. + Weight::from_parts(22_440_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -63,10 +79,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `312` + // Measured: `346` // Estimated: `4273` - // Minimum execution time: 9_708_000 picoseconds. - Weight::from_parts(10_212_000, 0) + // Minimum execution time: 20_642_000 picoseconds. + Weight::from_parts(21_041_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -82,11 +98,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + c * (212 ±0)` // Estimated: `4273 + c * (3207 ±0)` - // Minimum execution time: 13_149_000 picoseconds. - Weight::from_parts(13_489_000, 0) + // Minimum execution time: 27_732_000 picoseconds. + Weight::from_parts(27_924_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 216_226 - .saturating_add(Weight::from_parts(13_743_181, 0).saturating_mul(c.into())) + // Standard Error: 13_301 + .saturating_add(Weight::from_parts(17_420_194, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -100,13 +116,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `447 + a * (86 ±0)` + // Measured: `481 + a * (86 ±0)` // Estimated: `4273 + a * (3221 ±0)` - // Minimum execution time: 12_868_000 picoseconds. - Weight::from_parts(13_303_000, 0) + // Minimum execution time: 28_219_000 picoseconds. + Weight::from_parts(28_483_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 3_646 - .saturating_add(Weight::from_parts(4_123_299, 0).saturating_mul(a.into())) + // Standard Error: 4_215 + .saturating_add(Weight::from_parts(6_345_508, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -119,10 +135,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 10_934_000 picoseconds. - Weight::from_parts(11_412_000, 0) + // Minimum execution time: 24_311_000 picoseconds. + Weight::from_parts(24_658_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -133,10 +149,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 19_188_000 picoseconds. - Weight::from_parts(19_669_000, 0) + // Minimum execution time: 39_264_000 picoseconds. + Weight::from_parts(39_844_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -147,10 +163,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `384` + // Measured: `418` // Estimated: `4273` - // Minimum execution time: 24_344_000 picoseconds. - Weight::from_parts(25_549_000, 0) + // Minimum execution time: 48_718_000 picoseconds. + Weight::from_parts(49_137_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -163,10 +179,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `436` + // Measured: `470` // Estimated: `7404` - // Minimum execution time: 35_100_000 picoseconds. - Weight::from_parts(36_455_000, 0) + // Minimum execution time: 67_236_000 picoseconds. + Weight::from_parts(67_896_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -179,10 +195,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `436` + // Measured: `470` // Estimated: `7404` - // Minimum execution time: 31_491_000 picoseconds. - Weight::from_parts(32_227_000, 0) + // Minimum execution time: 60_511_000 picoseconds. + Weight::from_parts(61_078_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -195,10 +211,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `436` + // Measured: `470` // Estimated: `7404` - // Minimum execution time: 35_721_000 picoseconds. - Weight::from_parts(36_829_000, 0) + // Minimum execution time: 67_038_000 picoseconds. + Weight::from_parts(67_912_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -209,10 +225,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `384` + // Measured: `418` // Estimated: `4273` - // Minimum execution time: 12_696_000 picoseconds. - Weight::from_parts(13_422_000, 0) + // Minimum execution time: 27_220_000 picoseconds. + Weight::from_parts(27_514_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -223,10 +239,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `384` + // Measured: `418` // Estimated: `4273` - // Minimum execution time: 12_991_000 picoseconds. - Weight::from_parts(13_379_000, 0) + // Minimum execution time: 26_796_000 picoseconds. + Weight::from_parts(27_275_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -235,10 +251,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `312` + // Measured: `346` // Estimated: `4273` - // Minimum execution time: 9_089_000 picoseconds. - Weight::from_parts(9_640_000, 0) + // Minimum execution time: 20_891_000 picoseconds. + Weight::from_parts(21_163_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -247,10 +263,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `312` + // Measured: `346` // Estimated: `4273` - // Minimum execution time: 9_012_000 picoseconds. - Weight::from_parts(9_498_000, 0) + // Minimum execution time: 20_697_000 picoseconds. + Weight::from_parts(21_206_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -261,10 +277,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 11_008_000 picoseconds. - Weight::from_parts(11_650_000, 0) + // Minimum execution time: 25_033_000 picoseconds. + Weight::from_parts(25_383_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -273,10 +289,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 9_925_000 picoseconds. - Weight::from_parts(10_261_000, 0) + // Minimum execution time: 22_573_000 picoseconds. + Weight::from_parts(22_975_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -289,15 +305,15 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4]`. fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 10_924_000 picoseconds. - Weight::from_parts(11_413_712, 0) + // Minimum execution time: 24_040_000 picoseconds. + Weight::from_parts(24_510_533, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 6_452 - .saturating_add(Weight::from_parts(146_312, 0).saturating_mul(n.into())) - // Standard Error: 6_452 - .saturating_add(Weight::from_parts(88_466, 0).saturating_mul(s.into())) + // Standard Error: 3_820 + .saturating_add(Weight::from_parts(44_599, 0).saturating_mul(n.into())) + // Standard Error: 3_820 + .saturating_add(Weight::from_parts(70_200, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -307,10 +323,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `346` + // Measured: `380` // Estimated: `4273` - // Minimum execution time: 12_061_000 picoseconds. - Weight::from_parts(12_513_000, 0) + // Minimum execution time: 25_093_000 picoseconds. + Weight::from_parts(25_414_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -321,15 +337,15 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 4]`. /// The range of component `s` is `[0, 4]`. - fn force_set_metadata(n: u32, _s: u32, ) -> Weight { + fn force_set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `117` + // Measured: `151` // Estimated: `4273` - // Minimum execution time: 10_416_000 picoseconds. - Weight::from_parts(11_571_382, 0) + // Minimum execution time: 23_041_000 picoseconds. + Weight::from_parts(23_843_648, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 6_210 - .saturating_add(Weight::from_parts(5_790, 0).saturating_mul(n.into())) + // Standard Error: 3_993 + .saturating_add(Weight::from_parts(69_118, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -339,10 +355,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `346` + // Measured: `380` // Estimated: `4273` - // Minimum execution time: 12_141_000 picoseconds. - Weight::from_parts(12_949_000, 0) + // Minimum execution time: 24_424_000 picoseconds. + Weight::from_parts(24_900_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -351,10 +367,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 10_217_000 picoseconds. - Weight::from_parts(10_753_000, 0) + // Minimum execution time: 21_588_000 picoseconds. + Weight::from_parts(21_839_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -365,10 +381,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `312` + // Measured: `346` // Estimated: `4273` - // Minimum execution time: 15_476_000 picoseconds. - Weight::from_parts(15_919_000, 0) + // Minimum execution time: 29_794_000 picoseconds. + Weight::from_parts(30_244_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -383,10 +399,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `604` + // Measured: `638` // Estimated: `7404` - // Minimum execution time: 44_680_000 picoseconds. - Weight::from_parts(46_355_000, 0) + // Minimum execution time: 79_152_000 picoseconds. + Weight::from_parts(79_869_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -397,10 +413,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `480` + // Measured: `514` // Estimated: `4273` - // Minimum execution time: 17_421_000 picoseconds. - Weight::from_parts(17_898_000, 0) + // Minimum execution time: 33_180_000 picoseconds. + Weight::from_parts(33_593_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -411,10 +427,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `480` + // Measured: `514` // Estimated: `4273` - // Minimum execution time: 17_424_000 picoseconds. - Weight::from_parts(17_926_000, 0) + // Minimum execution time: 33_567_000 picoseconds. + Weight::from_parts(34_008_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -423,10 +439,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 10_425_000 picoseconds. - Weight::from_parts(11_234_000, 0) + // Minimum execution time: 23_137_000 picoseconds. + Weight::from_parts(23_440_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -437,10 +453,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 15_195_000 picoseconds. - Weight::from_parts(15_769_000, 0) + // Minimum execution time: 30_646_000 picoseconds. + Weight::from_parts(31_016_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -451,10 +467,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `278` + // Measured: `312` // Estimated: `4273` - // Minimum execution time: 14_574_000 picoseconds. - Weight::from_parts(15_227_000, 0) + // Minimum execution time: 29_166_000 picoseconds. + Weight::from_parts(29_711_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -465,10 +481,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `402` + // Measured: `436` // Estimated: `4273` - // Minimum execution time: 13_726_000 picoseconds. - Weight::from_parts(14_546_000, 0) + // Minimum execution time: 26_679_000 picoseconds. + Weight::from_parts(27_063_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -479,10 +495,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `435` + // Measured: `469` // Estimated: `4273` - // Minimum execution time: 13_573_000 picoseconds. - Weight::from_parts(13_845_000, 0) + // Minimum execution time: 25_744_000 picoseconds. + Weight::from_parts(25_946_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -493,10 +509,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `384` + // Measured: `418` // Estimated: `4273` - // Minimum execution time: 13_279_000 picoseconds. - Weight::from_parts(13_739_000, 0) + // Minimum execution time: 26_592_000 picoseconds. + Weight::from_parts(26_967_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -509,10 +525,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `436` + // Measured: `470` // Estimated: `7404` - // Minimum execution time: 45_651_000 picoseconds. - Weight::from_parts(46_335_000, 0) + // Minimum execution time: 80_853_000 picoseconds. + Weight::from_parts(81_743_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtimes/spiritnet/src/weights/pallet_balances.rs b/runtimes/spiritnet/src/weights/pallet_balances.rs index 64cd244bd..7c83d7006 100644 --- a/runtimes/spiritnet/src/weights/pallet_balances.rs +++ b/runtimes/spiritnet/src/weights/pallet_balances.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -53,8 +53,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `6204` - // Minimum execution time: 49_770_000 picoseconds. - Weight::from_parts(51_980_000, 0) + // Minimum execution time: 91_526_000 picoseconds. + Weight::from_parts(92_221_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -65,8 +65,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3597` - // Minimum execution time: 31_950_000 picoseconds. - Weight::from_parts(32_938_000, 0) + // Minimum execution time: 57_815_000 picoseconds. + Weight::from_parts(58_495_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -77,8 +77,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 12_830_000 picoseconds. - Weight::from_parts(13_341_000, 0) + // Minimum execution time: 25_754_000 picoseconds. + Weight::from_parts(26_304_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -89,8 +89,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 18_957_000 picoseconds. - Weight::from_parts(19_910_000, 0) + // Minimum execution time: 37_171_000 picoseconds. + Weight::from_parts(37_722_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -101,8 +101,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `214` // Estimated: `8811` - // Minimum execution time: 53_836_000 picoseconds. - Weight::from_parts(54_689_000, 0) + // Minimum execution time: 95_394_000 picoseconds. + Weight::from_parts(95_891_000, 0) .saturating_add(Weight::from_parts(0, 8811)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -113,8 +113,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3597` - // Minimum execution time: 40_665_000 picoseconds. - Weight::from_parts(41_241_000, 0) + // Minimum execution time: 71_173_000 picoseconds. + Weight::from_parts(71_606_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -125,8 +125,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 15_387_000 picoseconds. - Weight::from_parts(15_877_000, 0) + // Minimum execution time: 30_004_000 picoseconds. + Weight::from_parts(30_379_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,11 +138,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + u * (140 ±0)` // Estimated: `990 + u * (2607 ±0)` - // Minimum execution time: 14_361_000 picoseconds. - Weight::from_parts(15_040_000, 0) + // Minimum execution time: 28_570_000 picoseconds. + Weight::from_parts(28_942_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 7_280 - .saturating_add(Weight::from_parts(10_836_342, 0).saturating_mul(u.into())) + // Standard Error: 6_576 + .saturating_add(Weight::from_parts(18_312_157, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2607).saturating_mul(u.into())) @@ -153,8 +153,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1501` - // Minimum execution time: 5_350_000 picoseconds. - Weight::from_parts(5_593_000, 0) + // Minimum execution time: 12_723_000 picoseconds. + Weight::from_parts(13_079_000, 0) .saturating_add(Weight::from_parts(0, 1501)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -164,8 +164,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `3597` - // Minimum execution time: 35_603_000 picoseconds. - Weight::from_parts(36_339_000, 0) + // Minimum execution time: 68_162_000 picoseconds. + Weight::from_parts(68_501_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -174,8 +174,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_327_000 picoseconds. - Weight::from_parts(16_772_000, 0) + // Minimum execution time: 32_481_000 picoseconds. + Weight::from_parts(32_932_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtimes/spiritnet/src/weights/pallet_collators.rs b/runtimes/spiritnet/src/weights/pallet_collators.rs index 8890bd0ad..593654cbb 100644 --- a/runtimes/spiritnet/src/weights/pallet_collators.rs +++ b/runtimes/spiritnet/src/weights/pallet_collators.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_collators` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -57,11 +57,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `170 + m * (32 ±0)` // Estimated: `2510` - // Minimum execution time: 8_720_000 picoseconds. - Weight::from_parts(9_392_733, 0) + // Minimum execution time: 18_300_000 picoseconds. + Weight::from_parts(18_701_066, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 867 - .saturating_add(Weight::from_parts(15_705, 0).saturating_mul(m.into())) + // Standard Error: 706 + .saturating_add(Weight::from_parts(29_199, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,11 +76,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222 + m * (32 ±0)` // Estimated: `2510 + m * (32 ±0)` - // Minimum execution time: 10_650_000 picoseconds. - Weight::from_parts(11_552_390, 0) + // Minimum execution time: 22_390_000 picoseconds. + Weight::from_parts(23_100_550, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 1_358 - .saturating_add(Weight::from_parts(16_425, 0).saturating_mul(m.into())) + // Standard Error: 657 + .saturating_add(Weight::from_parts(17_711, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -96,11 +96,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222 + m * (32 ±0)` // Estimated: `2510 + m * (32 ±0)` - // Minimum execution time: 10_847_000 picoseconds. - Weight::from_parts(11_627_801, 0) + // Minimum execution time: 22_536_000 picoseconds. + Weight::from_parts(22_955_456, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 1_381 - .saturating_add(Weight::from_parts(20_179, 0).saturating_mul(m.into())) + // Standard Error: 878 + .saturating_add(Weight::from_parts(47_706, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -116,11 +116,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222 + m * (32 ±0)` // Estimated: `2510 + m * (32 ±0)` - // Minimum execution time: 10_579_000 picoseconds. - Weight::from_parts(11_637_226, 0) + // Minimum execution time: 22_253_000 picoseconds. + Weight::from_parts(23_188_667, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 1_622 - .saturating_add(Weight::from_parts(93_061, 0).saturating_mul(m.into())) + // Standard Error: 1_356 + .saturating_add(Weight::from_parts(156_955, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -136,11 +136,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222 + m * (32 ±0)` // Estimated: `2510 + m * (32 ±0)` - // Minimum execution time: 11_199_000 picoseconds. - Weight::from_parts(12_267_525, 0) + // Minimum execution time: 23_056_000 picoseconds. + Weight::from_parts(23_803_412, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 1_565 - .saturating_add(Weight::from_parts(24_021, 0).saturating_mul(m.into())) + // Standard Error: 1_020 + .saturating_add(Weight::from_parts(48_936, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -156,11 +156,11 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `170 + m * (32 ±0)` // Estimated: `2510 + m * (32 ±0)` - // Minimum execution time: 6_616_000 picoseconds. - Weight::from_parts(7_156_149, 0) + // Minimum execution time: 13_845_000 picoseconds. + Weight::from_parts(14_293_610, 0) .saturating_add(Weight::from_parts(0, 2510)) - // Standard Error: 725 - .saturating_add(Weight::from_parts(11_271, 0).saturating_mul(m.into())) + // Standard Error: 515 + .saturating_add(Weight::from_parts(17_345, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -173,8 +173,8 @@ impl pallet_collators::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_312_000 picoseconds. - Weight::from_parts(2_454_000, 0) + // Minimum execution time: 5_651_000 picoseconds. + Weight::from_parts(5_845_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtimes/spiritnet/src/weights/pallet_collective.rs b/runtimes/spiritnet/src/weights/pallet_collective.rs index 69ac4f7d3..a47b26bfd 100644 --- a/runtimes/spiritnet/src/weights/pallet_collective.rs +++ b/runtimes/spiritnet/src/weights/pallet_collective.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-collective // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -50,216 +48,256 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { /// Storage: `Council::Members` (r:1 w:1) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:0) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:100 w:100) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:0 w:1) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3228 ±0) + p * (3195 ±0)` - // Estimated: `990` - // Minimum execution time: 369_621_000 picoseconds. - Weight::from_parts(369_621_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 17_102_279 - .saturating_add(Weight::from_parts(91_979_117, 0).saturating_mul(m.into())) - // Standard Error: 17_102_279 - .saturating_add(Weight::from_parts(90_212_097, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3194 ±0)` + // Estimated: `15736 + m * (1967 ±23) + p * (4336 ±23)` + // Minimum execution time: 24_837_000 picoseconds. + Weight::from_parts(25_193_000, 0) + .saturating_add(Weight::from_parts(0, 15736)) + // Standard Error: 72_750 + .saturating_add(Weight::from_parts(5_431_537, 0).saturating_mul(m.into())) + // Standard Error: 72_750 + .saturating_add(Weight::from_parts(9_955_992, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4336).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn execute(b: u32, _m: u32, ) -> Weight { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 625_331_000 picoseconds. - Weight::from_parts(787_644_463, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 16_228 - .saturating_add(Weight::from_parts(62_712, 0).saturating_mul(b.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `1555 + m * (32 ±0)` + // Minimum execution time: 23_949_000 picoseconds. + Weight::from_parts(23_545_603, 0) + .saturating_add(Weight::from_parts(0, 1555)) + // Standard Error: 25 + .saturating_add(Weight::from_parts(1_255, 0).saturating_mul(b.into())) + // Standard Error: 258 + .saturating_add(Weight::from_parts(20_700, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:0) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 711_111_000 picoseconds. - Weight::from_parts(658_477_137, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 17_555 - .saturating_add(Weight::from_parts(171_729, 0).saturating_mul(b.into())) - // Standard Error: 181_226 - .saturating_add(Weight::from_parts(522_904, 0).saturating_mul(m.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `3535 + m * (32 ±0)` + // Minimum execution time: 28_163_000 picoseconds. + Weight::from_parts(29_379_033, 0) + .saturating_add(Weight::from_parts(0, 3535)) + // Standard Error: 324 + .saturating_add(Weight::from_parts(1_543, 0).saturating_mul(b.into())) + // Standard Error: 3_347 + .saturating_add(Weight::from_parts(14_005, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalCount` (r:1 w:1) - /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:0 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - fn propose_proposed(b: u32, _m: u32, p: u32, ) -> Weight { + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4 + m * (32 ±0) + p * (39 ±0)` - // Estimated: `990` - // Minimum execution time: 775_269_000 picoseconds. - Weight::from_parts(905_763_953, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 89_660 - .saturating_add(Weight::from_parts(3_241, 0).saturating_mul(b.into())) - // Standard Error: 925_589 - .saturating_add(Weight::from_parts(5_095_420, 0).saturating_mul(p.into())) + // Measured: `359 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3751 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 37_068_000 picoseconds. + Weight::from_parts(38_597_467, 0) + .saturating_add(Weight::from_parts(0, 3751)) + // Standard Error: 94 + .saturating_add(Weight::from_parts(2_494, 0).saturating_mul(b.into())) + // Standard Error: 983 + .saturating_add(Weight::from_parts(21_089, 0).saturating_mul(m.into())) + // Standard Error: 971 + .saturating_add(Weight::from_parts(170_641, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. - fn vote(_m: u32, ) -> Weight { + fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `811 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 801_344_000 picoseconds. - Weight::from_parts(8_168_627_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `812 + m * (64 ±0)` + // Estimated: `4276 + m * (64 ±0)` + // Minimum execution time: 32_277_000 picoseconds. + Weight::from_parts(33_037_064, 0) + .saturating_add(Weight::from_parts(0, 4276)) + // Standard Error: 701 + .saturating_add(Weight::from_parts(47_349, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_disapproved(_m: u32, p: u32, ) -> Weight { + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `185 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 869_858_000 picoseconds. - Weight::from_parts(951_242_033, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 608_221 - .saturating_add(Weight::from_parts(3_301_904, 0).saturating_mul(p.into())) + // Measured: `401 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3846 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 40_157_000 picoseconds. + Weight::from_parts(39_893_373, 0) + .saturating_add(Weight::from_parts(0, 3846)) + // Standard Error: 842 + .saturating_add(Weight::from_parts(34_942, 0).saturating_mul(m.into())) + // Standard Error: 821 + .saturating_add(Weight::from_parts(171_136, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_approved(_b: u32, _m: u32, _p: u32, ) -> Weight { + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `400 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_416_290_000 picoseconds. - Weight::from_parts(27_075_651_756, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `703 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4020 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 54_612_000 picoseconds. + Weight::from_parts(56_106_428, 0) + .saturating_add(Weight::from_parts(0, 4020)) + // Standard Error: 183 + .saturating_add(Weight::from_parts(2_642, 0).saturating_mul(b.into())) + // Standard Error: 1_942 + .saturating_add(Weight::from_parts(7_756, 0).saturating_mul(m.into())) + // Standard Error: 1_893 + .saturating_add(Weight::from_parts(201_629, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_disapproved(_m: u32, _p: u32, ) -> Weight { + fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `205 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 1_168_659_000 picoseconds. - Weight::from_parts(1_589_757_573, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `421 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3866 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 43_095_000 picoseconds. + Weight::from_parts(42_862_927, 0) + .saturating_add(Weight::from_parts(0, 3866)) + // Standard Error: 859 + .saturating_add(Weight::from_parts(37_509, 0).saturating_mul(m.into())) + // Standard Error: 837 + .saturating_add(Weight::from_parts(172_753, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_approved(_b: u32, _m: u32, p: u32, ) -> Weight { + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `420 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_204_090_000 picoseconds. - Weight::from_parts(33_870_289_808, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 2_576_837 - .saturating_add(Weight::from_parts(8_788_127, 0).saturating_mul(p.into())) + // Measured: `723 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4040 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 57_352_000 picoseconds. + Weight::from_parts(58_668_956, 0) + .saturating_add(Weight::from_parts(0, 4040)) + // Standard Error: 191 + .saturating_add(Weight::from_parts(2_799, 0).saturating_mul(b.into())) + // Standard Error: 2_025 + .saturating_add(Weight::from_parts(14_374, 0).saturating_mul(m.into())) + // Standard Error: 1_974 + .saturating_add(Weight::from_parts(204_066, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:0 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. - fn disapprove_proposal(_p: u32, ) -> Weight { + fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `224 + p * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 754_675_000 picoseconds. - Weight::from_parts(1_018_024_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + p * (32 ±0)` + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 24_487_000 picoseconds. + Weight::from_parts(25_888_065, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 687 + .saturating_add(Weight::from_parts(159_033, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } @@ -274,7 +312,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 15736 ); } #[test] @@ -286,7 +324,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1555 ); } #[test] @@ -298,7 +336,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3535 ); } #[test] @@ -310,7 +348,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3751 ); } #[test] @@ -322,7 +360,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4276 ); } #[test] @@ -334,7 +372,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3846 ); } #[test] @@ -346,7 +384,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4020 ); } #[test] @@ -358,7 +396,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3866 ); } #[test] @@ -370,7 +408,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4040 ); } #[test] @@ -382,7 +420,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1711 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_democracy.rs b/runtimes/spiritnet/src/weights/pallet_democracy.rs index 0e64d583c..8e26132c5 100644 --- a/runtimes/spiritnet/src/weights/pallet_democracy.rs +++ b/runtimes/spiritnet/src/weights/pallet_democracy.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-democracy // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_democracy.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -61,8 +59,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4738` // Estimated: `18187` - // Minimum execution time: 39_624_000 picoseconds. - Weight::from_parts(41_093_000, 0) + // Minimum execution time: 57_303_000 picoseconds. + Weight::from_parts(58_372_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -73,8 +71,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3493` // Estimated: `6695` - // Minimum execution time: 36_401_000 picoseconds. - Weight::from_parts(37_075_000, 0) + // Minimum execution time: 54_218_000 picoseconds. + Weight::from_parts(55_022_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -91,8 +89,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3475` // Estimated: `7264` - // Minimum execution time: 50_499_000 picoseconds. - Weight::from_parts(51_659_000, 0) + // Minimum execution time: 72_567_000 picoseconds. + Weight::from_parts(73_608_000, 0) .saturating_add(Weight::from_parts(0, 7264)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -109,8 +107,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3497` // Estimated: `7264` - // Minimum execution time: 53_370_000 picoseconds. - Weight::from_parts(54_268_000, 0) + // Minimum execution time: 75_686_000 picoseconds. + Weight::from_parts(76_598_000, 0) .saturating_add(Weight::from_parts(0, 7264)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -125,8 +123,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3674` - // Minimum execution time: 24_689_000 picoseconds. - Weight::from_parts(25_239_000, 0) + // Minimum execution time: 39_946_000 picoseconds. + Weight::from_parts(40_799_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -149,8 +147,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5999` // Estimated: `18187` - // Minimum execution time: 97_027_000 picoseconds. - Weight::from_parts(98_377_000, 0) + // Minimum execution time: 134_396_000 picoseconds. + Weight::from_parts(135_516_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -163,8 +161,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3353` // Estimated: `6707` - // Minimum execution time: 12_857_000 picoseconds. - Weight::from_parts(13_766_000, 0) + // Minimum execution time: 22_222_000 picoseconds. + Weight::from_parts(22_771_000, 0) .saturating_add(Weight::from_parts(0, 6707)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -175,8 +173,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_132_000 picoseconds. - Weight::from_parts(3_255_000, 0) + // Minimum execution time: 5_929_000 picoseconds. + Weight::from_parts(6_075_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +184,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_104_000 picoseconds. - Weight::from_parts(3_249_000, 0) + // Minimum execution time: 5_846_000 picoseconds. + Weight::from_parts(5_992_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,8 +201,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 23_852_000 picoseconds. - Weight::from_parts(24_262_000, 0) + // Minimum execution time: 39_093_000 picoseconds. + Weight::from_parts(39_721_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -219,8 +217,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3456` // Estimated: `6707` - // Minimum execution time: 27_095_000 picoseconds. - Weight::from_parts(27_723_000, 0) + // Minimum execution time: 44_107_000 picoseconds. + Weight::from_parts(44_427_000, 0) .saturating_add(Weight::from_parts(0, 6707)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -237,8 +235,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5902` // Estimated: `18187` - // Minimum execution time: 80_185_000 picoseconds. - Weight::from_parts(81_709_000, 0) + // Minimum execution time: 109_304_000 picoseconds. + Weight::from_parts(109_956_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -251,8 +249,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 17_627_000 picoseconds. - Weight::from_parts(18_045_000, 0) + // Minimum execution time: 30_027_000 picoseconds. + Weight::from_parts(30_393_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -268,11 +266,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (94 ±0)` // Estimated: `1489 + r * (2684 ±0)` - // Minimum execution time: 5_790_000 picoseconds. - Weight::from_parts(9_106_364, 0) + // Minimum execution time: 10_194_000 picoseconds. + Weight::from_parts(16_067_448, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_924 - .saturating_add(Weight::from_parts(2_962_777, 0).saturating_mul(r.into())) + // Standard Error: 6_369 + .saturating_add(Weight::from_parts(4_111_272, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -295,11 +293,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (94 ±0)` // Estimated: `18187 + r * (2684 ±0)` - // Minimum execution time: 7_997_000 picoseconds. - Weight::from_parts(11_524_794, 0) + // Minimum execution time: 14_094_000 picoseconds. + Weight::from_parts(20_302_288, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 5_651 - .saturating_add(Weight::from_parts(2_960_951, 0).saturating_mul(r.into())) + // Standard Error: 6_335 + .saturating_add(Weight::from_parts(4_135_182, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -318,11 +316,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `839 + r * (116 ±0)` // Estimated: `19812 + r * (2684 ±0)` - // Minimum execution time: 42_844_000 picoseconds. - Weight::from_parts(49_137_786, 0) + // Minimum execution time: 66_509_000 picoseconds. + Weight::from_parts(74_026_025, 0) .saturating_add(Weight::from_parts(0, 19812)) - // Standard Error: 6_433 - .saturating_add(Weight::from_parts(3_805_122, 0).saturating_mul(r.into())) + // Standard Error: 6_869 + .saturating_add(Weight::from_parts(5_341_834, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -338,11 +336,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `434 + r * (116 ±0)` // Estimated: `13538 + r * (2684 ±0)` - // Minimum execution time: 20_056_000 picoseconds. - Weight::from_parts(21_626_312, 0) + // Minimum execution time: 31_484_000 picoseconds. + Weight::from_parts(32_807_416, 0) .saturating_add(Weight::from_parts(0, 13538)) - // Standard Error: 6_416 - .saturating_add(Weight::from_parts(3_809_905, 0).saturating_mul(r.into())) + // Standard Error: 6_444 + .saturating_add(Weight::from_parts(5_369_244, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -355,8 +353,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_333_000 picoseconds. - Weight::from_parts(3_493_000, 0) + // Minimum execution time: 6_049_000 picoseconds. + Weight::from_parts(6_162_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -373,11 +371,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `484` // Estimated: `7264` - // Minimum execution time: 23_845_000 picoseconds. - Weight::from_parts(33_969_988, 0) + // Minimum execution time: 37_936_000 picoseconds. + Weight::from_parts(50_983_648, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 2_252 - .saturating_add(Weight::from_parts(38_640, 0).saturating_mul(r.into())) + // Standard Error: 2_882 + .saturating_add(Weight::from_parts(30_881, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -394,11 +392,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `485 + r * (22 ±0)` // Estimated: `7264` - // Minimum execution time: 33_356_000 picoseconds. - Weight::from_parts(35_414_023, 0) + // Minimum execution time: 50_412_000 picoseconds. + Weight::from_parts(52_058_358, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 666 - .saturating_add(Weight::from_parts(61_306, 0).saturating_mul(r.into())) + // Standard Error: 557 + .saturating_add(Weight::from_parts(59_518, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -411,11 +409,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `673 + r * (26 ±0)` // Estimated: `7264` - // Minimum execution time: 17_148_000 picoseconds. - Weight::from_parts(19_947_582, 0) + // Minimum execution time: 27_206_000 picoseconds. + Weight::from_parts(29_905_690, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 989 - .saturating_add(Weight::from_parts(70_448, 0).saturating_mul(r.into())) + // Standard Error: 1_185 + .saturating_add(Weight::from_parts(80_643, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -428,11 +426,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `673 + r * (26 ±0)` // Estimated: `7264` - // Minimum execution time: 17_415_000 picoseconds. - Weight::from_parts(20_079_464, 0) + // Minimum execution time: 27_250_000 picoseconds. + Weight::from_parts(29_996_916, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 971 - .saturating_add(Weight::from_parts(71_051, 0).saturating_mul(r.into())) + // Standard Error: 1_199 + .saturating_add(Weight::from_parts(82_010, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -446,10 +444,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `356` + // Measured: `323` // Estimated: `3556` - // Minimum execution time: 18_782_000 picoseconds. - Weight::from_parts(19_144_000, 0) + // Minimum execution time: 30_886_000 picoseconds. + Weight::from_parts(31_468_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -462,8 +460,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 15_704_000 picoseconds. - Weight::from_parts(15_969_000, 0) + // Minimum execution time: 25_896_000 picoseconds. + Weight::from_parts(26_297_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -478,10 +476,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4888` + // Measured: `4855` // Estimated: `18187` - // Minimum execution time: 37_618_000 picoseconds. - Weight::from_parts(38_353_000, 0) + // Minimum execution time: 53_769_000 picoseconds. + Weight::from_parts(54_261_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -494,8 +492,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4755` // Estimated: `18187` - // Minimum execution time: 33_649_000 picoseconds. - Weight::from_parts(34_211_000, 0) + // Minimum execution time: 47_777_000 picoseconds. + Weight::from_parts(48_169_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -508,10 +506,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `211` + // Measured: `178` // Estimated: `3556` - // Minimum execution time: 15_670_000 picoseconds. - Weight::from_parts(16_046_000, 0) + // Minimum execution time: 25_436_000 picoseconds. + Weight::from_parts(25_749_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -524,8 +522,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `3674` - // Minimum execution time: 18_542_000 picoseconds. - Weight::from_parts(18_769_000, 0) + // Minimum execution time: 29_374_000 picoseconds. + Weight::from_parts(30_007_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/spiritnet/src/weights/pallet_deposit_storage.rs b/runtimes/spiritnet/src/weights/pallet_deposit_storage.rs index 7d0bb2301..792544187 100644 --- a/runtimes/spiritnet/src/weights/pallet_deposit_storage.rs +++ b/runtimes/spiritnet/src/weights/pallet_deposit_storage.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_deposit_storage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-deposit-storage // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_deposit_storage.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,16 +52,16 @@ impl pallet_deposit_storage::WeightInfo for WeightInfo< /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DipProvider::IdentityCommitments` (r:1 w:1) /// Proof: `DipProvider::IdentityCommitments` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `577` - // Estimated: `3658` - // Minimum execution time: 49_943_000 picoseconds. - Weight::from_parts(50_147_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Measured: `610` + // Estimated: `3712` + // Minimum execution time: 76_676_000 picoseconds. + Weight::from_parts(77_446_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -80,7 +78,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3712 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_did_lookup.rs b/runtimes/spiritnet/src/weights/pallet_did_lookup.rs index a541d5fc1..ac88612e6 100644 --- a/runtimes/spiritnet/src/weights/pallet_did_lookup.rs +++ b/runtimes/spiritnet/src/weights/pallet_did_lookup.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_did_lookup` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-did-lookup // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -50,178 +48,178 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_did_lookup::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_account_multisig_sr25519() -> Weight { // Proof Size summary in bytes: - // Measured: `462` - // Estimated: `990` - // Minimum execution time: 8_231_783_000 picoseconds. - Weight::from_parts(8_231_783_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `439` + // Estimated: `3712` + // Minimum execution time: 141_229_000 picoseconds. + Weight::from_parts(142_854_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_account_multisig_ed25519() -> Weight { // Proof Size summary in bytes: - // Measured: `462` - // Estimated: `990` - // Minimum execution time: 3_532_242_000 picoseconds. - Weight::from_parts(3_532_242_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `439` + // Estimated: `3712` + // Minimum execution time: 141_641_000 picoseconds. + Weight::from_parts(142_446_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_account_multisig_ecdsa() -> Weight { // Proof Size summary in bytes: - // Measured: `462` - // Estimated: `990` - // Minimum execution time: 4_624_007_000 picoseconds. - Weight::from_parts(4_624_007_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `439` + // Estimated: `3712` + // Minimum execution time: 140_155_000 picoseconds. + Weight::from_parts(141_596_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_eth_account() -> Weight { // Proof Size summary in bytes: - // Measured: `449` - // Estimated: `990` - // Minimum execution time: 7_807_837_000 picoseconds. - Weight::from_parts(7_807_837_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `426` + // Estimated: `3712` + // Minimum execution time: 141_056_000 picoseconds. + Weight::from_parts(142_550_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_sender() -> Weight { // Proof Size summary in bytes: - // Measured: `462` - // Estimated: `990` - // Minimum execution time: 3_061_394_000 picoseconds. - Weight::from_parts(3_061_394_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `439` + // Estimated: `3712` + // Minimum execution time: 91_229_000 picoseconds. + Weight::from_parts(92_002_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:1) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) fn remove_sender_association() -> Weight { // Proof Size summary in bytes: - // Measured: `540` - // Estimated: `990` - // Minimum execution time: 1_769_975_000 picoseconds. - Weight::from_parts(1_769_975_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `517` + // Estimated: `3712` + // Minimum execution time: 55_935_000 picoseconds. + Weight::from_parts(56_812_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:1) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) fn remove_account_association() -> Weight { // Proof Size summary in bytes: - // Measured: `540` - // Estimated: `990` - // Minimum execution time: 1_514_759_000 picoseconds. - Weight::from_parts(1_514_759_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `517` + // Estimated: `3712` + // Minimum execution time: 58_093_000 picoseconds. + Weight::from_parts(58_786_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:2 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) - /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `647` - // Estimated: `990` - // Minimum execution time: 2_512_929_000 picoseconds. - Weight::from_parts(2_512_929_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `624` + // Estimated: `6434` + // Minimum execution time: 89_662_000 picoseconds. + Weight::from_parts(91_045_000, 0) + .saturating_add(Weight::from_parts(0, 6434)) .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `540` - // Estimated: `990` - // Minimum execution time: 2_369_856_000 picoseconds. - Weight::from_parts(2_369_856_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `517` + // Estimated: `3712` + // Minimum execution time: 76_843_000 picoseconds. + Weight::from_parts(77_529_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -238,7 +236,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -250,7 +248,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -262,7 +260,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -274,7 +272,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -286,7 +284,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -298,7 +296,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -310,7 +308,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -322,7 +320,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 6434 ); } #[test] @@ -334,7 +332,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_dip_provider.rs b/runtimes/spiritnet/src/weights/pallet_dip_provider.rs index f3d8a472d..bd9902e8a 100644 --- a/runtimes/spiritnet/src/weights/pallet_dip_provider.rs +++ b/runtimes/spiritnet/src/weights/pallet_dip_provider.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_dip_provider` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-dip-provider // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_dip_provider.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -65,33 +63,33 @@ impl pallet_dip_provider::WeightInfo for WeightInfo /// Proof: `DepositStorage::Deposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn commit_identity() -> Weight { // Proof Size summary in bytes: - // Measured: `2990` + // Measured: `3032` // Estimated: `29282` - // Minimum execution time: 383_619_000 picoseconds. - Weight::from_parts(390_717_000, 0) + // Minimum execution time: 427_537_000 picoseconds. + Weight::from_parts(432_359_000, 0) .saturating_add(Weight::from_parts(0, 29282)) .saturating_add(T::DbWeight::get().reads(19)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `DipProvider::IdentityCommitments` (r:1 w:1) /// Proof: `DipProvider::IdentityCommitments` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) /// Storage: `DepositStorage::Deposits` (r:1 w:1) /// Proof: `DepositStorage::Deposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn delete_identity_commitment() -> Weight { // Proof Size summary in bytes: - // Measured: `671` - // Estimated: `3658` - // Minimum execution time: 55_412_000 picoseconds. - Weight::from_parts(56_013_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Measured: `591` + // Estimated: `3712` + // Minimum execution time: 62_181_000 picoseconds. + Weight::from_parts(62_654_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -120,7 +118,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3712 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_indices.rs b/runtimes/spiritnet/src/weights/pallet_indices.rs index e1799696a..d7db5f540 100644 --- a/runtimes/spiritnet/src/weights/pallet_indices.rs +++ b/runtimes/spiritnet/src/weights/pallet_indices.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_indices` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-indices // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_indices.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -53,62 +51,58 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: `Indices::Accounts` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `42` + // Measured: `76` // Estimated: `3538` - // Minimum execution time: 22_133_000 picoseconds. - Weight::from_parts(22_586_000, 0) + // Minimum execution time: 16_948_000 picoseconds. + Weight::from_parts(17_281_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Indices::Accounts` (r:1 w:1) /// Proof: `Indices::Accounts` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `249` - // Estimated: `3597` - // Minimum execution time: 32_928_000 picoseconds. - Weight::from_parts(33_446_000, 0) - .saturating_add(Weight::from_parts(0, 3597)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `176` + // Estimated: `3538` + // Minimum execution time: 19_679_000 picoseconds. + Weight::from_parts(19_961_000, 0) + .saturating_add(Weight::from_parts(0, 3538)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Indices::Accounts` (r:1 w:1) /// Proof: `Indices::Accounts` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn free() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `176` // Estimated: `3538` - // Minimum execution time: 22_479_000 picoseconds. - Weight::from_parts(22_959_000, 0) + // Minimum execution time: 19_006_000 picoseconds. + Weight::from_parts(19_397_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Indices::Accounts` (r:1 w:1) /// Proof: `Indices::Accounts` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `249` - // Estimated: `3597` - // Minimum execution time: 25_606_000 picoseconds. - Weight::from_parts(26_126_000, 0) - .saturating_add(Weight::from_parts(0, 3597)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `176` + // Estimated: `3538` + // Minimum execution time: 21_190_000 picoseconds. + Weight::from_parts(21_569_000, 0) + .saturating_add(Weight::from_parts(0, 3538)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Indices::Accounts` (r:1 w:1) /// Proof: `Indices::Accounts` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `176` // Estimated: `3538` - // Minimum execution time: 23_412_000 picoseconds. - Weight::from_parts(23_830_000, 0) + // Minimum execution time: 19_337_000 picoseconds. + Weight::from_parts(19_727_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,7 +132,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3597 + > 3538 ); } #[test] @@ -162,7 +156,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3597 + > 3538 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/pallet_membership.rs b/runtimes/spiritnet/src/weights/pallet_membership.rs index f46d36ec1..48b324e12 100644 --- a/runtimes/spiritnet/src/weights/pallet_membership.rs +++ b/runtimes/spiritnet/src/weights/pallet_membership.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_membership` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-membership // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -50,104 +48,132 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 20]`. - fn add_member(_m: u32, ) -> Weight { + fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `135 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 353_129_000 picoseconds. - Weight::from_parts(377_804_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `104 + m * (32 ±0)` + // Estimated: `2158` + // Minimum execution time: 18_080_000 picoseconds. + Weight::from_parts(18_535_683, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 850 + .saturating_add(Weight::from_parts(30_155, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[2, 21]`. - fn remove_member(_m: u32, ) -> Weight { + fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `189 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 390_037_000 picoseconds. - Weight::from_parts(404_106_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `193 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 23_119_000 picoseconds. + Weight::from_parts(23_753_051, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 953 + .saturating_add(Weight::from_parts(29_753, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[2, 21]`. - fn swap_member(_m: u32, ) -> Weight { + fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `189 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 393_449_000 picoseconds. - Weight::from_parts(403_152_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `193 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 23_331_000 picoseconds. + Weight::from_parts(23_718_492, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_126 + .saturating_add(Weight::from_parts(37_516, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[1, 21]`. - fn reset_members(_m: u32, ) -> Weight { + fn reset_members(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `187 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 448_047_000 picoseconds. - Weight::from_parts(448_683_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `193 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 22_821_000 picoseconds. + Weight::from_parts(23_522_847, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_407 + .saturating_add(Weight::from_parts(180_588, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[1, 21]`. - fn change_key(_m: u32, ) -> Weight { + fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `187 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 437_193_000 picoseconds. - Weight::from_parts(516_613_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `193 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 23_685_000 picoseconds. + Weight::from_parts(24_439_404, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_032 + .saturating_add(Weight::from_parts(44_363, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:0) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// Storage: `TipsMembership::Prime` (r:0 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 21]`. - fn set_prime(_m: u32, ) -> Weight { + fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `135 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 305_850_000 picoseconds. - Weight::from_parts(329_866_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `104 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 13_530_000 picoseconds. + Weight::from_parts(14_084_059, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 759 + .saturating_add(Weight::from_parts(24_150, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// Storage: `TipsMembership::Prime` (r:0 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) - /// The range of component `m` is `[1, 21]`. + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn clear_prime() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 163_207_000 picoseconds. - Weight::from_parts(171_566_000, 0) + // Minimum execution time: 5_870_000 picoseconds. + Weight::from_parts(5_975_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) } } @@ -162,7 +188,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -174,7 +200,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -186,11 +212,11 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] - fn test_reset_member() { + fn test_reset_members() { assert!( ::BlockWeights::get() .per_class @@ -198,7 +224,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -210,7 +236,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -222,7 +248,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_message_queue.rs b/runtimes/spiritnet/src/weights/pallet_message_queue.rs index 7fe65dacd..aa47a12c5 100644 --- a/runtimes/spiritnet/src/weights/pallet_message_queue.rs +++ b/runtimes/spiritnet/src/weights/pallet_message_queue.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_message_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev -// --pallet=pallet_message_queue +// --pallet=pallet-message-queue // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_message_queue.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,10 +53,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn ready_ring_knit() -> Weight { // Proof Size summary in bytes: - // Measured: `327` + // Measured: `360` // Estimated: `6044` - // Minimum execution time: 12_729_000 picoseconds. - Weight::from_parts(13_153_000, 0) + // Minimum execution time: 21_547_000 picoseconds. + Weight::from_parts(22_007_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,10 +67,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) fn ready_ring_unknit() -> Weight { // Proof Size summary in bytes: - // Measured: `322` + // Measured: `355` // Estimated: `6044` - // Minimum execution time: 11_572_000 picoseconds. - Weight::from_parts(11_995_000, 0) + // Minimum execution time: 19_918_000 picoseconds. + Weight::from_parts(20_499_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -81,10 +79,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn service_queue_base() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `3517` - // Minimum execution time: 5_165_000 picoseconds. - Weight::from_parts(5_417_000, 0) + // Minimum execution time: 9_418_000 picoseconds. + Weight::from_parts(9_652_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -93,10 +91,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn service_page_base_completion() -> Weight { // Proof Size summary in bytes: - // Measured: `176` + // Measured: `209` // Estimated: `69050` - // Minimum execution time: 6_834_000 picoseconds. - Weight::from_parts(6_990_000, 0) + // Minimum execution time: 12_295_000 picoseconds. + Weight::from_parts(12_520_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -105,10 +103,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn service_page_base_no_completion() -> Weight { // Proof Size summary in bytes: - // Measured: `176` + // Measured: `209` // Estimated: `69050` - // Minimum execution time: 6_877_000 picoseconds. - Weight::from_parts(7_139_000, 0) + // Minimum execution time: 12_578_000 picoseconds. + Weight::from_parts(12_861_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -121,8 +119,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 164_520_000 picoseconds. - Weight::from_parts(166_219_000, 0) + // Minimum execution time: 121_492_000 picoseconds. + Weight::from_parts(121_936_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,10 +130,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn bump_service_head() -> Weight { // Proof Size summary in bytes: - // Measured: `275` + // Measured: `308` // Estimated: `3517` - // Minimum execution time: 7_656_000 picoseconds. - Weight::from_parts(7_864_000, 0) + // Minimum execution time: 13_510_000 picoseconds. + Weight::from_parts(13_946_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -146,10 +144,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn reap_page() -> Weight { // Proof Size summary in bytes: - // Measured: `65771` + // Measured: `65804` // Estimated: `69050` - // Minimum execution time: 58_757_000 picoseconds. - Weight::from_parts(59_148_000, 0) + // Minimum execution time: 78_608_000 picoseconds. + Weight::from_parts(79_338_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -160,10 +158,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn execute_overweight_page_removed() -> Weight { // Proof Size summary in bytes: - // Measured: `65771` + // Measured: `65804` // Estimated: `69050` - // Minimum execution time: 75_297_000 picoseconds. - Weight::from_parts(75_702_000, 0) + // Minimum execution time: 95_753_000 picoseconds. + Weight::from_parts(96_246_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -174,10 +172,10 @@ impl pallet_message_queue::WeightInfo for WeightInfo /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn execute_overweight_page_updated() -> Weight { // Proof Size summary in bytes: - // Measured: `65771` + // Measured: `65804` // Estimated: `69050` - // Minimum execution time: 117_824_000 picoseconds. - Weight::from_parts(118_904_000, 0) + // Minimum execution time: 110_404_000 picoseconds. + Weight::from_parts(110_802_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtimes/spiritnet/src/weights/pallet_migration.rs b/runtimes/spiritnet/src/weights/pallet_migration.rs index 03cdba1ea..e95f1c508 100644 --- a/runtimes/spiritnet/src/weights/pallet_migration.rs +++ b/runtimes/spiritnet/src/weights/pallet_migration.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_migration` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-migration // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_migration.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,14 +54,14 @@ impl pallet_migration::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn attestation_migration_weight() -> Weight { // Proof Size summary in bytes: // Measured: `307` - // Estimated: `3660` - // Minimum execution time: 61_575_000 picoseconds. - Weight::from_parts(62_230_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Estimated: `3712` + // Minimum execution time: 92_120_000 picoseconds. + Weight::from_parts(93_060_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -73,8 +71,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `115` // Estimated: `3513` - // Minimum execution time: 15_508_000 picoseconds. - Weight::from_parts(15_949_000, 0) + // Minimum execution time: 24_852_000 picoseconds. + Weight::from_parts(25_263_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -85,13 +83,13 @@ impl pallet_migration::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn did_migration_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `463` + // Measured: `496` // Estimated: `5777` - // Minimum execution time: 63_142_000 picoseconds. - Weight::from_parts(63_880_000, 0) + // Minimum execution time: 95_046_000 picoseconds. + Weight::from_parts(95_908_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -102,8 +100,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 14_204_000 picoseconds. - Weight::from_parts(14_445_000, 0) + // Minimum execution time: 23_009_000 picoseconds. + Weight::from_parts(23_315_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -113,8 +111,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 14_369_000 picoseconds. - Weight::from_parts(14_628_000, 0) + // Minimum execution time: 23_160_000 picoseconds. + Weight::from_parts(23_611_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -124,8 +122,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 18_296_000 picoseconds. - Weight::from_parts(18_555_000, 0) + // Minimum execution time: 27_808_000 picoseconds. + Weight::from_parts(28_332_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -142,7 +140,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3712 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/pallet_multisig.rs b/runtimes/spiritnet/src/weights/pallet_multisig.rs index fe3f3a78c..96f3ea89e 100644 --- a/runtimes/spiritnet/src/weights/pallet_multisig.rs +++ b/runtimes/spiritnet/src/weights/pallet_multisig.rs @@ -16,103 +16,221 @@ // If you feel like getting in touch with us, you can do so at -//! Autogenerated weights for pallet_multisig +//! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 // --pallet=pallet_multisig -// --execution=wasm -// --wasm-execution=compiled // --extrinsic=* -// --heap-pages=4096 -// --output=./runtimes/spiritnet/src/weights/pallet_multisig.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] #![allow(clippy::as_conversions)] -#![allow(clippy::unnecessary_cast)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weights for `pallet_multisig`. +/// Weight functions for `pallet_multisig`. pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { + /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - Weight::from_parts(8_364_882 as u64, 0) - // Standard Error: 79 - .saturating_add(Weight::from_parts(849 as u64, 0).saturating_mul(z as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_771_000 picoseconds. + Weight::from_parts(14_401_201, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 8 + .saturating_add(Weight::from_parts(448, 0).saturating_mul(z.into())) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { - Weight::from_parts(20_285_811 as u64, 0) - // Standard Error: 5_408 - .saturating_add(Weight::from_parts(80_065 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 33 - .saturating_add(Weight::from_parts(986 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `5663` + // Minimum execution time: 31_234_000 picoseconds. + Weight::from_parts(28_296_330, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 456 + .saturating_add(Weight::from_parts(57_598, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_205, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[3, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - Weight::from_parts(12_705_025 as u64, 0) - // Standard Error: 30_300 - .saturating_add(Weight::from_parts(20_431 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 186 - .saturating_add(Weight::from_parts(3_373 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `352` + // Estimated: `5663` + // Minimum execution time: 34_280_000 picoseconds. + Weight::from_parts(30_712_211, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 467 + .saturating_add(Weight::from_parts(68_445, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_231, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { - Weight::from_parts(20_642_060 as u64, 0) - // Standard Error: 5_511 - .saturating_add(Weight::from_parts(104_693 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 34 - .saturating_add(Weight::from_parts(1_132 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `288 + s * (32 ±0)` + // Estimated: `5663` + // Minimum execution time: 38_455_000 picoseconds. + Weight::from_parts(33_300_830, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 452 + .saturating_add(Weight::from_parts(90_287, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_242, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn approve_as_multi_create(s: u32, ) -> Weight { - Weight::from_parts(17_036_891 as u64, 0) - // Standard Error: 4_200 - .saturating_add(Weight::from_parts(122_554 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `5663` + // Minimum execution time: 25_156_000 picoseconds. + Weight::from_parts(25_986_338, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 477 + .saturating_add(Weight::from_parts(65_658, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - Weight::from_parts(12_421_505 as u64, 0) - // Standard Error: 7_770 - .saturating_add(Weight::from_parts(81_668 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `352` + // Estimated: `5663` + // Minimum execution time: 28_342_000 picoseconds. + Weight::from_parts(28_994_256, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 446 + .saturating_add(Weight::from_parts(71_958, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn cancel_as_multi(s: u32, ) -> Weight { - Weight::from_parts(19_681_233 as u64, 0) - // Standard Error: 4_292 - .saturating_add(Weight::from_parts(70_945 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `352` + // Estimated: `5663` + // Minimum execution time: 27_618_000 picoseconds. + Weight::from_parts(28_205_526, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 506 + .saturating_add(Weight::from_parts(72_280, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} + +#[cfg(test)] +mod tests { + #[test] + fn test_as_multi_create() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_as_multi_approve() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_as_multi_complete() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_approve_as_multi_create() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_approve_as_multi_approve() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_cancel_as_multi() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_preimage.rs b/runtimes/spiritnet/src/weights/pallet_preimage.rs index 9d8c40500..e579c4f6f 100644 --- a/runtimes/spiritnet/src/weights/pallet_preimage.rs +++ b/runtimes/spiritnet/src/weights/pallet_preimage.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-preimage // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_preimage.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -53,22 +51,22 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `3658` - // Minimum execution time: 47_008_000 picoseconds. - Weight::from_parts(47_322_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(2_276, 0).saturating_mul(s.into())) + // Measured: `76` + // Estimated: `3712` + // Minimum execution time: 53_635_000 picoseconds. + Weight::from_parts(54_037_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) + // Standard Error: 141 + .saturating_add(Weight::from_parts(13_416, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) @@ -79,13 +77,13 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `140` // Estimated: `3556` - // Minimum execution time: 16_495_000 picoseconds. - Weight::from_parts(16_647_000, 0) + // Minimum execution time: 26_851_000 picoseconds. + Weight::from_parts(27_104_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(2_267, 0).saturating_mul(s.into())) + // Standard Error: 142 + .saturating_add(Weight::from_parts(13_427, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,13 +96,13 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `140` // Estimated: `3556` - // Minimum execution time: 15_966_000 picoseconds. - Weight::from_parts(16_191_000, 0) + // Minimum execution time: 27_407_000 picoseconds. + Weight::from_parts(27_755_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(2_266, 0).saturating_mul(s.into())) + // Standard Error: 141 + .saturating_add(Weight::from_parts(13_386, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -113,16 +111,16 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `311` - // Estimated: `3658` - // Minimum execution time: 55_462_000 picoseconds. - Weight::from_parts(56_851_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Measured: `222` + // Estimated: `3712` + // Minimum execution time: 53_479_000 picoseconds. + Weight::from_parts(54_942_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -134,10 +132,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `211` + // Measured: `178` // Estimated: `3556` - // Minimum execution time: 26_823_000 picoseconds. - Weight::from_parts(28_313_000, 0) + // Minimum execution time: 36_416_000 picoseconds. + Weight::from_parts(37_643_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -148,10 +146,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `255` + // Measured: `222` // Estimated: `3556` - // Minimum execution time: 23_099_000 picoseconds. - Weight::from_parts(26_051_000, 0) + // Minimum execution time: 29_126_000 picoseconds. + Weight::from_parts(30_201_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -162,10 +160,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `211` + // Measured: `178` // Estimated: `3556` - // Minimum execution time: 14_172_000 picoseconds. - Weight::from_parts(15_296_000, 0) + // Minimum execution time: 22_194_000 picoseconds. + Weight::from_parts(22_795_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -176,10 +174,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `76` // Estimated: `3556` - // Minimum execution time: 13_586_000 picoseconds. - Weight::from_parts(14_280_000, 0) + // Minimum execution time: 23_425_000 picoseconds. + Weight::from_parts(24_021_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -190,10 +188,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `140` // Estimated: `3556` - // Minimum execution time: 10_469_000 picoseconds. - Weight::from_parts(10_857_000, 0) + // Minimum execution time: 18_078_000 picoseconds. + Weight::from_parts(18_468_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -206,10 +204,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `211` + // Measured: `178` // Estimated: `3556` - // Minimum execution time: 21_120_000 picoseconds. - Weight::from_parts(22_262_000, 0) + // Minimum execution time: 32_185_000 picoseconds. + Weight::from_parts(33_408_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -220,10 +218,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `140` // Estimated: `3556` - // Minimum execution time: 10_555_000 picoseconds. - Weight::from_parts(10_859_000, 0) + // Minimum execution time: 17_896_000 picoseconds. + Weight::from_parts(18_406_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -234,10 +232,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `140` // Estimated: `3556` - // Minimum execution time: 10_616_000 picoseconds. - Weight::from_parts(10_905_000, 0) + // Minimum execution time: 18_330_000 picoseconds. + Weight::from_parts(18_572_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -246,23 +244,23 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1023 w:1023) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1023 w:1023) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 1024]`. fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + n * (231 ±0)` - // Estimated: `990 + n * (2668 ±0)` - // Minimum execution time: 51_734_000 picoseconds. - Weight::from_parts(52_052_000, 0) + // Estimated: `990 + n * (2722 ±0)` + // Minimum execution time: 61_748_000 picoseconds. + Weight::from_parts(62_233_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 30_070 - .saturating_add(Weight::from_parts(47_723_490, 0).saturating_mul(n.into())) + // Standard Error: 33_021 + .saturating_add(Weight::from_parts(50_802_660, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2668).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2722).saturating_mul(n.into())) } } @@ -277,7 +275,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3712 ); } #[test] @@ -313,7 +311,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3712 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/pallet_proxy.rs b/runtimes/spiritnet/src/weights/pallet_proxy.rs index 39eaba26e..6364d59c1 100644 --- a/runtimes/spiritnet/src/weights/pallet_proxy.rs +++ b/runtimes/spiritnet/src/weights/pallet_proxy.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-proxy // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_proxy.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,107 +52,103 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 9]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + p * (41 ±0)` + // Measured: `161 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 14_301_000 picoseconds. - Weight::from_parts(14_798_342, 0) + // Minimum execution time: 23_458_000 picoseconds. + Weight::from_parts(24_072_276, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_657 - .saturating_add(Weight::from_parts(66_554, 0).saturating_mul(p.into())) + // Standard Error: 2_126 + .saturating_add(Weight::from_parts(31_962, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(467), added: 2942, mode: `MaxEncodedLen`) /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(777), added: 3252, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `425 + a * (72 ±0) + p * (41 ±0)` + // Measured: `352 + a * (72 ±0) + p * (41 ±0)` // Estimated: `4242` - // Minimum execution time: 35_230_000 picoseconds. - Weight::from_parts(35_571_301, 0) + // Minimum execution time: 33_007_000 picoseconds. + Weight::from_parts(33_551_331, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 3_463 - .saturating_add(Weight::from_parts(186_729, 0).saturating_mul(a.into())) - // Standard Error: 3_844 - .saturating_add(Weight::from_parts(35_034, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Standard Error: 2_541 + .saturating_add(Weight::from_parts(207_632, 0).saturating_mul(a.into())) + // Standard Error: 2_821 + .saturating_add(Weight::from_parts(40_648, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(777), added: 3252, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. - fn remove_announcement(a: u32, _p: u32, ) -> Weight { + fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `340 + a * (72 ±0)` + // Measured: `267 + a * (72 ±0)` // Estimated: `4242` - // Minimum execution time: 24_384_000 picoseconds. - Weight::from_parts(25_318_307, 0) + // Minimum execution time: 15_086_000 picoseconds. + Weight::from_parts(15_916_542, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_449 - .saturating_add(Weight::from_parts(156_741, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Standard Error: 1_968 + .saturating_add(Weight::from_parts(207_638, 0).saturating_mul(a.into())) + // Standard Error: 2_185 + .saturating_add(Weight::from_parts(17_124, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(777), added: 3252, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. - fn reject_announcement(a: u32, _p: u32, ) -> Weight { + fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `340 + a * (72 ±0)` + // Measured: `267 + a * (72 ±0)` // Estimated: `4242` - // Minimum execution time: 24_120_000 picoseconds. - Weight::from_parts(25_081_883, 0) + // Minimum execution time: 15_285_000 picoseconds. + Weight::from_parts(15_955_123, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_247 - .saturating_add(Weight::from_parts(142_629, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Standard Error: 2_111 + .saturating_add(Weight::from_parts(206_146, 0).saturating_mul(a.into())) + // Standard Error: 2_343 + .saturating_add(Weight::from_parts(18_460, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(467), added: 2942, mode: `MaxEncodedLen`) /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(777), added: 3252, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `353 + a * (72 ±0) + p * (41 ±0)` + // Measured: `280 + a * (72 ±0) + p * (41 ±0)` // Estimated: `4242` - // Minimum execution time: 31_227_000 picoseconds. - Weight::from_parts(31_864_498, 0) + // Minimum execution time: 25_811_000 picoseconds. + Weight::from_parts(27_236_249, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_521 - .saturating_add(Weight::from_parts(149_487, 0).saturating_mul(a.into())) - // Standard Error: 2_799 - .saturating_add(Weight::from_parts(11_201, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Standard Error: 6_660 + .saturating_add(Weight::from_parts(313_666, 0).saturating_mul(a.into())) + // Standard Error: 7_394 + .saturating_add(Weight::from_parts(88_576, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(467), added: 2942, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 9]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + p * (41 ±0)` + // Measured: `161 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 23_166_000 picoseconds. - Weight::from_parts(23_899_961, 0) + // Minimum execution time: 20_519_000 picoseconds. + Weight::from_parts(20_973_926, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_381 - .saturating_add(Weight::from_parts(63_174, 0).saturating_mul(p.into())) + // Standard Error: 2_364 + .saturating_add(Weight::from_parts(63_600, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,13 +157,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 9]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + p * (41 ±0)` + // Measured: `161 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 23_566_000 picoseconds. - Weight::from_parts(24_125_110, 0) + // Minimum execution time: 20_145_000 picoseconds. + Weight::from_parts(20_664_741, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_389 - .saturating_add(Weight::from_parts(81_452, 0).saturating_mul(p.into())) + // Standard Error: 2_351 + .saturating_add(Weight::from_parts(76_619, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,13 +172,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 9]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + p * (41 ±0)` + // Measured: `161 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 20_971_000 picoseconds. - Weight::from_parts(21_631_612, 0) + // Minimum execution time: 14_294_000 picoseconds. + Weight::from_parts(14_848_882, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_309 - .saturating_add(Weight::from_parts(73_744, 0).saturating_mul(p.into())) + // Standard Error: 1_646 + .saturating_add(Weight::from_parts(7_365, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,13 +187,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 9]`. fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `139` + // Measured: `173` // Estimated: `3932` - // Minimum execution time: 24_930_000 picoseconds. - Weight::from_parts(25_649_551, 0) + // Minimum execution time: 22_825_000 picoseconds. + Weight::from_parts(23_600_739, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_172 - .saturating_add(Weight::from_parts(20_799, 0).saturating_mul(p.into())) + // Standard Error: 1_917 + .saturating_add(Weight::from_parts(3_442, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,13 +202,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 8]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `168 + p * (41 ±0)` + // Measured: `202 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 22_182_000 picoseconds. - Weight::from_parts(22_735_132, 0) + // Minimum execution time: 15_499_000 picoseconds. + Weight::from_parts(16_003_216, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_459 - .saturating_add(Weight::from_parts(78_670, 0).saturating_mul(p.into())) + // Standard Error: 1_783 + .saturating_add(Weight::from_parts(30_514, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtimes/spiritnet/src/weights/pallet_scheduler.rs b/runtimes/spiritnet/src/weights/pallet_scheduler.rs index e488250db..085115568 100644 --- a/runtimes/spiritnet/src/weights/pallet_scheduler.rs +++ b/runtimes/spiritnet/src/weights/pallet_scheduler.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -53,8 +53,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `36` // Estimated: `1493` - // Minimum execution time: 2_760_000 picoseconds. - Weight::from_parts(3_012_000, 0) + // Minimum execution time: 5_727_000 picoseconds. + Weight::from_parts(5_968_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -66,11 +66,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 3_096_000 picoseconds. - Weight::from_parts(6_711_407, 0) + // Minimum execution time: 6_439_000 picoseconds. + Weight::from_parts(13_167_982, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 1_823 - .saturating_add(Weight::from_parts(307_448, 0).saturating_mul(s.into())) + // Standard Error: 3_247 + .saturating_add(Weight::from_parts(494_650, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -78,12 +78,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_003_000 picoseconds. - Weight::from_parts(3_160_000, 0) + // Minimum execution time: 6_865_000 picoseconds. + Weight::from_parts(7_114_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) - /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) @@ -92,14 +92,15 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` - // Estimated: `4197809` - // Minimum execution time: 16_067_000 picoseconds. - Weight::from_parts(16_263_000, 0) - .saturating_add(Weight::from_parts(0, 4197809)) - // Standard Error: 138 - .saturating_add(Weight::from_parts(12_403, 0).saturating_mul(s.into())) + // Estimated: `3678 + s * (1 ±0)` + // Minimum execution time: 30_665_000 picoseconds. + Weight::from_parts(31_225_000, 0) + .saturating_add(Weight::from_parts(0, 3678)) + // Standard Error: 279 + .saturating_add(Weight::from_parts(24_871, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } /// Storage: `Scheduler::Lookup` (r:0 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -107,8 +108,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_220_000 picoseconds. - Weight::from_parts(4_339_000, 0) + // Minimum execution time: 9_868_000 picoseconds. + Weight::from_parts(10_188_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -116,24 +117,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_935_000 picoseconds. - Weight::from_parts(3_119_000, 0) + // Minimum execution time: 6_639_000 picoseconds. + Weight::from_parts(6_959_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_947_000 picoseconds. - Weight::from_parts(2_044_000, 0) + // Minimum execution time: 5_014_000 picoseconds. + Weight::from_parts(5_161_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_928_000 picoseconds. - Weight::from_parts(2_046_000, 0) + // Minimum execution time: 4_941_000 picoseconds. + Weight::from_parts(5_076_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -143,11 +144,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 8_529_000 picoseconds. - Weight::from_parts(12_074_512, 0) + // Minimum execution time: 19_165_000 picoseconds. + Weight::from_parts(24_936_340, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 1_932 - .saturating_add(Weight::from_parts(326_973, 0).saturating_mul(s.into())) + // Standard Error: 2_762 + .saturating_add(Weight::from_parts(513_033, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -162,11 +163,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 13_718_000 picoseconds. - Weight::from_parts(14_428_235, 0) + // Minimum execution time: 29_100_000 picoseconds. + Weight::from_parts(29_158_654, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 1_107 - .saturating_add(Weight::from_parts(513_210, 0).saturating_mul(s.into())) + // Standard Error: 1_483 + .saturating_add(Weight::from_parts(781_944, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -179,11 +180,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `266 + s * (189 ±0)` // Estimated: `42632` - // Minimum execution time: 11_058_000 picoseconds. - Weight::from_parts(15_802_187, 0) + // Minimum execution time: 24_298_000 picoseconds. + Weight::from_parts(32_334_030, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 2_880 - .saturating_add(Weight::from_parts(374_796, 0).saturating_mul(s.into())) + // Standard Error: 4_626 + .saturating_add(Weight::from_parts(553_325, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -198,11 +199,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `290 + s * (189 ±0)` // Estimated: `42632` - // Minimum execution time: 15_653_000 picoseconds. - Weight::from_parts(17_038_595, 0) + // Minimum execution time: 32_254_000 picoseconds. + Weight::from_parts(35_019_155, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 1_938 - .saturating_add(Weight::from_parts(541_501, 0).saturating_mul(s.into())) + // Standard Error: 22_411 + .saturating_add(Weight::from_parts(821_275, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -215,11 +216,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `123` // Estimated: `42632` - // Minimum execution time: 8_716_000 picoseconds. - Weight::from_parts(9_465_301, 0) + // Minimum execution time: 18_234_000 picoseconds. + Weight::from_parts(18_952_895, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 776 - .saturating_add(Weight::from_parts(25_885, 0).saturating_mul(s.into())) + // Standard Error: 546 + .saturating_add(Weight::from_parts(19_698, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -231,8 +232,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `9133` // Estimated: `42632` - // Minimum execution time: 23_528_000 picoseconds. - Weight::from_parts(24_163_000, 0) + // Minimum execution time: 40_543_000 picoseconds. + Weight::from_parts(40_816_000, 0) .saturating_add(Weight::from_parts(0, 42632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -247,8 +248,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `9815` // Estimated: `42632` - // Minimum execution time: 29_289_000 picoseconds. - Weight::from_parts(30_006_000, 0) + // Minimum execution time: 49_268_000 picoseconds. + Weight::from_parts(49_770_000, 0) .saturating_add(Weight::from_parts(0, 42632)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -261,8 +262,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `9145` // Estimated: `42632` - // Minimum execution time: 23_050_000 picoseconds. - Weight::from_parts(23_468_000, 0) + // Minimum execution time: 39_554_000 picoseconds. + Weight::from_parts(39_877_000, 0) .saturating_add(Weight::from_parts(0, 42632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -277,8 +278,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `9827` // Estimated: `42632` - // Minimum execution time: 28_494_000 picoseconds. - Weight::from_parts(29_535_000, 0) + // Minimum execution time: 48_200_000 picoseconds. + Weight::from_parts(48_543_000, 0) .saturating_add(Weight::from_parts(0, 42632)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -320,7 +321,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3407870 + > 3678 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/pallet_session.rs b/runtimes/spiritnet/src/weights/pallet_session.rs index 3910a1280..dc9b4b707 100644 --- a/runtimes/spiritnet/src/weights/pallet_session.rs +++ b/runtimes/spiritnet/src/weights/pallet_session.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_session` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-session // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_session.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -57,8 +55,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `298` // Estimated: `3763` - // Minimum execution time: 17_310_000 picoseconds. - Weight::from_parts(17_656_000, 0) + // Minimum execution time: 28_049_000 picoseconds. + Weight::from_parts(28_875_000, 0) .saturating_add(Weight::from_parts(0, 3763)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -71,8 +69,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3745` - // Minimum execution time: 12_803_000 picoseconds. - Weight::from_parts(13_129_000, 0) + // Minimum execution time: 21_241_000 picoseconds. + Weight::from_parts(21_472_000, 0) .saturating_add(Weight::from_parts(0, 3745)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtimes/spiritnet/src/weights/pallet_technical_committee_collective.rs b/runtimes/spiritnet/src/weights/pallet_technical_committee_collective.rs index a4628f013..f77ed6438 100644 --- a/runtimes/spiritnet/src/weights/pallet_technical_committee_collective.rs +++ b/runtimes/spiritnet/src/weights/pallet_technical_committee_collective.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_technical_committee_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-technical-committee-collective // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -53,226 +51,256 @@ use pallet_collective as pallet_technical_committee_collective; pub struct WeightInfo(PhantomData); impl pallet_technical_committee_collective::WeightInfo for WeightInfo { /// Storage: `TechnicalCommittee::Members` (r:1 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:100 w:100) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. - fn set_members(m: u32, n: u32, p: u32, ) -> Weight { + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3228 ±0) + p * (3195 ±0)` - // Estimated: `990` - // Minimum execution time: 460_642_000 picoseconds. - Weight::from_parts(460_642_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(127_672_940, 0).saturating_mul(m.into())) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(34_349_310, 0).saturating_mul(n.into())) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(126_599_270, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3194 ±0)` + // Estimated: `15770 + m * (1967 ±23) + p * (4336 ±23)` + // Minimum execution time: 24_456_000 picoseconds. + Weight::from_parts(24_798_000, 0) + .saturating_add(Weight::from_parts(0, 15770)) + // Standard Error: 72_100 + .saturating_add(Weight::from_parts(5_425_420, 0).saturating_mul(m.into())) + // Standard Error: 72_100 + .saturating_add(Weight::from_parts(9_925_537, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4336).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn execute(b: u32, _m: u32, ) -> Weight { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `102 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 573_430_000 picoseconds. - Weight::from_parts(29_965_404_055, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 3_984_281 - .saturating_add(Weight::from_parts(2_473_578, 0).saturating_mul(b.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `1589 + m * (32 ±0)` + // Minimum execution time: 23_933_000 picoseconds. + Weight::from_parts(23_280_087, 0) + .saturating_add(Weight::from_parts(0, 1589)) + // Standard Error: 23 + .saturating_add(Weight::from_parts(1_298, 0).saturating_mul(b.into())) + // Standard Error: 240 + .saturating_add(Weight::from_parts(22_933, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `102 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 715_079_000 picoseconds. - Weight::from_parts(636_745_116, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 10_109 - .saturating_add(Weight::from_parts(75_330, 0).saturating_mul(b.into())) - // Standard Error: 104_360 - .saturating_add(Weight::from_parts(1_195_222, 0).saturating_mul(m.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `3569 + m * (32 ±0)` + // Minimum execution time: 28_502_000 picoseconds. + Weight::from_parts(27_528_349, 0) + .saturating_add(Weight::from_parts(0, 3569)) + // Standard Error: 32 + .saturating_add(Weight::from_parts(1_583, 0).saturating_mul(b.into())) + // Standard Error: 334 + .saturating_add(Weight::from_parts(35_069, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - fn propose_proposed(b: u32, _m: u32, p: u32, ) -> Weight { + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `38 + m * (32 ±0) + p * (39 ±0)` - // Estimated: `990` - // Minimum execution time: 972_408_000 picoseconds. - Weight::from_parts(1_342_425_531, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 40_523 - .saturating_add(Weight::from_parts(142_705, 0).saturating_mul(b.into())) - // Standard Error: 418_333 - .saturating_add(Weight::from_parts(3_118_730, 0).saturating_mul(p.into())) + // Measured: `393 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 36_181_000 picoseconds. + Weight::from_parts(37_701_301, 0) + .saturating_add(Weight::from_parts(0, 3785)) + // Standard Error: 93 + .saturating_add(Weight::from_parts(2_524, 0).saturating_mul(b.into())) + // Standard Error: 975 + .saturating_add(Weight::from_parts(26_004, 0).saturating_mul(m.into())) + // Standard Error: 963 + .saturating_add(Weight::from_parts(175_372, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. - fn vote(_m: u32, ) -> Weight { + fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `845 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 604_239_000 picoseconds. - Weight::from_parts(705_575_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `846 + m * (64 ±0)` + // Estimated: `4310 + m * (64 ±0)` + // Minimum execution time: 32_550_000 picoseconds. + Weight::from_parts(33_117_015, 0) + .saturating_add(Weight::from_parts(0, 4310)) + // Standard Error: 708 + .saturating_add(Weight::from_parts(50_661, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_disapproved(m: u32, _p: u32, ) -> Weight { + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `219 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 1_062_882_000 picoseconds. - Weight::from_parts(17_615_015_534, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 1_146_969 - .saturating_add(Weight::from_parts(1_026_338, 0).saturating_mul(m.into())) + // Measured: `435 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3880 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 39_792_000 picoseconds. + Weight::from_parts(39_583_343, 0) + .saturating_add(Weight::from_parts(0, 3880)) + // Standard Error: 850 + .saturating_add(Weight::from_parts(33_397, 0).saturating_mul(m.into())) + // Standard Error: 829 + .saturating_add(Weight::from_parts(172_995, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_approved(_b: u32, m: u32, p: u32, ) -> Weight { + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `434 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_150_858_000 picoseconds. - Weight::from_parts(17_456_729_928, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 729_009 - .saturating_add(Weight::from_parts(116_718, 0).saturating_mul(m.into())) - // Standard Error: 706_917 - .saturating_add(Weight::from_parts(4_476_141, 0).saturating_mul(p.into())) + // Measured: `737 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4054 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 54_246_000 picoseconds. + Weight::from_parts(55_226_206, 0) + .saturating_add(Weight::from_parts(0, 4054)) + // Standard Error: 183 + .saturating_add(Weight::from_parts(2_849, 0).saturating_mul(b.into())) + // Standard Error: 1_936 + .saturating_add(Weight::from_parts(9_443, 0).saturating_mul(m.into())) + // Standard Error: 1_887 + .saturating_add(Weight::from_parts(206_054, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 876_906_000 picoseconds. - Weight::from_parts(876_906_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 77_271_809 - .saturating_add(Weight::from_parts(34_940_280, 0).saturating_mul(m.into())) - // Standard Error: 77_291_124 - .saturating_add(Weight::from_parts(39_111_834, 0).saturating_mul(p.into())) + // Measured: `455 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3900 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 42_877_000 picoseconds. + Weight::from_parts(42_410_384, 0) + .saturating_add(Weight::from_parts(0, 3900)) + // Standard Error: 884 + .saturating_add(Weight::from_parts(39_246, 0).saturating_mul(m.into())) + // Standard Error: 862 + .saturating_add(Weight::from_parts(177_825, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_approved(_b: u32, _m: u32, p: u32, ) -> Weight { + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `454 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_610_558_000 picoseconds. - Weight::from_parts(2_769_131_417, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 10_668_245 - .saturating_add(Weight::from_parts(5_164_747, 0).saturating_mul(p.into())) + // Measured: `757 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4074 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 56_951_000 picoseconds. + Weight::from_parts(58_646_640, 0) + .saturating_add(Weight::from_parts(0, 4074)) + // Standard Error: 195 + .saturating_add(Weight::from_parts(2_521, 0).saturating_mul(b.into())) + // Standard Error: 2_062 + .saturating_add(Weight::from_parts(11_748, 0).saturating_mul(m.into())) + // Standard Error: 2_010 + .saturating_add(Weight::from_parts(204_249, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. - fn disapprove_proposal(_p: u32, ) -> Weight { + fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `258 + p * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 1_112_072_000 picoseconds. - Weight::from_parts(1_726_467_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `260 + p * (32 ±0)` + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 24_654_000 picoseconds. + Weight::from_parts(26_300_390, 0) + .saturating_add(Weight::from_parts(0, 1745)) + // Standard Error: 779 + .saturating_add(Weight::from_parts(155_649, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } @@ -287,7 +315,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 15770 ); } #[test] @@ -299,7 +327,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1589 ); } #[test] @@ -311,7 +339,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3569 ); } #[test] @@ -323,7 +351,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3785 ); } #[test] @@ -335,7 +363,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4310 ); } #[test] @@ -347,7 +375,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3880 ); } #[test] @@ -359,7 +387,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4054 ); } #[test] @@ -371,7 +399,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3900 ); } #[test] @@ -383,7 +411,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4074 ); } #[test] @@ -395,7 +423,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1745 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_technical_membership.rs b/runtimes/spiritnet/src/weights/pallet_technical_membership.rs index e579f815f..b236caec6 100644 --- a/runtimes/spiritnet/src/weights/pallet_technical_membership.rs +++ b/runtimes/spiritnet/src/weights/pallet_technical_membership.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_technical_membership` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-technical-membership // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -52,139 +50,154 @@ use pallet_membership as pallet_technical_membership; /// Weight functions for `pallet_technical_membership`. pub struct WeightInfo(PhantomData); impl pallet_technical_membership::WeightInfo for WeightInfo { - - /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. - fn add_member(_m: u32, ) -> Weight { + fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `133 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 405_749_000 picoseconds. - Weight::from_parts(498_827_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `136 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 22_701_000 picoseconds. + Weight::from_parts(23_243_652, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 499 + .saturating_add(Weight::from_parts(41_053, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. - fn remove_member(_m: u32, ) -> Weight { + fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 500_744_000 picoseconds. - Weight::from_parts(527_487_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 26_198_000 picoseconds. + Weight::from_parts(26_715_661, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 506 + .saturating_add(Weight::from_parts(39_179, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. - fn swap_member(_m: u32, ) -> Weight { + fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 511_254_000 picoseconds. - Weight::from_parts(993_980_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 26_325_000 picoseconds. + Weight::from_parts(26_784_870, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 798 + .saturating_add(Weight::from_parts(60_568, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn reset_members(_m: u32, ) -> Weight { + fn reset_members(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `237 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 534_955_000 picoseconds. - Weight::from_parts(688_451_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 25_629_000 picoseconds. + Weight::from_parts(27_417_246, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 871 + .saturating_add(Weight::from_parts(158_748, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn change_key(_m: u32, ) -> Weight { + fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `237 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 538_986_000 picoseconds. - Weight::from_parts(598_771_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 27_092_000 picoseconds. + Weight::from_parts(27_740_167, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 1_129 + .saturating_add(Weight::from_parts(64_460, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:0) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalMembership::Prime` (r:0 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn set_prime(_m: u32, ) -> Weight { + fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `30 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 259_951_000 picoseconds. - Weight::from_parts(340_969_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `32 + m * (32 ±0)` + // Estimated: `4687 + m * (32 ±0)` + // Minimum execution time: 12_470_000 picoseconds. + Weight::from_parts(12_895_409, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 300 + .saturating_add(Weight::from_parts(19_566, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Prime` (r:0 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) - /// The range of component `m` is `[1, 100]`. + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn clear_prime() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 154_822_000 picoseconds. - Weight::from_parts(220_683_000, 0) + // Minimum execution time: 5_366_000 picoseconds. + Weight::from_parts(5_493_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -201,7 +214,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -213,7 +226,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -225,11 +238,11 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] - fn test_reset_member() { + fn test_reset_members() { assert!( ::BlockWeights::get() .per_class @@ -237,7 +250,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -249,7 +262,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -261,7 +274,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_timestamp.rs b/runtimes/spiritnet/src/weights/pallet_timestamp.rs index 5da2c1a7d..ce14ee5d0 100644 --- a/runtimes/spiritnet/src/weights/pallet_timestamp.rs +++ b/runtimes/spiritnet/src/weights/pallet_timestamp.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-timestamp // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_timestamp.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +53,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1493` - // Minimum execution time: 6_308_000 picoseconds. - Weight::from_parts(6_451_000, 0) + // Minimum execution time: 11_731_000 picoseconds. + Weight::from_parts(12_014_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -65,8 +63,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 4_222_000 picoseconds. - Weight::from_parts(4_386_000, 0) + // Minimum execution time: 7_618_000 picoseconds. + Weight::from_parts(7_903_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtimes/spiritnet/src/weights/pallet_tips.rs b/runtimes/spiritnet/src/weights/pallet_tips.rs index 7a570f74d..5246a87fc 100644 --- a/runtimes/spiritnet/src/weights/pallet_tips.rs +++ b/runtimes/spiritnet/src/weights/pallet_tips.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_tips` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-tips // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_tips.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -58,11 +56,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4` // Estimated: `3469` - // Minimum execution time: 27_952_000 picoseconds. - Weight::from_parts(28_728_213, 0) + // Minimum execution time: 43_564_000 picoseconds. + Weight::from_parts(44_808_849, 0) .saturating_add(Weight::from_parts(0, 3469)) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_556, 0).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(1_454, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -74,8 +72,8 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `221` // Estimated: `3686` - // Minimum execution time: 25_478_000 picoseconds. - Weight::from_parts(25_777_000, 0) + // Minimum execution time: 40_054_000 picoseconds. + Weight::from_parts(40_455_000, 0) .saturating_add(Weight::from_parts(0, 3686)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -90,15 +88,15 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 21]`. fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `141 + t * (32 ±0)` - // Estimated: `3606 + t * (32 ±0)` - // Minimum execution time: 19_804_000 picoseconds. - Weight::from_parts(17_926_991, 0) - .saturating_add(Weight::from_parts(0, 3606)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_423, 0).saturating_mul(r.into())) - // Standard Error: 5_788 - .saturating_add(Weight::from_parts(162_652, 0).saturating_mul(t.into())) + // Measured: `108 + t * (32 ±0)` + // Estimated: `3573 + t * (32 ±0)` + // Minimum execution time: 30_731_000 picoseconds. + Weight::from_parts(29_564_154, 0) + .saturating_add(Weight::from_parts(0, 3573)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_332, 0).saturating_mul(r.into())) + // Standard Error: 5_063 + .saturating_add(Weight::from_parts(147_260, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) @@ -110,13 +108,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 21]`. fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366 + t * (80 ±0)` - // Estimated: `3831 + t * (80 ±0)` - // Minimum execution time: 15_693_000 picoseconds. - Weight::from_parts(15_940_899, 0) - .saturating_add(Weight::from_parts(0, 3831)) - // Standard Error: 1_182 - .saturating_add(Weight::from_parts(126_181, 0).saturating_mul(t.into())) + // Measured: `333 + t * (80 ±0)` + // Estimated: `3798 + t * (80 ±0)` + // Minimum execution time: 25_434_000 picoseconds. + Weight::from_parts(25_597_340, 0) + .saturating_add(Weight::from_parts(0, 3798)) + // Standard Error: 2_282 + .saturating_add(Weight::from_parts(190_235, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(t.into())) @@ -132,16 +130,16 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 21]`. fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `473 + t * (80 ±0)` - // Estimated: `6204 + t * (80 ±0)` - // Minimum execution time: 55_188_000 picoseconds. - Weight::from_parts(56_227_331, 0) + // Measured: `440 + t * (80 ±0)` + // Estimated: `6204 + t * (79 ±0)` + // Minimum execution time: 84_712_000 picoseconds. + Weight::from_parts(86_432_832, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 4_354 - .saturating_add(Weight::from_parts(135_011, 0).saturating_mul(t.into())) + // Standard Error: 5_419 + .saturating_add(Weight::from_parts(158_484, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 79).saturating_mul(t.into())) } /// Storage: `Tips::Tips` (r:1 w:1) /// Proof: `Tips::Tips` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -152,11 +150,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3734` - // Minimum execution time: 14_238_000 picoseconds. - Weight::from_parts(14_632_080, 0) + // Minimum execution time: 22_642_000 picoseconds. + Weight::from_parts(23_257_920, 0) .saturating_add(Weight::from_parts(0, 3734)) - // Standard Error: 717 - .saturating_add(Weight::from_parts(9_426, 0).saturating_mul(t.into())) + // Standard Error: 902 + .saturating_add(Weight::from_parts(1_440, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -197,7 +195,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3606 + > 3573 ); } #[test] @@ -209,7 +207,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3831 + > 3798 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/pallet_token_gateway.rs b/runtimes/spiritnet/src/weights/pallet_token_gateway.rs index 6d3ffaf04..b4cfa2a42 100644 --- a/runtimes/spiritnet/src/weights/pallet_token_gateway.rs +++ b/runtimes/spiritnet/src/weights/pallet_token_gateway.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_token_gateway` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 -//! DATE: 2025-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: @@ -61,18 +61,20 @@ impl pallet_token_gateway::WeightInfo for WeightInfo /// Proof: `TokenGateway::SupportedAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e74736dbf7451ee5809df8f986d7fa449` (r:1 w:1) /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e74736dbf7451ee5809df8f986d7fa449` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x526571756573745061796d656e746dbf7451ee5809df8f986d7fa4499b559518` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x526571756573745061796d656e746dbf7451ee5809df8f986d7fa4499b559518` (r:0 w:1) /// The range of component `x` is `[1, 100]`. fn create_erc6160_asset(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `290` // Estimated: `3755` - // Minimum execution time: 29_974_000 picoseconds. - Weight::from_parts(32_747_433, 0) + // Minimum execution time: 61_670_000 picoseconds. + Weight::from_parts(61_387_715, 0) .saturating_add(Weight::from_parts(0, 3755)) - // Standard Error: 4_554 - .saturating_add(Weight::from_parts(1_675_177, 0).saturating_mul(x.into())) + // Standard Error: 2_341 + .saturating_add(Weight::from_parts(2_515_807, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) } /// Storage: `TokenGateway::SupportedAssets` (r:1 w:0) @@ -83,19 +85,23 @@ impl pallet_token_gateway::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `TokenGateway::Precisions` (r:1 w:0) /// Proof: `TokenGateway::Precisions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Hyperbridge::HostParams` (r:1 w:0) + /// Proof: `Hyperbridge::HostParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Ismp::Nonce` (r:1 w:1) /// Proof: `Ismp::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e747387c60cc3838067ec43c7c32db115` (r:1 w:1) /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e747387c60cc3838067ec43c7c32db115` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x526571756573745061796d656e7487c60cc3838067ec43c7c32db1154880bfb2` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x526571756573745061796d656e7487c60cc3838067ec43c7c32db1154880bfb2` (r:0 w:1) fn teleport() -> Weight { // Proof Size summary in bytes: - // Measured: `732` - // Estimated: `4197` - // Minimum execution time: 64_977_000 picoseconds. - Weight::from_parts(67_796_000, 0) - .saturating_add(Weight::from_parts(0, 4197)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `846` + // Estimated: `4311` + // Minimum execution time: 127_384_000 picoseconds. + Weight::from_parts(128_818_000, 0) + .saturating_add(Weight::from_parts(0, 4311)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `TokenGateway::TokenGatewayAddresses` (r:0 w:1) /// Proof: `TokenGateway::TokenGatewayAddresses` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -104,11 +110,11 @@ impl pallet_token_gateway::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_553_000 picoseconds. - Weight::from_parts(3_928_493, 0) + // Minimum execution time: 9_135_000 picoseconds. + Weight::from_parts(9_536_866, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 181 - .saturating_add(Weight::from_parts(1_795, 0).saturating_mul(x.into())) + // Standard Error: 127 + .saturating_add(Weight::from_parts(2, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Hyperbridge::HostParams` (r:1 w:0) @@ -117,15 +123,17 @@ impl pallet_token_gateway::WeightInfo for WeightInfo /// Proof: `Ismp::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473063ffee434bbc145cf1b300aac5e` (r:1 w:1) /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473063ffee434bbc145cf1b300aac5e` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x526571756573745061796d656e74063ffee434bbc145cf1b300aac5e8ecf4667` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x526571756573745061796d656e74063ffee434bbc145cf1b300aac5e8ecf4667` (r:0 w:1) fn update_erc6160_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `455` - // Estimated: `3920` - // Minimum execution time: 24_059_000 picoseconds. - Weight::from_parts(25_861_000, 0) - .saturating_add(Weight::from_parts(0, 3920)) + // Measured: `493` + // Estimated: `3958` + // Minimum execution time: 51_642_000 picoseconds. + Weight::from_parts(52_890_000, 0) + .saturating_add(Weight::from_parts(0, 3958)) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `TokenGateway::Precisions` (r:0 w:100) /// Proof: `TokenGateway::Precisions` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -134,11 +142,11 @@ impl pallet_token_gateway::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_781_000 picoseconds. - Weight::from_parts(3_283_265, 0) + // Minimum execution time: 9_485_000 picoseconds. + Weight::from_parts(8_934_124, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_391 - .saturating_add(Weight::from_parts(1_610_356, 0).saturating_mul(x.into())) + // Standard Error: 2_102 + .saturating_add(Weight::from_parts(2_486_617, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) } } @@ -166,7 +174,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4197 + > 4311 ); } #[test] @@ -178,7 +186,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3920 + > 3958 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_treasury.rs b/runtimes/spiritnet/src/weights/pallet_treasury.rs index c956a0078..3bfe6c271 100644 --- a/runtimes/spiritnet/src/weights/pallet_treasury.rs +++ b/runtimes/spiritnet/src/weights/pallet_treasury.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_treasury` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-treasury // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_treasury.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -59,26 +57,25 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6` // Estimated: `1887` - // Minimum execution time: 11_578_000 picoseconds. - Weight::from_parts(11_946_000, 0) + // Minimum execution time: 20_308_000 picoseconds. + Weight::from_parts(20_661_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `Treasury::Approvals` (r:1 w:1) /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `90` // Estimated: `1887` - // Minimum execution time: 6_302_000 picoseconds. - Weight::from_parts(6_388_000, 0) + // Minimum execution time: 10_456_000 picoseconds. + Weight::from_parts(10_680_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `System::Account` (r:199 w:199) + /// Storage: `System::Account` (r:100 w:100) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Treasury::Deactivated` (r:1 w:1) /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) @@ -91,18 +88,18 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `33 + p * (256 ±0)` - // Estimated: `3597 + p * (5214 ±0)` - // Minimum execution time: 18_607_000 picoseconds. - Weight::from_parts(23_512_938, 0) + // Measured: `0 + p * (158 ±0)` + // Estimated: `3597 + p * (2607 ±0)` + // Minimum execution time: 31_857_000 picoseconds. + Weight::from_parts(51_590_049, 0) .saturating_add(Weight::from_parts(0, 3597)) - // Standard Error: 13_219 - .saturating_add(Weight::from_parts(29_556_399, 0).saturating_mul(p.into())) + // Standard Error: 18_601 + .saturating_add(Weight::from_parts(28_922_877, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5214).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 2607).saturating_mul(p.into())) } /// Storage: `Treasury::SpendCount` (r:1 w:1) /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -112,8 +109,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6` // Estimated: `1489` - // Minimum execution time: 10_692_000 picoseconds. - Weight::from_parts(10_963_000, 0) + // Minimum execution time: 17_888_000 picoseconds. + Weight::from_parts(18_351_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -126,8 +123,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `6204` - // Minimum execution time: 46_436_000 picoseconds. - Weight::from_parts(47_008_000, 0) + // Minimum execution time: 71_534_000 picoseconds. + Weight::from_parts(72_401_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -138,8 +135,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `133` // Estimated: `3542` - // Minimum execution time: 12_823_000 picoseconds. - Weight::from_parts(12_962_000, 0) + // Minimum execution time: 21_287_000 picoseconds. + Weight::from_parts(21_584_000, 0) .saturating_add(Weight::from_parts(0, 3542)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -150,8 +147,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `133` // Estimated: `3542` - // Minimum execution time: 12_216_000 picoseconds. - Weight::from_parts(12_475_000, 0) + // Minimum execution time: 20_078_000 picoseconds. + Weight::from_parts(20_427_000, 0) .saturating_add(Weight::from_parts(0, 3542)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -173,42 +170,6 @@ mod tests { ); } #[test] - fn test_propose_spend() { - assert!( - ::BlockWeights::get() - .per_class - .get(frame_support::dispatch::DispatchClass::Normal) - .max_extrinsic - .unwrap_or_else(::max_value) - .proof_size() - > 1489 - ); - } - #[test] - fn test_reject_proposal() { - assert!( - ::BlockWeights::get() - .per_class - .get(frame_support::dispatch::DispatchClass::Normal) - .max_extrinsic - .unwrap_or_else(::max_value) - .proof_size() - > 6204 - ); - } - #[test] - fn test_approve_proposal() { - assert!( - ::BlockWeights::get() - .per_class - .get(frame_support::dispatch::DispatchClass::Normal) - .max_extrinsic - .unwrap_or_else(::max_value) - .proof_size() - > 3573 - ); - } - #[test] fn test_remove_approval() { assert!( ::BlockWeights::get() diff --git a/runtimes/spiritnet/src/weights/pallet_utility.rs b/runtimes/spiritnet/src/weights/pallet_utility.rs index 8ea6412c7..7c665e572 100644 --- a/runtimes/spiritnet/src/weights/pallet_utility.rs +++ b/runtimes/spiritnet/src/weights/pallet_utility.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-utility // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_utility.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,18 +52,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_222_000 picoseconds. - Weight::from_parts(11_268_025, 0) + // Minimum execution time: 10_118_000 picoseconds. + Weight::from_parts(10_371_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 856 - .saturating_add(Weight::from_parts(2_683_219, 0).saturating_mul(c.into())) + // Standard Error: 1_250 + .saturating_add(Weight::from_parts(4_205_745, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_043_000 picoseconds. - Weight::from_parts(5_233_000, 0) + // Minimum execution time: 8_570_000 picoseconds. + Weight::from_parts(8_763_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -73,18 +71,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_182_000 picoseconds. - Weight::from_parts(9_707_336, 0) + // Minimum execution time: 10_132_000 picoseconds. + Weight::from_parts(10_239_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_154 - .saturating_add(Weight::from_parts(2_925_062, 0).saturating_mul(c.into())) + // Standard Error: 1_709 + .saturating_add(Weight::from_parts(4_505_009, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_176_000 picoseconds. - Weight::from_parts(7_380_000, 0) + // Minimum execution time: 12_944_000 picoseconds. + Weight::from_parts(13_201_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -92,11 +90,11 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_136_000 picoseconds. - Weight::from_parts(7_738_737, 0) + // Minimum execution time: 10_034_000 picoseconds. + Weight::from_parts(10_365_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_249 - .saturating_add(Weight::from_parts(2_687_201, 0).saturating_mul(c.into())) + // Standard Error: 1_482 + .saturating_add(Weight::from_parts(4_184_770, 0).saturating_mul(c.into())) } } diff --git a/runtimes/spiritnet/src/weights/pallet_vesting.rs b/runtimes/spiritnet/src/weights/pallet_vesting.rs index 63489caf8..8d7d199a3 100644 --- a/runtimes/spiritnet/src/weights/pallet_vesting.rs +++ b/runtimes/spiritnet/src/weights/pallet_vesting.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-vesting // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_vesting.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -59,15 +57,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366 + l * (25 ±0) + s * (40 ±0)` + // Measured: `333 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 32_716_000 picoseconds. - Weight::from_parts(31_624_238, 0) + // Minimum execution time: 50_748_000 picoseconds. + Weight::from_parts(49_734_380, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 610 - .saturating_add(Weight::from_parts(37_011, 0).saturating_mul(l.into())) - // Standard Error: 1_086 - .saturating_add(Weight::from_parts(141_132, 0).saturating_mul(s.into())) + // Standard Error: 841 + .saturating_add(Weight::from_parts(54_995, 0).saturating_mul(l.into())) + // Standard Error: 1_497 + .saturating_add(Weight::from_parts(80_383, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,15 +79,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366 + l * (25 ±0) + s * (40 ±0)` + // Measured: `333 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 34_933_000 picoseconds. - Weight::from_parts(34_148_826, 0) + // Minimum execution time: 54_324_000 picoseconds. + Weight::from_parts(53_464_346, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 527 - .saturating_add(Weight::from_parts(30_137, 0).saturating_mul(l.into())) - // Standard Error: 938 - .saturating_add(Weight::from_parts(127_675, 0).saturating_mul(s.into())) + // Standard Error: 857 + .saturating_add(Weight::from_parts(48_957, 0).saturating_mul(l.into())) + // Standard Error: 1_525 + .saturating_add(Weight::from_parts(60_745, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -105,15 +103,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `434 + l * (25 ±0) + s * (40 ±0)` + // Measured: `401 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 34_970_000 picoseconds. - Weight::from_parts(33_396_762, 0) + // Minimum execution time: 53_568_000 picoseconds. + Weight::from_parts(52_704_990, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 655 - .saturating_add(Weight::from_parts(39_902, 0).saturating_mul(l.into())) - // Standard Error: 1_166 - .saturating_add(Weight::from_parts(146_668, 0).saturating_mul(s.into())) + // Standard Error: 953 + .saturating_add(Weight::from_parts(52_196, 0).saturating_mul(l.into())) + // Standard Error: 1_696 + .saturating_add(Weight::from_parts(74_693, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -129,15 +127,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `434 + l * (25 ±0) + s * (40 ±0)` + // Measured: `401 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 36_957_000 picoseconds. - Weight::from_parts(36_063_061, 0) + // Minimum execution time: 57_057_000 picoseconds. + Weight::from_parts(56_379_217, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 529 - .saturating_add(Weight::from_parts(31_993, 0).saturating_mul(l.into())) - // Standard Error: 941 - .saturating_add(Weight::from_parts(123_889, 0).saturating_mul(s.into())) + // Standard Error: 944 + .saturating_add(Weight::from_parts(47_539, 0).saturating_mul(l.into())) + // Standard Error: 1_681 + .saturating_add(Weight::from_parts(60_046, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -153,15 +151,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `471 + l * (25 ±0) + s * (40 ±0)` + // Measured: `438 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 66_016_000 picoseconds. - Weight::from_parts(66_301_649, 0) + // Minimum execution time: 101_892_000 picoseconds. + Weight::from_parts(102_744_745, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_235 - .saturating_add(Weight::from_parts(45_951, 0).saturating_mul(l.into())) - // Standard Error: 2_198 - .saturating_add(Weight::from_parts(171_498, 0).saturating_mul(s.into())) + // Standard Error: 1_373 + .saturating_add(Weight::from_parts(44_130, 0).saturating_mul(l.into())) + // Standard Error: 2_443 + .saturating_add(Weight::from_parts(104_734, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -177,15 +175,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `578 + l * (25 ±0) + s * (40 ±0)` + // Measured: `545 + l * (25 ±0) + s * (40 ±0)` // Estimated: `6204` - // Minimum execution time: 69_129_000 picoseconds. - Weight::from_parts(69_076_699, 0) + // Minimum execution time: 106_366_000 picoseconds. + Weight::from_parts(106_167_996, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 1_189 - .saturating_add(Weight::from_parts(45_612, 0).saturating_mul(l.into())) - // Standard Error: 2_116 - .saturating_add(Weight::from_parts(169_957, 0).saturating_mul(s.into())) + // Standard Error: 1_559 + .saturating_add(Weight::from_parts(52_074, 0).saturating_mul(l.into())) + // Standard Error: 2_773 + .saturating_add(Weight::from_parts(102_412, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -201,15 +199,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `471 + l * (25 ±0) + s * (40 ±0)` + // Measured: `438 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 36_571_000 picoseconds. - Weight::from_parts(35_060_968, 0) + // Minimum execution time: 55_842_000 picoseconds. + Weight::from_parts(55_004_092, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 525 - .saturating_add(Weight::from_parts(42_288, 0).saturating_mul(l.into())) - // Standard Error: 970 - .saturating_add(Weight::from_parts(142_565, 0).saturating_mul(s.into())) + // Standard Error: 974 + .saturating_add(Weight::from_parts(50_884, 0).saturating_mul(l.into())) + // Standard Error: 1_800 + .saturating_add(Weight::from_parts(67_850, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -225,15 +223,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `471 + l * (25 ±0) + s * (40 ±0)` + // Measured: `438 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 39_189_000 picoseconds. - Weight::from_parts(37_159_926, 0) + // Minimum execution time: 60_039_000 picoseconds. + Weight::from_parts(58_800_682, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 636 - .saturating_add(Weight::from_parts(46_607, 0).saturating_mul(l.into())) - // Standard Error: 1_175 - .saturating_add(Weight::from_parts(147_625, 0).saturating_mul(s.into())) + // Standard Error: 841 + .saturating_add(Weight::from_parts(51_275, 0).saturating_mul(l.into())) + // Standard Error: 1_554 + .saturating_add(Weight::from_parts(80_527, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -249,15 +247,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `471 + l * (25 ±0) + s * (40 ±0)` + // Measured: `438 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 39_755_000 picoseconds. - Weight::from_parts(38_003_429, 0) + // Minimum execution time: 61_162_000 picoseconds. + Weight::from_parts(60_062_728, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 864 - .saturating_add(Weight::from_parts(43_527, 0).saturating_mul(l.into())) - // Standard Error: 1_596 - .saturating_add(Weight::from_parts(144_859, 0).saturating_mul(s.into())) + // Standard Error: 998 + .saturating_add(Weight::from_parts(50_171, 0).saturating_mul(l.into())) + // Standard Error: 1_843 + .saturating_add(Weight::from_parts(88_276, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtimes/spiritnet/src/weights/pallet_web3_names.rs b/runtimes/spiritnet/src/weights/pallet_web3_names.rs index 54b2eec0c..56018bd16 100644 --- a/runtimes/spiritnet/src/weights/pallet_web3_names.rs +++ b/runtimes/spiritnet/src/weights/pallet_web3_names.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_web3_names` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --heap-pages=4096 -// --chain=dev // --pallet=pallet-web3-names // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -50,142 +48,150 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_web3_names::WeightInfo for WeightInfo { /// Storage: `Web3Names::Names` (r:1 w:1) - /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Banned` (r:1 w:0) - /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `Ignored`) + /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. - fn claim(_n: u32, ) -> Weight { + fn claim(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `147` - // Estimated: `990` - // Minimum execution time: 1_933_283_000 picoseconds. - Weight::from_parts(2_123_318_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `181` + // Estimated: `3712` + // Minimum execution time: 69_863_000 picoseconds. + Weight::from_parts(70_926_832, 0) + .saturating_add(Weight::from_parts(0, 3712)) + // Standard Error: 2_209 + .saturating_add(Weight::from_parts(21_292, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Web3Names::Names` (r:1 w:1) - /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn release_by_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `552` - // Estimated: `990` - // Minimum execution time: 1_704_333_000 picoseconds. - Weight::from_parts(1_704_333_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `530` + // Estimated: `3712` + // Minimum execution time: 60_122_000 picoseconds. + Weight::from_parts(60_749_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Names` (r:0 w:1) - /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. - fn reclaim_deposit(_n: u32, ) -> Weight { + fn reclaim_deposit(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `447 + n * (1 ±0)` - // Estimated: `990` - // Minimum execution time: 1_632_584_000 picoseconds. - Weight::from_parts(1_797_797_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `426 + n * (1 ±0)` + // Estimated: `3712` + // Minimum execution time: 56_726_000 picoseconds. + Weight::from_parts(57_641_727, 0) + .saturating_add(Weight::from_parts(0, 3712)) + // Standard Error: 1_254 + .saturating_add(Weight::from_parts(23_757, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Web3Names::Banned` (r:1 w:1) - /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `Ignored`) + /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Names` (r:0 w:1) - /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. - fn ban(_n: u32, ) -> Weight { + fn ban(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `447 + n * (1 ±0)` - // Estimated: `990` - // Minimum execution time: 1_884_191_000 picoseconds. - Weight::from_parts(2_552_638_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `426 + n * (1 ±0)` + // Estimated: `3712` + // Minimum execution time: 65_479_000 picoseconds. + Weight::from_parts(66_532_766, 0) + .saturating_add(Weight::from_parts(0, 3712)) + // Standard Error: 1_285 + .saturating_add(Weight::from_parts(32_912, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `Web3Names::Banned` (r:1 w:1) - /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `Ignored`) + /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. - fn unban(_n: u32, ) -> Weight { + fn unban(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `83 + n * (1 ±0)` - // Estimated: `990` - // Minimum execution time: 607_060_000 picoseconds. - Weight::from_parts(614_873_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `118 + n * (1 ±0)` + // Estimated: `3514` + // Minimum execution time: 21_738_000 picoseconds. + Weight::from_parts(22_236_119, 0) + .saturating_add(Weight::from_parts(0, 3514)) + // Standard Error: 760 + .saturating_add(Weight::from_parts(28_041, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Web3Names::Names` (r:1 w:0) - /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:2 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) - /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `659` - // Estimated: `990` - // Minimum execution time: 3_036_222_000 picoseconds. - Weight::from_parts(3_036_222_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `637` + // Estimated: `6434` + // Minimum execution time: 92_072_000 picoseconds. + Weight::from_parts(93_471_000, 0) + .saturating_add(Weight::from_parts(0, 6434)) .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `407` - // Estimated: `990` - // Minimum execution time: 2_369_820_000 picoseconds. - Weight::from_parts(2_369_820_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `385` + // Estimated: `3712` + // Minimum execution time: 62_503_000 picoseconds. + Weight::from_parts(63_196_000, 0) + .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) } } @@ -200,7 +206,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -212,7 +218,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -224,7 +230,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -236,7 +242,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } #[test] @@ -248,7 +254,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3514 ); } #[test] @@ -260,7 +266,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 6434 ); } #[test] @@ -272,7 +278,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3712 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_xcm.rs b/runtimes/spiritnet/src/weights/pallet_xcm.rs index 0d332fede..7d93e981d 100644 --- a/runtimes/spiritnet/src/weights/pallet_xcm.rs +++ b/runtimes/spiritnet/src/weights/pallet_xcm.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=pallet-xcm // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_xcm.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -58,16 +56,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3742` - // Minimum execution time: 30_940_000 picoseconds. - Weight::from_parts(31_685_000, 0) - .saturating_add(Weight::from_parts(0, 3742)) + // Measured: `344` + // Estimated: `3809` + // Minimum execution time: 47_334_000 picoseconds. + Weight::from_parts(47_880_000, 0) + .saturating_add(Weight::from_parts(0, 3809)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,8 +79,12 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) @@ -94,28 +96,48 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `309` - // Estimated: `3774` - // Minimum execution time: 97_254_000 picoseconds. - Weight::from_parts(98_092_000, 0) - .saturating_add(Weight::from_parts(0, 3774)) - .saturating_add(T::DbWeight::get().reads(7)) + // Measured: `416` + // Estimated: `3881` + // Minimum execution time: 170_842_000 picoseconds. + Weight::from_parts(172_441_000, 0) + .saturating_add(Weight::from_parts(0, 3881)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `416` + // Estimated: `3881` + // Minimum execution time: 172_699_000 picoseconds. + Weight::from_parts(177_860_000, 0) + .saturating_add(Weight::from_parts(0, 3881)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -133,8 +155,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_272_000 picoseconds. - Weight::from_parts(9_541_000, 0) + // Minimum execution time: 15_709_000 picoseconds. + Weight::from_parts(15_962_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,8 +166,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_748_000 picoseconds. - Weight::from_parts(2_927_000, 0) + // Minimum execution time: 5_490_000 picoseconds. + Weight::from_parts(5_644_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -162,18 +184,18 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::Queries` (r:0 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3742` - // Minimum execution time: 37_648_000 picoseconds. - Weight::from_parts(38_348_000, 0) - .saturating_add(Weight::from_parts(0, 3742)) + // Measured: `344` + // Estimated: `3809` + // Minimum execution time: 58_751_000 picoseconds. + Weight::from_parts(59_596_000, 0) + .saturating_add(Weight::from_parts(0, 3809)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -188,18 +210,18 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:0) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::Queries` (r:0 w:1) /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `532` - // Estimated: `3997` - // Minimum execution time: 41_031_000 picoseconds. - Weight::from_parts(41_618_000, 0) - .saturating_add(Weight::from_parts(0, 3997)) + // Measured: `599` + // Estimated: `134571` + // Minimum execution time: 62_727_000 picoseconds. + Weight::from_parts(63_445_000, 0) + .saturating_add(Weight::from_parts(0, 134571)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -209,8 +231,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_830_000 picoseconds. - Weight::from_parts(2_984_000, 0) + // Minimum execution time: 5_417_000 picoseconds. + Weight::from_parts(5_586_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -218,11 +240,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `125` - // Estimated: `13490` - // Minimum execution time: 21_326_000 picoseconds. - Weight::from_parts(21_932_000, 0) - .saturating_add(Weight::from_parts(0, 13490)) + // Measured: `159` + // Estimated: `13524` + // Minimum execution time: 30_223_000 picoseconds. + Weight::from_parts(30_966_000, 0) + .saturating_add(Weight::from_parts(0, 13524)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -230,11 +252,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `129` - // Estimated: `13494` - // Minimum execution time: 21_504_000 picoseconds. - Weight::from_parts(21_914_000, 0) - .saturating_add(Weight::from_parts(0, 13494)) + // Measured: `163` + // Estimated: `13528` + // Minimum execution time: 30_551_000 picoseconds. + Weight::from_parts(31_115_000, 0) + .saturating_add(Weight::from_parts(0, 13528)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -242,11 +264,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `183` - // Estimated: `16023` - // Minimum execution time: 23_689_000 picoseconds. - Weight::from_parts(24_555_000, 0) - .saturating_add(Weight::from_parts(0, 16023)) + // Measured: `178` + // Estimated: `16018` + // Minimum execution time: 33_039_000 picoseconds. + Weight::from_parts(33_473_000, 0) + .saturating_add(Weight::from_parts(0, 16018)) .saturating_add(T::DbWeight::get().reads(6)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) @@ -260,16 +282,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `6289` - // Minimum execution time: 36_737_000 picoseconds. - Weight::from_parts(37_663_000, 0) - .saturating_add(Weight::from_parts(0, 6289)) + // Measured: `416` + // Estimated: `6356` + // Minimum execution time: 53_678_000 picoseconds. + Weight::from_parts(54_319_000, 0) + .saturating_add(Weight::from_parts(0, 6356)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -277,22 +299,22 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `11062` - // Minimum execution time: 13_355_000 picoseconds. - Weight::from_parts(13_653_000, 0) - .saturating_add(Weight::from_parts(0, 11062)) + // Measured: `173` + // Estimated: `11063` + // Minimum execution time: 19_451_000 picoseconds. + Weight::from_parts(19_839_000, 0) + .saturating_add(Weight::from_parts(0, 11063)) .saturating_add(T::DbWeight::get().reads(4)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `13501` - // Minimum execution time: 21_637_000 picoseconds. - Weight::from_parts(22_117_000, 0) - .saturating_add(Weight::from_parts(0, 13501)) + // Measured: `170` + // Estimated: `13535` + // Minimum execution time: 30_644_000 picoseconds. + Weight::from_parts(31_197_000, 0) + .saturating_add(Weight::from_parts(0, 13535)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -307,16 +329,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) - /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: Some(131106), added: 133581, mode: `MaxEncodedLen`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `13714` - // Minimum execution time: 46_936_000 picoseconds. - Weight::from_parts(47_598_000, 0) - .saturating_add(Weight::from_parts(0, 13714)) + // Measured: `416` + // Estimated: `13781` + // Minimum execution time: 67_274_000 picoseconds. + Weight::from_parts(67_953_000, 0) + .saturating_add(Weight::from_parts(0, 13781)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -326,11 +348,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: - // Measured: `69` - // Estimated: `1554` - // Minimum execution time: 5_308_000 picoseconds. - Weight::from_parts(5_529_000, 0) - .saturating_add(Weight::from_parts(0, 1554)) + // Measured: `103` + // Estimated: `1588` + // Minimum execution time: 9_875_000 picoseconds. + Weight::from_parts(10_177_000, 0) + .saturating_add(Weight::from_parts(0, 1588)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -338,24 +360,28 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: - // Measured: `7710` - // Estimated: `11175` - // Minimum execution time: 30_221_000 picoseconds. - Weight::from_parts(30_681_000, 0) - .saturating_add(Weight::from_parts(0, 11175)) + // Measured: `7744` + // Estimated: `11209` + // Minimum execution time: 41_806_000 picoseconds. + Weight::from_parts(42_224_000, 0) + .saturating_add(Weight::from_parts(0, 11209)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `PolkadotXcm::ShouldRecordXcm` (r:1 w:0) + /// Proof: `PolkadotXcm::ShouldRecordXcm` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `126` - // Estimated: `3591` - // Minimum execution time: 44_754_000 picoseconds. - Weight::from_parts(45_338_000, 0) - .saturating_add(Weight::from_parts(0, 3591)) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `163` + // Estimated: `3628` + // Minimum execution time: 100_170_000 picoseconds. + Weight::from_parts(101_961_000, 0) + .saturating_add(Weight::from_parts(0, 3628)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } } @@ -371,7 +397,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3742 + > 3809 ); } #[test] @@ -383,7 +409,19 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3774 + > 3881 + ); + } + #[test] + fn test_transfer_assets() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 3881 ); } #[test] @@ -395,7 +433,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3742 + > 3809 ); } #[test] @@ -407,7 +445,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3997 + > 134571 ); } #[test] @@ -419,7 +457,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13490 + > 13524 ); } #[test] @@ -431,7 +469,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13494 + > 13528 ); } #[test] @@ -443,7 +481,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 16023 + > 16018 ); } #[test] @@ -455,7 +493,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6289 + > 6356 ); } #[test] @@ -467,7 +505,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11062 + > 11063 ); } #[test] @@ -479,7 +517,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13501 + > 13535 ); } #[test] @@ -491,7 +529,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13714 + > 13781 ); } #[test] @@ -503,7 +541,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 1554 + > 1588 ); } #[test] @@ -515,7 +553,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11175 + > 11209 ); } #[test] @@ -527,7 +565,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3591 + > 3628 ); } } diff --git a/runtimes/spiritnet/src/weights/parachain_staking.rs b/runtimes/spiritnet/src/weights/parachain_staking.rs index 6c71341a9..cb671a868 100644 --- a/runtimes/spiritnet/src/weights/parachain_staking.rs +++ b/runtimes/spiritnet/src/weights/parachain_staking.rs @@ -16,73 +16,90 @@ // If you feel like getting in touch with us, you can do so at -//! Autogenerated weights for parachain_staking +//! Autogenerated weights for `parachain_staking` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=spiritnet-dev -// --steps=50 -// --repeat=20 // --pallet=parachain-staking // --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=./runtimes/spiritnet/src/weights/parachain_staking.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] #![allow(clippy::as_conversions)] -#![allow(clippy::unnecessary_cast)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weights for `parachain_staking`. +/// Weight functions for `parachain_staking`. pub struct WeightInfo(PhantomData); impl parachain_staking::WeightInfo for WeightInfo { - // Storage: ParachainStaking Round (r:1 w:0) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn on_initialize_no_action() -> Weight { - Weight::from_parts(9_720_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - } - // Storage: ParachainStaking Round (r:1 w:1) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `335` + // Estimated: `1505` + // Minimum execution time: 8_452_000 picoseconds. + Weight::from_parts(8_762_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn on_initialize_round_update() -> Weight { - Weight::from_parts(19_583_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: ParachainStaking Round (r:1 w:1) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - // Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `335` + // Estimated: `1505` + // Minimum execution time: 14_900_000 picoseconds. + Weight::from_parts(15_307_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn on_initialize_network_rewards() -> Weight { - Weight::from_parts(37_094_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: ParachainStaking ForceNewRound (r:0 w:1) - // Proof: ParachainStaking ForceNewRound (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `375` + // Estimated: `1581` + // Minimum execution time: 28_683_000 picoseconds. + Weight::from_parts(29_099_000, 0) + .saturating_add(Weight::from_parts(0, 1581)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `ParachainStaking::ForceNewRound` (r:0 w:1) + /// Proof: `ParachainStaking::ForceNewRound` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn force_new_round() -> Weight { - Weight::from_parts(3_573_000 as u64, 0) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_296_000 picoseconds. + Weight::from_parts(5_555_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } -/// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:0) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:0) /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::CandidatePool` (r:76 w:0) /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) @@ -101,14 +118,14 @@ impl parachain_staking::WeightInfo for WeightInfo { fn set_inflation(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (7573 ±0) + n * (3709 ±0)` - // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±1_009)` - // Minimum execution time: 704_611_000 picoseconds. - Weight::from_parts(707_105_000, 0) + // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±1)` + // Minimum execution time: 976_571_000 picoseconds. + Weight::from_parts(981_029_000, 0) .saturating_add(Weight::from_parts(0, 183222)) - // Standard Error: 4_876_636 - .saturating_add(Weight::from_parts(150_694_630, 0).saturating_mul(n.into())) - // Standard Error: 10_470_032 - .saturating_add(Weight::from_parts(290_425_882, 0).saturating_mul(m.into())) + // Standard Error: 6_306_580 + .saturating_add(Weight::from_parts(194_171_072, 0).saturating_mul(n.into())) + // Standard Error: 13_540_090 + .saturating_add(Weight::from_parts(376_706_658, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(152)) .saturating_add(T::DbWeight::get().reads((27_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((51_u64).saturating_mul(m.into()))) @@ -118,419 +135,552 @@ impl parachain_staking::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 64823).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 31965).saturating_mul(n.into())) } - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:1) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:0) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking CandidatePool (r:59 w:0) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - fn set_max_selected_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_parts(34_791_000 as u64, 0) - // Standard Error: 22_810 - .saturating_add(Weight::from_parts(3_158_790 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 50_488 - .saturating_add(Weight::from_parts(237_373 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: ParachainStaking Round (r:1 w:1) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:59 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// The range of component `n` is `[16, 75]`. + /// The range of component `m` is `[0, 35]`. + fn set_max_selected_candidates(n: u32, _m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + m * (2832 ±0) + n * (1843 ±0)` + // Estimated: `5255 + n * (3554 ±9)` + // Minimum execution time: 40_148_000 picoseconds. + Weight::from_parts(41_504_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 28_009 + .saturating_add(Weight::from_parts(4_694_793, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 3554).saturating_mul(n.into())) + } + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn set_blocks_per_round() -> Weight { - Weight::from_parts(24_158_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:17 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:1) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:36 w:36) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:36 w:36) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:36 w:36) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking DelegatorState (r:35 w:35) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: Session Validators (r:1 w:0) - // Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Session DisabledValidators (r:1 w:1) - // Proof Skipped: Session DisabledValidators (max_values: Some(1), max_size: None, mode: Measured) - // Storage: System Digest (r:1 w:1) - // Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - // Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `335` + // Estimated: `1505` + // Minimum execution time: 20_357_000 picoseconds. + Weight::from_parts(20_763_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `ParachainStaking::CandidatePool` (r:17 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:36 w:36) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:36 w:36) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:36 w:36) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:35 w:35) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:1) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// The range of component `n` is `[17, 75]`. + /// The range of component `m` is `[0, 35]`. fn force_remove_candidate(n: u32, m: u32, ) -> Weight { - Weight::from_parts(133_321_000 as u64, 0) - // Standard Error: 23_503 - .saturating_add(Weight::from_parts(849_432 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 52_141 - .saturating_add(Weight::from_parts(24_512_322 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(29 as u64)) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes(10 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(m as u64))) - } - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking DelegatorState (r:1 w:0) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - // Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - // Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `0 + m * (2303 ±0) + n * (397 ±0)` + // Estimated: `73495 + m * (2756 ±0) + n * (136 ±3)` + // Minimum execution time: 181_776_000 picoseconds. + Weight::from_parts(182_770_000, 0) + .saturating_add(Weight::from_parts(0, 73495)) + // Standard Error: 35_837 + .saturating_add(Weight::from_parts(1_230_703, 0).saturating_mul(n.into())) + // Standard Error: 79_501 + .saturating_add(Weight::from_parts(36_847_805, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(29)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes(10)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(m.into()))) + .saturating_add(Weight::from_parts(0, 2756).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 136).saturating_mul(n.into())) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 74]`. + /// The range of component `m` is `[0, 35]`. fn join_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_parts(58_290_006 as u64, 0) - // Standard Error: 9_768 - .saturating_add(Weight::from_parts(452_557 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 20_284 - .saturating_add(Weight::from_parts(801_802 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:17 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking Round (r:1 w:0) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `2617 + m * (37 ±0) + n * (76 ±0)` + // Estimated: `5255 + m * (43 ±0)` + // Minimum execution time: 107_728_000 picoseconds. + Weight::from_parts(101_188_734, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 12_867 + .saturating_add(Weight::from_parts(478_305, 0).saturating_mul(n.into())) + // Standard Error: 26_720 + .saturating_add(Weight::from_parts(858_754, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(Weight::from_parts(0, 43).saturating_mul(m.into())) + } + /// Storage: `ParachainStaking::CandidatePool` (r:17 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// The range of component `n` is `[17, 74]`. + /// The range of component `m` is `[0, 35]`. fn init_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_parts(82_719_648 as u64, 0) - // Standard Error: 9_416 - .saturating_add(Weight::from_parts(540_449 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 15_271 - .saturating_add(Weight::from_parts(1_265_189 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(21 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:2 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `2007 + m * (816 ±0) + n * (71 ±0)` + // Estimated: `73495` + // Minimum execution time: 145_590_000 picoseconds. + Weight::from_parts(133_798_120, 0) + .saturating_add(Weight::from_parts(0, 73495)) + // Standard Error: 12_119 + .saturating_add(Weight::from_parts(544_959, 0).saturating_mul(n.into())) + // Standard Error: 19_654 + .saturating_add(Weight::from_parts(1_336_277, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(21)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `ParachainStaking::CandidatePool` (r:2 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// The range of component `n` is `[17, 74]`. + /// The range of component `m` is `[0, 35]`. fn cancel_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_parts(40_360_490 as u64, 0) - // Standard Error: 6_610 - .saturating_add(Weight::from_parts(244_903 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 10_720 - .saturating_add(Weight::from_parts(568_999 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking Round (r:1 w:0) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:1) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:36 w:36) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:36 w:36) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:36 w:36) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking DelegatorState (r:35 w:35) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: Session Validators (r:1 w:0) - // Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Session DisabledValidators (r:1 w:1) - // Proof Skipped: Session DisabledValidators (max_values: Some(1), max_size: None, mode: Measured) - // Storage: System Digest (r:1 w:1) - // Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - // Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `780 + m * (96 ±0) + n * (53 ±0)` + // Estimated: `9520` + // Minimum execution time: 58_367_000 picoseconds. + Weight::from_parts(58_042_540, 0) + .saturating_add(Weight::from_parts(0, 9520)) + // Standard Error: 8_215 + .saturating_add(Weight::from_parts(244_304, 0).saturating_mul(n.into())) + // Standard Error: 13_323 + .saturating_add(Weight::from_parts(503_120, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:36 w:36) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:36 w:36) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:36 w:36) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:35 w:35) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:1) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// The range of component `n` is `[17, 74]`. + /// The range of component `m` is `[0, 35]`. fn execute_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_parts(66_923_000 as u64, 0) - // Standard Error: 20_476 - .saturating_add(Weight::from_parts(750_740 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 44_843 - .saturating_add(Weight::from_parts(24_654_644 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes(8 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(m as u64))) - } - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - // Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `0 + m * (1534 ±0) + n * (335 ±0)` + // Estimated: `5255 + m * (2756 ±7) + n * (118 ±3)` + // Minimum execution time: 90_746_000 picoseconds. + Weight::from_parts(91_581_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 31_206 + .saturating_add(Weight::from_parts(1_020_877, 0).saturating_mul(n.into())) + // Standard Error: 68_344 + .saturating_add(Weight::from_parts(37_135_131, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(m.into()))) + .saturating_add(Weight::from_parts(0, 2756).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 118).saturating_mul(n.into())) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 74]`. + /// The range of component `m` is `[0, 35]`. + /// The range of component `u` is `[0, 9]`. fn candidate_stake_more(n: u32, m: u32, u: u32, ) -> Weight { - Weight::from_parts(55_908_884 as u64, 0) - // Standard Error: 9_777 - .saturating_add(Weight::from_parts(500_279 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 20_296 - .saturating_add(Weight::from_parts(964_901 as u64, 0).saturating_mul(m as u64)) - // Standard Error: 75_180 - .saturating_add(Weight::from_parts(1_126_340 as u64, 0).saturating_mul(u as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `3030 + m * (92 ±0) + n * (65 ±0) + u * (24 ±0)` + // Estimated: `5255` + // Minimum execution time: 122_606_000 picoseconds. + Weight::from_parts(103_427_053, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 11_302 + .saturating_add(Weight::from_parts(563_333, 0).saturating_mul(n.into())) + // Standard Error: 23_461 + .saturating_add(Weight::from_parts(1_112_466, 0).saturating_mul(m.into())) + // Standard Error: 86_906 + .saturating_add(Weight::from_parts(1_065_179, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(8)) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 74]`. + /// The range of component `m` is `[0, 35]`. fn candidate_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_parts(45_889_115 as u64, 0) - // Standard Error: 10_474 - .saturating_add(Weight::from_parts(483_213 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 21_750 - .saturating_add(Weight::from_parts(905_984 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) - } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking CandidatePool (r:2 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking LastDelegation (r:1 w:1) - // Proof: ParachainStaking LastDelegation (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Round (r:1 w:0) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:0 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `2099 + m * (70 ±0) + n * (60 ±0)` + // Estimated: `5255` + // Minimum execution time: 84_096_000 picoseconds. + Weight::from_parts(76_533_083, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 13_807 + .saturating_add(Weight::from_parts(485_850, 0).saturating_mul(n.into())) + // Standard Error: 28_671 + .saturating_add(Weight::from_parts(904_231, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:2 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::LastDelegation` (r:1 w:1) + /// Proof: `ParachainStaking::LastDelegation` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:0 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 75]`. + /// The range of component `m` is `[1, 34]`. fn join_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_parts(62_585_140 as u64, 0) - // Standard Error: 10_255 - .saturating_add(Weight::from_parts(588_425 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 22_793 - .saturating_add(Weight::from_parts(1_193_810 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `3558 + m * (93 ±0) + n * (84 ±0)` + // Estimated: `9520` + // Minimum execution time: 130_557_000 picoseconds. + Weight::from_parts(111_635_841, 0) + .saturating_add(Weight::from_parts(0, 9520)) + // Standard Error: 12_488 + .saturating_add(Weight::from_parts(693_269, 0).saturating_mul(n.into())) + // Standard Error: 27_756 + .saturating_add(Weight::from_parts(1_443_029, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(9)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 75]`. + /// The range of component `m` is `[1, 34]`. + /// The range of component `u` is `[1, 9]`. fn delegator_stake_more(n: u32, m: u32, u: u32, ) -> Weight { - Weight::from_parts(66_780_705 as u64, 0) - // Standard Error: 9_176 - .saturating_add(Weight::from_parts(519_243 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 20_387 - .saturating_add(Weight::from_parts(950_103 as u64, 0).saturating_mul(m as u64)) - // Standard Error: 79_072 - .saturating_add(Weight::from_parts(1_029_497 as u64, 0).saturating_mul(u as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `4166 + m * (88 ±0) + n * (72 ±0) + u * (24 ±0)` + // Estimated: `5255` + // Minimum execution time: 134_347_000 picoseconds. + Weight::from_parts(113_878_150, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 10_071 + .saturating_add(Weight::from_parts(616_690, 0).saturating_mul(n.into())) + // Standard Error: 22_374 + .saturating_add(Weight::from_parts(1_234_034, 0).saturating_mul(m.into())) + // Standard Error: 86_778 + .saturating_add(Weight::from_parts(1_108_995, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(9)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 75]`. + /// The range of component `m` is `[1, 34]`. fn delegator_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_parts(55_304_698 as u64, 0) - // Standard Error: 10_232 - .saturating_add(Weight::from_parts(495_173 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 22_742 - .saturating_add(Weight::from_parts(960_378 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `2952 + m * (71 ±0) + n * (67 ±0)` + // Estimated: `5255` + // Minimum execution time: 96_161_000 picoseconds. + Weight::from_parts(86_213_743, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 12_333 + .saturating_add(Weight::from_parts(546_488, 0).saturating_mul(n.into())) + // Standard Error: 27_410 + .saturating_add(Weight::from_parts(1_085_612, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(7)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 75]`. + /// The range of component `m` is `[1, 34]`. fn leave_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_parts(62_004_177 as u64, 0) - // Standard Error: 10_361 - .saturating_add(Weight::from_parts(490_342 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 23_027 - .saturating_add(Weight::from_parts(900_182 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) - } - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - fn unlock_unstaked(_u: u32, ) -> Weight { - Weight::from_parts(40_259_781 as u64, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - } - // Storage: ParachainStaking MaxCollatorCandidateStake (r:0 w:1) - // Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `2952 + m * (71 ±0) + n * (67 ±0)` + // Estimated: `5255` + // Minimum execution time: 101_634_000 picoseconds. + Weight::from_parts(96_236_966, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 12_075 + .saturating_add(Weight::from_parts(549_378, 0).saturating_mul(n.into())) + // Standard Error: 26_838 + .saturating_add(Weight::from_parts(942_715, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(7)) + } + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// The range of component `u` is `[1, 9]`. + fn unlock_unstaked(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `709 + u * (24 ±0)` + // Estimated: `4764` + // Minimum execution time: 55_473_000 picoseconds. + Weight::from_parts(56_457_308, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 5_811 + .saturating_add(Weight::from_parts(93_909, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:0 w:1) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_max_candidate_stake() -> Weight { - Weight::from_parts(9_402_000 as u64, 0) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:0) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_422_000 picoseconds. + Weight::from_parts(11_558_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) fn increment_delegator_rewards() -> Weight { - Weight::from_parts(40_524_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:1 w:0) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `676` + // Estimated: `3553` + // Minimum execution time: 41_124_000 picoseconds. + Weight::from_parts(41_654_000, 0) + .saturating_add(Weight::from_parts(0, 3553)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) fn increment_collator_rewards() -> Weight { - Weight::from_parts(24_257_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `590` + // Estimated: `5255` + // Minimum execution time: 37_909_000 picoseconds. + Weight::from_parts(38_382_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { - Weight::from_parts(48_168_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `3597` + // Minimum execution time: 42_785_000 picoseconds. + Weight::from_parts(43_458_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:0) /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -553,14 +703,14 @@ impl parachain_staking::WeightInfo for WeightInfo { fn execute_scheduled_reward_change(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (7573 ±0) + n * (3647 ±0)` - // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±1_009)` - // Minimum execution time: 683_160_000 picoseconds. - Weight::from_parts(687_351_000, 0) + // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±0)` + // Minimum execution time: 952_481_000 picoseconds. + Weight::from_parts(960_710_000, 0) .saturating_add(Weight::from_parts(0, 183222)) - // Standard Error: 4_643_820 - .saturating_add(Weight::from_parts(141_740_256, 0).saturating_mul(n.into())) - // Standard Error: 9_970_180 - .saturating_add(Weight::from_parts(280_674_034, 0).saturating_mul(m.into())) + // Standard Error: 6_232_738 + .saturating_add(Weight::from_parts(189_883_244, 0).saturating_mul(n.into())) + // Standard Error: 13_381_551 + .saturating_add(Weight::from_parts(375_297_025, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(153)) .saturating_add(T::DbWeight::get().reads((27_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((51_u64).saturating_mul(m.into()))) @@ -583,7 +733,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -595,7 +745,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -607,7 +757,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4723 + > 1581 ); } #[test] @@ -631,7 +781,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 5168 + > 5255 ); } #[test] @@ -643,7 +793,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -655,7 +805,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 116721 + > 73495 ); } #[test] @@ -667,7 +817,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22098 + > 5255 ); } #[test] @@ -679,7 +829,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 78143 + > 73495 ); } #[test] @@ -691,7 +841,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13653 + > 9520 ); } #[test] @@ -703,7 +853,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 25299 + > 5255 ); } #[test] @@ -715,7 +865,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 27204 + > 5255 ); } #[test] @@ -727,7 +877,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 20312 + > 5255 ); } #[test] @@ -739,7 +889,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 30914 + > 9520 ); } #[test] @@ -751,7 +901,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 29256 + > 5255 ); } #[test] @@ -763,7 +913,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22875 + > 5255 ); } #[test] @@ -775,7 +925,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22875 + > 5255 ); } #[test] @@ -787,7 +937,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 9137 + > 4764 ); } #[test] @@ -799,7 +949,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11258 + > 3553 ); } #[test] @@ -811,7 +961,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 12960 + > 5255 ); } #[test] @@ -823,7 +973,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 5138 + > 3597 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/public_credentials.rs b/runtimes/spiritnet/src/weights/public_credentials.rs index b145ba0f4..fb310a21c 100644 --- a/runtimes/spiritnet/src/weights/public_credentials.rs +++ b/runtimes/spiritnet/src/weights/public_credentials.rs @@ -18,26 +18,24 @@ //! Autogenerated weights for `public_credentials` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/release/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled -// --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain=spiritnet-dev // --pallet=public-credentials // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/public_credentials.rs +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +53,8 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `PublicCredentials::CredentialSubjects` (r:0 w:1) /// Proof: `PublicCredentials::CredentialSubjects` (`max_values`: None, `max_size`: Some(312), added: 2787, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) @@ -64,15 +62,15 @@ impl public_credentials::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 100000]`. fn add(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `363` + // Measured: `396` // Estimated: `3940` - // Minimum execution time: 64_264_000 picoseconds. - Weight::from_parts(60_245_133, 0) + // Minimum execution time: 79_596_000 picoseconds. + Weight::from_parts(73_943_798, 0) .saturating_add(Weight::from_parts(0, 3940)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_343, 0).saturating_mul(c.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(2_180, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `PublicCredentials::CredentialSubjects` (r:1 w:0) /// Proof: `PublicCredentials::CredentialSubjects` (`max_values`: None, `max_size`: Some(312), added: 2787, mode: `MaxEncodedLen`) @@ -80,10 +78,10 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) fn revoke() -> Weight { // Proof Size summary in bytes: - // Measured: `919` + // Measured: `952` // Estimated: `3940` - // Minimum execution time: 24_018_000 picoseconds. - Weight::from_parts(24_346_000, 0) + // Minimum execution time: 35_794_000 picoseconds. + Weight::from_parts(36_306_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -94,10 +92,10 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) fn unrevoke() -> Weight { // Proof Size summary in bytes: - // Measured: `919` + // Measured: `952` // Estimated: `3940` - // Minimum execution time: 23_516_000 picoseconds. - Weight::from_parts(23_733_000, 0) + // Minimum execution time: 36_695_000 picoseconds. + Weight::from_parts(37_082_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -108,16 +106,16 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: - // Measured: `1160` + // Measured: `1137` // Estimated: `3940` - // Minimum execution time: 61_552_000 picoseconds. - Weight::from_parts(62_254_000, 0) + // Minimum execution time: 72_995_000 picoseconds. + Weight::from_parts(73_922_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -128,16 +126,16 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `1160` + // Measured: `1137` // Estimated: `3940` - // Minimum execution time: 61_540_000 picoseconds. - Weight::from_parts(62_236_000, 0) + // Minimum execution time: 72_963_000 picoseconds. + Weight::from_parts(74_137_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -148,19 +146,19 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `PublicCredentials::Credentials` (`max_values`: None, `max_size`: Some(475), added: 2950, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:2 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `1265` - // Estimated: `6326` - // Minimum execution time: 97_534_000 picoseconds. - Weight::from_parts(98_223_000, 0) - .saturating_add(Weight::from_parts(0, 6326)) + // Measured: `1242` + // Estimated: `6434` + // Minimum execution time: 115_413_000 picoseconds. + Weight::from_parts(116_663_000, 0) + .saturating_add(Weight::from_parts(0, 6434)) .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `PublicCredentials::CredentialSubjects` (r:1 w:0) /// Proof: `PublicCredentials::CredentialSubjects` (`max_values`: None, `max_size`: Some(312), added: 2787, mode: `MaxEncodedLen`) @@ -170,17 +168,17 @@ impl public_credentials::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `1084` + // Measured: `1061` // Estimated: `3940` - // Minimum execution time: 84_048_000 picoseconds. - Weight::from_parts(84_586_000, 0) + // Minimum execution time: 87_358_000 picoseconds. + Weight::from_parts(88_096_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) } } @@ -255,7 +253,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6326 + > 6434 ); } #[test]