diff --git a/.github/workflows/runtimes-matrix.json b/.github/workflows/runtimes-matrix.json index 4bd84cfb..75d759d1 100644 --- a/.github/workflows/runtimes-matrix.json +++ b/.github/workflows/runtimes-matrix.json @@ -1,9 +1,16 @@ [ { - "name": "integritee", + "name": "integritee-kusama", "package": "integritee-runtime", "path": "polkadot-parachains/integritee-runtime", "uri": "wss://kusama.api.integritee.network:443", "is_relay": false + }, + { + "name": "integritee-paseo", + "package": "integritee-runtime", + "path": "polkadot-parachains/integritee-runtime", + "uri": "wss://paseo.api.integritee.network:443", + "is_relay": false } ] diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index bfeda673..415c0474 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -112,6 +112,7 @@ wait-timeout = { workspace = true } [features] default = [] runtime-benchmarks = [ + "cumulus-primitives-core/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "integritee-runtime/runtime-benchmarks", diff --git a/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_parachain_system.rs b/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_parachain_system.rs index 76962d71..65d989a9 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_parachain_system.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_parachain_system.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `cumulus_pallet_parachain_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -45,13 +45,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: `48` + // Measured: `84` // Estimated: `3517` - // Minimum execution time: 3_026_000 picoseconds. - Weight::from_parts(4_845_462_490, 0) + // Minimum execution time: 1_478_000 picoseconds. + Weight::from_parts(1_538_000, 0) .saturating_add(Weight::from_parts(0, 3517)) - // Standard Error: 1_363_950 - .saturating_add(Weight::from_parts(165_372_268, 0).saturating_mul(n.into())) + // Standard Error: 124_634 + .saturating_add(Weight::from_parts(141_720_686, 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/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs b/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs index 0b9ed065..4ec3aec7 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -38,8 +38,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 6_852_000 picoseconds. - Weight::from_parts(7_224_000, 0) + // Minimum execution time: 4_043_000 picoseconds. + Weight::from_parts(4_293_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -56,10 +56,10 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { // Proof Size summary in bytes: - // Measured: `82` + // Measured: `118` // Estimated: `3517` - // Minimum execution time: 17_578_000 picoseconds. - Weight::from_parts(18_082_000, 0) + // Minimum execution time: 11_882_000 picoseconds. + Weight::from_parts(12_293_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -70,8 +70,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_695_000 picoseconds. - Weight::from_parts(3_882_000, 0) + // Minimum execution time: 2_507_000 picoseconds. + Weight::from_parts(2_644_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -82,8 +82,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `111` // Estimated: `1596` - // Minimum execution time: 5_009_000 picoseconds. - Weight::from_parts(5_345_000, 0) + // Minimum execution time: 3_447_000 picoseconds. + Weight::from_parts(3_615_000, 0) .saturating_add(Weight::from_parts(0, 1596)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -92,8 +92,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 71_474_000 picoseconds. - Weight::from_parts(72_232_000, 0) + // Minimum execution time: 7_569_000 picoseconds. + Weight::from_parts(7_757_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -112,11 +112,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65711` - // Estimated: `69176` - // Minimum execution time: 145_680_000 picoseconds. - Weight::from_parts(147_358_000, 0) - .saturating_add(Weight::from_parts(0, 69176)) + // Measured: `65747` + // Estimated: `69212` + // Minimum execution time: 98_707_000 picoseconds. + Weight::from_parts(99_726_000, 0) + .saturating_add(Weight::from_parts(0, 69212)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -128,8 +128,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65710` // Estimated: `69175` - // Minimum execution time: 59_575_000 picoseconds. - Weight::from_parts(60_108_000, 0) + // Minimum execution time: 42_141_000 picoseconds. + Weight::from_parts(43_029_000, 0) .saturating_add(Weight::from_parts(0, 69175)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs b/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs index e6a8bb3b..89d3c151 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `frame_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -19,7 +19,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=polkadot-parachains/integritee-runtime/src/weights/frame_system.rs +// --output=./polkadot-parachains/integritee-runtime/src/weights/frame_system.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -37,22 +37,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_286_000 picoseconds. - Weight::from_parts(191_644_683, 0) + // Minimum execution time: 2_378_000 picoseconds. + Weight::from_parts(43_630_449, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(289, 0).saturating_mul(b.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(249, 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: 6_119_000 picoseconds. - Weight::from_parts(17_261_113, 0) + // Minimum execution time: 3_703_000 picoseconds. + Weight::from_parts(3_940_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_364, 0).saturating_mul(b.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_281, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -62,8 +62,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 2_614_000 picoseconds. - Weight::from_parts(2_783_000, 0) + // Minimum execution time: 2_352_000 picoseconds. + Weight::from_parts(2_532_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -84,8 +84,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `164` // Estimated: `1649` - // Minimum execution time: 113_555_557_000 picoseconds. - Weight::from_parts(118_939_586_000, 0) + // Minimum execution time: 107_507_192_000 picoseconds. + Weight::from_parts(113_806_538_000, 0) .saturating_add(Weight::from_parts(0, 1649)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -97,11 +97,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_734_000 picoseconds. - Weight::from_parts(1_792_000, 0) + // Minimum execution time: 1_749_000 picoseconds. + Weight::from_parts(1_775_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_574 - .saturating_add(Weight::from_parts(801_045, 0).saturating_mul(i.into())) + // Standard Error: 2_589 + .saturating_add(Weight::from_parts(713_121, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -111,11 +111,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_895_000 picoseconds. - Weight::from_parts(3_433_879, 0) + // Minimum execution time: 1_821_000 picoseconds. + Weight::from_parts(4_151_450, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 6_245 - .saturating_add(Weight::from_parts(595_337, 0).saturating_mul(i.into())) + // Standard Error: 4_202 + .saturating_add(Weight::from_parts(503_578, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -123,13 +123,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: `98 + p * (69 ±0)` - // Estimated: `90 + p * (70 ±0)` - // Minimum execution time: 3_493_000 picoseconds. - Weight::from_parts(3_565_000, 0) - .saturating_add(Weight::from_parts(0, 90)) - // Standard Error: 4_619 - .saturating_add(Weight::from_parts(1_079_884, 0).saturating_mul(p.into())) + // Measured: `87 + p * (69 ±0)` + // Estimated: `93 + p * (70 ±0)` + // Minimum execution time: 2_625_000 picoseconds. + Weight::from_parts(2_660_000, 0) + .saturating_add(Weight::from_parts(0, 93)) + // Standard Error: 1_826 + .saturating_add(Weight::from_parts(1_020_065, 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())) @@ -140,8 +140,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_935_000 picoseconds. - Weight::from_parts(9_980_000, 0) + // Minimum execution time: 8_091_000 picoseconds. + Weight::from_parts(9_297_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,8 +163,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `186` // Estimated: `1671` - // Minimum execution time: 114_363_990_000 picoseconds. - Weight::from_parts(118_049_286_000, 0) + // Minimum execution time: 111_952_640_000 picoseconds. + Weight::from_parts(118_457_913_000, 0) .saturating_add(Weight::from_parts(0, 1671)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_conversion.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_conversion.rs index 0486932d..0c9c809b 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_conversion.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_conversion.rs @@ -1,39 +1,25 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Cumulus. - -// Cumulus 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. - -// Cumulus 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 Cumulus. If not, see . //! Autogenerated weights for `pallet_asset_conversion` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-30, STEPS: `20`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `cob`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-rococo-dev")`, DB CACHE: 1024 +//! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: -// ./target/debug/polkadot-parachain +// ./target/release/integritee-collator // benchmark // pallet -// --chain=asset-hub-rococo-dev -// --steps=20 -// --repeat=2 -// --pallet=pallet-asset-conversion +// --chain=integritee-rococo-local-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_asset_conversion // --extrinsic=* +// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=./cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights/pallet_asset_conversion.rs +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_asset_conversion.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -47,13 +33,9 @@ use core::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_asset_conversion::WeightInfo for WeightInfo { /// Storage: `AssetConversion::Pools` (r:1 w:1) - /// Proof: `AssetConversion::Pools` (`max_values`: None, `max_size`: Some(1224), added: 3699, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Proof: `AssetConversion::Pools` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:2 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `AssetConversion::NextPoolAssetId` (r:1 w:1) /// Proof: `AssetConversion::NextPoolAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `PoolAssets::Asset` (r:1 w:1) @@ -62,20 +44,20 @@ impl pallet_asset_conversion::WeightInfo for WeightInfo /// Proof: `PoolAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `408` - // Estimated: `4689` - // Minimum execution time: 906_000_000 picoseconds. - Weight::from_parts(945_000_000, 0) - .saturating_add(Weight::from_parts(0, 4689)) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(7)) + // Measured: `657` + // Estimated: `6360` + // Minimum execution time: 69_536_000 picoseconds. + Weight::from_parts(71_262_000, 0) + .saturating_add(Weight::from_parts(0, 6360)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `AssetConversion::Pools` (r:1 w:0) - /// Proof: `AssetConversion::Pools` (`max_values`: None, `max_size`: Some(1224), added: 3699, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Proof: `AssetConversion::Pools` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:2 w:2) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:4 w:4) + /// Proof: `Assets::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(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `PoolAssets::Asset` (r:1 w:1) @@ -84,74 +66,68 @@ impl pallet_asset_conversion::WeightInfo for WeightInfo /// Proof: `PoolAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `1117` - // Estimated: `7404` - // Minimum execution time: 1_609_000_000 picoseconds. - Weight::from_parts(1_631_000_000, 0) - .saturating_add(Weight::from_parts(0, 7404)) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(7)) + // Measured: `1306` + // Estimated: `11426` + // Minimum execution time: 175_114_000 picoseconds. + Weight::from_parts(184_549_000, 0) + .saturating_add(Weight::from_parts(0, 11426)) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(10)) } /// Storage: `AssetConversion::Pools` (r:1 w:0) - /// Proof: `AssetConversion::Pools` (`max_values`: None, `max_size`: Some(1224), added: 3699, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::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(128), added: 2603, mode: `MaxEncodedLen`) + /// Proof: `AssetConversion::Pools` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:2 w:2) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:4 w:4) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `PoolAssets::Asset` (r:1 w:1) /// Proof: `PoolAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `PoolAssets::Account` (r:1 w:1) /// Proof: `PoolAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `1106` - // Estimated: `7404` - // Minimum execution time: 1_480_000_000 picoseconds. - Weight::from_parts(1_506_000_000, 0) - .saturating_add(Weight::from_parts(0, 7404)) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `1449` + // Estimated: `11426` + // Minimum execution time: 148_042_000 picoseconds. + Weight::from_parts(153_632_000, 0) + .saturating_add(Weight::from_parts(0, 11426)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: `ForeignAssets::Asset` (r:2 w:2) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:4 w:4) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:3 w:3) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:6 w:6) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 3]`. fn swap_exact_tokens_for_tokens(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (557 ±0)` - // Estimated: `7404 + n * (393 ±73)` - // Minimum execution time: 933_000_000 picoseconds. - Weight::from_parts(950_000_000, 0) - .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 18_792_550 - .saturating_add(Weight::from_parts(46_683_673, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 393).saturating_mul(n.into())) + // Measured: `22 + n * (419 ±0)` + // Estimated: `990 + n * (5218 ±0)` + // Minimum execution time: 64_222_000 picoseconds. + Weight::from_parts(66_956_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 118_427 + .saturating_add(Weight::from_parts(2_274_379, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 5218).saturating_mul(n.into())) } - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Asset` (r:2 w:2) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:4 w:4) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:3 w:3) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:6 w:6) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 3]`. fn swap_tokens_for_exact_tokens(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (557 ±0)` - // Estimated: `7404 + n * (393 ±180)` - // Minimum execution time: 936_000_000 picoseconds. - Weight::from_parts(954_000_000, 0) - .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 15_942_881 - .saturating_add(Weight::from_parts(39_755_102, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 393).saturating_mul(n.into())) + // Measured: `22 + n * (419 ±0)` + // Estimated: `990 + n * (5218 ±0)` + // Minimum execution time: 64_370_000 picoseconds. + Weight::from_parts(66_012_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 119_947 + .saturating_add(Weight::from_parts(943_346, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 5218).saturating_mul(n.into())) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs index c5740e83..6a69a92a 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs @@ -1,43 +1,25 @@ -// This file is part of Trappist. - -// Copyright (C) Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. //! Autogenerated weights for `pallet_asset_registry` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-nbnwcyh-project-647-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` -//! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `Some("trappist-dev")`, DB CACHE: 1024 +//! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: -// ./target/production/trappist-node +// ./target/release/integritee-collator // benchmark // pallet -// --chain=trappist-dev +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 -// --no-storage-info -// --no-median-slopes -// --no-min-squares // --pallet=pallet_asset_registry // --extrinsic=* +// --execution=wasm // --wasm-execution=compiled -// --header=./templates/file_header.txt -// --output=./runtime/trappist/src/weights/ +// --heap-pages=4096 +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -50,34 +32,34 @@ use core::marker::PhantomData; /// Weight functions for `pallet_asset_registry`. pub struct WeightInfo(PhantomData); impl pallet_asset_registry::WeightInfo for WeightInfo { - /// Storage: `Assets::Asset` (r:1 w:0) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetIdLocation` (r:1 w:1) - /// Proof: `AssetRegistry::AssetIdLocation` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetLocationId` (r:0 w:1) - /// Proof: `AssetRegistry::AssetLocationId` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - fn register_reserve_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `123` - // Estimated: `4087` - // Minimum execution time: 19_271_000 picoseconds. - Weight::from_parts(19_590_000, 0) - .saturating_add(Weight::from_parts(0, 4087)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: `AssetRegistry::AssetIdLocation` (r:1 w:1) - /// Proof: `AssetRegistry::AssetIdLocation` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetLocationId` (r:0 w:1) - /// Proof: `AssetRegistry::AssetLocationId` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - fn unregister_reserve_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `107` - // Estimated: `4087` - // Minimum execution time: 15_981_000 picoseconds. - Weight::from_parts(16_448_000, 0) - .saturating_add(Weight::from_parts(0, 4087)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) - } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIdLocation` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIdLocation` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocationId` (r:0 w:1) + /// Proof: `AssetRegistry::AssetLocationId` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + fn register_reserve_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `123` + // Estimated: `4087` + // Minimum execution time: 18_234_000 picoseconds. + Weight::from_parts(19_781_000, 0) + .saturating_add(Weight::from_parts(0, 4087)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `AssetRegistry::AssetIdLocation` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIdLocation` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocationId` (r:0 w:1) + /// Proof: `AssetRegistry::AssetLocationId` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + fn unregister_reserve_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `107` + // Estimated: `4087` + // Minimum execution time: 14_124_000 picoseconds. + Weight::from_parts(14_637_000, 0) + .saturating_add(Weight::from_parts(0, 4087)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_assets.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_assets.rs index c16559d0..14dde2a3 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_assets.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_assets.rs @@ -1,42 +1,25 @@ -// Copyright Parity Technologies (UK) Ltd. -// This file is part of Cumulus. - -// Cumulus 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. - -// Cumulus 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 Cumulus. If not, see . //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("asset-hub-kusama-dev"), DB CACHE: 1024 +//! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: -// target/production/polkadot-parachain +// ./target/release/integritee-collator // benchmark // pallet +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 +// --pallet=pallet_assets // --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json -// --pallet=pallet_assets -// --chain=asset-hub-kusama-dev -// --header=./file_header.txt -// --output=./parachains/runtimes/assets/asset-hub-kusama/src/weights/ +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_assets.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,482 +32,470 @@ use core::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); impl pallet_assets::WeightInfo for WeightInfo { - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn create() -> Weight { - // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `3675` - // Minimum execution time: 26_803_000 picoseconds. - Weight::from_parts(27_212_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - fn force_create() -> Weight { - // Proof Size summary in bytes: - // Measured: `6` - // Estimated: `3675` - // Minimum execution time: 11_413_000 picoseconds. - Weight::from_parts(11_755_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - fn start_destroy() -> Weight { - // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3675` - // Minimum execution time: 13_649_000 picoseconds. - Weight::from_parts(13_992_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1001 w:1000) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) - /// Storage: System Account (r:1000 w:1000) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// The range of component `c` is `[0, 1000]`. - /// The range of component `c` is `[0, 1000]`. - fn destroy_accounts(c: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0 + c * (208 ±0)` - // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 16_659_000 picoseconds. - Weight::from_parts(16_877_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 4_837 - .saturating_add(Weight::from_parts(12_015_579, 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)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2609).saturating_mul(c.into())) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1001 w:1000) - /// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen) - /// The range of component `a` is `[0, 1000]`. - /// The range of component `a` is `[0, 1000]`. - fn destroy_approvals(a: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `414 + a * (86 ±0)` - // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 17_700_000 picoseconds. - Weight::from_parts(17_937_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 3_243 - .saturating_add(Weight::from_parts(13_846_653, 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)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2623).saturating_mul(a.into())) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen) - fn finish_destroy() -> Weight { - // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3675` - // Minimum execution time: 13_768_000 picoseconds. - Weight::from_parts(14_051_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) - fn mint() -> Weight { - // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3675` - // Minimum execution time: 25_151_000 picoseconds. - Weight::from_parts(25_580_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) - fn burn() -> Weight { - // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3675` - // Minimum execution time: 30_470_000 picoseconds. - Weight::from_parts(31_052_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets 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(128), added: 2603, mode: MaxEncodedLen) - fn transfer() -> Weight { - // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `6208` - // Minimum execution time: 41_875_000 picoseconds. - Weight::from_parts(42_493_000, 0) - .saturating_add(Weight::from_parts(0, 6208)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets 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(128), added: 2603, mode: MaxEncodedLen) - fn transfer_keep_alive() -> Weight { - // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `6208` - // Minimum execution time: 36_879_000 picoseconds. - Weight::from_parts(38_073_000, 0) - .saturating_add(Weight::from_parts(0, 6208)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets 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(128), added: 2603, mode: MaxEncodedLen) - fn force_transfer() -> Weight { - // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `6208` - // Minimum execution time: 41_787_000 picoseconds. - Weight::from_parts(42_372_000, 0) - .saturating_add(Weight::from_parts(0, 6208)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) - } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) - fn freeze() -> Weight { - // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3675` - // Minimum execution time: 16_915_000 picoseconds. - Weight::from_parts(17_359_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) - fn thaw() -> Weight { - // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3675` - // Minimum execution time: 16_837_000 picoseconds. - Weight::from_parts(17_598_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - fn freeze_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3675` - // Minimum execution time: 13_493_000 picoseconds. - Weight::from_parts(13_959_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - fn thaw_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3675` - // Minimum execution time: 13_178_000 picoseconds. - Weight::from_parts(13_574_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen) - fn transfer_ownership() -> Weight { - // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3675` - // Minimum execution time: 14_461_000 picoseconds. - Weight::from_parts(14_999_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - fn set_team() -> Weight { - // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3675` - // Minimum execution time: 13_465_000 picoseconds. - Weight::from_parts(13_898_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets 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]`. - /// The range of component `n` is `[0, 50]`. - /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3675` - // Minimum execution time: 28_106_000 picoseconds. - Weight::from_parts(28_109_577, 0) - .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 4_194 - .saturating_add(Weight::from_parts(15_049, 0).saturating_mul(n.into())) - // Standard Error: 4_194 - .saturating_add(Weight::from_parts(19_600, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen) - fn clear_metadata() -> Weight { - // Proof Size summary in bytes: - // Measured: `407` - // Estimated: `3675` - // Minimum execution time: 28_488_000 picoseconds. - Weight::from_parts(28_852_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets 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]`. - /// The range of component `n` is `[0, 50]`. - /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(_n: u32, s: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `82` - // Estimated: `3675` - // Minimum execution time: 13_076_000 picoseconds. - Weight::from_parts(13_553_158, 0) - .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 1_371 - .saturating_add(Weight::from_parts(5_010, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen) - fn force_clear_metadata() -> Weight { - // Proof Size summary in bytes: - // Measured: `407` - // Estimated: `3675` - // Minimum execution time: 27_960_000 picoseconds. - Weight::from_parts(28_488_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - fn force_asset_status() -> Weight { - // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3675` - // Minimum execution time: 12_685_000 picoseconds. - Weight::from_parts(12_972_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen) - fn approve_transfer() -> Weight { - // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3675` - // Minimum execution time: 31_166_000 picoseconds. - Weight::from_parts(31_861_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets 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(128), added: 2603, mode: MaxEncodedLen) - fn transfer_approved() -> Weight { - // Proof Size summary in bytes: - // Measured: `521` - // Estimated: `6208` - // Minimum execution time: 59_372_000 picoseconds. - Weight::from_parts(60_201_000, 0) - .saturating_add(Weight::from_parts(0, 6208)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen) - fn cancel_approval() -> Weight { - // Proof Size summary in bytes: - // Measured: `447` - // Estimated: `3675` - // Minimum execution time: 33_161_000 picoseconds. - Weight::from_parts(33_561_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen) - fn force_cancel_approval() -> Weight { - // Proof Size summary in bytes: - // Measured: `447` - // Estimated: `3675` - // Minimum execution time: 33_624_000 picoseconds. - Weight::from_parts(34_111_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - fn set_min_balance() -> Weight { - // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3675` - // Minimum execution time: 13_756_000 picoseconds. - Weight::from_parts(14_098_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn touch() -> Weight { - // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3675` - // Minimum execution time: 32_493_000 picoseconds. - Weight::from_parts(33_272_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) - } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - fn touch_other() -> Weight { - // Proof Size summary in bytes: - // Measured: `243` - // Estimated: `3675` - // Minimum execution time: 30_824_000 picoseconds. - Weight::from_parts(31_497_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn refund() -> Weight { - // Proof Size summary in bytes: - // Measured: `472` - // Estimated: `3675` - // Minimum execution time: 29_576_000 picoseconds. - Weight::from_parts(30_149_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) - } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - fn refund_other() -> Weight { - // Proof Size summary in bytes: - // Measured: `402` - // Estimated: `3675` - // Minimum execution time: 28_092_000 picoseconds. - Weight::from_parts(28_419_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) - fn block() -> Weight { - // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3675` - // Minimum execution time: 16_860_000 picoseconds. - Weight::from_parts(17_197_000, 0) - .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } + fn create() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 0_000 picoseconds. + Weight::from_parts(0, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn force_create() -> Weight { + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `3675` + // Minimum execution time: 11_188_000 picoseconds. + Weight::from_parts(11_828_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn start_destroy() -> Weight { + // Proof Size summary in bytes: + // Measured: `314` + // Estimated: `3675` + // Minimum execution time: 13_776_000 picoseconds. + Weight::from_parts(14_584_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1001 w:1000) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1000 w:1000) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 1000]`. + fn destroy_accounts(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + c * (208 ±0)` + // Estimated: `3675 + c * (2609 ±0)` + // Minimum execution time: 16_755_000 picoseconds. + Weight::from_parts(17_160_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + // Standard Error: 10_861 + .saturating_add(Weight::from_parts(10_969_481, 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)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2609).saturating_mul(c.into())) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1001 w:1000) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + fn destroy_approvals(a: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `451 + a * (86 ±0)` + // Estimated: `3675 + a * (2623 ±0)` + // Minimum execution time: 12_362_000 picoseconds. + Weight::from_parts(193_062_106, 0) + .saturating_add(Weight::from_parts(0, 3675)) + // Standard Error: 98_771 + .saturating_add(Weight::from_parts(13_392_232, 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)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 2623).saturating_mul(a.into())) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + fn finish_destroy() -> Weight { + // Proof Size summary in bytes: + // Measured: `280` + // Estimated: `3675` + // Minimum execution time: 10_016_000 picoseconds. + Weight::from_parts(10_467_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + fn mint() -> Weight { + // Proof Size summary in bytes: + // Measured: `280` + // Estimated: `3675` + // Minimum execution time: 19_718_000 picoseconds. + Weight::from_parts(20_368_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + fn burn() -> Weight { + // Proof Size summary in bytes: + // Measured: `388` + // Estimated: `3675` + // Minimum execution time: 27_931_000 picoseconds. + Weight::from_parts(28_657_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::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(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `388` + // Estimated: `6208` + // Minimum execution time: 38_479_000 picoseconds. + Weight::from_parts(39_443_000, 0) + .saturating_add(Weight::from_parts(0, 6208)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::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(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `388` + // Estimated: `6208` + // Minimum execution time: 33_765_000 picoseconds. + Weight::from_parts(34_678_000, 0) + .saturating_add(Weight::from_parts(0, 6208)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::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(128), added: 2603, mode: `MaxEncodedLen`) + fn force_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `388` + // Estimated: `6208` + // Minimum execution time: 38_433_000 picoseconds. + Weight::from_parts(39_278_000, 0) + .saturating_add(Weight::from_parts(0, 6208)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + fn freeze() -> Weight { + // Proof Size summary in bytes: + // Measured: `388` + // Estimated: `3675` + // Minimum execution time: 13_686_000 picoseconds. + Weight::from_parts(14_393_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + fn thaw() -> Weight { + // Proof Size summary in bytes: + // Measured: `388` + // Estimated: `3675` + // Minimum execution time: 13_534_000 picoseconds. + Weight::from_parts(14_333_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn freeze_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `314` + // Estimated: `3675` + // Minimum execution time: 10_233_000 picoseconds. + Weight::from_parts(10_793_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn thaw_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `314` + // Estimated: `3675` + // Minimum execution time: 10_495_000 picoseconds. + Weight::from_parts(11_305_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + fn transfer_ownership() -> Weight { + // Proof Size summary in bytes: + // Measured: `280` + // Estimated: `3675` + // Minimum execution time: 10_711_000 picoseconds. + Weight::from_parts(11_439_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn set_team() -> Weight { + // Proof Size summary in bytes: + // Measured: `280` + // Estimated: `3675` + // Minimum execution time: 9_166_000 picoseconds. + Weight::from_parts(10_564_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::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 { + // Proof Size summary in bytes: + // Measured: `280` + // Estimated: `3675` + // Minimum execution time: 22_975_000 picoseconds. + Weight::from_parts(26_773_427, 0) + .saturating_add(Weight::from_parts(0, 3675)) + // Standard Error: 13_851 + .saturating_add(Weight::from_parts(333_301, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + fn clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `444` + // Estimated: `3675` + // Minimum execution time: 41_712_000 picoseconds. + Weight::from_parts(43_814_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::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 force_set_metadata(n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `119` + // Estimated: `3675` + // Minimum execution time: 16_238_000 picoseconds. + Weight::from_parts(12_600_707, 0) + .saturating_add(Weight::from_parts(0, 3675)) + // Standard Error: 16_188 + .saturating_add(Weight::from_parts(135_458, 0).saturating_mul(n.into())) + // Standard Error: 16_188 + .saturating_add(Weight::from_parts(98_553, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + fn force_clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `444` + // Estimated: `3675` + // Minimum execution time: 38_686_000 picoseconds. + Weight::from_parts(40_077_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn force_asset_status() -> Weight { + // Proof Size summary in bytes: + // Measured: `280` + // Estimated: `3675` + // Minimum execution time: 13_755_000 picoseconds. + Weight::from_parts(14_652_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + fn approve_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `314` + // Estimated: `3675` + // Minimum execution time: 44_588_000 picoseconds. + Weight::from_parts(45_829_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::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(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_approved() -> Weight { + // Proof Size summary in bytes: + // Measured: `558` + // Estimated: `6208` + // Minimum execution time: 99_178_000 picoseconds. + Weight::from_parts(101_097_000, 0) + .saturating_add(Weight::from_parts(0, 6208)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + fn cancel_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `484` + // Estimated: `3675` + // Minimum execution time: 48_083_000 picoseconds. + Weight::from_parts(49_895_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + fn force_cancel_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `484` + // Estimated: `3675` + // Minimum execution time: 48_154_000 picoseconds. + Weight::from_parts(49_901_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn set_min_balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `280` + // Estimated: `3675` + // Minimum execution time: 15_701_000 picoseconds. + Weight::from_parts(16_249_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn touch() -> Weight { + // Proof Size summary in bytes: + // Measured: `419` + // Estimated: `3675` + // Minimum execution time: 46_883_000 picoseconds. + Weight::from_parts(48_694_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn touch_other() -> Weight { + // Proof Size summary in bytes: + // Measured: `280` + // Estimated: `3675` + // Minimum execution time: 44_243_000 picoseconds. + Weight::from_parts(46_588_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn refund() -> Weight { + // Proof Size summary in bytes: + // Measured: `545` + // Estimated: `3675` + // Minimum execution time: 47_825_000 picoseconds. + Weight::from_parts(48_843_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn refund_other() -> Weight { + // Proof Size summary in bytes: + // Measured: `439` + // Estimated: `3675` + // Minimum execution time: 45_313_000 picoseconds. + Weight::from_parts(46_706_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + fn block() -> Weight { + // Proof Size summary in bytes: + // Measured: `388` + // Estimated: `3675` + // Minimum execution time: 24_534_000 picoseconds. + Weight::from_parts(32_402_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs index 5a968e88..11d25ee0 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 58_733_000 picoseconds. - Weight::from_parts(59_662_000, 0) + // Minimum execution time: 63_120_000 picoseconds. + Weight::from_parts(64_610_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 44_614_000 picoseconds. - Weight::from_parts(45_448_000, 0) + // Minimum execution time: 49_209_000 picoseconds. + Weight::from_parts(50_615_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -62,8 +62,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 14_792_000 picoseconds. - Weight::from_parts(15_589_000, 0) + // Minimum execution time: 15_817_000 picoseconds. + Weight::from_parts(16_187_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 20_801_000 picoseconds. - Weight::from_parts(21_729_000, 0) + // Minimum execution time: 22_449_000 picoseconds. + Weight::from_parts(23_576_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +86,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 56_518_000 picoseconds. - Weight::from_parts(58_881_000, 0) + // Minimum execution time: 60_634_000 picoseconds. + Weight::from_parts(62_369_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -98,8 +98,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 54_112_000 picoseconds. - Weight::from_parts(55_289_000, 0) + // Minimum execution time: 57_712_000 picoseconds. + Weight::from_parts(59_024_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -110,8 +110,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 18_202_000 picoseconds. - Weight::from_parts(18_698_000, 0) + // Minimum execution time: 19_718_000 picoseconds. + Weight::from_parts(20_424_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -123,20 +123,24 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 18_038_000 picoseconds. - Weight::from_parts(18_212_000, 0) + // Minimum execution time: 18_576_000 picoseconds. + Weight::from_parts(18_928_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 144_891 - .saturating_add(Weight::from_parts(17_960_594, 0).saturating_mul(u.into())) + // Standard Error: 35_746 + .saturating_add(Weight::from_parts(13_157_981, 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, 2603).saturating_mul(u.into())) } + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn force_adjust_total_issuance() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `0` - // Minimum execution time: 6_157_000 picoseconds. - Weight::from_parts(6_507_000, 0) + // Estimated: `1501` + // Minimum execution time: 4_948_000 picoseconds. + Weight::from_parts(5_138_000, 0) + .saturating_add(Weight::from_parts(0, 1501)) + .saturating_add(T::DbWeight::get().reads(1)) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_bounties.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_bounties.rs index c923e072..1d05983a 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_bounties.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_bounties.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_bounties` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -19,7 +19,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=polkadot-parachains/integritee-runtime/src/weights/pallet_bounties.rs +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_bounties.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -45,8 +45,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3593` - // Minimum execution time: 29_134_000 picoseconds. - Weight::from_parts(33_168_861, 0) + // Minimum execution time: 29_410_000 picoseconds. + Weight::from_parts(32_770_915, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -59,8 +59,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3642` - // Minimum execution time: 10_565_000 picoseconds. - Weight::from_parts(11_062_000, 0) + // Minimum execution time: 10_138_000 picoseconds. + Weight::from_parts(11_241_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -71,8 +71,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255` // Estimated: `3642` - // Minimum execution time: 10_592_000 picoseconds. - Weight::from_parts(10_953_000, 0) + // Minimum execution time: 9_806_000 picoseconds. + Weight::from_parts(10_353_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -85,8 +85,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `394` // Estimated: `3642` - // Minimum execution time: 25_515_000 picoseconds. - Weight::from_parts(26_633_000, 0) + // Minimum execution time: 25_309_000 picoseconds. + Weight::from_parts(26_337_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -99,8 +99,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `390` // Estimated: `3642` - // Minimum execution time: 24_988_000 picoseconds. - Weight::from_parts(26_270_000, 0) + // Minimum execution time: 24_097_000 picoseconds. + Weight::from_parts(25_117_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -113,8 +113,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `371` // Estimated: `3642` - // Minimum execution time: 15_424_000 picoseconds. - Weight::from_parts(16_064_000, 0) + // Minimum execution time: 14_751_000 picoseconds. + Weight::from_parts(15_596_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -131,8 +131,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `645` // Estimated: `8799` - // Minimum execution time: 100_470_000 picoseconds. - Weight::from_parts(104_140_000, 0) + // Minimum execution time: 103_708_000 picoseconds. + Weight::from_parts(105_755_000, 0) .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) @@ -149,8 +149,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `415` // Estimated: `3642` - // Minimum execution time: 28_039_000 picoseconds. - Weight::from_parts(28_942_000, 0) + // Minimum execution time: 29_379_000 picoseconds. + Weight::from_parts(32_252_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -167,8 +167,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `716` // Estimated: `8799` - // Minimum execution time: 69_601_000 picoseconds. - Weight::from_parts(70_346_000, 0) + // Minimum execution time: 72_803_000 picoseconds. + Weight::from_parts(73_915_000, 0) .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -179,8 +179,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3642` - // Minimum execution time: 10_942_000 picoseconds. - Weight::from_parts(11_219_000, 0) + // Minimum execution time: 10_960_000 picoseconds. + Weight::from_parts(11_188_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -196,11 +196,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + b * (295 ±0)` // Estimated: `1887 + b * (5206 ±0)` - // Minimum execution time: 2_634_000 picoseconds. - Weight::from_parts(2_711_000, 0) + // Minimum execution time: 2_699_000 picoseconds. + Weight::from_parts(18_820_261, 0) .saturating_add(Weight::from_parts(0, 1887)) - // Standard Error: 127_460 - .saturating_add(Weight::from_parts(33_007_935, 0).saturating_mul(b.into())) + // Standard Error: 249_351 + .saturating_add(Weight::from_parts(32_300_046, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs index 4b9ba739..1d515b64 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_child_bounties` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -45,13 +45,15 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { + fn add_child_bounty(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `511` // Estimated: `6196` - // Minimum execution time: 79_214_000 picoseconds. - Weight::from_parts(88_356_190, 0) + // Minimum execution time: 59_879_000 picoseconds. + Weight::from_parts(66_235_450, 0) .saturating_add(Weight::from_parts(0, 6196)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(25, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -65,8 +67,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_claims::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `363` // Estimated: `4764` - // Minimum execution time: 173_784_000 picoseconds. - Weight::from_parts(195_367_000, 0) + // Minimum execution time: 150_558_000 picoseconds. + Weight::from_parts(165_132_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -70,8 +70,8 @@ impl pallet_claims::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `145` // Estimated: `1630` - // Minimum execution time: 13_656_000 picoseconds. - Weight::from_parts(15_345_000, 0) + // Minimum execution time: 10_173_000 picoseconds. + Weight::from_parts(13_198_000, 0) .saturating_add(Weight::from_parts(0, 1630)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) @@ -96,8 +96,8 @@ impl pallet_claims::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `363` // Estimated: `4764` - // Minimum execution time: 173_631_000 picoseconds. - Weight::from_parts(190_004_000, 0) + // Minimum execution time: 159_308_000 picoseconds. + Weight::from_parts(170_977_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -124,8 +124,8 @@ impl pallet_claims::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `437` // Estimated: `4764` - // Minimum execution time: 88_885_000 picoseconds. - Weight::from_parts(103_925_000, 0) + // Minimum execution time: 75_011_000 picoseconds. + Weight::from_parts(81_929_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) @@ -142,8 +142,8 @@ impl pallet_claims::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `369` // Estimated: `3834` - // Minimum execution time: 29_210_000 picoseconds. - Weight::from_parts(34_017_000, 0) + // Minimum execution time: 26_561_000 picoseconds. + Weight::from_parts(30_090_000, 0) .saturating_add(Weight::from_parts(0, 3834)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs index 8b13a76c..d4524c57 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -46,14 +46,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` - // Estimated: `15728 + m * (1967 ±23) + p * (4332 ±23)` - // Minimum execution time: 19_525_000 picoseconds. - Weight::from_parts(19_988_000, 0) + // Estimated: `15728 + m * (1967 ±24) + p * (4332 ±24)` + // Minimum execution time: 16_539_000 picoseconds. + Weight::from_parts(17_079_000, 0) .saturating_add(Weight::from_parts(0, 15728)) - // Standard Error: 82_383 - .saturating_add(Weight::from_parts(4_124_496, 0).saturating_mul(m.into())) - // Standard Error: 82_383 - .saturating_add(Weight::from_parts(7_863_293, 0).saturating_mul(p.into())) + // Standard Error: 173_928 + .saturating_add(Weight::from_parts(4_412_314, 0).saturating_mul(m.into())) + // Standard Error: 173_928 + .saturating_add(Weight::from_parts(7_241_225, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,13 +69,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69 + m * (32 ±0)` // Estimated: `1555 + m * (32 ±0)` - // Minimum execution time: 14_286_000 picoseconds. - Weight::from_parts(11_750_461, 0) + // Minimum execution time: 13_050_000 picoseconds. + Weight::from_parts(12_133_971, 0) .saturating_add(Weight::from_parts(0, 1555)) - // Standard Error: 517 - .saturating_add(Weight::from_parts(3_721, 0).saturating_mul(b.into())) - // Standard Error: 5_330 - .saturating_add(Weight::from_parts(27_756, 0).saturating_mul(m.into())) + // Standard Error: 429 + .saturating_add(Weight::from_parts(5_233, 0).saturating_mul(b.into())) + // Standard Error: 4_427 + .saturating_add(Weight::from_parts(20_820, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -89,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69 + m * (32 ±0)` // Estimated: `3535 + m * (32 ±0)` - // Minimum execution time: 14_616_000 picoseconds. - Weight::from_parts(14_875_402, 0) + // Minimum execution time: 21_102_000 picoseconds. + Weight::from_parts(22_906_868, 0) .saturating_add(Weight::from_parts(0, 3535)) - // Standard Error: 71 - .saturating_add(Weight::from_parts(738, 0).saturating_mul(b.into())) - // Standard Error: 735 - .saturating_add(Weight::from_parts(12_448, 0).saturating_mul(m.into())) + // Standard Error: 395 + .saturating_add(Weight::from_parts(161, 0).saturating_mul(b.into())) + // Standard Error: 4_077 + .saturating_add(Weight::from_parts(26_064, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -112,19 +112,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// 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: `359 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3751 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 18_349_000 picoseconds. - Weight::from_parts(16_662_649, 0) + // Minimum execution time: 20_581_000 picoseconds. + Weight::from_parts(23_315_961, 0) .saturating_add(Weight::from_parts(0, 3751)) - // Standard Error: 595 - .saturating_add(Weight::from_parts(6_523, 0).saturating_mul(b.into())) - // Standard Error: 6_210 - .saturating_add(Weight::from_parts(871, 0).saturating_mul(m.into())) - // Standard Error: 6_131 - .saturating_add(Weight::from_parts(256_864, 0).saturating_mul(p.into())) + // Standard Error: 43_792 + .saturating_add(Weight::from_parts(273_049, 0).saturating_mul(m.into())) + // Standard Error: 43_237 + .saturating_add(Weight::from_parts(598_681, 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())) @@ -139,9 +137,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `808 + m * (64 ±0)` // Estimated: `4272 + m * (64 ±0)` - // Minimum execution time: 21_729_000 picoseconds. - Weight::from_parts(33_188_066, 0) + // Minimum execution time: 20_733_000 picoseconds. + Weight::from_parts(22_236_007, 0) .saturating_add(Weight::from_parts(0, 4272)) + // Standard Error: 2_061 + .saturating_add(Weight::from_parts(30_696, 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())) @@ -160,13 +160,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `397 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3842 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 30_760_000 picoseconds. - Weight::from_parts(31_051_130, 0) + // Minimum execution time: 21_793_000 picoseconds. + Weight::from_parts(26_905_698, 0) .saturating_add(Weight::from_parts(0, 3842)) - // Standard Error: 9_124 - .saturating_add(Weight::from_parts(138_303, 0).saturating_mul(m.into())) - // Standard Error: 8_897 - .saturating_add(Weight::from_parts(79_758, 0).saturating_mul(p.into())) + // Standard Error: 3_923 + .saturating_add(Weight::from_parts(176_149, 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())) @@ -187,13 +185,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `699 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4016 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 29_037_000 picoseconds. - Weight::from_parts(26_942_399, 0) + // Minimum execution time: 29_194_000 picoseconds. + Weight::from_parts(24_786_480, 0) .saturating_add(Weight::from_parts(0, 4016)) - // Standard Error: 12_725 - .saturating_add(Weight::from_parts(96_795, 0).saturating_mul(m.into())) - // Standard Error: 12_404 - .saturating_add(Weight::from_parts(329_130, 0).saturating_mul(p.into())) + // Standard Error: 769 + .saturating_add(Weight::from_parts(5_967, 0).saturating_mul(b.into())) + // Standard Error: 7_929 + .saturating_add(Weight::from_parts(281_412, 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())) @@ -216,13 +214,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `417 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3862 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 22_868_000 picoseconds. - Weight::from_parts(19_323_053, 0) + // Minimum execution time: 22_570_000 picoseconds. + Weight::from_parts(16_403_347, 0) .saturating_add(Weight::from_parts(0, 3862)) - // Standard Error: 7_096 - .saturating_add(Weight::from_parts(38_053, 0).saturating_mul(m.into())) - // Standard Error: 6_919 - .saturating_add(Weight::from_parts(288_777, 0).saturating_mul(p.into())) + // Standard Error: 3_586 + .saturating_add(Weight::from_parts(76_029, 0).saturating_mul(m.into())) + // Standard Error: 3_497 + .saturating_add(Weight::from_parts(232_896, 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())) @@ -245,11 +243,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `719 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4036 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 32_500_000 picoseconds. - Weight::from_parts(44_043_145, 0) + // Minimum execution time: 34_170_000 picoseconds. + Weight::from_parts(57_636_081, 0) .saturating_add(Weight::from_parts(0, 4036)) - // Standard Error: 6_701 - .saturating_add(Weight::from_parts(263_346, 0).saturating_mul(p.into())) + // Standard Error: 7_512 + .saturating_add(Weight::from_parts(164_343, 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())) @@ -267,11 +265,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` // Estimated: `1711 + p * (32 ±0)` - // Minimum execution time: 12_534_000 picoseconds. - Weight::from_parts(15_667_461, 0) + // Minimum execution time: 10_402_000 picoseconds. + Weight::from_parts(10_728_000, 0) .saturating_add(Weight::from_parts(0, 1711)) - // Standard Error: 15_728 - .saturating_add(Weight::from_parts(297_521, 0).saturating_mul(p.into())) + // Standard Error: 17_489 + .saturating_add(Weight::from_parts(615_068, 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())) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs index d4bf4e17..8d74dc53 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4734` // Estimated: `18187` - // Minimum execution time: 54_343_000 picoseconds. - Weight::from_parts(60_955_000, 0) + // Minimum execution time: 49_086_000 picoseconds. + Weight::from_parts(52_414_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -56,8 +56,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3489` // Estimated: `6695` - // Minimum execution time: 40_869_000 picoseconds. - Weight::from_parts(44_976_000, 0) + // Minimum execution time: 41_968_000 picoseconds. + Weight::from_parts(44_190_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3365` // Estimated: `7260` - // Minimum execution time: 51_599_000 picoseconds. - Weight::from_parts(55_934_000, 0) + // Minimum execution time: 59_646_000 picoseconds. + Weight::from_parts(63_034_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -92,8 +92,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3387` // Estimated: `7260` - // Minimum execution time: 54_405_000 picoseconds. - Weight::from_parts(62_383_000, 0) + // Minimum execution time: 63_310_000 picoseconds. + Weight::from_parts(65_985_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -108,8 +108,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `299` // Estimated: `3666` - // Minimum execution time: 23_330_000 picoseconds. - Weight::from_parts(23_929_000, 0) + // Minimum execution time: 24_922_000 picoseconds. + Weight::from_parts(26_173_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -132,8 +132,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6182` // Estimated: `18187` - // Minimum execution time: 112_998_000 picoseconds. - Weight::from_parts(119_774_000, 0) + // Minimum execution time: 118_438_000 picoseconds. + Weight::from_parts(122_592_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -146,8 +146,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3349` // Estimated: `6703` - // Minimum execution time: 12_550_000 picoseconds. - Weight::from_parts(12_979_000, 0) + // Minimum execution time: 12_676_000 picoseconds. + Weight::from_parts(13_531_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_850_000 picoseconds. - Weight::from_parts(3_073_000, 0) + // Minimum execution time: 4_620_000 picoseconds. + Weight::from_parts(9_220_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,8 +169,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_926_000 picoseconds. - Weight::from_parts(3_085_000, 0) + // Minimum execution time: 2_671_000 picoseconds. + Weight::from_parts(3_011_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 22_949_000 picoseconds. - Weight::from_parts(23_591_000, 0) + // Minimum execution time: 23_666_000 picoseconds. + Weight::from_parts(25_930_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -202,8 +202,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3452` // Estimated: `6703` - // Minimum execution time: 27_034_000 picoseconds. - Weight::from_parts(28_017_000, 0) + // Minimum execution time: 29_860_000 picoseconds. + Weight::from_parts(33_570_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -220,8 +220,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6093` // Estimated: `18187` - // Minimum execution time: 85_159_000 picoseconds. - Weight::from_parts(89_363_000, 0) + // Minimum execution time: 97_344_000 picoseconds. + Weight::from_parts(99_302_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +234,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 15_640_000 picoseconds. - Weight::from_parts(16_115_000, 0) + // Minimum execution time: 17_284_000 picoseconds. + Weight::from_parts(18_035_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -251,11 +251,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 5_136_000 picoseconds. - Weight::from_parts(3_778_816, 0) + // Minimum execution time: 6_155_000 picoseconds. + Weight::from_parts(44_619_774, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 19_413 - .saturating_add(Weight::from_parts(3_315_596, 0).saturating_mul(r.into())) + // Standard Error: 43_628 + .saturating_add(Weight::from_parts(3_204_379, 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)) @@ -278,11 +278,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 7_585_000 picoseconds. - Weight::from_parts(2_360_101, 0) + // Minimum execution time: 8_033_000 picoseconds. + Weight::from_parts(8_371_000, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 102_929 - .saturating_add(Weight::from_parts(4_150_482, 0).saturating_mul(r.into())) + // Standard Error: 43_707 + .saturating_add(Weight::from_parts(4_004_065, 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)) @@ -301,11 +301,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `729 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 45_934_000 picoseconds. - Weight::from_parts(66_786_058, 0) + // Minimum execution time: 41_741_000 picoseconds. + Weight::from_parts(54_080_981, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 38_288 - .saturating_add(Weight::from_parts(3_767_782, 0).saturating_mul(r.into())) + // Standard Error: 73_954 + .saturating_add(Weight::from_parts(4_687_124, 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)) @@ -321,11 +321,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `426 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 20_989_000 picoseconds. - Weight::from_parts(40_577_593, 0) + // Minimum execution time: 19_507_000 picoseconds. + Weight::from_parts(3_382_253, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 41_957 - .saturating_add(Weight::from_parts(4_140_456, 0).saturating_mul(r.into())) + // Standard Error: 263_596 + .saturating_add(Weight::from_parts(6_303_424, 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)) @@ -338,8 +338,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_980_000 picoseconds. - Weight::from_parts(15_761_000, 0) + // Minimum execution time: 3_181_000 picoseconds. + Weight::from_parts(3_420_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -352,15 +352,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_remove(r: u32, ) -> Weight { + fn unlock_remove(_r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421` // Estimated: `7260` - // Minimum execution time: 24_819_000 picoseconds. - Weight::from_parts(44_494_225, 0) + // Minimum execution time: 27_463_000 picoseconds. + Weight::from_parts(45_488_454, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 17_218 - .saturating_add(Weight::from_parts(144_454, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -373,13 +371,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_set(_r: u32, ) -> Weight { + fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `422 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 38_701_000 picoseconds. - Weight::from_parts(54_326_563, 0) + // Minimum execution time: 25_642_000 picoseconds. + Weight::from_parts(28_227_219, 0) .saturating_add(Weight::from_parts(0, 7260)) + // Standard Error: 2_487 + .saturating_add(Weight::from_parts(132_843, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -392,11 +392,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `661 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 19_252_000 picoseconds. - Weight::from_parts(22_544_062, 0) + // Minimum execution time: 12_670_000 picoseconds. + Weight::from_parts(15_841_545, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 7_139 - .saturating_add(Weight::from_parts(150_672, 0).saturating_mul(r.into())) + // Standard Error: 1_663 + .saturating_add(Weight::from_parts(106_201, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -409,11 +409,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `661 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 19_494_000 picoseconds. - Weight::from_parts(22_419_450, 0) + // Minimum execution time: 12_806_000 picoseconds. + Weight::from_parts(15_975_715, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 4_564 - .saturating_add(Weight::from_parts(91_638, 0).saturating_mul(r.into())) + // Standard Error: 1_710 + .saturating_add(Weight::from_parts(96_860, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -429,8 +429,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `323` // Estimated: `3556` - // Minimum execution time: 22_260_000 picoseconds. - Weight::from_parts(23_334_000, 0) + // Minimum execution time: 14_040_000 picoseconds. + Weight::from_parts(14_513_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -443,8 +443,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 17_095_000 picoseconds. - Weight::from_parts(17_760_000, 0) + // Minimum execution time: 10_760_000 picoseconds. + Weight::from_parts(11_157_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -461,8 +461,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4855` // Estimated: `18187` - // Minimum execution time: 54_788_000 picoseconds. - Weight::from_parts(67_545_000, 0) + // Minimum execution time: 34_448_000 picoseconds. + Weight::from_parts(35_939_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -475,8 +475,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4755` // Estimated: `18187` - // Minimum execution time: 45_286_000 picoseconds. - Weight::from_parts(52_974_000, 0) + // Minimum execution time: 30_208_000 picoseconds. + Weight::from_parts(31_343_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -491,8 +491,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 15_273_000 picoseconds. - Weight::from_parts(15_864_000, 0) + // Minimum execution time: 10_685_000 picoseconds. + Weight::from_parts(10_995_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -505,8 +505,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3666` - // Minimum execution time: 18_815_000 picoseconds. - Weight::from_parts(20_008_000, 0) + // Minimum execution time: 13_131_000 picoseconds. + Weight::from_parts(13_742_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs index 6bad55dc..a0302318 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_enclave_bridge` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -36,8 +36,8 @@ impl pallet_enclave_bridge::WeightInfo for WeightInfo pallet_enclave_bridge::WeightInfo for WeightInfo pallet_enclave_bridge::WeightInfo for WeightInfo pallet_enclave_bridge::WeightInfo for WeightInfo pallet_enclave_bridge::WeightInfo for WeightInfo pallet_enclave_bridge::WeightInfo for WeightInfo Weight { - Weight::from_parts(10_000_000, 0) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_message_queue.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_message_queue.rs index b0875327..3e83a9dd 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_message_queue.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_message_queue.rs @@ -1,8 +1,8 @@ -//! Autogenerated weights for `pallet_messageQueue` +//! Autogenerated weights for `pallet_message_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -14,12 +14,12 @@ // --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 -// --pallet=pallet_messageQueue +// --pallet=pallet_message_queue // --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_messageQueue.rs +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_message_queue.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -29,7 +29,7 @@ use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `pallet_messageQueue`. +/// Weight functions for `pallet_message_queue`. pub struct WeightInfo(PhantomData); impl pallet_message_queue::WeightInfo for WeightInfo { /// Storage: `MessageQueue::ServiceHead` (r:1 w:0) @@ -38,10 +38,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: `223` + // Measured: `260` // Estimated: `6044` - // Minimum execution time: 18_934_000 picoseconds. - Weight::from_parts(19_679_000, 0) + // Minimum execution time: 17_559_000 picoseconds. + Weight::from_parts(18_086_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -52,10 +52,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: `218` + // Measured: `255` // Estimated: `6044` - // Minimum execution time: 15_690_000 picoseconds. - Weight::from_parts(16_485_000, 0) + // Minimum execution time: 14_820_000 picoseconds. + Weight::from_parts(15_650_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -64,10 +64,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: `6` + // Measured: `42` // Estimated: `3517` - // Minimum execution time: 5_684_000 picoseconds. - Weight::from_parts(5_938_000, 0) + // Minimum execution time: 5_636_000 picoseconds. + Weight::from_parts(5_825_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -76,10 +76,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: `72` + // Measured: `109` // Estimated: `69050` - // Minimum execution time: 8_492_000 picoseconds. - Weight::from_parts(8_835_000, 0) + // Minimum execution time: 7_836_000 picoseconds. + Weight::from_parts(8_015_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -88,10 +88,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: `72` + // Measured: `109` // Estimated: `69050` - // Minimum execution time: 8_795_000 picoseconds. - Weight::from_parts(9_005_000, 0) + // Minimum execution time: 7_770_000 picoseconds. + Weight::from_parts(8_193_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -104,8 +104,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 220_221_000 picoseconds. - Weight::from_parts(229_842_000, 0) + // Minimum execution time: 185_341_000 picoseconds. + Weight::from_parts(186_155_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -115,10 +115,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: `171` + // Measured: `208` // Estimated: `3517` - // Minimum execution time: 8_582_000 picoseconds. - Weight::from_parts(8_952_000, 0) + // Minimum execution time: 8_616_000 picoseconds. + Weight::from_parts(9_119_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -129,10 +129,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: `65667` + // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 68_082_000 picoseconds. - Weight::from_parts(69_325_000, 0) + // Minimum execution time: 56_386_000 picoseconds. + Weight::from_parts(57_464_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -143,10 +143,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: `65667` + // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 88_043_000 picoseconds. - Weight::from_parts(93_604_000, 0) + // Minimum execution time: 70_198_000 picoseconds. + Weight::from_parts(71_295_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -157,10 +157,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: `65667` + // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 122_187_000 picoseconds. - Weight::from_parts(128_674_000, 0) + // Minimum execution time: 95_332_000 picoseconds. + Weight::from_parts(98_965_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/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs index 3fd95495..869b8a3b 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -37,11 +37,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_481_000 picoseconds. - Weight::from_parts(9_191_163, 0) + // Minimum execution time: 7_462_000 picoseconds. + Weight::from_parts(8_083_670, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(73, 0).saturating_mul(z.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(71, 0).saturating_mul(z.into())) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(465), added: 2940, mode: `MaxEncodedLen`) @@ -51,13 +51,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `159 + s * (11 ±0)` // Estimated: `3930` - // Minimum execution time: 29_457_000 picoseconds. - Weight::from_parts(26_914_549, 0) + // Minimum execution time: 26_810_000 picoseconds. + Weight::from_parts(24_185_896, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 23_761 - .saturating_add(Weight::from_parts(329_558, 0).saturating_mul(s.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_311, 0).saturating_mul(z.into())) + // Standard Error: 9_927 + .saturating_add(Weight::from_parts(436_678, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(1_321, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,13 +69,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `282` // Estimated: `3930` - // Minimum execution time: 18_994_000 picoseconds. - Weight::from_parts(12_465_332, 0) + // Minimum execution time: 13_432_000 picoseconds. + Weight::from_parts(13_486_148, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 25_207 - .saturating_add(Weight::from_parts(718_320, 0).saturating_mul(s.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_640, 0).saturating_mul(z.into())) + // Standard Error: 11_053 + .saturating_add(Weight::from_parts(150_758, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(1_305, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -85,15 +85,17 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 10]`. /// The range of component `z` is `[0, 10000]`. - fn as_multi_complete(_s: u32, z: u32, ) -> Weight { + fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `301 + s * (43 ±0)` // Estimated: `3930` - // Minimum execution time: 32_189_000 picoseconds. - Weight::from_parts(41_006_781, 0) + // Minimum execution time: 27_667_000 picoseconds. + Weight::from_parts(28_803_935, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 23 - .saturating_add(Weight::from_parts(1_167, 0).saturating_mul(z.into())) + // Standard Error: 34_707 + .saturating_add(Weight::from_parts(17_329, 0).saturating_mul(s.into())) + // Standard Error: 29 + .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -104,24 +106,26 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `159 + s * (11 ±0)` // Estimated: `3930` - // Minimum execution time: 25_614_000 picoseconds. - Weight::from_parts(24_530_383, 0) + // Minimum execution time: 19_788_000 picoseconds. + Weight::from_parts(24_720_333, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 15_488 - .saturating_add(Weight::from_parts(1_077_877, 0).saturating_mul(s.into())) + // Standard Error: 15_090 + .saturating_add(Weight::from_parts(18_838, 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(465), added: 2940, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 10]`. - fn approve_as_multi_approve(_s: u32, ) -> Weight { + fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `282` // Estimated: `3930` - // Minimum execution time: 14_826_000 picoseconds. - Weight::from_parts(17_110_773, 0) + // Minimum execution time: 12_090_000 picoseconds. + Weight::from_parts(12_248_944, 0) .saturating_add(Weight::from_parts(0, 3930)) + // Standard Error: 12_358 + .saturating_add(Weight::from_parts(312_946, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -132,11 +136,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `365 + s * (11 ±0)` // Estimated: `3930` - // Minimum execution time: 27_587_000 picoseconds. - Weight::from_parts(28_962_797, 0) + // Minimum execution time: 21_578_000 picoseconds. + Weight::from_parts(23_432_827, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 12_941 - .saturating_add(Weight::from_parts(275_170, 0).saturating_mul(s.into())) + // Standard Error: 8_169 + .saturating_add(Weight::from_parts(330_245, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs index 91f710a3..2b3f855c 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -37,19 +37,19 @@ 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(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, 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: `76` - // Estimated: `4414` - // Minimum execution time: 74_701_000 picoseconds. - Weight::from_parts(350_259_029, 0) - .saturating_add(Weight::from_parts(0, 4414)) - // Standard Error: 21 - .saturating_add(Weight::from_parts(2_067, 0).saturating_mul(s.into())) + // Estimated: `3556` + // Minimum execution time: 64_018_000 picoseconds. + Weight::from_parts(64_742_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + // Standard Error: 13 + .saturating_add(Weight::from_parts(2_079, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -64,11 +64,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 13_833_000 picoseconds. - Weight::from_parts(14_243_000, 0) + // Minimum execution time: 13_391_000 picoseconds. + Weight::from_parts(13_844_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(2_013, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_176, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +83,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_436_000 picoseconds. - Weight::from_parts(12_720_000, 0) + // Minimum execution time: 13_312_000 picoseconds. + Weight::from_parts(386_550_663, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(2_091, 0).saturating_mul(s.into())) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_803, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,16 +96,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(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, 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: `277` - // Estimated: `4414` - // Minimum execution time: 61_061_000 picoseconds. - Weight::from_parts(68_036_000, 0) - .saturating_add(Weight::from_parts(0, 4414)) + // Estimated: `3556` + // Minimum execution time: 48_310_000 picoseconds. + Weight::from_parts(58_772_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,8 +119,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 29_975_000 picoseconds. - Weight::from_parts(36_418_000, 0) + // Minimum execution time: 16_952_000 picoseconds. + Weight::from_parts(18_277_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -133,8 +133,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 22_765_000 picoseconds. - Weight::from_parts(27_844_000, 0) + // Minimum execution time: 15_797_000 picoseconds. + Weight::from_parts(22_185_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -147,8 +147,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 21_396_000 picoseconds. - Weight::from_parts(24_315_000, 0) + // Minimum execution time: 10_349_000 picoseconds. + Weight::from_parts(11_629_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -161,8 +161,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 22_130_000 picoseconds. - Weight::from_parts(30_952_000, 0) + // Minimum execution time: 9_159_000 picoseconds. + Weight::from_parts(9_688_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -175,8 +175,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 13_178_000 picoseconds. - Weight::from_parts(15_611_000, 0) + // Minimum execution time: 7_601_000 picoseconds. + Weight::from_parts(7_933_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +191,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 31_146_000 picoseconds. - Weight::from_parts(40_782_000, 0) + // Minimum execution time: 15_466_000 picoseconds. + Weight::from_parts(18_832_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -205,8 +205,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 13_809_000 picoseconds. - Weight::from_parts(16_740_000, 0) + // Minimum execution time: 7_599_000 picoseconds. + Weight::from_parts(7_924_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -219,8 +219,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(14_553_000, 0) + // Minimum execution time: 7_146_000 picoseconds. + Weight::from_parts(7_737_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -230,21 +230,21 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1023 w:1023) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1023 w:1023) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, 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 * (227 ±0)` - // Estimated: `990 + n * (3424 ±0)` - // Minimum execution time: 67_247_000 picoseconds. - Weight::from_parts(89_921_090, 0) + // Estimated: `990 + n * (2603 ±0)` + // Minimum execution time: 42_713_000 picoseconds. + Weight::from_parts(43_344_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 588_233 - .saturating_add(Weight::from_parts(57_036_437, 0).saturating_mul(n.into())) + // Standard Error: 78_572 + .saturating_add(Weight::from_parts(47_242_344, 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, 3424).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs index 775ddb12..5bfcba62 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -37,10 +37,10 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(_p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `161 + p * (37 ±0)` + // Measured: `127 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 14_802_000 picoseconds. - Weight::from_parts(18_362_335, 0) + // Minimum execution time: 11_724_000 picoseconds. + Weight::from_parts(17_771_513, 0) .saturating_add(Weight::from_parts(0, 4706)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -54,13 +54,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `451 + a * (68 ±0) + p * (37 ±0)` + // Measured: `417 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 36_267_000 picoseconds. - Weight::from_parts(40_871_862, 0) + // Minimum execution time: 28_048_000 picoseconds. + Weight::from_parts(29_571_549, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 7_075 - .saturating_add(Weight::from_parts(47_204, 0).saturating_mul(a.into())) + // Standard Error: 8_837 + .saturating_add(Weight::from_parts(279_438, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -72,15 +72,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366 + a * (68 ±0)` + // Measured: `332 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 23_635_000 picoseconds. - Weight::from_parts(24_037_944, 0) + // Minimum execution time: 20_920_000 picoseconds. + Weight::from_parts(22_945_577, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 9_495 - .saturating_add(Weight::from_parts(131_223, 0).saturating_mul(a.into())) - // Standard Error: 9_810 - .saturating_add(Weight::from_parts(36_262, 0).saturating_mul(p.into())) + // Standard Error: 4_280 + .saturating_add(Weight::from_parts(106_467, 0).saturating_mul(a.into())) + // Standard Error: 4_422 + .saturating_add(Weight::from_parts(1_107, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -92,15 +92,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366 + a * (68 ±0)` + // Measured: `332 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 22_228_000 picoseconds. - Weight::from_parts(21_497_382, 0) + // Minimum execution time: 19_158_000 picoseconds. + Weight::from_parts(21_120_269, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 5_278 - .saturating_add(Weight::from_parts(265_851, 0).saturating_mul(a.into())) - // Standard Error: 5_453 - .saturating_add(Weight::from_parts(36_965, 0).saturating_mul(p.into())) + // Standard Error: 2_265 + .saturating_add(Weight::from_parts(128_093, 0).saturating_mul(a.into())) + // Standard Error: 2_340 + .saturating_add(Weight::from_parts(4_297, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -112,15 +112,17 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn announce(_a: u32, p: u32, ) -> Weight { + fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `383 + a * (68 ±0) + p * (37 ±0)` + // Measured: `349 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 31_956_000 picoseconds. - Weight::from_parts(34_268_449, 0) + // Minimum execution time: 24_991_000 picoseconds. + Weight::from_parts(26_190_200, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 11_646 - .saturating_add(Weight::from_parts(169_572, 0).saturating_mul(p.into())) + // Standard Error: 2_600 + .saturating_add(Weight::from_parts(143_195, 0).saturating_mul(a.into())) + // Standard Error: 2_686 + .saturating_add(Weight::from_parts(25_638, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -129,26 +131,28 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `161 + p * (37 ±0)` + // Measured: `127 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 21_032_000 picoseconds. - Weight::from_parts(22_554_987, 0) + // Minimum execution time: 17_382_000 picoseconds. + Weight::from_parts(18_448_361, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 3_401 - .saturating_add(Weight::from_parts(93_878, 0).saturating_mul(p.into())) + // Standard Error: 2_535 + .saturating_add(Weight::from_parts(61_955, 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(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn remove_proxy(_p: u32, ) -> Weight { + fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `161 + p * (37 ±0)` + // Measured: `127 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 20_798_000 picoseconds. - Weight::from_parts(23_448_331, 0) + // Minimum execution time: 17_725_000 picoseconds. + Weight::from_parts(19_213_646, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 2_563 + .saturating_add(Weight::from_parts(56_713, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,26 +161,28 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `161 + p * (37 ±0)` + // Measured: `127 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 20_069_000 picoseconds. - Weight::from_parts(20_292_349, 0) + // Minimum execution time: 17_676_000 picoseconds. + Weight::from_parts(18_983_145, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 5_059 - .saturating_add(Weight::from_parts(103_018, 0).saturating_mul(p.into())) + // Standard Error: 6_104 + .saturating_add(Weight::from_parts(49_025, 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(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn create_pure(_p: u32, ) -> Weight { + fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `173` + // Measured: `139` // Estimated: `4706` - // Minimum execution time: 22_270_000 picoseconds. - Weight::from_parts(28_098_823, 0) + // Minimum execution time: 20_149_000 picoseconds. + Weight::from_parts(21_315_369, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_494 + .saturating_add(Weight::from_parts(12_406, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -185,10 +191,10 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(_p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `198 + p * (37 ±0)` + // Measured: `164 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 20_632_000 picoseconds. - Weight::from_parts(23_634_456, 0) + // Minimum execution time: 18_504_000 picoseconds. + Weight::from_parts(21_280_704, 0) .saturating_add(Weight::from_parts(0, 4706)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs index 0f36dbd3..376f46a4 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs @@ -1,41 +1,25 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot 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. - -// Polkadot 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 Polkadot. If not, see . //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-01-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-grjcggob-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("rococo-dev")`, DB CACHE: 1024 +//! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/release/integritee-collator // benchmark // pallet +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 +// --pallet=pallet_scheduler // --extrinsic=* +// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json -// --pallet=pallet_scheduler -// --chain=rococo-dev -// --header=./polkadot/file_header.txt -// --output=./polkadot/runtime/rococo/src/weights/ +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -52,10 +36,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: - // Measured: `68` + // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_869_000 picoseconds. - Weight::from_parts(3_109_000, 0) + // Minimum execution time: 3_163_000 picoseconds. + Weight::from_parts(3_338_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -65,13 +49,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115 + s * (177 ±0)` + // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_326_000 picoseconds. - Weight::from_parts(5_818_563, 0) + // Minimum execution time: 3_831_000 picoseconds. + Weight::from_parts(5_373_775, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_261 - .saturating_add(Weight::from_parts(336_446, 0).saturating_mul(s.into())) + // Standard Error: 4_592 + .saturating_add(Weight::from_parts(489_247, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -79,8 +63,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_007_000 picoseconds. - Weight::from_parts(3_197_000, 0) + // Minimum execution time: 3_301_000 picoseconds. + Weight::from_parts(3_442_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -92,13 +76,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `251 + s * (1 ±0)` - // Estimated: `3716 + s * (1 ±0)` - // Minimum execution time: 16_590_000 picoseconds. - Weight::from_parts(16_869_000, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_308, 0).saturating_mul(s.into())) + // Measured: `213 + s * (1 ±0)` + // Estimated: `3678 + s * (1 ±0)` + // Minimum execution time: 18_938_000 picoseconds. + Weight::from_parts(19_382_000, 0) + .saturating_add(Weight::from_parts(0, 3678)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(937, 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())) @@ -109,8 +93,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_320_000 picoseconds. - Weight::from_parts(4_594_000, 0) + // Minimum execution time: 3_890_000 picoseconds. + Weight::from_parts(4_008_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -118,24 +102,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_956_000 picoseconds. - Weight::from_parts(3_216_000, 0) + // Minimum execution time: 2_810_000 picoseconds. + Weight::from_parts(2_879_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_824_000 picoseconds. - Weight::from_parts(1_929_000, 0) + // Minimum execution time: 1_897_000 picoseconds. + Weight::from_parts(2_011_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_749_000 picoseconds. - Weight::from_parts(1_916_000, 0) + // Minimum execution time: 1_876_000 picoseconds. + Weight::from_parts(1_986_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -143,32 +127,34 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115 + s * (177 ±0)` + // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 9_086_000 picoseconds. - Weight::from_parts(11_733_696, 0) + // Minimum execution time: 8_373_000 picoseconds. + Weight::from_parts(11_181_685, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_362 - .saturating_add(Weight::from_parts(375_266, 0).saturating_mul(s.into())) + // Standard Error: 2_366 + .saturating_add(Weight::from_parts(327_833, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Lookup` (r:0 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115 + s * (177 ±0)` + // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 12_716_000 picoseconds. - Weight::from_parts(12_529_180, 0) + // Minimum execution time: 12_403_000 picoseconds. + Weight::from_parts(12_767_894, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 867 - .saturating_add(Weight::from_parts(548_188, 0).saturating_mul(s.into())) + // Standard Error: 2_658 + .saturating_add(Weight::from_parts(549_590, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Scheduler::Lookup` (r:1 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -177,13 +163,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `292 + s * (185 ±0)` + // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 12_053_000 picoseconds. - Weight::from_parts(15_358_056, 0) + // Minimum execution time: 10_043_000 picoseconds. + Weight::from_parts(14_732_637, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_176 - .saturating_add(Weight::from_parts(421_589, 0).saturating_mul(s.into())) + // Standard Error: 12_041 + .saturating_add(Weight::from_parts(438_836, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -191,49 +177,48 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `318 + s * (185 ±0)` + // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 14_803_000 picoseconds. - Weight::from_parts(15_805_714, 0) + // Minimum execution time: 14_985_000 picoseconds. + Weight::from_parts(16_391_814, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_597 - .saturating_add(Weight::from_parts(611_053, 0).saturating_mul(s.into())) + // Standard Error: 2_483 + .saturating_add(Weight::from_parts(611_972, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `Scheduler::Retries` (r:1 w:2) - /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) - /// Storage: `Scheduler::Lookup` (r:0 w:1) - /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn schedule_retry(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `196` + // Measured: `118` // Estimated: `42428` - // Minimum execution time: 13_156_000 picoseconds. - Weight::from_parts(13_801_287, 0) + // Minimum execution time: 7_813_000 picoseconds. + Weight::from_parts(8_424_186, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 568 - .saturating_add(Weight::from_parts(35_441, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(4)) + // Standard Error: 1_135 + .saturating_add(Weight::from_parts(31_229, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Scheduler::Agenda` (r:1 w:0) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Retries` (r:0 w:1) /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) - /// The range of component `s` is `[1, 50]`. fn set_retry() -> Weight { // Proof Size summary in bytes: - // Measured: `115 + s * (177 ±0)` + // Measured: `8928` // Estimated: `42428` - // Minimum execution time: 7_912_000 picoseconds. - Weight::from_parts(8_081_460, 0) + // Minimum execution time: 21_233_000 picoseconds. + Weight::from_parts(22_180_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -244,13 +229,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Retries` (r:0 w:1) /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) - /// The range of component `s` is `[1, 50]`. fn set_retry_named() -> Weight { // Proof Size summary in bytes: - // Measured: `324 + s * (185 ±0)` + // Measured: `9606` // Estimated: `42428` - // Minimum execution time: 10_673_000 picoseconds. - Weight::from_parts(12_212_185, 0) + // Minimum execution time: 26_777_000 picoseconds. + Weight::from_parts(27_500_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -259,13 +243,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Retries` (r:0 w:1) /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) - /// The range of component `s` is `[1, 50]`. fn cancel_retry() -> Weight { // Proof Size summary in bytes: - // Measured: `115 + s * (177 ±0)` + // Measured: `8940` // Estimated: `42428` - // Minimum execution time: 7_912_000 picoseconds. - Weight::from_parts(8_081_460, 0) + // Minimum execution time: 20_871_000 picoseconds. + Weight::from_parts(22_258_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -276,13 +259,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Retries` (r:0 w:1) /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) - /// The range of component `s` is `[1, 50]`. fn cancel_retry_named() -> Weight { // Proof Size summary in bytes: - // Measured: `324 + s * (185 ±0)` + // Measured: `9618` // Estimated: `42428` - // Minimum execution time: 10_673_000 picoseconds. - Weight::from_parts(12_212_185, 0) + // Minimum execution time: 27_305_000 picoseconds. + Weight::from_parts(28_724_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs index 673ea099..2cb676c1 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_sidechain` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_sidechain::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 39_153_000 picoseconds. - Weight::from_parts(40_166_000, 0) + // Minimum execution time: 29_918_000 picoseconds. + Weight::from_parts(31_691_000, 0) .saturating_add(Weight::from_parts(0, 3877)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs index 353ba936..ccf809c3 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_teeracle` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -40,11 +40,11 @@ impl pallet_teeracle::WeightInfo for WeightInfo { /// Proof: `Teeracle::ExchangeRates` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_exchange_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `491` - // Estimated: `3956` - // Minimum execution time: 32_879_000 picoseconds. - Weight::from_parts(35_939_000, 0) - .saturating_add(Weight::from_parts(0, 3956)) + // Measured: `529` + // Estimated: `3994` + // Minimum execution time: 23_473_000 picoseconds. + Weight::from_parts(25_397_000, 0) + .saturating_add(Weight::from_parts(0, 3994)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -56,11 +56,11 @@ impl pallet_teeracle::WeightInfo for WeightInfo { /// Proof: `Teeracle::OracleData` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_oracle() -> Weight { // Proof Size summary in bytes: - // Measured: `482` - // Estimated: `3947` - // Minimum execution time: 27_772_000 picoseconds. - Weight::from_parts(29_781_000, 0) - .saturating_add(Weight::from_parts(0, 3947)) + // Measured: `520` + // Estimated: `3985` + // Minimum execution time: 18_881_000 picoseconds. + Weight::from_parts(20_741_000, 0) + .saturating_add(Weight::from_parts(0, 3985)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,11 +68,11 @@ impl pallet_teeracle::WeightInfo for WeightInfo { /// Proof: `Teeracle::Whitelists` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_to_whitelist() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `3507` - // Minimum execution time: 14_357_000 picoseconds. - Weight::from_parts(15_271_000, 0) - .saturating_add(Weight::from_parts(0, 3507)) + // Measured: `80` + // Estimated: `3545` + // Minimum execution time: 9_478_000 picoseconds. + Weight::from_parts(9_971_000, 0) + .saturating_add(Weight::from_parts(0, 3545)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,11 +80,11 @@ impl pallet_teeracle::WeightInfo for WeightInfo { /// Proof: `Teeracle::Whitelists` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_from_whitelist() -> Weight { // Proof Size summary in bytes: - // Measured: `144` - // Estimated: `3609` - // Minimum execution time: 16_805_000 picoseconds. - Weight::from_parts(18_005_000, 0) - .saturating_add(Weight::from_parts(0, 3609)) + // Measured: `182` + // Estimated: `3647` + // Minimum execution time: 12_076_000 picoseconds. + Weight::from_parts(13_741_000, 0) + .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs index bbaa14bf..54219f3e 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_teerex` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `784` // Estimated: `4249` - // Minimum execution time: 3_169_207_000 picoseconds. - Weight::from_parts(3_320_079_000, 0) + // Minimum execution time: 3_061_046_000 picoseconds. + Weight::from_parts(3_177_797_000, 0) .saturating_add(Weight::from_parts(0, 4249)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) @@ -60,8 +60,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `132` // Estimated: `1493` - // Minimum execution time: 1_528_605_000 picoseconds. - Weight::from_parts(1_541_888_000, 0) + // Minimum execution time: 1_473_531_000 picoseconds. + Weight::from_parts(1_515_059_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `132` // Estimated: `1493` - // Minimum execution time: 1_618_976_000 picoseconds. - Weight::from_parts(1_682_304_000, 0) + // Minimum execution time: 1_572_232_000 picoseconds. + Weight::from_parts(1_634_420_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -88,8 +88,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `531` // Estimated: `3996` - // Minimum execution time: 20_367_000 picoseconds. - Weight::from_parts(21_296_000, 0) + // Minimum execution time: 18_590_000 picoseconds. + Weight::from_parts(19_305_000, 0) .saturating_add(Weight::from_parts(0, 3996)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -102,8 +102,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `633` // Estimated: `4098` - // Minimum execution time: 34_180_000 picoseconds. - Weight::from_parts(35_622_000, 0) + // Minimum execution time: 24_490_000 picoseconds. + Weight::from_parts(25_758_000, 0) .saturating_add(Weight::from_parts(0, 4098)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -116,8 +116,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_539_000 picoseconds. - Weight::from_parts(10_628_000, 0) + // Minimum execution time: 6_763_000 picoseconds. + Weight::from_parts(7_147_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs index 7f2a38f0..06e7bd37 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80` // Estimated: `1493` - // Minimum execution time: 7_889_000 picoseconds. - Weight::from_parts(8_403_000, 0) + // Minimum execution time: 7_108_000 picoseconds. + Weight::from_parts(7_402_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -48,8 +48,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `132` // Estimated: `0` - // Minimum execution time: 5_849_000 picoseconds. - Weight::from_parts(6_058_000, 0) + // Minimum execution time: 5_416_000 picoseconds. + Weight::from_parts(5_663_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs index e0a3fe92..453f8b96 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -37,18 +37,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_925_000 picoseconds. - Weight::from_parts(79_707_689, 0) + // Minimum execution time: 5_763_000 picoseconds. + Weight::from_parts(60_405_918, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 17_922 - .saturating_add(Weight::from_parts(3_470_995, 0).saturating_mul(c.into())) + // Standard Error: 10_465 + .saturating_add(Weight::from_parts(2_548_031, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_494_000 picoseconds. - Weight::from_parts(4_719_000, 0) + // Minimum execution time: 3_605_000 picoseconds. + Weight::from_parts(3_732_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +56,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_415_000 picoseconds. - Weight::from_parts(4_586_000, 0) + // Minimum execution time: 3_859_000 picoseconds. + Weight::from_parts(3_950_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 14_152 - .saturating_add(Weight::from_parts(4_126_292, 0).saturating_mul(c.into())) + // Standard Error: 26_522 + .saturating_add(Weight::from_parts(3_023_744, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_103_000 picoseconds. - Weight::from_parts(7_315_000, 0) + // Minimum execution time: 8_720_000 picoseconds. + Weight::from_parts(9_386_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +75,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_751_000 picoseconds. - Weight::from_parts(23_864_411, 0) + // Minimum execution time: 6_307_000 picoseconds. + Weight::from_parts(263_839_765, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 32_801 - .saturating_add(Weight::from_parts(3_599_796, 0).saturating_mul(c.into())) + // Standard Error: 19_205 + .saturating_add(Weight::from_parts(2_313_199, 0).saturating_mul(c.into())) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs index 22f47707..0e30d278 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 +//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -44,13 +44,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `205 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 26_996_000 picoseconds. - Weight::from_parts(27_263_941, 0) + // Minimum execution time: 25_584_000 picoseconds. + Weight::from_parts(26_191_808, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 13_788 - .saturating_add(Weight::from_parts(109_622, 0).saturating_mul(l.into())) - // Standard Error: 24_532 - .saturating_add(Weight::from_parts(169_843, 0).saturating_mul(s.into())) + // Standard Error: 4_587 + .saturating_add(Weight::from_parts(31_993, 0).saturating_mul(l.into())) + // Standard Error: 8_161 + .saturating_add(Weight::from_parts(89_176, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,13 +66,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `205 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 32_029_000 picoseconds. - Weight::from_parts(31_941_939, 0) + // Minimum execution time: 23_559_000 picoseconds. + Weight::from_parts(27_389_403, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 7_787 - .saturating_add(Weight::from_parts(50_932, 0).saturating_mul(l.into())) - // Standard Error: 13_856 - .saturating_add(Weight::from_parts(198_001, 0).saturating_mul(s.into())) + // Standard Error: 2_983 + .saturating_add(Weight::from_parts(42_301, 0).saturating_mul(l.into())) + // Standard Error: 5_307 + .saturating_add(Weight::from_parts(161_528, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -86,15 +86,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_other_locked(_l: u32, s: u32, ) -> Weight { + fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 29_671_000 picoseconds. - Weight::from_parts(34_598_922, 0) + // Minimum execution time: 23_518_000 picoseconds. + Weight::from_parts(27_918_598, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 7_782 - .saturating_add(Weight::from_parts(68_249, 0).saturating_mul(s.into())) + // Standard Error: 6_566 + .saturating_add(Weight::from_parts(71_244, 0).saturating_mul(l.into())) + // Standard Error: 11_682 + .saturating_add(Weight::from_parts(72_710, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -108,15 +110,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_other_unlocked(_l: u32, s: u32, ) -> Weight { + fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 33_958_000 picoseconds. - Weight::from_parts(42_970_357, 0) + // Minimum execution time: 27_573_000 picoseconds. + Weight::from_parts(24_469_466, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 21_548 - .saturating_add(Weight::from_parts(41_309, 0).saturating_mul(s.into())) + // Standard Error: 8_859 + .saturating_add(Weight::from_parts(146_414, 0).saturating_mul(l.into())) + // Standard Error: 15_761 + .saturating_add(Weight::from_parts(194_266, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -130,17 +134,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. - fn vested_transfer(l: u32, s: u32, ) -> Weight { + fn vested_transfer(_l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 65_984_000 picoseconds. - Weight::from_parts(70_480_050, 0) + // Minimum execution time: 61_638_000 picoseconds. + Weight::from_parts(75_422_594, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 22_050 - .saturating_add(Weight::from_parts(32_014, 0).saturating_mul(l.into())) - // Standard Error: 39_232 - .saturating_add(Weight::from_parts(238_274, 0).saturating_mul(s.into())) + // Standard Error: 28_372 + .saturating_add(Weight::from_parts(172_417, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -158,13 +160,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `411 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 68_009_000 picoseconds. - Weight::from_parts(71_270_508, 0) + // Minimum execution time: 55_043_000 picoseconds. + Weight::from_parts(64_489_820, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 15_320 - .saturating_add(Weight::from_parts(132_321, 0).saturating_mul(l.into())) - // Standard Error: 27_257 - .saturating_add(Weight::from_parts(162_860, 0).saturating_mul(s.into())) + // Standard Error: 5_541 + .saturating_add(Weight::from_parts(73_314, 0).saturating_mul(l.into())) + // Standard Error: 9_859 + .saturating_add(Weight::from_parts(136_188, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -182,13 +184,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `306 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 30_378_000 picoseconds. - Weight::from_parts(29_647_461, 0) + // Minimum execution time: 27_667_000 picoseconds. + Weight::from_parts(30_343_216, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 9_693 - .saturating_add(Weight::from_parts(70_267, 0).saturating_mul(l.into())) - // Standard Error: 17_901 - .saturating_add(Weight::from_parts(250_598, 0).saturating_mul(s.into())) + // Standard Error: 3_818 + .saturating_add(Weight::from_parts(22_662, 0).saturating_mul(l.into())) + // Standard Error: 7_051 + .saturating_add(Weight::from_parts(102_686, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -206,13 +208,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `306 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 31_394_000 picoseconds. - Weight::from_parts(33_148_748, 0) + // Minimum execution time: 27_260_000 picoseconds. + Weight::from_parts(32_039_096, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 20_484 - .saturating_add(Weight::from_parts(154_498, 0).saturating_mul(l.into())) - // Standard Error: 37_829 - .saturating_add(Weight::from_parts(130_703, 0).saturating_mul(s.into())) + // Standard Error: 3_380 + .saturating_add(Weight::from_parts(20_928, 0).saturating_mul(l.into())) + // Standard Error: 6_243 + .saturating_add(Weight::from_parts(48_861, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -230,13 +232,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 37_539_000 picoseconds. - Weight::from_parts(38_588_563, 0) + // Minimum execution time: 30_225_000 picoseconds. + Weight::from_parts(30_102_695, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 15_720 - .saturating_add(Weight::from_parts(234_608, 0).saturating_mul(l.into())) - // Standard Error: 29_032 - .saturating_add(Weight::from_parts(204_733, 0).saturating_mul(s.into())) + // Standard Error: 3_070 + .saturating_add(Weight::from_parts(51_365, 0).saturating_mul(l.into())) + // Standard Error: 5_670 + .saturating_add(Weight::from_parts(68_276, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/polkadot-parachains/src/command.rs b/polkadot-parachains/src/command.rs index c2a3e8ff..fab689d7 100644 --- a/polkadot-parachains/src/command.rs +++ b/polkadot-parachains/src/command.rs @@ -20,14 +20,14 @@ //! look for blocks with `is_shell()` branching use crate::{ - chain_spec, - chain_spec::{ - integritee_chain_spec, integritee_moonbase_config, integritee_paseo_config, - shell_chain_spec, shell_kusama_config, shell_kusama_lease2_config, - shell_kusama_lease3_config, shell_polkadot_config, shell_rococo_config, - shell_westend_config, GenesisKeys, RelayChain, - }, - cli::{Cli, RelayChainCli, Subcommand}, + chain_spec, + chain_spec::{ + integritee_chain_spec, integritee_moonbase_config, integritee_paseo_config, + shell_chain_spec, shell_kusama_config, shell_kusama_lease2_config, + shell_kusama_lease3_config, shell_polkadot_config, shell_rococo_config, + shell_westend_config, GenesisKeys, RelayChain, + }, + cli::{Cli, RelayChainCli, Subcommand}, }; use cumulus_client_service::storage_proof_size::HostFunctions as ReclaimHostFunctions; use cumulus_primitives_core::ParaId; @@ -35,8 +35,8 @@ use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; use integritee_runtime::Block; use log::info; use sc_cli::{ - ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, - NetworkParams, Result, SharedParams, SubstrateCli, + ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, + NetworkParams, Result, SharedParams, SubstrateCli, }; use sc_service::config::{BasePath, PrometheusConfig}; use sp_runtime::traits::AccountIdConversion; @@ -52,19 +52,19 @@ const MOONBASE_PARA_ID: u32 = 2015; const PASEO_PARA_ID: u32 = 2015; trait IdentifyChain { - fn is_shell(&self) -> bool; + fn is_shell(&self) -> bool; } impl IdentifyChain for dyn sc_service::ChainSpec { - fn is_shell(&self) -> bool { - self.name().starts_with("Integritee Shell") - } + fn is_shell(&self) -> bool { + self.name().starts_with("Integritee Shell") + } } impl IdentifyChain for T { - fn is_shell(&self) -> bool { - ::is_shell(self) - } + fn is_shell(&self) -> bool { + ::is_shell(self) + } } // If we don't skipp here, each cmd expands to 5 lines. I think we have better overview like this. @@ -130,75 +130,75 @@ fn load_spec( } impl SubstrateCli for Cli { - fn impl_name() -> String { - "Integritee Collator".into() - } + fn impl_name() -> String { + "Integritee Collator".into() + } - fn impl_version() -> String { - env!("SUBSTRATE_CLI_IMPL_VERSION").into() - } + fn impl_version() -> String { + env!("SUBSTRATE_CLI_IMPL_VERSION").into() + } - fn description() -> String { - format!( - "Integritee Collator\n\nThe command-line arguments provided first will be \ + fn description() -> String { + format!( + "Integritee Collator\n\nThe command-line arguments provided first will be \ passed to the parachain node, while the arguments provided after -- will be passed \ to the relaychain node.\n\n\ {} [parachain-args] -- [relaychain-args]", - Self::executable_name() - ) - } + Self::executable_name() + ) + } - fn author() -> String { - env!("CARGO_PKG_AUTHORS").into() - } + fn author() -> String { + env!("CARGO_PKG_AUTHORS").into() + } - fn support_url() -> String { - "https://github.com/integritee-network/parachain/issues/new".into() - } + fn support_url() -> String { + "https://github.com/integritee-network/parachain/issues/new".into() + } - fn copyright_start_year() -> i32 { - 2019 - } + fn copyright_start_year() -> i32 { + 2019 + } - fn load_spec(&self, id: &str) -> std::result::Result, String> { - load_spec(id) - } + fn load_spec(&self, id: &str) -> std::result::Result, String> { + load_spec(id) + } } impl SubstrateCli for RelayChainCli { - fn impl_name() -> String { - "Integritee Collator".into() - } + fn impl_name() -> String { + "Integritee Collator".into() + } - fn impl_version() -> String { - env!("SUBSTRATE_CLI_IMPL_VERSION").into() - } + fn impl_version() -> String { + env!("SUBSTRATE_CLI_IMPL_VERSION").into() + } - fn description() -> String { - format!( - "Integritee Collator\n\nThe command-line arguments provided first will be \ + fn description() -> String { + format!( + "Integritee Collator\n\nThe command-line arguments provided first will be \ passed to the parachain node, while the arguments provided after -- will be passed \ to the relaychain node.\n\n\ {} [parachain-args] -- [relaychain-args]", - Self::executable_name() - ) - } + Self::executable_name() + ) + } - fn author() -> String { - env!("CARGO_PKG_AUTHORS").into() - } + fn author() -> String { + env!("CARGO_PKG_AUTHORS").into() + } - fn support_url() -> String { - "https://github.com/integritee-network/parachain/issues/new".into() - } + fn support_url() -> String { + "https://github.com/integritee-network/parachain/issues/new".into() + } - fn copyright_start_year() -> i32 { - 2019 - } + fn copyright_start_year() -> i32 { + 2019 + } - fn load_spec(&self, id: &str) -> std::result::Result, String> { - polkadot_cli::Cli::from_iter([RelayChainCli::executable_name()].iter()).load_spec(id) - } + fn load_spec(&self, id: &str) -> std::result::Result, String> { + polkadot_cli::Cli::from_iter([RelayChainCli::executable_name()].iter()).load_spec(id) + } } /// Creates partial components for the runtimes that are supported by the benchmarks. @@ -239,9 +239,9 @@ macro_rules! construct_async_run { /// Parse command line arguments into service configuration. pub fn run() -> Result<()> { - let cli = Cli::from_args(); + let cli = Cli::from_args(); - match &cli.subcommand { + match &cli.subcommand { Some(Subcommand::BuildSpec(cmd)) => { let runner = cli.create_runner(cmd)?; runner.sync_run(|config| cmd.run(config.chain_spec, config.network)) @@ -409,126 +409,126 @@ pub fn run() -> Result<()> { } impl DefaultConfigurationValues for RelayChainCli { - fn p2p_listen_port() -> u16 { - 30334 - } + fn p2p_listen_port() -> u16 { + 30334 + } - fn rpc_listen_port() -> u16 { - 9945 - } + fn rpc_listen_port() -> u16 { + 9945 + } - fn prometheus_listen_port() -> u16 { - 9616 - } + fn prometheus_listen_port() -> u16 { + 9616 + } } impl CliConfiguration for RelayChainCli { - fn shared_params(&self) -> &SharedParams { - self.base.base.shared_params() - } - - fn import_params(&self) -> Option<&ImportParams> { - self.base.base.import_params() - } - - fn network_params(&self) -> Option<&NetworkParams> { - self.base.base.network_params() - } - - fn keystore_params(&self) -> Option<&KeystoreParams> { - self.base.base.keystore_params() - } - - fn base_path(&self) -> Result> { - Ok(self - .shared_params() - .base_path()? - .or_else(|| self.base_path.clone().map(Into::into))) - } - - fn rpc_addr(&self, default_listen_port: u16) -> Result> { - self.base.base.rpc_addr(default_listen_port) - } - - fn prometheus_config( - &self, - default_listen_port: u16, - chain_spec: &Box, - ) -> Result> { - self.base.base.prometheus_config(default_listen_port, chain_spec) - } - - fn init( - &self, - _support_url: &String, - _impl_version: &String, - _logger_hook: F, - _config: &sc_service::Configuration, - ) -> Result<()> - where - F: FnOnce(&mut sc_cli::LoggerBuilder, &sc_service::Configuration), - { - unreachable!("PolkadotCli is never initialized; qed"); - } - - fn chain_id(&self, is_dev: bool) -> Result { - let chain_id = self.base.base.chain_id(is_dev)?; - - Ok(if chain_id.is_empty() { self.chain_id.clone().unwrap_or_default() } else { chain_id }) - } - - fn role(&self, is_dev: bool) -> Result { - self.base.base.role(is_dev) - } - - fn transaction_pool(&self, is_dev: bool) -> Result { - self.base.base.transaction_pool(is_dev) - } - - fn trie_cache_maximum_size(&self) -> Result> { - self.base.base.trie_cache_maximum_size() - } - - fn rpc_methods(&self) -> Result { - self.base.base.rpc_methods() - } - - fn rpc_max_connections(&self) -> Result { - self.base.base.rpc_max_connections() - } - - fn rpc_cors(&self, is_dev: bool) -> Result>> { - self.base.base.rpc_cors(is_dev) - } - - fn default_heap_pages(&self) -> Result> { - self.base.base.default_heap_pages() - } - - fn force_authoring(&self) -> Result { - self.base.base.force_authoring() - } - - fn disable_grandpa(&self) -> Result { - self.base.base.disable_grandpa() - } - - fn max_runtime_instances(&self) -> Result> { - self.base.base.max_runtime_instances() - } - - fn announce_block(&self) -> Result { - self.base.base.announce_block() - } - - fn telemetry_endpoints( - &self, - chain_spec: &Box, - ) -> Result> { - self.base.base.telemetry_endpoints(chain_spec) - } - - fn node_name(&self) -> Result { - self.base.base.node_name() - } + fn shared_params(&self) -> &SharedParams { + self.base.base.shared_params() + } + + fn import_params(&self) -> Option<&ImportParams> { + self.base.base.import_params() + } + + fn network_params(&self) -> Option<&NetworkParams> { + self.base.base.network_params() + } + + fn keystore_params(&self) -> Option<&KeystoreParams> { + self.base.base.keystore_params() + } + + fn base_path(&self) -> Result> { + Ok(self + .shared_params() + .base_path()? + .or_else(|| self.base_path.clone().map(Into::into))) + } + + fn rpc_addr(&self, default_listen_port: u16) -> Result> { + self.base.base.rpc_addr(default_listen_port) + } + + fn prometheus_config( + &self, + default_listen_port: u16, + chain_spec: &Box, + ) -> Result> { + self.base.base.prometheus_config(default_listen_port, chain_spec) + } + + fn init( + &self, + _support_url: &String, + _impl_version: &String, + _logger_hook: F, + _config: &sc_service::Configuration, + ) -> Result<()> + where + F: FnOnce(&mut sc_cli::LoggerBuilder, &sc_service::Configuration), + { + unreachable!("PolkadotCli is never initialized; qed"); + } + + fn chain_id(&self, is_dev: bool) -> Result { + let chain_id = self.base.base.chain_id(is_dev)?; + + Ok(if chain_id.is_empty() { self.chain_id.clone().unwrap_or_default() } else { chain_id }) + } + + fn role(&self, is_dev: bool) -> Result { + self.base.base.role(is_dev) + } + + fn transaction_pool(&self, is_dev: bool) -> Result { + self.base.base.transaction_pool(is_dev) + } + + fn trie_cache_maximum_size(&self) -> Result> { + self.base.base.trie_cache_maximum_size() + } + + fn rpc_methods(&self) -> Result { + self.base.base.rpc_methods() + } + + fn rpc_max_connections(&self) -> Result { + self.base.base.rpc_max_connections() + } + + fn rpc_cors(&self, is_dev: bool) -> Result>> { + self.base.base.rpc_cors(is_dev) + } + + fn default_heap_pages(&self) -> Result> { + self.base.base.default_heap_pages() + } + + fn force_authoring(&self) -> Result { + self.base.base.force_authoring() + } + + fn disable_grandpa(&self) -> Result { + self.base.base.disable_grandpa() + } + + fn max_runtime_instances(&self) -> Result> { + self.base.base.max_runtime_instances() + } + + fn announce_block(&self) -> Result { + self.base.base.announce_block() + } + + fn telemetry_endpoints( + &self, + chain_spec: &Box, + ) -> Result> { + self.base.base.telemetry_endpoints(chain_spec) + } + + fn node_name(&self) -> Result { + self.base.base.node_name() + } }