diff --git a/Cargo.lock b/Cargo.lock index 148b389a7..3f776a80b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -923,7 +923,7 @@ checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" [[package]] name = "battery-station-runtime" -version = "0.6.1" +version = "0.6.2" dependencies = [ "async-backing-primitives", "cfg-if", @@ -1807,7 +1807,7 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "common-runtime" -version = "0.6.1" +version = "0.6.2" dependencies = [ "cfg-if", "cumulus-pallet-parachain-system", @@ -16907,11 +16907,11 @@ dependencies = [ [[package]] name = "zeitgeist-macros" -version = "0.6.1" +version = "0.6.2" [[package]] name = "zeitgeist-node" -version = "0.6.1" +version = "0.6.2" dependencies = [ "async-backing-primitives", "battery-station-runtime", @@ -17009,7 +17009,7 @@ dependencies = [ [[package]] name = "zeitgeist-primitives" -version = "0.6.1" +version = "0.6.2" dependencies = [ "arbitrary", "fixed", @@ -17033,7 +17033,7 @@ dependencies = [ [[package]] name = "zeitgeist-runtime" -version = "0.6.1" +version = "0.6.2" dependencies = [ "async-backing-primitives", "cfg-if", @@ -17254,7 +17254,7 @@ dependencies = [ [[package]] name = "zrml-authorized" -version = "0.6.1" +version = "0.6.2" dependencies = [ "env_logger 0.11.8", "frame-benchmarking", @@ -17272,7 +17272,7 @@ dependencies = [ [[package]] name = "zrml-combinatorial-tokens" -version = "0.6.1" +version = "0.6.2" dependencies = [ "ark-bn254", "ark-ff 0.5.0", @@ -17300,7 +17300,7 @@ dependencies = [ [[package]] name = "zrml-combinatorial-tokens-fuzz" -version = "0.6.1" +version = "0.6.2" dependencies = [ "arbitrary", "frame-support", @@ -17315,7 +17315,7 @@ dependencies = [ [[package]] name = "zrml-court" -version = "0.6.1" +version = "0.6.2" dependencies = [ "arrayvec 0.7.6", "env_logger 0.11.8", @@ -17342,7 +17342,7 @@ dependencies = [ [[package]] name = "zrml-futarchy" -version = "0.6.1" +version = "0.6.2" dependencies = [ "arbitrary", "cfg-if", @@ -17366,7 +17366,7 @@ dependencies = [ [[package]] name = "zrml-futarchy-fuzz" -version = "0.6.1" +version = "0.6.2" dependencies = [ "arbitrary", "frame-support", @@ -17381,7 +17381,7 @@ dependencies = [ [[package]] name = "zrml-global-disputes" -version = "0.6.1" +version = "0.6.2" dependencies = [ "env_logger 0.11.8", "frame-benchmarking", @@ -17403,7 +17403,7 @@ dependencies = [ [[package]] name = "zrml-hybrid-router" -version = "0.6.1" +version = "0.6.2" dependencies = [ "cfg-if", "env_logger 0.11.8", @@ -17442,7 +17442,7 @@ dependencies = [ [[package]] name = "zrml-market-commons" -version = "0.6.1" +version = "0.6.2" dependencies = [ "env_logger 0.11.8", "frame-support", @@ -17461,7 +17461,7 @@ dependencies = [ [[package]] name = "zrml-neo-swaps" -version = "0.6.1" +version = "0.6.2" dependencies = [ "cfg-if", "env_logger 0.11.8", @@ -17505,7 +17505,7 @@ dependencies = [ [[package]] name = "zrml-neo-swaps-fuzz" -version = "0.6.1" +version = "0.6.2" dependencies = [ "arbitrary", "frame-support", @@ -17520,7 +17520,7 @@ dependencies = [ [[package]] name = "zrml-orderbook" -version = "0.6.1" +version = "0.6.2" dependencies = [ "env_logger 0.11.8", "frame-benchmarking", @@ -17544,7 +17544,7 @@ dependencies = [ [[package]] name = "zrml-orderbook-fuzz" -version = "0.6.1" +version = "0.6.2" dependencies = [ "arbitrary", "frame-system", @@ -17555,7 +17555,7 @@ dependencies = [ [[package]] name = "zrml-parimutuel" -version = "0.6.1" +version = "0.6.2" dependencies = [ "env_logger 0.11.8", "frame-benchmarking", @@ -17578,7 +17578,7 @@ dependencies = [ [[package]] name = "zrml-prediction-markets" -version = "0.6.1" +version = "0.6.2" dependencies = [ "cfg-if", "env_logger 0.11.8", @@ -17616,7 +17616,7 @@ dependencies = [ [[package]] name = "zrml-prediction-markets-fuzz" -version = "0.6.1" +version = "0.6.2" dependencies = [ "arbitrary", "frame-support", @@ -17628,7 +17628,7 @@ dependencies = [ [[package]] name = "zrml-prediction-markets-runtime-api" -version = "0.6.1" +version = "0.6.2" dependencies = [ "parity-scale-codec", "sp-api", @@ -17637,7 +17637,7 @@ dependencies = [ [[package]] name = "zrml-styx" -version = "0.6.1" +version = "0.6.2" dependencies = [ "env_logger 0.11.8", "frame-benchmarking", @@ -17654,7 +17654,7 @@ dependencies = [ [[package]] name = "zrml-swaps" -version = "0.6.1" +version = "0.6.2" dependencies = [ "env_logger 0.11.8", "frame-benchmarking", @@ -17683,7 +17683,7 @@ dependencies = [ [[package]] name = "zrml-swaps-fuzz" -version = "0.6.1" +version = "0.6.2" dependencies = [ "arbitrary", "frame-support", @@ -17697,7 +17697,7 @@ dependencies = [ [[package]] name = "zrml-swaps-rpc" -version = "0.6.1" +version = "0.6.2" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -17710,7 +17710,7 @@ dependencies = [ [[package]] name = "zrml-swaps-runtime-api" -version = "0.6.1" +version = "0.6.2" dependencies = [ "parity-scale-codec", "sp-api", diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 564522025..e24d21d0e 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -7,4 +7,4 @@ authors = ["Zeitgeist PM "] edition.workspace = true license = "GPL-3.0-or-later" name = "zeitgeist-macros" -version = "0.6.1" +version = "0.6.2" diff --git a/node/Cargo.toml b/node/Cargo.toml index 7de9784a9..193f8c1be 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -193,7 +193,7 @@ homepage = "https://zeitgeist.pm" license = "GPL-3.0-or-later" name = "zeitgeist-node" publish = false -version = "0.6.1" +version = "0.6.2" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 0730234b3..e30ee23f7 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -42,4 +42,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zeitgeist-primitives" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/runtime/battery-station/Cargo.toml b/runtime/battery-station/Cargo.toml index 6a24368ce..e36b4251b 100644 --- a/runtime/battery-station/Cargo.toml +++ b/runtime/battery-station/Cargo.toml @@ -456,7 +456,7 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "battery-station-runtime" publish = false -version = "0.6.1" +version = "0.6.2" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index d2b06eae0..ef60869db 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -121,7 +121,7 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "common-runtime" publish = false -version = "0.6.1" +version = "0.6.2" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/runtime/common/src/weights/frame_system.rs b/runtime/common/src/weights/frame_system.rs index 8b2dba00d..e40021d69 100644 --- a/runtime/common/src/weights/frame_system.rs +++ b/runtime/common/src/weights/frame_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,34 +45,31 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for frame_system (automatically generated) pub struct WeightInfo(PhantomData); impl frame_system::weights::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. - fn remark(b: u32) -> Weight { + fn remark(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_350 nanoseconds. - Weight::from_parts(3_510_000, 0) - // Standard Error: 178 - .saturating_add(Weight::from_parts(15_722, 0).saturating_mul(b.into())) + // Minimum execution time: 3_250 nanoseconds. + Weight::from_parts(3_780_000, 0) + // Standard Error: 189 + .saturating_add(Weight::from_parts(16_189, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. - fn remark_with_event(b: u32) -> Weight { + fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_591 nanoseconds. - Weight::from_parts(8_870_000, 0) - // Standard Error: 177 - .saturating_add(Weight::from_parts(17_336, 0).saturating_mul(b.into())) + // Minimum execution time: 8_790 nanoseconds. + Weight::from_parts(9_070_000, 0) + // Standard Error: 193 + .saturating_add(Weight::from_parts(18_135, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -82,11 +79,13 @@ impl frame_system::weights::WeightInfo for WeightInfo frame_system::weights::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `1485` - // Minimum execution time: 270_553_706 nanoseconds. - Weight::from_parts(279_550_862_000, 1485) - .saturating_add(T::DbWeight::get().reads(1)) + // Estimated: `67039` + // Minimum execution time: 253_764_803 nanoseconds. + Weight::from_parts(258_216_948_000, 67039) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. - fn set_storage(i: u32) -> Weight { + fn set_storage(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_380 nanoseconds. - Weight::from_parts(3_590_000, 0) - // Standard Error: 3_094 - .saturating_add(Weight::from_parts(1_137_387, 0).saturating_mul(i.into())) + // Minimum execution time: 3_230 nanoseconds. + Weight::from_parts(3_370_000, 0) + // Standard Error: 2_796 + .saturating_add(Weight::from_parts(966_727, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. - fn kill_storage(i: u32) -> Weight { + fn kill_storage(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_270 nanoseconds. - Weight::from_parts(3_570_000, 0) - // Standard Error: 1_434 - .saturating_add(Weight::from_parts(820_569, 0).saturating_mul(i.into())) + // Minimum execution time: 3_251 nanoseconds. + Weight::from_parts(3_430_000, 0) + // Standard Error: 1_243 + .saturating_add(Weight::from_parts(718_377, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. - fn kill_prefix(p: u32) -> Weight { + fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `49 + p * (69 ±0)` - // Estimated: `52 + p * (70 ±0)` - // Minimum execution time: 6_680 nanoseconds. - Weight::from_parts(6_831_000, 52) - // Standard Error: 4_621 - .saturating_add(Weight::from_parts(1_743_894, 0).saturating_mul(p.into())) + // Measured: `53 + p * (69 ±0)` + // Estimated: `78 + p * (70 ±0)` + // Minimum execution time: 6_980 nanoseconds. + Weight::from_parts(7_370_000, 78) + // Standard Error: 2_210 + .saturating_add(Weight::from_parts(1_604_820, 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())) + .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } /// Storage: `System::AuthorizedUpgrade` (r:0 w:1) /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) @@ -147,11 +146,14 @@ impl frame_system::weights::WeightInfo for WeightInfo frame_system::weights::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `22` - // Estimated: `1518` - // Minimum execution time: 288_667_485 nanoseconds. - Weight::from_parts(296_438_839_000, 1518) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `67039` + // Minimum execution time: 274_342_528 nanoseconds. + Weight::from_parts(288_151_994_000, 67039) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } } diff --git a/runtime/common/src/weights/orml_currencies.rs b/runtime/common/src/weights/orml_currencies.rs index 475434acb..d1bb9c80e 100644 --- a/runtime/common/src/weights/orml_currencies.rs +++ b/runtime/common/src/weights/orml_currencies.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for orml_currencies //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -57,10 +57,10 @@ impl orml_currencies::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1656` + // Measured: `1689` // Estimated: `6214` - // Minimum execution time: 69_151 nanoseconds. - Weight::from_parts(71_511_000, 6214) + // Minimum execution time: 67_742 nanoseconds. + Weight::from_parts(73_362_000, 6214) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -68,10 +68,10 @@ impl orml_currencies::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1511` + // Measured: `1544` // Estimated: `3597` - // Minimum execution time: 93_922 nanoseconds. - Weight::from_parts(95_712_000, 3597) + // Minimum execution time: 91_142 nanoseconds. + Weight::from_parts(95_752_000, 3597) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,10 +83,10 @@ impl orml_currencies::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn update_balance_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1327` + // Measured: `1360` // Estimated: `3602` - // Minimum execution time: 49_721 nanoseconds. - Weight::from_parts(52_632_000, 3602) + // Minimum execution time: 46_481 nanoseconds. + Weight::from_parts(48_831_000, 3602) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -94,9 +94,9 @@ impl orml_currencies::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn update_balance_native_currency_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `1367` + // Measured: `1400` // Estimated: `3597` - // Minimum execution time: 52_221 nanoseconds. + // Minimum execution time: 51_251 nanoseconds. Weight::from_parts(53_591_000, 3597) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -105,10 +105,10 @@ impl orml_currencies::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn update_balance_native_currency_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `1459` + // Measured: `1492` // Estimated: `3597` - // Minimum execution time: 53_861 nanoseconds. - Weight::from_parts(55_811_000, 3597) + // Minimum execution time: 53_902 nanoseconds. + Weight::from_parts(57_961_000, 3597) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/orml_tokens.rs b/runtime/common/src/weights/orml_tokens.rs index 63754f427..088e9ed99 100644 --- a/runtime/common/src/weights/orml_tokens.rs +++ b/runtime/common/src/weights/orml_tokens.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for orml_tokens //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -57,10 +57,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1656` + // Measured: `1689` // Estimated: `6214` - // Minimum execution time: 68_511 nanoseconds. - Weight::from_parts(70_751_000, 6214) + // Minimum execution time: 67_802 nanoseconds. + Weight::from_parts(74_211_000, 6214) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -70,10 +70,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `1656` + // Measured: `1689` // Estimated: `6214` - // Minimum execution time: 72_872 nanoseconds. - Weight::from_parts(74_701_000, 6214) + // Minimum execution time: 71_331 nanoseconds. + Weight::from_parts(74_102_000, 6214) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -83,10 +83,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `1512` + // Measured: `1545` // Estimated: `6214` - // Minimum execution time: 56_221 nanoseconds. - Weight::from_parts(59_122_000, 6214) + // Minimum execution time: 55_692 nanoseconds. + Weight::from_parts(58_392_000, 6214) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -96,10 +96,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1656` + // Measured: `1689` // Estimated: `6214` - // Minimum execution time: 64_191 nanoseconds. - Weight::from_parts(66_971_000, 6214) + // Minimum execution time: 62_162 nanoseconds. + Weight::from_parts(64_112_000, 6214) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -111,10 +111,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn set_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `1327` + // Measured: `1360` // Estimated: `3602` - // Minimum execution time: 46_801 nanoseconds. - Weight::from_parts(48_671_000, 3602) + // Minimum execution time: 45_771 nanoseconds. + Weight::from_parts(49_331_000, 3602) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/common/src/weights/pallet_balances.rs b/runtime/common/src/weights/pallet_balances.rs index 887704f60..0e7ac7296 100644 --- a/runtime/common/src/weights/pallet_balances.rs +++ b/runtime/common/src/weights/pallet_balances.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_balances (automatically generated) pub struct WeightInfo(PhantomData); @@ -60,8 +57,8 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `144` // Estimated: `6204` - // Minimum execution time: 88_611 nanoseconds. - Weight::from_parts(90_392_000, 6204) + // Minimum execution time: 88_262 nanoseconds. + Weight::from_parts(90_961_000, 6204) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -71,8 +68,8 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `0` // Estimated: `3597` - // Minimum execution time: 57_481 nanoseconds. - Weight::from_parts(59_251_000, 3597) + // Minimum execution time: 56_701 nanoseconds. + Weight::from_parts(59_211_000, 3597) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -82,8 +79,8 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 24_011 nanoseconds. - Weight::from_parts(24_931_000, 3597) + // Minimum execution time: 23_741 nanoseconds. + Weight::from_parts(24_710_000, 3597) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -93,8 +90,8 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 33_871 nanoseconds. - Weight::from_parts(35_071_000, 3597) + // Minimum execution time: 33_671 nanoseconds. + Weight::from_parts(34_771_000, 3597) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,8 +101,8 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `251` // Estimated: `8811` - // Minimum execution time: 92_051 nanoseconds. - Weight::from_parts(94_592_000, 8811) + // Minimum execution time: 91_402 nanoseconds. + Weight::from_parts(94_703_000, 8811) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -115,8 +112,8 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `0` // Estimated: `3597` - // Minimum execution time: 71_012 nanoseconds. - Weight::from_parts(71_922_000, 3597) + // Minimum execution time: 70_572 nanoseconds. + Weight::from_parts(72_402_000, 3597) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -126,32 +123,32 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 28_030 nanoseconds. - Weight::from_parts(29_130_000, 3597) + // Minimum execution time: 28_021 nanoseconds. + Weight::from_parts(31_381_000, 3597) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `System::Account` (r:999 w:999) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. - fn upgrade_accounts(u: u32) -> Weight { + fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + u * (139 ±0)` // Estimated: `990 + u * (2607 ±0)` - // Minimum execution time: 27_110 nanoseconds. - Weight::from_parts(27_470_000, 990) - // Standard Error: 22_344 - .saturating_add(Weight::from_parts(21_048_660, 0).saturating_mul(u.into())) + // Minimum execution time: 26_060 nanoseconds. + Weight::from_parts(27_331_000, 990) + // Standard Error: 15_055 + .saturating_add(Weight::from_parts(20_553_636, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(u.into())) + .saturating_add(Weight::from_parts(0, 2607).saturating_mul(u.into())) } fn force_adjust_total_issuance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_970 nanoseconds. - Weight::from_parts(9_570_000, 0) + // Minimum execution time: 9_310 nanoseconds. + Weight::from_parts(9_880_000, 0) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) @@ -159,8 +156,8 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `144` // Estimated: `3597` - // Minimum execution time: 63_082 nanoseconds. - Weight::from_parts(63_911_000, 3597) + // Minimum execution time: 63_612 nanoseconds. + Weight::from_parts(66_561_000, 3597) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -168,7 +165,7 @@ impl pallet_balances::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 29_881 nanoseconds. - Weight::from_parts(31_001_000, 0) + // Minimum execution time: 30_211 nanoseconds. + Weight::from_parts(31_501_000, 0) } } diff --git a/runtime/common/src/weights/pallet_bounties.rs b/runtime/common/src/weights/pallet_bounties.rs index c0464aa0b..01efb2eab 100644 --- a/runtime/common/src/weights/pallet_bounties.rs +++ b/runtime/common/src/weights/pallet_bounties.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_bounties //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_bounties (automatically generated) pub struct WeightInfo(PhantomData); @@ -63,14 +60,14 @@ impl pallet_bounties::weights::WeightInfo for WeightInf /// Storage: `Bounties::Bounties` (r:0 w:1) /// Proof: `Bounties::Bounties` (`max_values`: None, `max_size`: Some(181), added: 2656, mode: `MaxEncodedLen`) /// The range of component `d` is `[0, 8192]`. - fn propose_bounty(d: u32) -> Weight { + fn propose_bounty(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3597` - // Minimum execution time: 39_410 nanoseconds. - Weight::from_parts(41_385_318, 3597) - // Standard Error: 25 - .saturating_add(Weight::from_parts(614, 0).saturating_mul(d.into())) + // Minimum execution time: 38_631 nanoseconds. + Weight::from_parts(42_421_817, 3597) + // Standard Error: 39 + .saturating_add(Weight::from_parts(535, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -82,8 +79,8 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `197` // Estimated: `3646` - // Minimum execution time: 21_050 nanoseconds. - Weight::from_parts(21_620_000, 3646) + // Minimum execution time: 20_730 nanoseconds. + Weight::from_parts(21_271_000, 3646) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -93,8 +90,8 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `217` // Estimated: `3646` - // Minimum execution time: 19_970 nanoseconds. - Weight::from_parts(20_710_000, 3646) + // Minimum execution time: 18_760 nanoseconds. + Weight::from_parts(20_151_000, 3646) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -106,8 +103,8 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `545` // Estimated: `6204` - // Minimum execution time: 59_331 nanoseconds. - Weight::from_parts(60_651_000, 6204) + // Minimum execution time: 58_182 nanoseconds. + Weight::from_parts(61_322_000, 6204) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,8 +116,8 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `393` // Estimated: `3646` - // Minimum execution time: 42_681 nanoseconds. - Weight::from_parts(43_821_000, 3646) + // Minimum execution time: 41_681 nanoseconds. + Weight::from_parts(44_201_000, 3646) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -130,8 +127,8 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `257` // Estimated: `3646` - // Minimum execution time: 21_050 nanoseconds. - Weight::from_parts(21_811_000, 3646) + // Minimum execution time: 19_870 nanoseconds. + Weight::from_parts(21_581_000, 3646) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -145,8 +142,8 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `578` // Estimated: `8811` - // Minimum execution time: 149_193 nanoseconds. - Weight::from_parts(151_954_000, 8811) + // Minimum execution time: 146_913 nanoseconds. + Weight::from_parts(152_524_000, 8811) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -160,8 +157,8 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `445` // Estimated: `6204` - // Minimum execution time: 58_761 nanoseconds. - Weight::from_parts(63_661_000, 6204) + // Minimum execution time: 58_232 nanoseconds. + Weight::from_parts(61_071_000, 6204) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -175,8 +172,8 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `690` // Estimated: `8811` - // Minimum execution time: 105_872 nanoseconds. - Weight::from_parts(109_452_000, 8811) + // Minimum execution time: 104_832 nanoseconds. + Weight::from_parts(109_353_000, 8811) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -186,8 +183,8 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `257` // Estimated: `3646` - // Minimum execution time: 20_960 nanoseconds. - Weight::from_parts(21_611_000, 3646) + // Minimum execution time: 19_650 nanoseconds. + Weight::from_parts(21_330_000, 3646) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -198,18 +195,18 @@ impl pallet_bounties::weights::WeightInfo for WeightInf /// Storage: `System::Account` (r:200 w:200) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `b` is `[0, 100]`. - fn spend_funds(b: u32) -> Weight { + fn spend_funds(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `70 + b * (294 ±0)` // Estimated: `1887 + b * (5214 ±0)` - // Minimum execution time: 4_400 nanoseconds. - Weight::from_parts(4_520_000, 1887) - // Standard Error: 25_547 - .saturating_add(Weight::from_parts(49_636_528, 0).saturating_mul(b.into())) + // Minimum execution time: 5_090 nanoseconds. + Weight::from_parts(5_310_000, 1887) + // Standard Error: 28_464 + .saturating_add(Weight::from_parts(50_090_073, 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)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 5214).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 5214).saturating_mul(b.into())) } } diff --git a/runtime/common/src/weights/pallet_collective.rs b/runtime/common/src/weights/pallet_collective.rs index e64eb85ff..07e998782 100644 --- a/runtime/common/src/weights/pallet_collective.rs +++ b/runtime/common/src/weights/pallet_collective.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_collective (automatically generated) pub struct WeightInfo(PhantomData); @@ -65,39 +62,39 @@ impl pallet_collective::weights::WeightInfo for WeightI /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 255]`. - fn set_members(m: u32, _n: u32, p: u32) -> Weight { + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (8192 ±0) + p * (3194 ±0)` // Estimated: `32708 + m * (4970 ±60) + p * (4343 ±23)` - // Minimum execution time: 25_320 nanoseconds. - Weight::from_parts(25_900_000, 32708) - // Standard Error: 333_479 - .saturating_add(Weight::from_parts(22_372_682, 0).saturating_mul(m.into())) - // Standard Error: 130_931 - .saturating_add(Weight::from_parts(14_712_891, 0).saturating_mul(p.into())) + // Minimum execution time: 22_321 nanoseconds. + Weight::from_parts(22_650_000, 32708) + // Standard Error: 247_229 + .saturating_add(Weight::from_parts(16_696_588, 0).saturating_mul(m.into())) + // Standard Error: 97_068 + .saturating_add(Weight::from_parts(12_138_114, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 4970).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 4343).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 4970).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4343).saturating_mul(p.into())) } /// Storage: `AdvisoryCommittee::Members` (r:1 w:0) /// Proof: `AdvisoryCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn execute(b: u32, m: u32) -> Weight { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `30 + m * (32 ±0)` // Estimated: `1516 + m * (32 ±0)` - // Minimum execution time: 20_840 nanoseconds. - Weight::from_parts(20_654_594, 1516) - // Standard Error: 129 - .saturating_add(Weight::from_parts(1_463, 0).saturating_mul(b.into())) - // Standard Error: 1_337 - .saturating_add(Weight::from_parts(22_737, 0).saturating_mul(m.into())) + // Minimum execution time: 20_831 nanoseconds. + Weight::from_parts(22_277_443, 1516) + // Standard Error: 241 + .saturating_add(Weight::from_parts(1_005, 0).saturating_mul(b.into())) + // Standard Error: 2_491 + .saturating_add(Weight::from_parts(11_887, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `AdvisoryCommittee::Members` (r:1 w:0) /// Proof: `AdvisoryCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -105,18 +102,18 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Proof: `AdvisoryCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn propose_execute(b: u32, m: u32) -> Weight { + fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `30 + m * (32 ±0)` // Estimated: `3496 + m * (32 ±0)` - // Minimum execution time: 25_190 nanoseconds. - Weight::from_parts(25_423_152, 3496) - // Standard Error: 171 - .saturating_add(Weight::from_parts(1_172, 0).saturating_mul(b.into())) - // Standard Error: 1_768 - .saturating_add(Weight::from_parts(33_618, 0).saturating_mul(m.into())) + // Minimum execution time: 25_221 nanoseconds. + Weight::from_parts(24_943_075, 3496) + // Standard Error: 358 + .saturating_add(Weight::from_parts(2_729, 0).saturating_mul(b.into())) + // Standard Error: 3_691 + .saturating_add(Weight::from_parts(32_093, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `AdvisoryCommittee::Members` (r:1 w:0) /// Proof: `AdvisoryCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -131,39 +128,39 @@ impl pallet_collective::weights::WeightInfo for WeightI /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 255]`. - 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: `463 + m * (32 ±0) + p * (33 ±0)` // Estimated: `3888 + m * (32 ±0) + p * (34 ±0)` - // Minimum execution time: 33_221 nanoseconds. - Weight::from_parts(35_036_355, 3888) - // Standard Error: 302 - .saturating_add(Weight::from_parts(5_224, 0).saturating_mul(b.into())) - // Standard Error: 3_159 - .saturating_add(Weight::from_parts(32_692, 0).saturating_mul(m.into())) - // Standard Error: 1_216 - .saturating_add(Weight::from_parts(254_662, 0).saturating_mul(p.into())) + // Minimum execution time: 32_020 nanoseconds. + Weight::from_parts(40_181_344, 3888) + // Standard Error: 364 + .saturating_add(Weight::from_parts(2_843, 0).saturating_mul(b.into())) + // Standard Error: 3_800 + .saturating_add(Weight::from_parts(8_431, 0).saturating_mul(m.into())) + // Standard Error: 1_463 + .saturating_add(Weight::from_parts(222_841, 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, 32).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 34).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 34).saturating_mul(p.into())) } /// Storage: `AdvisoryCommittee::Members` (r:1 w:0) /// Proof: `AdvisoryCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AdvisoryCommittee::Voting` (r:1 w:1) /// Proof: `AdvisoryCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. - fn vote(m: u32) -> Weight { + fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1137 + m * (64 ±0)` // Estimated: `4601 + m * (64 ±0)` - // Minimum execution time: 38_741 nanoseconds. - Weight::from_parts(42_250_344, 4601) - // Standard Error: 1_207 - .saturating_add(Weight::from_parts(45_852, 0).saturating_mul(m.into())) + // Minimum execution time: 38_171 nanoseconds. + Weight::from_parts(40_247_108, 4601) + // Standard Error: 1_872 + .saturating_add(Weight::from_parts(34_928, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `AdvisoryCommittee::Voting` (r:1 w:1) /// Proof: `AdvisoryCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -175,20 +172,20 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Proof: `AdvisoryCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 255]`. - fn close_early_disapproved(m: u32, p: u32) -> Weight { + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `548 + m * (64 ±0) + p * (33 ±0)` // Estimated: `3968 + m * (65 ±0) + p * (34 ±0)` - // Minimum execution time: 38_021 nanoseconds. - Weight::from_parts(41_955_248, 3968) - // Standard Error: 2_177 - .saturating_add(Weight::from_parts(32_691, 0).saturating_mul(m.into())) - // Standard Error: 827 - .saturating_add(Weight::from_parts(227_481, 0).saturating_mul(p.into())) + // Minimum execution time: 37_411 nanoseconds. + Weight::from_parts(41_612_657, 3968) + // Standard Error: 3_295 + .saturating_add(Weight::from_parts(18_605, 0).saturating_mul(m.into())) + // Standard Error: 1_252 + .saturating_add(Weight::from_parts(203_350, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 34).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 34).saturating_mul(p.into())) } /// Storage: `AdvisoryCommittee::Voting` (r:1 w:1) /// Proof: `AdvisoryCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -201,23 +198,23 @@ impl pallet_collective::weights::WeightInfo for WeightI /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 255]`. - fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `760 + b * (1 ±0) + m * (64 ±0) + p * (36 ±0)` // Estimated: `4299 + b * (1 ±0) + m * (62 ±0) + p * (36 ±0)` - // Minimum execution time: 52_131 nanoseconds. - Weight::from_parts(56_776_472, 4299) - // Standard Error: 326 - .saturating_add(Weight::from_parts(3_010, 0).saturating_mul(b.into())) - // Standard Error: 3_453 - .saturating_add(Weight::from_parts(26_698, 0).saturating_mul(m.into())) - // Standard Error: 1_312 - .saturating_add(Weight::from_parts(249_948, 0).saturating_mul(p.into())) + // Minimum execution time: 52_411 nanoseconds. + Weight::from_parts(53_621_433, 4299) + // Standard Error: 532 + .saturating_add(Weight::from_parts(4_265, 0).saturating_mul(b.into())) + // Standard Error: 5_630 + .saturating_add(Weight::from_parts(19_761, 0).saturating_mul(m.into())) + // Standard Error: 2_140 + .saturating_add(Weight::from_parts(253_997, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 62).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 62).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `AdvisoryCommittee::Voting` (r:1 w:1) /// Proof: `AdvisoryCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -231,20 +228,20 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Proof: `AdvisoryCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 255]`. - fn close_disapproved(m: u32, p: u32) -> Weight { + fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `568 + m * (64 ±0) + p * (33 ±0)` // Estimated: `3988 + m * (65 ±0) + p * (34 ±0)` - // Minimum execution time: 40_941 nanoseconds. - Weight::from_parts(44_340_412, 3988) - // Standard Error: 2_076 - .saturating_add(Weight::from_parts(39_932, 0).saturating_mul(m.into())) - // Standard Error: 789 - .saturating_add(Weight::from_parts(230_778, 0).saturating_mul(p.into())) + // Minimum execution time: 41_011 nanoseconds. + Weight::from_parts(45_396_830, 3988) + // Standard Error: 3_987 + .saturating_add(Weight::from_parts(15_551, 0).saturating_mul(m.into())) + // Standard Error: 1_515 + .saturating_add(Weight::from_parts(203_676, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 34).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 34).saturating_mul(p.into())) } /// Storage: `AdvisoryCommittee::Voting` (r:1 w:1) /// Proof: `AdvisoryCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -259,23 +256,23 @@ impl pallet_collective::weights::WeightInfo for WeightI /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 255]`. - fn close_approved(b: u32, m: u32, p: u32) -> Weight { + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `780 + b * (1 ±0) + m * (64 ±0) + p * (36 ±0)` // Estimated: `4319 + b * (1 ±0) + m * (62 ±0) + p * (36 ±0)` - // Minimum execution time: 55_951 nanoseconds. - Weight::from_parts(58_706_300, 4319) - // Standard Error: 421 - .saturating_add(Weight::from_parts(4_214, 0).saturating_mul(b.into())) - // Standard Error: 4_458 - .saturating_add(Weight::from_parts(26_827, 0).saturating_mul(m.into())) - // Standard Error: 1_694 - .saturating_add(Weight::from_parts(265_386, 0).saturating_mul(p.into())) + // Minimum execution time: 54_931 nanoseconds. + Weight::from_parts(60_354_867, 4319) + // Standard Error: 584 + .saturating_add(Weight::from_parts(3_008, 0).saturating_mul(b.into())) + // Standard Error: 6_180 + .saturating_add(Weight::from_parts(431, 0).saturating_mul(m.into())) + // Standard Error: 2_349 + .saturating_add(Weight::from_parts(249_604, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 62).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 62).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `AdvisoryCommittee::Proposals` (r:1 w:1) /// Proof: `AdvisoryCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -284,16 +281,16 @@ impl pallet_collective::weights::WeightInfo for WeightI /// Storage: `AdvisoryCommittee::ProposalOf` (r:0 w:1) /// Proof: `AdvisoryCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 255]`. - fn disapprove_proposal(p: u32) -> Weight { + fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `188 + p * (32 ±0)` // Estimated: `1672 + p * (32 ±0)` - // Minimum execution time: 21_131 nanoseconds. - Weight::from_parts(25_009_414, 1672) - // Standard Error: 829 - .saturating_add(Weight::from_parts(230_286, 0).saturating_mul(p.into())) + // Minimum execution time: 21_270 nanoseconds. + Weight::from_parts(25_772_198, 1672) + // Standard Error: 1_012 + .saturating_add(Weight::from_parts(219_272, 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())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } diff --git a/runtime/common/src/weights/pallet_democracy.rs b/runtime/common/src/weights/pallet_democracy.rs index 7e4e1c5e7..897f5a5d9 100644 --- a/runtime/common/src/weights/pallet_democracy.rs +++ b/runtime/common/src/weights/pallet_democracy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_democracy (automatically generated) pub struct WeightInfo(PhantomData); @@ -66,8 +63,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `4805` // Estimated: `18187` - // Minimum execution time: 60_661 nanoseconds. - Weight::from_parts(61_632_000, 18187) + // Minimum execution time: 61_651 nanoseconds. + Weight::from_parts(62_831_000, 18187) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -77,8 +74,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `3560` // Estimated: `6695` - // Minimum execution time: 57_661 nanoseconds. - Weight::from_parts(58_931_000, 6695) + // Minimum execution time: 57_991 nanoseconds. + Weight::from_parts(59_181_000, 6695) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -94,8 +91,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `3448` // Estimated: `7264` - // Minimum execution time: 77_721 nanoseconds. - Weight::from_parts(82_672_000, 7264) + // Minimum execution time: 75_112 nanoseconds. + Weight::from_parts(77_243_000, 7264) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -111,8 +108,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `3470` // Estimated: `7264` - // Minimum execution time: 78_981 nanoseconds. - Weight::from_parts(83_991_000, 7264) + // Minimum execution time: 78_132 nanoseconds. + Weight::from_parts(79_842_000, 7264) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -126,8 +123,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `374` // Estimated: `3674` - // Minimum execution time: 37_900 nanoseconds. - Weight::from_parts(39_331_000, 3674) + // Minimum execution time: 37_281 nanoseconds. + Weight::from_parts(38_441_000, 3674) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -149,8 +146,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `6204` // Estimated: `18187` - // Minimum execution time: 150_324 nanoseconds. - Weight::from_parts(156_283_000, 18187) + // Minimum execution time: 141_303 nanoseconds. + Weight::from_parts(142_794_000, 18187) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -162,8 +159,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `3420` // Estimated: `6707` - // Minimum execution time: 22_240 nanoseconds. - Weight::from_parts(23_080_000, 6707) + // Minimum execution time: 20_910 nanoseconds. + Weight::from_parts(24_711_000, 6707) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -173,8 +170,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_401 nanoseconds. - Weight::from_parts(4_870_000, 0).saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_590 nanoseconds. + Weight::from_parts(5_050_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Democracy::NextExternal` (r:0 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -182,8 +180,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_510 nanoseconds. - Weight::from_parts(4_920_000, 0).saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_610 nanoseconds. + Weight::from_parts(4_870_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -197,8 +196,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `286` // Estimated: `3518` - // Minimum execution time: 36_031 nanoseconds. - Weight::from_parts(37_131_000, 3518) + // Minimum execution time: 36_591 nanoseconds. + Weight::from_parts(39_711_000, 3518) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -212,8 +211,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6707` - // Minimum execution time: 41_321 nanoseconds. - Weight::from_parts(43_141_000, 6707) + // Minimum execution time: 40_101 nanoseconds. + Weight::from_parts(41_921_000, 6707) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -229,8 +228,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `6107` // Estimated: `18187` - // Minimum execution time: 127_334 nanoseconds. - Weight::from_parts(131_873_000, 18187) + // Minimum execution time: 116_992 nanoseconds. + Weight::from_parts(120_743_000, 18187) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -242,8 +241,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `271` // Estimated: `3518` - // Minimum execution time: 27_101 nanoseconds. - Weight::from_parts(27_980_000, 3518) + // Minimum execution time: 27_310 nanoseconds. + Weight::from_parts(28_251_000, 3518) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -254,18 +253,18 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn on_initialize_base(r: u32) -> Weight { + fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `244 + r * (94 ±0)` // Estimated: `1489 + r * (2684 ±0)` - // Minimum execution time: 11_200 nanoseconds. - Weight::from_parts(10_860_685, 1489) - // Standard Error: 13_944 - .saturating_add(Weight::from_parts(5_136_618, 0).saturating_mul(r.into())) + // Minimum execution time: 10_800 nanoseconds. + Weight::from_parts(9_624_035, 1489) + // Standard Error: 17_548 + .saturating_add(Weight::from_parts(4_923_290, 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)) - .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) } /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -280,18 +279,18 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn on_initialize_base_with_launch_period(r: u32) -> Weight { + fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `244 + r * (94 ±0)` // Estimated: `18187 + r * (2684 ±0)` - // Minimum execution time: 15_250 nanoseconds. - Weight::from_parts(14_671_451, 18187) - // Standard Error: 15_114 - .saturating_add(Weight::from_parts(5_177_988, 0).saturating_mul(r.into())) + // Minimum execution time: 14_910 nanoseconds. + Weight::from_parts(12_918_012, 18187) + // Standard Error: 17_481 + .saturating_add(Weight::from_parts(5_072_218, 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)) - .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) } /// Storage: `Democracy::VotingOf` (r:3 w:3) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3799), added: 6274, mode: `MaxEncodedLen`) @@ -302,38 +301,38 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn delegate(r: u32) -> Weight { + fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `812 + r * (116 ±0)` // Estimated: `19812 + r * (2684 ±0)` - // Minimum execution time: 61_211 nanoseconds. - Weight::from_parts(69_234_491, 19812) - // Standard Error: 16_299 - .saturating_add(Weight::from_parts(6_345_296, 0).saturating_mul(r.into())) + // Minimum execution time: 60_132 nanoseconds. + Weight::from_parts(64_162_446, 19812) + // Standard Error: 21_462 + .saturating_add(Weight::from_parts(6_262_546, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) } /// Storage: `Democracy::VotingOf` (r:2 w:2) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3799), added: 6274, mode: `MaxEncodedLen`) /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(209), added: 2684, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn undelegate(r: u32) -> Weight { + fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `501 + r * (116 ±0)` // Estimated: `13538 + r * (2684 ±0)` - // Minimum execution time: 30_471 nanoseconds. - Weight::from_parts(27_593_066, 13538) - // Standard Error: 19_826 - .saturating_add(Weight::from_parts(6_260_990, 0).saturating_mul(r.into())) + // Minimum execution time: 30_151 nanoseconds. + Weight::from_parts(27_959_549, 13538) + // Standard Error: 21_942 + .saturating_add(Weight::from_parts(6_137_419, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) } /// Storage: `Democracy::PublicProps` (r:0 w:1) /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) @@ -341,8 +340,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_310 nanoseconds. - Weight::from_parts(4_710_000, 0).saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_591 nanoseconds. + Weight::from_parts(5_030_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3799), added: 6274, mode: `MaxEncodedLen`) @@ -353,14 +353,14 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_remove(r: u32) -> Weight { + fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `533` // Estimated: `7264` - // Minimum execution time: 36_991 nanoseconds. - Weight::from_parts(52_813_097, 7264) - // Standard Error: 4_360 - .saturating_add(Weight::from_parts(95_935, 0).saturating_mul(r.into())) + // Minimum execution time: 35_901 nanoseconds. + Weight::from_parts(52_495_647, 7264) + // Standard Error: 3_751 + .saturating_add(Weight::from_parts(72_668, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -373,14 +373,14 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_set(r: u32) -> Weight { + fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `534 + r * (22 ±0)` // Estimated: `7264` - // Minimum execution time: 50_101 nanoseconds. - Weight::from_parts(52_936_204, 7264) - // Standard Error: 4_003 - .saturating_add(Weight::from_parts(154_033, 0).saturating_mul(r.into())) + // Minimum execution time: 47_141 nanoseconds. + Weight::from_parts(54_274_577, 7264) + // Standard Error: 5_058 + .saturating_add(Weight::from_parts(93_462, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -389,14 +389,14 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3799), added: 6274, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. - fn remove_vote(r: u32) -> Weight { + fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `740 + r * (26 ±0)` // Estimated: `7264` - // Minimum execution time: 26_931 nanoseconds. - Weight::from_parts(32_554_227, 7264) - // Standard Error: 4_463 - .saturating_add(Weight::from_parts(137_492, 0).saturating_mul(r.into())) + // Minimum execution time: 25_191 nanoseconds. + Weight::from_parts(32_177_717, 7264) + // Standard Error: 2_830 + .saturating_add(Weight::from_parts(114_760, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -405,14 +405,14 @@ impl pallet_democracy::weights::WeightInfo for WeightIn /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3799), added: 6274, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. - fn remove_other_vote(r: u32) -> Weight { + fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `740 + r * (26 ±0)` // Estimated: `7264` - // Minimum execution time: 26_600 nanoseconds. - Weight::from_parts(31_398_506, 7264) - // Standard Error: 2_626 - .saturating_add(Weight::from_parts(154_277, 0).saturating_mul(r.into())) + // Minimum execution time: 25_271 nanoseconds. + Weight::from_parts(32_086_292, 7264) + // Standard Error: 2_876 + .saturating_add(Weight::from_parts(113_256, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -428,8 +428,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `356` // Estimated: `3556` - // Minimum execution time: 29_920 nanoseconds. - Weight::from_parts(31_410_000, 3556) + // Minimum execution time: 29_401 nanoseconds. + Weight::from_parts(30_340_000, 3556) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -441,8 +441,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `286` // Estimated: `3518` - // Minimum execution time: 24_901 nanoseconds. - Weight::from_parts(25_951_000, 3518) + // Minimum execution time: 24_300 nanoseconds. + Weight::from_parts(25_800_000, 3518) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -458,8 +458,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `4888` // Estimated: `18187` - // Minimum execution time: 62_862 nanoseconds. - Weight::from_parts(66_092_000, 18187) + // Minimum execution time: 57_931 nanoseconds. + Weight::from_parts(59_122_000, 18187) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -471,8 +471,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `4822` // Estimated: `18187` - // Minimum execution time: 56_091 nanoseconds. - Weight::from_parts(59_832_000, 18187) + // Minimum execution time: 51_711 nanoseconds. + Weight::from_parts(53_341_000, 18187) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -486,8 +486,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 23_851 nanoseconds. - Weight::from_parts(24_701_000, 3556) + // Minimum execution time: 23_111 nanoseconds. + Weight::from_parts(24_050_000, 3556) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -499,8 +499,8 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `306` // Estimated: `3674` - // Minimum execution time: 28_681 nanoseconds. - Weight::from_parts(29_601_000, 3674) + // Minimum execution time: 27_650 nanoseconds. + Weight::from_parts(31_320_000, 3674) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_identity.rs b/runtime/common/src/weights/pallet_identity.rs index b5b6399ba..166e6f14e 100644 --- a/runtime/common/src/weights/pallet_identity.rs +++ b/runtime/common/src/weights/pallet_identity.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_identity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_identity (automatically generated) pub struct WeightInfo(PhantomData); @@ -57,28 +54,28 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(457), added: 952, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 7]`. - fn add_registrar(r: u32) -> Weight { + fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `32 + r * (57 ±0)` // Estimated: `1942` - // Minimum execution time: 15_490 nanoseconds. - Weight::from_parts(16_228_973, 1942) - // Standard Error: 8_874 - .saturating_add(Weight::from_parts(166_945, 0).saturating_mul(r.into())) + // Minimum execution time: 15_750 nanoseconds. + Weight::from_parts(16_855_247, 1942) + // Standard Error: 24_504 + .saturating_add(Weight::from_parts(285_704, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Identity::IdentityOf` (r:1 w:1) /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(4872), added: 7347, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 8]`. - fn set_identity(r: u32) -> Weight { + fn set_identity(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4602 + r * (5 ±0)` // Estimated: `8337` - // Minimum execution time: 131_872 nanoseconds. - Weight::from_parts(133_547_713, 8337) - // Standard Error: 19_779 - .saturating_add(Weight::from_parts(482_026, 0).saturating_mul(r.into())) + // Minimum execution time: 118_913 nanoseconds. + Weight::from_parts(125_847_351, 8337) + // Standard Error: 69_290 + .saturating_add(Weight::from_parts(122_661, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,19 +86,19 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Storage: `Identity::SuperOf` (r:64 w:64) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 64]`. - fn set_subs_new(s: u32) -> Weight { + fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `101` // Estimated: `8337 + s * (2589 ±0)` - // Minimum execution time: 16_140 nanoseconds. - Weight::from_parts(34_340_339, 8337) - // Standard Error: 8_860 - .saturating_add(Weight::from_parts(5_446_762, 0).saturating_mul(s.into())) + // Minimum execution time: 16_210 nanoseconds. + Weight::from_parts(36_289_412, 8337) + // Standard Error: 18_064 + .saturating_add(Weight::from_parts(5_274_153, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) - .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into())) } /// Storage: `Identity::IdentityOf` (r:1 w:0) /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(4872), added: 7347, mode: `MaxEncodedLen`) @@ -110,14 +107,14 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Storage: `Identity::SuperOf` (r:0 w:64) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 64]`. - fn set_subs_old(p: u32) -> Weight { + fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `194 + p * (32 ±0)` // Estimated: `8337` // Minimum execution time: 16_010 nanoseconds. - Weight::from_parts(35_967_101, 8337) - // Standard Error: 7_917 - .saturating_add(Weight::from_parts(2_086_294, 0).saturating_mul(p.into())) + Weight::from_parts(37_513_687, 8337) + // Standard Error: 10_608 + .saturating_add(Weight::from_parts(2_028_394, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -130,16 +127,16 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 8]`. /// The range of component `s` is `[0, 64]`. - fn clear_identity(r: u32, s: u32) -> Weight { + fn clear_identity(r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4696 + r * (5 ±0) + s * (32 ±0)` // Estimated: `8337` - // Minimum execution time: 71_952 nanoseconds. - Weight::from_parts(74_060_481, 8337) - // Standard Error: 44_100 - .saturating_add(Weight::from_parts(217_411, 0).saturating_mul(r.into())) - // Standard Error: 5_122 - .saturating_add(Weight::from_parts(2_106_331, 0).saturating_mul(s.into())) + // Minimum execution time: 66_602 nanoseconds. + Weight::from_parts(69_510_175, 8337) + // Standard Error: 71_807 + .saturating_add(Weight::from_parts(173_553, 0).saturating_mul(r.into())) + // Standard Error: 8_340 + .saturating_add(Weight::from_parts(2_000_847, 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((1_u64).saturating_mul(s.into()))) @@ -149,70 +146,70 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Storage: `Identity::IdentityOf` (r:1 w:1) /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(4872), added: 7347, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 8]`. - fn request_judgement(r: u32) -> Weight { + fn request_judgement(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4592 + r * (57 ±0)` // Estimated: `8337` - // Minimum execution time: 98_212 nanoseconds. - Weight::from_parts(100_089_810, 8337) - // Standard Error: 22_990 - .saturating_add(Weight::from_parts(141_441, 0).saturating_mul(r.into())) + // Minimum execution time: 90_242 nanoseconds. + Weight::from_parts(97_552_129, 8337) + // Standard Error: 72_956 + .saturating_add(Weight::from_parts(245_723, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Identity::IdentityOf` (r:1 w:1) /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(4872), added: 7347, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 8]`. - fn cancel_request(r: u32) -> Weight { + fn cancel_request(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4623` // Estimated: `8337` - // Minimum execution time: 95_582 nanoseconds. - Weight::from_parts(97_508_284, 8337) - // Standard Error: 20_486 - .saturating_add(Weight::from_parts(131_323, 0).saturating_mul(r.into())) + // Minimum execution time: 87_702 nanoseconds. + Weight::from_parts(93_290_196, 8337) + // Standard Error: 47_185 + .saturating_add(Weight::from_parts(70_763, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(457), added: 952, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 7]`. - fn set_fee(r: u32) -> Weight { + fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `1942` - // Minimum execution time: 11_700 nanoseconds. - Weight::from_parts(12_303_819, 1942) - // Standard Error: 5_874 - .saturating_add(Weight::from_parts(93_463, 0).saturating_mul(r.into())) + // Minimum execution time: 11_520 nanoseconds. + Weight::from_parts(12_491_885, 1942) + // Standard Error: 17_531 + .saturating_add(Weight::from_parts(192_731, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(457), added: 952, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 7]`. - fn set_account_id(r: u32) -> Weight { + fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `1942` - // Minimum execution time: 10_201 nanoseconds. - Weight::from_parts(10_808_506, 1942) - // Standard Error: 6_758 - .saturating_add(Weight::from_parts(128_638, 0).saturating_mul(r.into())) + // Minimum execution time: 10_570 nanoseconds. + Weight::from_parts(11_308_433, 1942) + // Standard Error: 15_481 + .saturating_add(Weight::from_parts(200_343, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(457), added: 952, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 7]`. - fn set_fields(r: u32) -> Weight { + fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `1942` - // Minimum execution time: 10_260 nanoseconds. - Weight::from_parts(10_840_418, 1942) - // Standard Error: 5_767 - .saturating_add(Weight::from_parts(108_852, 0).saturating_mul(r.into())) + // Minimum execution time: 10_341 nanoseconds. + Weight::from_parts(11_063_089, 1942) + // Standard Error: 16_117 + .saturating_add(Weight::from_parts(217_538, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -221,14 +218,14 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Storage: `Identity::IdentityOf` (r:1 w:1) /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(4872), added: 7347, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 7]`. - fn provide_judgement(r: u32) -> Weight { + fn provide_judgement(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4670 + r * (57 ±0)` // Estimated: `8337` - // Minimum execution time: 114_103 nanoseconds. - Weight::from_parts(116_192_745, 8337) - // Standard Error: 22_827 - .saturating_add(Weight::from_parts(140_744, 0).saturating_mul(r.into())) + // Minimum execution time: 103_942 nanoseconds. + Weight::from_parts(109_322_543, 8337) + // Standard Error: 52_188 + .saturating_add(Weight::from_parts(257_916, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -242,16 +239,16 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 8]`. /// The range of component `s` is `[0, 64]`. - fn kill_identity(r: u32, s: u32) -> Weight { + fn kill_identity(r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `5051 + r * (5 ±0) + s * (32 ±0)` // Estimated: `8337` - // Minimum execution time: 97_062 nanoseconds. - Weight::from_parts(97_075_826, 8337) - // Standard Error: 66_971 - .saturating_add(Weight::from_parts(561_135, 0).saturating_mul(r.into())) - // Standard Error: 7_779 - .saturating_add(Weight::from_parts(2_123_661, 0).saturating_mul(s.into())) + // Minimum execution time: 90_761 nanoseconds. + Weight::from_parts(94_472_344, 8337) + // Standard Error: 106_549 + .saturating_add(Weight::from_parts(331_363, 0).saturating_mul(r.into())) + // Standard Error: 12_376 + .saturating_add(Weight::from_parts(2_096_932, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -263,14 +260,14 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Storage: `Identity::SubsOf` (r:1 w:1) /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2106), added: 4581, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 63]`. - fn add_sub(s: u32) -> Weight { + fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `323 + s * (41 ±0)` // Estimated: `8337` - // Minimum execution time: 41_901 nanoseconds. - Weight::from_parts(47_850_310, 8337) - // Standard Error: 5_146 - .saturating_add(Weight::from_parts(184_849, 0).saturating_mul(s.into())) + // Minimum execution time: 41_731 nanoseconds. + Weight::from_parts(50_067_348, 8337) + // Standard Error: 5_882 + .saturating_add(Weight::from_parts(158_178, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -279,14 +276,14 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Storage: `Identity::SuperOf` (r:1 w:1) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 64]`. - fn rename_sub(s: u32) -> Weight { + fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `432 + s * (7 ±0)` // Estimated: `8337` - // Minimum execution time: 21_381 nanoseconds. - Weight::from_parts(24_550_666, 8337) - // Standard Error: 2_973 - .saturating_add(Weight::from_parts(62_183, 0).saturating_mul(s.into())) + // Minimum execution time: 21_451 nanoseconds. + Weight::from_parts(24_938_017, 8337) + // Standard Error: 6_393 + .saturating_add(Weight::from_parts(88_828, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -297,14 +294,14 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Storage: `Identity::SubsOf` (r:1 w:1) /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(2106), added: 4581, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 64]`. - fn remove_sub(s: u32) -> Weight { + fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `480 + s * (39 ±0)` // Estimated: `8337` - // Minimum execution time: 48_201 nanoseconds. - Weight::from_parts(52_056_303, 8337) - // Standard Error: 4_970 - .saturating_add(Weight::from_parts(119_751, 0).saturating_mul(s.into())) + // Minimum execution time: 47_572 nanoseconds. + Weight::from_parts(53_123_506, 8337) + // Standard Error: 7_811 + .saturating_add(Weight::from_parts(114_570, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -315,14 +312,14 @@ impl pallet_identity::weights::WeightInfo for WeightInf /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 63]`. - fn quit_sub(s: u32) -> Weight { + fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `583 + s * (42 ±0)` // Estimated: `5571` - // Minimum execution time: 37_201 nanoseconds. - Weight::from_parts(39_970_293, 5571) - // Standard Error: 3_412 - .saturating_add(Weight::from_parts(133_827, 0).saturating_mul(s.into())) + // Minimum execution time: 35_950 nanoseconds. + Weight::from_parts(40_844_994, 5571) + // Standard Error: 5_233 + .saturating_add(Weight::from_parts(131_554, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -332,8 +329,9 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_730 nanoseconds. - Weight::from_parts(11_121_000, 0).saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_950 nanoseconds. + Weight::from_parts(11_820_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -341,8 +339,8 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `80` // Estimated: `3517` - // Minimum execution time: 17_281 nanoseconds. - Weight::from_parts(17_841_000, 3517) + // Minimum execution time: 17_331 nanoseconds. + Weight::from_parts(18_080_000, 3517) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -358,8 +356,8 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `80` // Estimated: `8337` - // Minimum execution time: 94_613 nanoseconds. - Weight::from_parts(95_612_000, 8337) + // Minimum execution time: 92_242 nanoseconds. + Weight::from_parts(94_032_000, 8337) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -373,8 +371,8 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `119` // Estimated: `8337` - // Minimum execution time: 34_111 nanoseconds. - Weight::from_parts(35_191_000, 8337) + // Minimum execution time: 33_931 nanoseconds. + Weight::from_parts(37_020_000, 8337) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -384,8 +382,8 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `119` // Estimated: `3554` - // Minimum execution time: 28_521 nanoseconds. - Weight::from_parts(32_920_000, 3554) + // Minimum execution time: 27_941 nanoseconds. + Weight::from_parts(29_561_000, 3554) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -397,8 +395,8 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `257` // Estimated: `8337` - // Minimum execution time: 28_640 nanoseconds. - Weight::from_parts(29_241_000, 8337) + // Minimum execution time: 27_761 nanoseconds. + Weight::from_parts(29_121_000, 8337) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -410,8 +408,8 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `98` // Estimated: `8337` - // Minimum execution time: 20_451 nanoseconds. - Weight::from_parts(21_680_000, 8337) + // Minimum execution time: 20_570 nanoseconds. + Weight::from_parts(21_531_000, 8337) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_membership.rs b/runtime/common/src/weights/pallet_membership.rs index 3c8727a0b..83a16705f 100644 --- a/runtime/common/src/weights/pallet_membership.rs +++ b/runtime/common/src/weights/pallet_membership.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_membership (automatically generated) pub struct WeightInfo(PhantomData); @@ -63,17 +60,17 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Storage: `AdvisoryCommittee::Prime` (r:0 w:1) /// Proof: `AdvisoryCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. - fn add_member(m: u32) -> Weight { + fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `135 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_550 nanoseconds. - Weight::from_parts(21_562_033, 4687) - // Standard Error: 892 - .saturating_add(Weight::from_parts(37_293, 0).saturating_mul(m.into())) + // Minimum execution time: 19_130 nanoseconds. + Weight::from_parts(21_449_294, 4687) + // Standard Error: 2_671 + .saturating_add(Weight::from_parts(35_016, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `AdvisoryCommitteeMembership::Members` (r:1 w:1) /// Proof: `AdvisoryCommitteeMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) @@ -86,17 +83,17 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Storage: `AdvisoryCommittee::Prime` (r:0 w:1) /// Proof: `AdvisoryCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. - fn remove_member(m: u32) -> Weight { + fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 23_511 nanoseconds. - Weight::from_parts(24_513_778, 4687) - // Standard Error: 744 - .saturating_add(Weight::from_parts(39_496, 0).saturating_mul(m.into())) + // Minimum execution time: 22_581 nanoseconds. + Weight::from_parts(24_188_470, 4687) + // Standard Error: 1_956 + .saturating_add(Weight::from_parts(32_571, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `AdvisoryCommitteeMembership::Members` (r:1 w:1) /// Proof: `AdvisoryCommitteeMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) @@ -109,17 +106,17 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Storage: `AdvisoryCommittee::Prime` (r:0 w:1) /// Proof: `AdvisoryCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. - fn swap_member(m: u32) -> Weight { + fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 23_841 nanoseconds. - Weight::from_parts(24_667_949, 4687) - // Standard Error: 1_179 - .saturating_add(Weight::from_parts(62_237, 0).saturating_mul(m.into())) + // Minimum execution time: 22_530 nanoseconds. + Weight::from_parts(24_337_015, 4687) + // Standard Error: 2_453 + .saturating_add(Weight::from_parts(54_946, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `AdvisoryCommitteeMembership::Members` (r:1 w:1) /// Proof: `AdvisoryCommitteeMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) @@ -132,17 +129,17 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Storage: `AdvisoryCommittee::Prime` (r:0 w:1) /// Proof: `AdvisoryCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn reset_members(m: u32) -> Weight { + fn reset_members(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 23_491 nanoseconds. - Weight::from_parts(24_862_705, 4687) - // Standard Error: 1_920 - .saturating_add(Weight::from_parts(202_323, 0).saturating_mul(m.into())) + // Minimum execution time: 22_281 nanoseconds. + Weight::from_parts(25_105_248, 4687) + // Standard Error: 2_781 + .saturating_add(Weight::from_parts(158_183, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `AdvisoryCommitteeMembership::Members` (r:1 w:1) /// Proof: `AdvisoryCommitteeMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) @@ -155,17 +152,17 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Storage: `AdvisoryCommittee::Prime` (r:0 w:1) /// Proof: `AdvisoryCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn change_key(m: u32) -> Weight { + fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 24_190 nanoseconds. - Weight::from_parts(25_218_057, 4687) - // Standard Error: 1_812 - .saturating_add(Weight::from_parts(72_082, 0).saturating_mul(m.into())) + // Minimum execution time: 23_111 nanoseconds. + Weight::from_parts(24_902_513, 4687) + // Standard Error: 2_203 + .saturating_add(Weight::from_parts(58_385, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `AdvisoryCommitteeMembership::Members` (r:1 w:0) /// Proof: `AdvisoryCommitteeMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) @@ -174,17 +171,17 @@ impl pallet_membership::weights::WeightInfo for WeightI /// Storage: `AdvisoryCommittee::Prime` (r:0 w:1) /// Proof: `AdvisoryCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn set_prime(m: u32) -> Weight { + fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `104 + m * (32 ±0)` // Estimated: `4687 + m * (32 ±0)` - // Minimum execution time: 12_411 nanoseconds. - Weight::from_parts(13_209_533, 4687) - // Standard Error: 491 - .saturating_add(Weight::from_parts(17_548, 0).saturating_mul(m.into())) + // Minimum execution time: 12_020 nanoseconds. + Weight::from_parts(13_062_203, 4687) + // Standard Error: 1_173 + .saturating_add(Weight::from_parts(12_041, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `AdvisoryCommitteeMembership::Prime` (r:0 w:1) /// Proof: `AdvisoryCommitteeMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) @@ -194,7 +191,8 @@ impl pallet_membership::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_680 nanoseconds. - Weight::from_parts(3_940_000, 0).saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 3_750 nanoseconds. + Weight::from_parts(4_010_000, 0) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/common/src/weights/pallet_migrations.rs b/runtime/common/src/weights/pallet_migrations.rs index 67ef7bb83..71c446025 100644 --- a/runtime/common/src/weights/pallet_migrations.rs +++ b/runtime/common/src/weights/pallet_migrations.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for pallet_migrations //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: `2025-11-18`, STEPS: `2`, REPEAT: `0`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `msi-pro-b650-s`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor` +//! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -29,11 +29,11 @@ // v1 // benchmark // pallet -// --runtime=target/release/wbuild/battery-station-runtime/battery_station_runtime.wasm +// --runtime=target/production/wbuild/battery-station-runtime/battery_station_runtime.wasm // --genesis-builder=runtime // --genesis-builder-preset=development -// --steps=2 -// --repeat=0 +// --steps=50 +// --repeat=20 // --pallet=pallet_migrations // --extrinsic=* // --wasm-execution=compiled @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_migrations (automatically generated) pub struct WeightInfo(PhantomData); @@ -62,8 +59,8 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `162` // Estimated: `67039` - // Minimum execution time: 9_730 nanoseconds. - Weight::from_parts(9_730_000, 67039) + // Minimum execution time: 11_201 nanoseconds. + Weight::from_parts(11_750_000, 67039) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -73,8 +70,9 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `0` // Estimated: `67039` - // Minimum execution time: 1_850 nanoseconds. - Weight::from_parts(1_850_000, 67039).saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 2_280 nanoseconds. + Weight::from_parts(2_430_000, 67039) + .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: UNKNOWN KEY `0x583359fe0e84d953a9dd84e8addb08a5` (r:1 w:0) /// Proof: UNKNOWN KEY `0x583359fe0e84d953a9dd84e8addb08a5` (r:1 w:0) @@ -84,8 +82,8 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `162` // Estimated: `3627` - // Minimum execution time: 8_510 nanoseconds. - Weight::from_parts(8_510_000, 3627) + // Minimum execution time: 10_160 nanoseconds. + Weight::from_parts(10_760_000, 3627) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -97,8 +95,9 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `178` // Estimated: `3731` - // Minimum execution time: 11_840 nanoseconds. - Weight::from_parts(11_840_000, 3731).saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 15_221 nanoseconds. + Weight::from_parts(15_870_000, 3731) + .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: UNKNOWN KEY `0x583359fe0e84d953a9dd84e8addb08a5` (r:1 w:0) /// Proof: UNKNOWN KEY `0x583359fe0e84d953a9dd84e8addb08a5` (r:1 w:0) @@ -108,8 +107,9 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `162` // Estimated: `3731` - // Minimum execution time: 13_820 nanoseconds. - Weight::from_parts(13_820_000, 3731).saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 15_480 nanoseconds. + Weight::from_parts(15_990_000, 3731) + .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: UNKNOWN KEY `0x583359fe0e84d953a9dd84e8addb08a5` (r:1 w:0) /// Proof: UNKNOWN KEY `0x583359fe0e84d953a9dd84e8addb08a5` (r:1 w:0) @@ -119,8 +119,8 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `162` // Estimated: `3731` - // Minimum execution time: 14_940 nanoseconds. - Weight::from_parts(14_940_000, 3731) + // Minimum execution time: 17_130 nanoseconds. + Weight::from_parts(18_211_000, 3731) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,8 +134,8 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `162` // Estimated: `3731` - // Minimum execution time: 15_560 nanoseconds. - Weight::from_parts(15_560_000, 3731) + // Minimum execution time: 18_271 nanoseconds. + Weight::from_parts(19_430_000, 3731) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -143,8 +143,8 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 160 nanoseconds. - Weight::from_parts(160_000, 0) + // Minimum execution time: 270 nanoseconds. + Weight::from_parts(340_000, 0) } /// Storage: `Migrations::Cursor` (r:0 w:1) /// Proof: `Migrations::Cursor` (`max_values`: Some(1), `max_size`: Some(65554), added: 66049, mode: `MaxEncodedLen`) @@ -152,8 +152,9 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_560 nanoseconds. - Weight::from_parts(5_560_000, 0).saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_390 nanoseconds. + Weight::from_parts(4_700_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Migrations::Cursor` (r:0 w:1) /// Proof: `Migrations::Cursor` (`max_values`: Some(1), `max_size`: Some(65554), added: 66049, mode: `MaxEncodedLen`) @@ -161,8 +162,9 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_110 nanoseconds. - Weight::from_parts(6_110_000, 0).saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_861 nanoseconds. + Weight::from_parts(5_301_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Migrations::Cursor` (r:1 w:0) /// Proof: `Migrations::Cursor` (`max_values`: Some(1), `max_size`: Some(65554), added: 66049, mode: `MaxEncodedLen`) @@ -172,19 +174,24 @@ impl pallet_migrations::weights::WeightInfo for WeightI // Proof Size summary in bytes: // Measured: `138` // Estimated: `67039` - // Minimum execution time: 8_790 nanoseconds. - Weight::from_parts(8_790_000, 67039).saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 9_090 nanoseconds. + Weight::from_parts(9_560_000, 67039) + .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: `Migrations::Historic` (r:256 w:256) /// Proof: `Migrations::Historic` (`max_values`: None, `max_size`: Some(266), added: 2741, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 256]`. - fn clear_historic(_n: u32) -> Weight { + fn clear_historic(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `992 + n * (269 ±0)` - // Estimated: `702686` - // Minimum execution time: 17_890 nanoseconds. - Weight::from_parts(262_410_000, 702686) - .saturating_add(T::DbWeight::get().reads(256)) - .saturating_add(T::DbWeight::get().writes(256)) + // Measured: `942 + n * (271 ±0)` + // Estimated: `3834 + n * (2740 ±0)` + // Minimum execution time: 22_610 nanoseconds. + Weight::from_parts(18_557_122, 3834) + // Standard Error: 6_011 + .saturating_add(Weight::from_parts(1_683_062, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2740).saturating_mul(n.into())) } } diff --git a/runtime/common/src/weights/pallet_multisig.rs b/runtime/common/src/weights/pallet_multisig.rs index 5ca715b9b..efed946e9 100644 --- a/runtime/common/src/weights/pallet_multisig.rs +++ b/runtime/common/src/weights/pallet_multisig.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_multisig //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,39 +45,36 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_multisig (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_multisig::weights::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. - fn as_multi_threshold_1(z: u32) -> Weight { + fn as_multi_threshold_1(z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_640 nanoseconds. - Weight::from_parts(19_548_287, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(422, 0).saturating_mul(z.into())) + // Minimum execution time: 17_990 nanoseconds. + Weight::from_parts(19_638_841, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(408, 0).saturating_mul(z.into())) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3350), added: 5825, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. - fn as_multi_create(s: u32, z: u32) -> Weight { + fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `275 + s * (1 ±0)` // Estimated: `6815` - // Minimum execution time: 59_071 nanoseconds. - Weight::from_parts(50_560_908, 6815) - // Standard Error: 2_695 - .saturating_add(Weight::from_parts(128_762, 0).saturating_mul(s.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(1_565, 0).saturating_mul(z.into())) + // Minimum execution time: 60_291 nanoseconds. + Weight::from_parts(53_512_455, 6815) + // Standard Error: 3_822 + .saturating_add(Weight::from_parts(98_454, 0).saturating_mul(s.into())) + // Standard Error: 37 + .saturating_add(Weight::from_parts(1_556, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -85,14 +82,14 @@ impl pallet_multisig::weights::WeightInfo for WeightInf /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3350), added: 5825, mode: `MaxEncodedLen`) /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. - fn as_multi_approve(s: u32, z: u32) -> Weight { + fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `252` // Estimated: `6815` - // Minimum execution time: 37_741 nanoseconds. - Weight::from_parts(28_943_040, 6815) - // Standard Error: 2_402 - .saturating_add(Weight::from_parts(117_092, 0).saturating_mul(s.into())) + // Minimum execution time: 37_071 nanoseconds. + Weight::from_parts(29_798_421, 6815) + // Standard Error: 2_406 + .saturating_add(Weight::from_parts(112_302, 0).saturating_mul(s.into())) // Standard Error: 23 .saturating_add(Weight::from_parts(1_589, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) @@ -104,58 +101,58 @@ impl pallet_multisig::weights::WeightInfo for WeightInf /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. /// 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: `362 + s * (33 ±0)` // Estimated: `6815` - // Minimum execution time: 66_702 nanoseconds. - Weight::from_parts(54_834_353, 6815) - // Standard Error: 2_896 - .saturating_add(Weight::from_parts(155_629, 0).saturating_mul(s.into())) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_585, 0).saturating_mul(z.into())) + // Minimum execution time: 64_191 nanoseconds. + Weight::from_parts(56_591_537, 6815) + // Standard Error: 3_339 + .saturating_add(Weight::from_parts(127_401, 0).saturating_mul(s.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(1_594, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3350), added: 5825, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. - fn approve_as_multi_create(s: u32) -> Weight { + fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `279 + s * (1 ±0)` // Estimated: `6815` - // Minimum execution time: 45_721 nanoseconds. - Weight::from_parts(47_532_455, 6815) - // Standard Error: 2_799 - .saturating_add(Weight::from_parts(134_204, 0).saturating_mul(s.into())) + // Minimum execution time: 45_041 nanoseconds. + Weight::from_parts(49_618_660, 6815) + // Standard Error: 3_141 + .saturating_add(Weight::from_parts(109_432, 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(3350), added: 5825, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. - fn approve_as_multi_approve(s: u32) -> Weight { + fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `252` // Estimated: `6815` - // Minimum execution time: 25_791 nanoseconds. - Weight::from_parts(27_233_609, 6815) - // Standard Error: 2_312 - .saturating_add(Weight::from_parts(112_881, 0).saturating_mul(s.into())) + // Minimum execution time: 25_710 nanoseconds. + Weight::from_parts(28_226_375, 6815) + // Standard Error: 2_944 + .saturating_add(Weight::from_parts(106_267, 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(3350), added: 5825, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. - fn cancel_as_multi(s: u32) -> Weight { + fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `428 + s * (1 ±0)` // Estimated: `6815` - // Minimum execution time: 45_991 nanoseconds. - Weight::from_parts(48_173_460, 6815) - // Standard Error: 2_665 - .saturating_add(Weight::from_parts(124_291, 0).saturating_mul(s.into())) + // Minimum execution time: 45_181 nanoseconds. + Weight::from_parts(49_061_584, 6815) + // Standard Error: 3_762 + .saturating_add(Weight::from_parts(112_464, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_preimage.rs b/runtime/common/src/weights/pallet_preimage.rs index 9d2aca2a5..091f1bd9c 100644 --- a/runtime/common/src/weights/pallet_preimage.rs +++ b/runtime/common/src/weights/pallet_preimage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_preimage (automatically generated) pub struct WeightInfo(PhantomData); @@ -63,14 +60,14 @@ impl pallet_preimage::weights::WeightInfo for WeightInf /// 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 { + fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 70_491 nanoseconds. - Weight::from_parts(70_921_000, 3556) - // Standard Error: 196 - .saturating_add(Weight::from_parts(19_478, 0).saturating_mul(s.into())) + // Minimum execution time: 69_842 nanoseconds. + Weight::from_parts(71_202_000, 3556) + // Standard Error: 205 + .saturating_add(Weight::from_parts(20_209, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,14 +78,14 @@ impl pallet_preimage::weights::WeightInfo for WeightInf /// 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_requested_preimage(s: u32) -> Weight { + fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 24_040 nanoseconds. - Weight::from_parts(24_251_000, 3556) - // Standard Error: 199 - .saturating_add(Weight::from_parts(19_782, 0).saturating_mul(s.into())) + // Minimum execution time: 24_430 nanoseconds. + Weight::from_parts(25_071_000, 3556) + // Standard Error: 198 + .saturating_add(Weight::from_parts(20_116, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,14 +96,14 @@ impl pallet_preimage::weights::WeightInfo for WeightInf /// 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_no_deposit_preimage(s: u32) -> Weight { + fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 24_371 nanoseconds. - Weight::from_parts(24_960_000, 3556) - // Standard Error: 196 - .saturating_add(Weight::from_parts(19_689, 0).saturating_mul(s.into())) + // Minimum execution time: 23_921 nanoseconds. + Weight::from_parts(24_961_000, 3556) + // Standard Error: 203 + .saturating_add(Weight::from_parts(20_114, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -122,8 +119,8 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `243` // Estimated: `3556` - // Minimum execution time: 77_181 nanoseconds. - Weight::from_parts(78_862_000, 3556) + // Minimum execution time: 75_501 nanoseconds. + Weight::from_parts(77_201_000, 3556) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -137,8 +134,8 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 36_681 nanoseconds. - Weight::from_parts(38_881_000, 3556) + // Minimum execution time: 39_631 nanoseconds. + Weight::from_parts(41_801_000, 3556) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -150,8 +147,8 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `188` // Estimated: `3556` - // Minimum execution time: 30_350 nanoseconds. - Weight::from_parts(31_110_000, 3556) + // Minimum execution time: 31_841 nanoseconds. + Weight::from_parts(33_060_000, 3556) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,8 +160,8 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 24_260 nanoseconds. - Weight::from_parts(27_561_000, 3556) + // Minimum execution time: 25_380 nanoseconds. + Weight::from_parts(26_961_000, 3556) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,8 +173,8 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 24_860 nanoseconds. - Weight::from_parts(25_271_000, 3556) + // Minimum execution time: 25_410 nanoseconds. + Weight::from_parts(26_230_000, 3556) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,8 +186,8 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 18_670 nanoseconds. - Weight::from_parts(19_091_000, 3556) + // Minimum execution time: 18_610 nanoseconds. + Weight::from_parts(19_160_000, 3556) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,8 +201,8 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 34_881 nanoseconds. - Weight::from_parts(37_341_000, 3556) + // Minimum execution time: 35_801 nanoseconds. + Weight::from_parts(36_821_000, 3556) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -217,8 +214,8 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 18_430 nanoseconds. - Weight::from_parts(18_980_000, 3556) + // Minimum execution time: 18_240 nanoseconds. + Weight::from_parts(18_970_000, 3556) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -230,8 +227,8 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 18_650 nanoseconds. - Weight::from_parts(19_371_000, 3556) + // Minimum execution time: 18_160 nanoseconds. + Weight::from_parts(18_820_000, 3556) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -244,16 +241,16 @@ impl pallet_preimage::weights::WeightInfo for WeightInf /// 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 { + fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + n * (231 ±0)` // Estimated: `990 + n * (2607 ±0)` - // Minimum execution time: 79_602 nanoseconds. - Weight::from_parts(80_162_000, 990) - // Standard Error: 91_673 - .saturating_add(Weight::from_parts(79_771_270, 0).saturating_mul(n.into())) + // Minimum execution time: 79_062 nanoseconds. + Weight::from_parts(79_632_000, 990) + // Standard Error: 107_991 + .saturating_add(Weight::from_parts(80_166_774, 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, 2607).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2607).saturating_mul(n.into())) } } diff --git a/runtime/common/src/weights/pallet_proxy.rs b/runtime/common/src/weights/pallet_proxy.rs index 16953c259..afe6063da 100644 --- a/runtime/common/src/weights/pallet_proxy.rs +++ b/runtime/common/src/weights/pallet_proxy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_proxy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_proxy (automatically generated) pub struct WeightInfo(PhantomData); @@ -57,14 +54,14 @@ impl pallet_proxy::weights::WeightInfo for WeightInfo Weight { + fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `90 + p * (41 ±0)` // Estimated: `4834` - // Minimum execution time: 19_600 nanoseconds. - Weight::from_parts(21_028_002, 4834) - // Standard Error: 5_004 - .saturating_add(Weight::from_parts(79_339, 0).saturating_mul(p.into())) + // Minimum execution time: 20_061 nanoseconds. + Weight::from_parts(23_039_528, 4834) + // Standard Error: 7_420 + .saturating_add(Weight::from_parts(62_799, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -75,16 +72,16 @@ impl pallet_proxy::weights::WeightInfo for WeightInfo Weight { + fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `425 + a * (72 ±0) + p * (41 ±0)` // Estimated: `5826` - // Minimum execution time: 51_731 nanoseconds. - Weight::from_parts(52_500_344, 5826) - // Standard Error: 6_557 - .saturating_add(Weight::from_parts(313_269, 0).saturating_mul(a.into())) - // Standard Error: 6_774 - .saturating_add(Weight::from_parts(64_509, 0).saturating_mul(p.into())) + // Minimum execution time: 53_021 nanoseconds. + Weight::from_parts(55_328_288, 5826) + // Standard Error: 9_584 + .saturating_add(Weight::from_parts(237_847, 0).saturating_mul(a.into())) + // Standard Error: 9_902 + .saturating_add(Weight::from_parts(40_816, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,16 +91,16 @@ impl pallet_proxy::weights::WeightInfo for WeightInfo Weight { + fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `340 + a * (72 ±0)` // Estimated: `5826` - // Minimum execution time: 35_751 nanoseconds. - Weight::from_parts(36_969_234, 5826) - // Standard Error: 4_279 - .saturating_add(Weight::from_parts(291_927, 0).saturating_mul(a.into())) - // Standard Error: 4_421 - .saturating_add(Weight::from_parts(29_539, 0).saturating_mul(p.into())) + // Minimum execution time: 37_000 nanoseconds. + Weight::from_parts(38_843_421, 5826) + // Standard Error: 6_864 + .saturating_add(Weight::from_parts(232_809, 0).saturating_mul(a.into())) + // Standard Error: 7_092 + .saturating_add(Weight::from_parts(14_050, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -113,16 +110,16 @@ impl pallet_proxy::weights::WeightInfo for WeightInfo Weight { + fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `340 + a * (72 ±0)` // Estimated: `5826` - // Minimum execution time: 35_560 nanoseconds. - Weight::from_parts(37_628_654, 5826) - // Standard Error: 4_220 - .saturating_add(Weight::from_parts(277_296, 0).saturating_mul(a.into())) - // Standard Error: 4_361 - .saturating_add(Weight::from_parts(15_231, 0).saturating_mul(p.into())) + // Minimum execution time: 36_901 nanoseconds. + Weight::from_parts(38_523_613, 5826) + // Standard Error: 6_747 + .saturating_add(Weight::from_parts(244_197, 0).saturating_mul(a.into())) + // Standard Error: 6_971 + .saturating_add(Weight::from_parts(14_445, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -134,86 +131,86 @@ impl pallet_proxy::weights::WeightInfo for WeightInfo Weight { + fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `353 + a * (72 ±0) + p * (41 ±0)` // Estimated: `5826` - // Minimum execution time: 47_151 nanoseconds. - Weight::from_parts(47_839_209, 5826) - // Standard Error: 5_107 - .saturating_add(Weight::from_parts(286_290, 0).saturating_mul(a.into())) - // Standard Error: 5_277 - .saturating_add(Weight::from_parts(66_115, 0).saturating_mul(p.into())) + // Minimum execution time: 48_561 nanoseconds. + Weight::from_parts(49_288_754, 5826) + // Standard Error: 7_510 + .saturating_add(Weight::from_parts(229_408, 0).saturating_mul(a.into())) + // Standard Error: 7_760 + .saturating_add(Weight::from_parts(47_281, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1369), added: 3844, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn add_proxy(p: u32) -> Weight { + fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `90 + p * (41 ±0)` // Estimated: `4834` - // Minimum execution time: 33_781 nanoseconds. - Weight::from_parts(35_215_701, 4834) - // Standard Error: 5_006 - .saturating_add(Weight::from_parts(106_254, 0).saturating_mul(p.into())) + // Minimum execution time: 34_051 nanoseconds. + Weight::from_parts(36_828_589, 4834) + // Standard Error: 7_578 + .saturating_add(Weight::from_parts(94_156, 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(1369), added: 3844, 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: `90 + p * (41 ±0)` // Estimated: `4834` - // Minimum execution time: 33_551 nanoseconds. - Weight::from_parts(35_087_027, 4834) - // Standard Error: 6_205 - .saturating_add(Weight::from_parts(107_403, 0).saturating_mul(p.into())) + // Minimum execution time: 33_641 nanoseconds. + Weight::from_parts(36_227_532, 4834) + // Standard Error: 7_934 + .saturating_add(Weight::from_parts(133_697, 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(1369), added: 3844, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn remove_proxies(p: u32) -> Weight { + fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `90 + p * (41 ±0)` // Estimated: `4834` - // Minimum execution time: 30_341 nanoseconds. - Weight::from_parts(31_372_007, 4834) - // Standard Error: 4_920 - .saturating_add(Weight::from_parts(84_032, 0).saturating_mul(p.into())) + // Minimum execution time: 30_611 nanoseconds. + Weight::from_parts(32_944_801, 4834) + // Standard Error: 8_553 + .saturating_add(Weight::from_parts(103_644, 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(1369), added: 3844, 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: `102` // Estimated: `4834` - // Minimum execution time: 36_351 nanoseconds. - Weight::from_parts(37_717_020, 4834) - // Standard Error: 6_853 - .saturating_add(Weight::from_parts(59_792, 0).saturating_mul(p.into())) + // Minimum execution time: 36_620 nanoseconds. + Weight::from_parts(39_697_333, 4834) + // Standard Error: 9_485 + .saturating_add(Weight::from_parts(75_563, 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(1369), added: 3844, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 30]`. - fn kill_pure(p: u32) -> Weight { + fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `131 + p * (41 ±0)` // Estimated: `4834` - // Minimum execution time: 31_581 nanoseconds. - Weight::from_parts(32_980_949, 4834) - // Standard Error: 5_118 - .saturating_add(Weight::from_parts(77_744, 0).saturating_mul(p.into())) + // Minimum execution time: 32_121 nanoseconds. + Weight::from_parts(34_816_802, 4834) + // Standard Error: 8_751 + .saturating_add(Weight::from_parts(82_237, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_scheduler.rs b/runtime/common/src/weights/pallet_scheduler.rs index a206e6468..48861d578 100644 --- a/runtime/common/src/weights/pallet_scheduler.rs +++ b/runtime/common/src/weights/pallet_scheduler.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_scheduler (automatically generated) pub struct WeightInfo(PhantomData); @@ -60,22 +57,22 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `35` // Estimated: `1493` - // Minimum execution time: 6_351 nanoseconds. - Weight::from_parts(7_010_000, 1493) + // Minimum execution time: 6_600 nanoseconds. + Weight::from_parts(7_050_000, 1493) .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(109074), added: 111549, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 512]`. - fn service_agenda_base(s: u32) -> Weight { + fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `85 + s * (181 ±0)` // Estimated: `112539` - // Minimum execution time: 6_591 nanoseconds. - Weight::from_parts(6_730_000, 112539) - // Standard Error: 2_007 - .saturating_add(Weight::from_parts(729_235, 0).saturating_mul(s.into())) + // Minimum execution time: 7_590 nanoseconds. + Weight::from_parts(750_404, 112539) + // Standard Error: 3_214 + .saturating_add(Weight::from_parts(649_616, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,8 +80,8 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_201 nanoseconds. - Weight::from_parts(5_410_000, 0) + // Minimum execution time: 5_240 nanoseconds. + Weight::from_parts(5_740_000, 0) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) @@ -93,17 +90,17 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. - fn service_task_fetched(s: u32) -> Weight { + fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 28_581 nanoseconds. - Weight::from_parts(29_341_000, 3644) - // Standard Error: 394 - .saturating_add(Weight::from_parts(33_997, 0).saturating_mul(s.into())) + // Minimum execution time: 27_991 nanoseconds. + Weight::from_parts(29_191_000, 3644) + // Standard Error: 397 + .saturating_add(Weight::from_parts(34_956, 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())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } /// Storage: `Scheduler::Lookup` (r:0 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -111,41 +108,42 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_990 nanoseconds. - Weight::from_parts(8_450_000, 0).saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 7_740 nanoseconds. + Weight::from_parts(8_250_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_periodic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_141 nanoseconds. - Weight::from_parts(5_460_000, 0) + // Minimum execution time: 5_180 nanoseconds. + Weight::from_parts(5_420_000, 0) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_840 nanoseconds. - Weight::from_parts(4_250_000, 0) + // Minimum execution time: 3_780 nanoseconds. + Weight::from_parts(4_020_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_630 nanoseconds. - Weight::from_parts(3_940_000, 0) + // Minimum execution time: 3_810 nanoseconds. + Weight::from_parts(4_050_000, 0) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(109074), added: 111549, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 511]`. - fn schedule(s: u32) -> Weight { + fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `85 + s * (181 ±0)` // Estimated: `112539` - // Minimum execution time: 17_820 nanoseconds. - Weight::from_parts(10_124_721, 112539) - // Standard Error: 3_627 - .saturating_add(Weight::from_parts(791_304, 0).saturating_mul(s.into())) + // Minimum execution time: 18_220 nanoseconds. + Weight::from_parts(10_332_205, 112539) + // Standard Error: 4_443 + .saturating_add(Weight::from_parts(695_411, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -156,14 +154,14 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn /// Storage: `Scheduler::Lookup` (r:0 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 512]`. - fn cancel(s: u32) -> Weight { + fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `85 + s * (181 ±0)` // Estimated: `112539` - // Minimum execution time: 26_220 nanoseconds. - Weight::from_parts(7_077_267, 112539) - // Standard Error: 5_018 - .saturating_add(Weight::from_parts(1_179_654, 0).saturating_mul(s.into())) + // Minimum execution time: 25_760 nanoseconds. + Weight::from_parts(6_466_085, 112539) + // Standard Error: 5_267 + .saturating_add(Weight::from_parts(1_017_955, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -172,14 +170,14 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(109074), added: 111549, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 511]`. - fn schedule_named(s: u32) -> Weight { + fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `601 + s * (182 ±0)` // Estimated: `112539` - // Minimum execution time: 22_320 nanoseconds. - Weight::from_parts(19_633_176, 112539) - // Standard Error: 4_259 - .saturating_add(Weight::from_parts(804_391, 0).saturating_mul(s.into())) + // Minimum execution time: 23_630 nanoseconds. + Weight::from_parts(17_131_132, 112539) + // Standard Error: 4_164 + .saturating_add(Weight::from_parts(721_917, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -190,14 +188,14 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn /// Storage: `Scheduler::Retries` (r:0 w:1) /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(38), added: 2513, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 512]`. - fn cancel_named(s: u32) -> Weight { + fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `717 + s * (181 ±0)` // Estimated: `112539` - // Minimum execution time: 29_740 nanoseconds. - Weight::from_parts(11_419_241, 112539) - // Standard Error: 6_080 - .saturating_add(Weight::from_parts(1_208_982, 0).saturating_mul(s.into())) + // Minimum execution time: 29_081 nanoseconds. + Weight::from_parts(11_602_454, 112539) + // Standard Error: 5_410 + .saturating_add(Weight::from_parts(1_029_927, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -206,14 +204,14 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn /// Storage: `Scheduler::Retries` (r:0 w:1) /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(38), added: 2513, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 512]`. - fn schedule_retry(s: u32) -> Weight { + fn schedule_retry(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `122` // Estimated: `112539` - // Minimum execution time: 16_341 nanoseconds. - Weight::from_parts(19_083_150, 112539) - // Standard Error: 461 - .saturating_add(Weight::from_parts(18_946, 0).saturating_mul(s.into())) + // Minimum execution time: 15_900 nanoseconds. + Weight::from_parts(20_464_617, 112539) + // Standard Error: 338 + .saturating_add(Weight::from_parts(9_893, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -225,8 +223,8 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `92757` // Estimated: `112539` - // Minimum execution time: 262_826 nanoseconds. - Weight::from_parts(272_086_000, 112539) + // Minimum execution time: 202_714 nanoseconds. + Weight::from_parts(215_564_000, 112539) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -240,8 +238,8 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `93803` // Estimated: `112539` - // Minimum execution time: 269_156 nanoseconds. - Weight::from_parts(287_656_000, 112539) + // Minimum execution time: 214_925 nanoseconds. + Weight::from_parts(226_115_000, 112539) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -253,8 +251,8 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `92769` // Estimated: `112539` - // Minimum execution time: 257_885 nanoseconds. - Weight::from_parts(276_996_000, 112539) + // Minimum execution time: 201_654 nanoseconds. + Weight::from_parts(212_385_000, 112539) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -268,8 +266,8 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `93815` // Estimated: `112539` - // Minimum execution time: 263_725 nanoseconds. - Weight::from_parts(273_496_000, 112539) + // Minimum execution time: 214_375 nanoseconds. + Weight::from_parts(220_785_000, 112539) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_timestamp.rs b/runtime/common/src/weights/pallet_timestamp.rs index f42dac046..6509a267e 100644 --- a/runtime/common/src/weights/pallet_timestamp.rs +++ b/runtime/common/src/weights/pallet_timestamp.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_timestamp (automatically generated) pub struct WeightInfo(PhantomData); @@ -60,8 +57,8 @@ impl pallet_timestamp::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `109` // Estimated: `1493` - // Minimum execution time: 11_100 nanoseconds. - Weight::from_parts(11_831_000, 1493) + // Minimum execution time: 10_551 nanoseconds. + Weight::from_parts(11_450_000, 1493) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,7 +66,7 @@ impl pallet_timestamp::weights::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `161` // Estimated: `0` - // Minimum execution time: 8_550 nanoseconds. - Weight::from_parts(8_820_000, 0) + // Minimum execution time: 7_790 nanoseconds. + Weight::from_parts(8_000_000, 0) } } diff --git a/runtime/common/src/weights/pallet_treasury.rs b/runtime/common/src/weights/pallet_treasury.rs index bdf9ce9e0..cf95dd576 100644 --- a/runtime/common/src/weights/pallet_treasury.rs +++ b/runtime/common/src/weights/pallet_treasury.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_treasury (automatically generated) pub struct WeightInfo(PhantomData); @@ -64,8 +61,8 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `42` // Estimated: `1887` - // Minimum execution time: 20_061 nanoseconds. - Weight::from_parts(21_341_000, 1887) + // Minimum execution time: 19_791 nanoseconds. + Weight::from_parts(20_780_000, 1887) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -75,8 +72,8 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 12_431 nanoseconds. - Weight::from_parts(12_870_000, 1887) + // Minimum execution time: 11_220 nanoseconds. + Weight::from_parts(12_160_000, 1887) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,19 +88,19 @@ impl pallet_treasury::weights::WeightInfo for WeightInf /// Storage: `Bounties::BountyApprovals` (r:1 w:1) /// Proof: `Bounties::BountyApprovals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. - fn on_initialize_proposals(p: u32) -> Weight { + fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `80 + p * (157 ±0)` // Estimated: `3597 + p * (2607 ±0)` - // Minimum execution time: 57_931 nanoseconds. - Weight::from_parts(48_988_023, 3597) - // Standard Error: 56_203 - .saturating_add(Weight::from_parts(31_870_566, 0).saturating_mul(p.into())) + // Minimum execution time: 54_571 nanoseconds. + Weight::from_parts(47_073_325, 3597) + // Standard Error: 43_326 + .saturating_add(Weight::from_parts(30_606_313, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 2607).saturating_mul(p.into())) } /// Storage: `Treasury::SpendCount` (r:1 w:1) /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -113,8 +110,8 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `42` // Estimated: `1489` - // Minimum execution time: 18_181 nanoseconds. - Weight::from_parts(19_181_000, 1489) + // Minimum execution time: 17_370 nanoseconds. + Weight::from_parts(18_540_000, 1489) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -126,8 +123,8 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `365` // Estimated: `6204` - // Minimum execution time: 78_812 nanoseconds. - Weight::from_parts(80_762_000, 6204) + // Minimum execution time: 75_372 nanoseconds. + Weight::from_parts(78_792_000, 6204) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -137,8 +134,8 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `169` // Estimated: `3542` - // Minimum execution time: 20_370 nanoseconds. - Weight::from_parts(21_291_000, 3542) + // Minimum execution time: 19_531 nanoseconds. + Weight::from_parts(21_060_000, 3542) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,8 +145,8 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `169` // Estimated: `3542` - // Minimum execution time: 18_700 nanoseconds. - Weight::from_parts(19_221_000, 3542) + // Minimum execution time: 17_441 nanoseconds. + Weight::from_parts(18_321_000, 3542) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_utility.rs b/runtime/common/src/weights/pallet_utility.rs index e8b6db825..b2bea6b62 100644 --- a/runtime/common/src/weights/pallet_utility.rs +++ b/runtime/common/src/weights/pallet_utility.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,57 +45,54 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_utility (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_utility::weights::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. - fn batch(c: u32) -> Weight { + fn batch(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_450 nanoseconds. - Weight::from_parts(7_710_000, 0) - // Standard Error: 4_681 - .saturating_add(Weight::from_parts(4_755_288, 0).saturating_mul(c.into())) + // Minimum execution time: 8_111 nanoseconds. + Weight::from_parts(8_480_000, 0) + // Standard Error: 4_171 + .saturating_add(Weight::from_parts(4_718_285, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_240 nanoseconds. - Weight::from_parts(7_400_000, 0) + // Minimum execution time: 7_610 nanoseconds. + Weight::from_parts(8_040_000, 0) } /// The range of component `c` is `[0, 1000]`. - fn batch_all(c: u32) -> Weight { + fn batch_all(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_471 nanoseconds. - Weight::from_parts(7_700_000, 0) - // Standard Error: 4_453 - .saturating_add(Weight::from_parts(5_141_292, 0).saturating_mul(c.into())) + // Minimum execution time: 8_341 nanoseconds. + Weight::from_parts(8_670_000, 0) + // Standard Error: 5_866 + .saturating_add(Weight::from_parts(5_084_020, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_621 nanoseconds. - Weight::from_parts(10_900_000, 0) + // Minimum execution time: 11_210 nanoseconds. + Weight::from_parts(12_231_000, 0) } /// The range of component `c` is `[0, 1000]`. - fn force_batch(c: u32) -> Weight { + fn force_batch(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_530 nanoseconds. - Weight::from_parts(7_730_000, 0) - // Standard Error: 4_266 - .saturating_add(Weight::from_parts(4_778_438, 0).saturating_mul(c.into())) + // Minimum execution time: 7_960 nanoseconds. + Weight::from_parts(8_340_000, 0) + // Standard Error: 4_774 + .saturating_add(Weight::from_parts(4_749_945, 0).saturating_mul(c.into())) } } diff --git a/runtime/common/src/weights/pallet_vesting.rs b/runtime/common/src/weights/pallet_vesting.rs index f0bc5654f..ff3b1db99 100644 --- a/runtime/common/src/weights/pallet_vesting.rs +++ b/runtime/common/src/weights/pallet_vesting.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -45,11 +45,8 @@ #![allow(unused_parens)] #![allow(unused_imports)] +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; /// Weight functions for pallet_vesting (automatically generated) pub struct WeightInfo(PhantomData); @@ -62,16 +59,16 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_locked(l: u32, s: u32) -> Weight { + fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `343 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 47_991 nanoseconds. - Weight::from_parts(49_147_389, 4764) - // Standard Error: 2_905 - .saturating_add(Weight::from_parts(46_039, 0).saturating_mul(l.into())) - // Standard Error: 5_169 - .saturating_add(Weight::from_parts(131_089, 0).saturating_mul(s.into())) + // Minimum execution time: 49_321 nanoseconds. + Weight::from_parts(49_920_344, 4764) + // Standard Error: 3_677 + .saturating_add(Weight::from_parts(32_957, 0).saturating_mul(l.into())) + // Standard Error: 6_542 + .saturating_add(Weight::from_parts(80_369, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,16 +80,16 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_unlocked(l: u32, s: u32) -> Weight { + fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `343 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 50_481 nanoseconds. - Weight::from_parts(52_152_300, 4764) - // Standard Error: 3_190 - .saturating_add(Weight::from_parts(43_123, 0).saturating_mul(l.into())) - // Standard Error: 5_676 - .saturating_add(Weight::from_parts(120_482, 0).saturating_mul(s.into())) + // Minimum execution time: 52_911 nanoseconds. + Weight::from_parts(56_123_161, 4764) + // Standard Error: 6_621 + .saturating_add(Weight::from_parts(2_314, 0).saturating_mul(l.into())) + // Standard Error: 11_780 + .saturating_add(Weight::from_parts(11_865, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -106,16 +103,12 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, 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: `450 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 52_312 nanoseconds. - Weight::from_parts(53_789_274, 4764) - // Standard Error: 2_788 - .saturating_add(Weight::from_parts(47_169, 0).saturating_mul(l.into())) - // Standard Error: 4_961 - .saturating_add(Weight::from_parts(132_358, 0).saturating_mul(s.into())) + // Minimum execution time: 53_631 nanoseconds. + Weight::from_parts(59_219_673, 4764) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -129,16 +122,16 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, 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: `450 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 55_021 nanoseconds. - Weight::from_parts(56_515_995, 4764) - // Standard Error: 3_388 - .saturating_add(Weight::from_parts(44_262, 0).saturating_mul(l.into())) - // Standard Error: 6_029 - .saturating_add(Weight::from_parts(144_137, 0).saturating_mul(s.into())) + // Minimum execution time: 57_172 nanoseconds. + Weight::from_parts(59_779_672, 4764) + // Standard Error: 4_418 + .saturating_add(Weight::from_parts(9_779, 0).saturating_mul(l.into())) + // Standard Error: 7_861 + .saturating_add(Weight::from_parts(23_504, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -152,16 +145,14 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, 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: `521 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 103_852 nanoseconds. - Weight::from_parts(107_016_108, 4764) - // Standard Error: 4_678 - .saturating_add(Weight::from_parts(69_763, 0).saturating_mul(l.into())) - // Standard Error: 8_324 - .saturating_add(Weight::from_parts(173_683, 0).saturating_mul(s.into())) + // Minimum execution time: 105_672 nanoseconds. + Weight::from_parts(111_738_661, 4764) + // Standard Error: 20_529 + .saturating_add(Weight::from_parts(69_725, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -175,16 +166,16 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. - fn force_vested_transfer(l: u32, s: u32) -> Weight { + fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `628 + l * (25 ±0) + s * (40 ±0)` // Estimated: `6204` - // Minimum execution time: 108_052 nanoseconds. - Weight::from_parts(111_842_955, 6204) - // Standard Error: 5_324 - .saturating_add(Weight::from_parts(56_601, 0).saturating_mul(l.into())) - // Standard Error: 9_472 - .saturating_add(Weight::from_parts(177_941, 0).saturating_mul(s.into())) + // Minimum execution time: 109_442 nanoseconds. + Weight::from_parts(114_046_298, 6204) + // Standard Error: 9_252 + .saturating_add(Weight::from_parts(22_864, 0).saturating_mul(l.into())) + // Standard Error: 16_462 + .saturating_add(Weight::from_parts(58_670, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -198,16 +189,16 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. - fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight { + fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `448 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 53_701 nanoseconds. - Weight::from_parts(54_566_676, 4764) - // Standard Error: 2_641 - .saturating_add(Weight::from_parts(55_389, 0).saturating_mul(l.into())) - // Standard Error: 4_878 - .saturating_add(Weight::from_parts(144_348, 0).saturating_mul(s.into())) + // Minimum execution time: 54_751 nanoseconds. + Weight::from_parts(56_249_235, 4764) + // Standard Error: 4_134 + .saturating_add(Weight::from_parts(21_048, 0).saturating_mul(l.into())) + // Standard Error: 7_635 + .saturating_add(Weight::from_parts(56_522, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -221,16 +212,16 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. - fn unlocking_merge_schedules(l: u32, s: u32) -> Weight { + fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `448 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 56_801 nanoseconds. - Weight::from_parts(58_565_791, 4764) - // Standard Error: 2_849 - .saturating_add(Weight::from_parts(49_451, 0).saturating_mul(l.into())) - // Standard Error: 5_262 - .saturating_add(Weight::from_parts(125_648, 0).saturating_mul(s.into())) + // Minimum execution time: 58_211 nanoseconds. + Weight::from_parts(60_329_557, 4764) + // Standard Error: 4_525 + .saturating_add(Weight::from_parts(18_515, 0).saturating_mul(l.into())) + // Standard Error: 8_358 + .saturating_add(Weight::from_parts(35_377, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -244,16 +235,16 @@ impl pallet_vesting::weights::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. - fn force_remove_vesting_schedule(l: u32, s: u32) -> Weight { + fn force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `521 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 58_902 nanoseconds. - Weight::from_parts(60_008_083, 4764) - // Standard Error: 3_483 - .saturating_add(Weight::from_parts(57_219, 0).saturating_mul(l.into())) - // Standard Error: 6_432 - .saturating_add(Weight::from_parts(166_469, 0).saturating_mul(s.into())) + // Minimum execution time: 61_061 nanoseconds. + Weight::from_parts(63_415_502, 4764) + // Standard Error: 6_251 + .saturating_add(Weight::from_parts(22_811, 0).saturating_mul(l.into())) + // Standard Error: 11_544 + .saturating_add(Weight::from_parts(44_857, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/zeitgeist/Cargo.toml b/runtime/zeitgeist/Cargo.toml index eed3d7185..f9b826daf 100644 --- a/runtime/zeitgeist/Cargo.toml +++ b/runtime/zeitgeist/Cargo.toml @@ -447,7 +447,7 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zeitgeist-runtime" publish = false -version = "0.6.1" +version = "0.6.2" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/zrml/authorized/Cargo.toml b/zrml/authorized/Cargo.toml index d5850a9a8..849530ef7 100644 --- a/zrml/authorized/Cargo.toml +++ b/zrml/authorized/Cargo.toml @@ -41,4 +41,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-authorized" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/authorized/src/weights.rs b/zrml/authorized/src/weights.rs index 16afe9a2c..785208a85 100644 --- a/zrml/authorized/src/weights.rs +++ b/zrml/authorized/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_authorized //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -51,7 +51,7 @@ use frame_support::{traits::Get, weights::Weight}; /// Trait containing the required functions for weight retrival within /// zrml_authorized (automatically generated) pub trait WeightInfoZeitgeist { - fn authorize_market_outcome_first_report(m: u32) -> Weight; + fn authorize_market_outcome_first_report(m: u32, ) -> Weight; fn authorize_market_outcome_existing_report() -> Weight; fn on_dispute_weight() -> Weight; fn on_resolution_weight() -> Weight; @@ -72,14 +72,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `PredictionMarkets::MarketIdsPerDisputeBlock` (r:1 w:1) /// Proof: `PredictionMarkets::MarketIdsPerDisputeBlock` (`max_values`: None, `max_size`: Some(1042), added: 3517, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 63]`. - fn authorize_market_outcome_first_report(m: u32) -> Weight { + fn authorize_market_outcome_first_report(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `757 + m * (22 ±0)` // Estimated: `4507` - // Minimum execution time: 36_511 nanoseconds. - Weight::from_parts(39_463_135, 4507) - // Standard Error: 8_087 - .saturating_add(Weight::from_parts(139_182, 0).saturating_mul(m.into())) + // Minimum execution time: 37_591 nanoseconds. + Weight::from_parts(45_952_497, 4507) + // Standard Error: 20_794 + .saturating_add(Weight::from_parts(34_306, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,8 +91,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `561` // Estimated: `4173` - // Minimum execution time: 30_520 nanoseconds. - Weight::from_parts(33_970_000, 4173) + // Minimum execution time: 30_621 nanoseconds. + Weight::from_parts(31_851_000, 4173) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,8 +100,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 260 nanoseconds. - Weight::from_parts(300_000, 0) + // Minimum execution time: 310 nanoseconds. + Weight::from_parts(370_000, 0) } /// Storage: `Authorized::AuthorizedOutcomeReports` (r:1 w:1) /// Proof: `Authorized::AuthorizedOutcomeReports` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) @@ -109,8 +109,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `217` // Estimated: `3514` - // Minimum execution time: 10_050 nanoseconds. - Weight::from_parts(10_950_000, 3514) + // Minimum execution time: 9_571 nanoseconds. + Weight::from_parts(10_150_000, 3514) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -118,8 +118,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 250 nanoseconds. - Weight::from_parts(290_000, 0) + // Minimum execution time: 320 nanoseconds. + Weight::from_parts(420_000, 0) } /// Storage: `Authorized::AuthorizedOutcomeReports` (r:1 w:0) /// Proof: `Authorized::AuthorizedOutcomeReports` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) @@ -127,22 +127,23 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `217` // Estimated: `3514` - // Minimum execution time: 9_440 nanoseconds. - Weight::from_parts(10_130_000, 3514).saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 9_271 nanoseconds. + Weight::from_parts(9_680_000, 3514) + .saturating_add(T::DbWeight::get().reads(1)) } fn has_failed_weight() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 240 nanoseconds. - Weight::from_parts(300_000, 0) + // Minimum execution time: 310 nanoseconds. + Weight::from_parts(410_000, 0) } fn on_global_dispute_weight() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 260 nanoseconds. - Weight::from_parts(310_000, 0) + // Minimum execution time: 330 nanoseconds. + Weight::from_parts(410_000, 0) } /// Storage: `Authorized::AuthorizedOutcomeReports` (r:0 w:1) /// Proof: `Authorized::AuthorizedOutcomeReports` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) @@ -150,7 +151,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_060 nanoseconds. - Weight::from_parts(2_180_000, 0).saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 2_500 nanoseconds. + Weight::from_parts(2_690_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/zrml/combinatorial-tokens/Cargo.toml b/zrml/combinatorial-tokens/Cargo.toml index 40035d45f..5808db110 100644 --- a/zrml/combinatorial-tokens/Cargo.toml +++ b/zrml/combinatorial-tokens/Cargo.toml @@ -69,4 +69,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-combinatorial-tokens" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/combinatorial-tokens/fuzz/Cargo.toml b/zrml/combinatorial-tokens/fuzz/Cargo.toml index 64c4e787d..34fe2fe15 100644 --- a/zrml/combinatorial-tokens/fuzz/Cargo.toml +++ b/zrml/combinatorial-tokens/fuzz/Cargo.toml @@ -33,7 +33,7 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-combinatorial-tokens-fuzz" publish = false -version = "0.6.1" +version = "0.6.2" [package.metadata] cargo-fuzz = true diff --git a/zrml/combinatorial-tokens/src/weights.rs b/zrml/combinatorial-tokens/src/weights.rs index 4133ff5b7..d592448cc 100644 --- a/zrml/combinatorial-tokens/src/weights.rs +++ b/zrml/combinatorial-tokens/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_combinatorial_tokens //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -51,14 +51,14 @@ use frame_support::{traits::Get, weights::Weight}; /// Trait containing the required functions for weight retrival within /// zrml_combinatorial_tokens (automatically generated) pub trait WeightInfoZeitgeist { - fn split_position_vertical_sans_parent(n: u32, m: u32) -> Weight; - fn split_position_vertical_with_parent(n: u32, m: u32) -> Weight; - fn split_position_horizontal(n: u32, m: u32) -> Weight; - fn merge_position_vertical_sans_parent(n: u32, m: u32) -> Weight; - fn merge_position_vertical_with_parent(n: u32, m: u32) -> Weight; - fn merge_position_horizontal(n: u32, m: u32) -> Weight; - fn redeem_position_sans_parent(n: u32, m: u32) -> Weight; - fn redeem_position_with_parent(n: u32, m: u32) -> Weight; + fn split_position_vertical_sans_parent(n: u32, m: u32, ) -> Weight; + fn split_position_vertical_with_parent(n: u32, m: u32, ) -> Weight; + fn split_position_horizontal(n: u32, m: u32, ) -> Weight; + fn merge_position_vertical_sans_parent(n: u32, m: u32, ) -> Weight; + fn merge_position_vertical_with_parent(n: u32, m: u32, ) -> Weight; + fn merge_position_horizontal(n: u32, m: u32, ) -> Weight; + fn redeem_position_sans_parent(n: u32, m: u32, ) -> Weight; + fn redeem_position_with_parent(n: u32, m: u32, ) -> Weight; } /// Weight functions for zrml_combinatorial_tokens (automatically generated) @@ -74,21 +74,21 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 32]`. /// The range of component `m` is `[32, 64]`. - fn split_position_vertical_sans_parent(n: u32, m: u32) -> Weight { + fn split_position_vertical_sans_parent(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `441` // Estimated: `4173 + n * (2612 ±0)` - // Minimum execution time: 6_292_768 nanoseconds. - Weight::from_parts(6_393_340_000, 4173) - // Standard Error: 32_644_607 - .saturating_add(Weight::from_parts(2_092_111_890, 0).saturating_mul(n.into())) - // Standard Error: 15_079_588 - .saturating_add(Weight::from_parts(222_872_311, 0).saturating_mul(m.into())) + // Minimum execution time: 7_425_632 nanoseconds. + Weight::from_parts(7_531_024_000, 4173) + // Standard Error: 38_810_611 + .saturating_add(Weight::from_parts(2_533_126_602, 0).saturating_mul(n.into())) + // Standard Error: 17_927_863 + .saturating_add(Weight::from_parts(262_391_763, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) } /// Storage: `MarketCommons::Markets` (r:1 w:0) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -98,21 +98,21 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 32]`. /// The range of component `m` is `[32, 64]`. - fn split_position_vertical_with_parent(n: u32, m: u32) -> Weight { + fn split_position_vertical_with_parent(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `671` // Estimated: `4173 + n * (2612 ±0)` - // Minimum execution time: 6_434_991 nanoseconds. - Weight::from_parts(7_038_494_000, 4173) - // Standard Error: 33_187_296 - .saturating_add(Weight::from_parts(2_168_228_746, 0).saturating_mul(n.into())) - // Standard Error: 15_330_274 - .saturating_add(Weight::from_parts(221_999_448, 0).saturating_mul(m.into())) + // Minimum execution time: 7_573_243 nanoseconds. + Weight::from_parts(8_506_395_000, 4173) + // Standard Error: 40_521_357 + .saturating_add(Weight::from_parts(2_610_583_425, 0).saturating_mul(n.into())) + // Standard Error: 18_718_111 + .saturating_add(Weight::from_parts(266_446_897, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) } /// Storage: `MarketCommons::Markets` (r:1 w:0) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -122,21 +122,21 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 32]`. /// The range of component `m` is `[32, 64]`. - fn split_position_horizontal(n: u32, m: u32) -> Weight { + fn split_position_horizontal(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `633` // Estimated: `4173 + n * (2612 ±0)` - // Minimum execution time: 9_981_917 nanoseconds. - Weight::from_parts(10_208_792_000, 4173) - // Standard Error: 33_713_142 - .saturating_add(Weight::from_parts(2_077_792_907, 0).saturating_mul(n.into())) - // Standard Error: 15_573_179 - .saturating_add(Weight::from_parts(236_924_694, 0).saturating_mul(m.into())) + // Minimum execution time: 11_092_640 nanoseconds. + Weight::from_parts(12_455_719_000, 4173) + // Standard Error: 40_348_033 + .saturating_add(Weight::from_parts(2_507_277_577, 0).saturating_mul(n.into())) + // Standard Error: 18_638_047 + .saturating_add(Weight::from_parts(286_496_111, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) } /// Storage: `MarketCommons::Markets` (r:1 w:0) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -148,21 +148,21 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 32]`. /// The range of component `m` is `[32, 64]`. - fn merge_position_vertical_sans_parent(n: u32, m: u32) -> Weight { + fn merge_position_vertical_sans_parent(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `619 + n * (160 ±0)` // Estimated: `4173 + n * (2612 ±0)` - // Minimum execution time: 6_248_244 nanoseconds. - Weight::from_parts(6_757_766_000, 4173) - // Standard Error: 32_688_123 - .saturating_add(Weight::from_parts(2_122_250_298, 0).saturating_mul(n.into())) - // Standard Error: 15_099_690 - .saturating_add(Weight::from_parts(226_524_198, 0).saturating_mul(m.into())) + // Minimum execution time: 7_425_641 nanoseconds. + Weight::from_parts(7_541_863_000, 4173) + // Standard Error: 39_217_362 + .saturating_add(Weight::from_parts(2_600_335_642, 0).saturating_mul(n.into())) + // Standard Error: 18_115_754 + .saturating_add(Weight::from_parts(285_103_056, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) } /// Storage: `MarketCommons::Markets` (r:1 w:0) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -172,21 +172,21 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 32]`. /// The range of component `m` is `[32, 64]`. - fn merge_position_vertical_with_parent(n: u32, m: u32) -> Weight { + fn merge_position_vertical_with_parent(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `517 + n * (160 ±0)` // Estimated: `4173 + n * (2612 ±0)` - // Minimum execution time: 6_400_069 nanoseconds. - Weight::from_parts(7_057_472_000, 4173) - // Standard Error: 31_873_496 - .saturating_add(Weight::from_parts(2_172_133_902, 0).saturating_mul(n.into())) - // Standard Error: 14_723_388 - .saturating_add(Weight::from_parts(227_784_456, 0).saturating_mul(m.into())) + // Minimum execution time: 7_580_965 nanoseconds. + Weight::from_parts(8_431_512_000, 4173) + // Standard Error: 39_657_433 + .saturating_add(Weight::from_parts(2_566_009_867, 0).saturating_mul(n.into())) + // Standard Error: 18_319_037 + .saturating_add(Weight::from_parts(292_326_493, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) } /// Storage: `MarketCommons::Markets` (r:1 w:0) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -196,21 +196,21 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 32]`. /// The range of component `m` is `[32, 64]`. - fn merge_position_horizontal(n: u32, m: u32) -> Weight { + fn merge_position_horizontal(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `478 + n * (160 ±0)` // Estimated: `4173 + n * (2612 ±0)` - // Minimum execution time: 9_966_376 nanoseconds. - Weight::from_parts(10_082_179_000, 4173) - // Standard Error: 32_915_254 - .saturating_add(Weight::from_parts(2_091_693_974, 0).saturating_mul(n.into())) - // Standard Error: 15_204_609 - .saturating_add(Weight::from_parts(232_352_835, 0).saturating_mul(m.into())) + // Minimum execution time: 11_092_485 nanoseconds. + Weight::from_parts(12_341_462_000, 4173) + // Standard Error: 40_149_735 + .saturating_add(Weight::from_parts(2_491_154_197, 0).saturating_mul(n.into())) + // Standard Error: 18_546_447 + .saturating_add(Weight::from_parts(282_242_000, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) } /// Storage: `MarketCommons::Markets` (r:1 w:0) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -222,14 +222,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 32]`. /// The range of component `m` is `[32, 64]`. - fn redeem_position_sans_parent(_n: u32, m: u32) -> Weight { + fn redeem_position_sans_parent(_n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `780` // Estimated: `4173` - // Minimum execution time: 1_653_265 nanoseconds. - Weight::from_parts(1_699_956_000, 4173) - // Standard Error: 252_760 - .saturating_add(Weight::from_parts(33_971_052, 0).saturating_mul(m.into())) + // Minimum execution time: 1_981_752 nanoseconds. + Weight::from_parts(2_118_276_000, 4173) + // Standard Error: 347_696 + .saturating_add(Weight::from_parts(36_927_033, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -241,14 +241,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 32]`. /// The range of component `m` is `[32, 64]`. - fn redeem_position_with_parent(_n: u32, m: u32) -> Weight { + fn redeem_position_with_parent(_n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `674` // Estimated: `6214` - // Minimum execution time: 1_689_296 nanoseconds. - Weight::from_parts(138_110_913, 6214) - // Standard Error: 283_911 - .saturating_add(Weight::from_parts(53_680_273, 0).saturating_mul(m.into())) + // Minimum execution time: 2_000_943 nanoseconds. + Weight::from_parts(6_817_316, 6214) + // Standard Error: 528_695 + .saturating_add(Weight::from_parts(67_501_943, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/zrml/court/Cargo.toml b/zrml/court/Cargo.toml index 0c8789241..3d1229336 100644 --- a/zrml/court/Cargo.toml +++ b/zrml/court/Cargo.toml @@ -51,4 +51,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-court" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/court/src/weights.rs b/zrml/court/src/weights.rs index ae84a148a..47cffc3c0 100644 --- a/zrml/court/src/weights.rs +++ b/zrml/court/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_court //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -51,26 +51,26 @@ use frame_support::{traits::Get, weights::Weight}; /// Trait containing the required functions for weight retrival within /// zrml_court (automatically generated) pub trait WeightInfoZeitgeist { - fn join_court(j: u32) -> Weight; - fn delegate(j: u32, d: u32) -> Weight; - fn prepare_exit_court(j: u32) -> Weight; + fn join_court(j: u32, ) -> Weight; + fn delegate(j: u32, d: u32, ) -> Weight; + fn prepare_exit_court(j: u32, ) -> Weight; fn exit_court_remove() -> Weight; fn exit_court_set() -> Weight; - fn vote(d: u32) -> Weight; - fn denounce_vote(d: u32) -> Weight; - fn reveal_vote(d: u32) -> Weight; - fn appeal(j: u32, a: u32, r: u32, f: u32) -> Weight; - fn reassign_court_stakes(d: u32) -> Weight; + fn vote(d: u32, ) -> Weight; + fn denounce_vote(d: u32, ) -> Weight; + fn reveal_vote(d: u32, ) -> Weight; + fn appeal(j: u32, a: u32, r: u32, f: u32, ) -> Weight; + fn reassign_court_stakes(d: u32, ) -> Weight; fn set_inflation() -> Weight; - fn handle_inflation(j: u32) -> Weight; - fn select_participants(a: u32) -> Weight; - fn on_dispute(j: u32, r: u32) -> Weight; - fn on_resolution(d: u32) -> Weight; - fn exchange(a: u32) -> Weight; + fn handle_inflation(j: u32, ) -> Weight; + fn select_participants(a: u32, ) -> Weight; + fn on_dispute(j: u32, r: u32, ) -> Weight; + fn on_resolution(d: u32, ) -> Weight; + fn exchange(a: u32, ) -> Weight; fn get_auto_resolve() -> Weight; fn has_failed() -> Weight; - fn on_global_dispute(a: u32, d: u32) -> Weight; - fn clear(d: u32) -> Weight; + fn on_global_dispute(a: u32, d: u32, ) -> Weight; + fn clear(d: u32, ) -> Weight; } /// Weight functions for zrml_court (automatically generated) @@ -85,14 +85,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) /// The range of component `j` is `[0, 999]`. - fn join_court(j: u32) -> Weight { + fn join_court(j: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1082 + j * (96 ±0)` // Estimated: `97487` - // Minimum execution time: 53_901 nanoseconds. - Weight::from_parts(51_913_708, 97487) - // Standard Error: 1_810 - .saturating_add(Weight::from_parts(260_571, 0).saturating_mul(j.into())) + // Minimum execution time: 53_941 nanoseconds. + Weight::from_parts(50_872_506, 97487) + // Standard Error: 2_287 + .saturating_add(Weight::from_parts(250_648, 0).saturating_mul(j.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -106,34 +106,34 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) /// The range of component `j` is `[5, 999]`. /// The range of component `d` is `[1, 5]`. - fn delegate(j: u32, d: u32) -> Weight { + fn delegate(j: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + d * (651 ±0) + j * (98 ±0)` // Estimated: `97487 + d * (2726 ±0)` - // Minimum execution time: 87_522 nanoseconds. - Weight::from_parts(36_453_816, 97487) - // Standard Error: 2_176 - .saturating_add(Weight::from_parts(365_207, 0).saturating_mul(j.into())) - // Standard Error: 472_485 - .saturating_add(Weight::from_parts(9_440_623, 0).saturating_mul(d.into())) + // Minimum execution time: 85_232 nanoseconds. + Weight::from_parts(34_761_059, 97487) + // Standard Error: 2_236 + .saturating_add(Weight::from_parts(330_649, 0).saturating_mul(j.into())) + // Standard Error: 485_402 + .saturating_add(Weight::from_parts(9_333_920, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) } /// Storage: `Court::Participants` (r:1 w:1) /// Proof: `Court::Participants` (`max_values`: None, `max_size`: Some(251), added: 2726, mode: `MaxEncodedLen`) /// Storage: `Court::CourtPool` (r:1 w:1) /// Proof: `Court::CourtPool` (`max_values`: Some(1), `max_size`: Some(96002), added: 96497, mode: `MaxEncodedLen`) /// The range of component `j` is `[0, 999]`. - fn prepare_exit_court(j: u32) -> Weight { + fn prepare_exit_court(j: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1020 + j * (96 ±0)` // Estimated: `97487` - // Minimum execution time: 27_501 nanoseconds. - Weight::from_parts(22_477_175, 97487) - // Standard Error: 1_468 - .saturating_add(Weight::from_parts(240_652, 0).saturating_mul(j.into())) + // Minimum execution time: 26_890 nanoseconds. + Weight::from_parts(20_109_274, 97487) + // Standard Error: 1_794 + .saturating_add(Weight::from_parts(229_182, 0).saturating_mul(j.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -147,8 +147,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4764` - // Minimum execution time: 48_521 nanoseconds. - Weight::from_parts(50_382_000, 4764) + // Minimum execution time: 47_631 nanoseconds. + Weight::from_parts(49_821_000, 4764) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -162,8 +162,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4764` - // Minimum execution time: 45_711 nanoseconds. - Weight::from_parts(49_081_000, 4764) + // Minimum execution time: 45_231 nanoseconds. + Weight::from_parts(46_541_000, 4764) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -172,14 +172,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Court::SelectedDraws` (r:1 w:1) /// Proof: `Court::SelectedDraws` (`max_values`: None, `max_size`: Some(149974), added: 152449, mode: `MaxEncodedLen`) /// The range of component `d` is `[1, 510]`. - fn vote(d: u32) -> Weight { + fn vote(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `387 + d * (53 ±0)` // Estimated: `153439` - // Minimum execution time: 41_781 nanoseconds. - Weight::from_parts(37_139_469, 153439) - // Standard Error: 1_604 - .saturating_add(Weight::from_parts(222_313, 0).saturating_mul(d.into())) + // Minimum execution time: 40_470 nanoseconds. + Weight::from_parts(36_776_538, 153439) + // Standard Error: 1_554 + .saturating_add(Weight::from_parts(178_246, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -194,14 +194,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Court::SelectedDraws` (r:1 w:1) /// Proof: `Court::SelectedDraws` (`max_values`: None, `max_size`: Some(149974), added: 152449, mode: `MaxEncodedLen`) /// The range of component `d` is `[1, 510]`. - fn denounce_vote(d: u32) -> Weight { + fn denounce_vote(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1496 + d * (53 ±0)` // Estimated: `153439` - // Minimum execution time: 61_872 nanoseconds. - Weight::from_parts(61_153_636, 153439) - // Standard Error: 1_520 - .saturating_add(Weight::from_parts(252_657, 0).saturating_mul(d.into())) + // Minimum execution time: 60_252 nanoseconds. + Weight::from_parts(60_442_547, 153439) + // Standard Error: 2_569 + .saturating_add(Weight::from_parts(209_804, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -216,14 +216,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Court::SelectedDraws` (r:1 w:1) /// Proof: `Court::SelectedDraws` (`max_values`: None, `max_size`: Some(149974), added: 152449, mode: `MaxEncodedLen`) /// The range of component `d` is `[1, 510]`. - fn reveal_vote(d: u32) -> Weight { + fn reveal_vote(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2034 + d * (53 ±0)` // Estimated: `153439` - // Minimum execution time: 79_101 nanoseconds. - Weight::from_parts(75_955_129, 153439) - // Standard Error: 1_953 - .saturating_add(Weight::from_parts(222_856, 0).saturating_mul(d.into())) + // Minimum execution time: 74_231 nanoseconds. + Weight::from_parts(78_725_215, 153439) + // Standard Error: 9_416 + .saturating_add(Weight::from_parts(211_680, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -253,22 +253,22 @@ impl WeightInfoZeitgeist for WeightInfo { /// The range of component `a` is `[0, 2]`. /// The range of component `r` is `[0, 62]`. /// The range of component `f` is `[0, 62]`. - fn appeal(j: u32, a: u32, _r: u32, _f: u32) -> Weight { + fn appeal(j: u32, a: u32, _r: u32, _f: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + a * (24688 ±0) + f * (16 ±0) + j * (149 ±0) + r * (16 ±0)` // Estimated: `268138 + a * (318078 ±1_049) + j * (194 ±3)` - // Minimum execution time: 7_188_067 nanoseconds. - Weight::from_parts(7_280_169_000, 268138) - // Standard Error: 167_614 - .saturating_add(Weight::from_parts(18_328_903, 0).saturating_mul(j.into())) - // Standard Error: 58_358_519 - .saturating_add(Weight::from_parts(7_720_741_958, 0).saturating_mul(a.into())) + // Minimum execution time: 6_430_840 nanoseconds. + Weight::from_parts(6_496_600_000, 268138) + // Standard Error: 145_553 + .saturating_add(Weight::from_parts(15_013_371, 0).saturating_mul(j.into())) + // Standard Error: 50_677_322 + .saturating_add(Weight::from_parts(6_652_879_562, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((127_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(100)) .saturating_add(T::DbWeight::get().writes((117_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 318078).saturating_mul(a.into())) - .saturating_add(Weight::from_parts(0, 194).saturating_mul(j.into())) + .saturating_add(Weight::from_parts(0, 318078).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 194).saturating_mul(j.into())) } /// Storage: `Court::Courts` (r:1 w:1) /// Proof: `Court::Courts` (`max_values`: None, `max_size`: Some(349), added: 2824, mode: `MaxEncodedLen`) @@ -279,19 +279,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:511 w:510) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `d` is `[5, 510]`. - fn reassign_court_stakes(d: u32) -> Weight { + fn reassign_court_stakes(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `947 + d * (523 ±0)` // Estimated: `153439 + d * (2726 ±0)` - // Minimum execution time: 179_134 nanoseconds. - Weight::from_parts(182_434_000, 153439) - // Standard Error: 109_038 - .saturating_add(Weight::from_parts(86_761_170, 0).saturating_mul(d.into())) + // Minimum execution time: 177_203 nanoseconds. + Weight::from_parts(180_313_000, 153439) + // Standard Error: 98_771 + .saturating_add(Weight::from_parts(84_496_547, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(d.into()))) - .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) } /// Storage: `Court::YearlyInflation` (r:0 w:1) /// Proof: `Court::YearlyInflation` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -299,8 +299,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_450 nanoseconds. - Weight::from_parts(10_831_000, 0).saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_350 nanoseconds. + Weight::from_parts(11_400_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Court::YearlyInflation` (r:1 w:0) /// Proof: `Court::YearlyInflation` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -309,18 +310,18 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:999 w:999) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `j` is `[1, 1000]`. - fn handle_inflation(j: u32) -> Weight { + fn handle_inflation(j: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + j * (235 ±0)` // Estimated: `97487 + j * (2607 ±0)` - // Minimum execution time: 35_591 nanoseconds. - Weight::from_parts(35_981_000, 97487) - // Standard Error: 29_069 - .saturating_add(Weight::from_parts(20_547_687, 0).saturating_mul(j.into())) + // Minimum execution time: 35_291 nanoseconds. + Weight::from_parts(35_961_000, 97487) + // Standard Error: 15_966 + .saturating_add(Weight::from_parts(20_105_239, 0).saturating_mul(j.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(j.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(j.into()))) - .saturating_add(Weight::from_parts(0, 2607).saturating_mul(j.into())) + .saturating_add(Weight::from_parts(0, 2607).saturating_mul(j.into())) } /// Storage: `Court::CourtPool` (r:1 w:1) /// Proof: `Court::CourtPool` (`max_values`: Some(1), `max_size`: Some(96002), added: 96497, mode: `MaxEncodedLen`) @@ -331,19 +332,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Court::Participants` (r:240 w:236) /// Proof: `Court::Participants` (`max_values`: None, `max_size`: Some(251), added: 2726, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 3]`. - fn select_participants(a: u32) -> Weight { + fn select_participants(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `113583 + a * (14765 ±0)` // Estimated: `97487 + a * (136685 ±1_677)` - // Minimum execution time: 3_780_353 nanoseconds. - Weight::from_parts(2_925_064_312, 97487) - // Standard Error: 89_670_232 - .saturating_add(Weight::from_parts(6_390_444_252, 0).saturating_mul(a.into())) + // Minimum execution time: 3_209_949 nanoseconds. + Weight::from_parts(2_542_712_255, 97487) + // Standard Error: 72_467_690 + .saturating_add(Weight::from_parts(5_269_444_182, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(31)) .saturating_add(T::DbWeight::get().reads((50_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(26)) .saturating_add(T::DbWeight::get().writes((50_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 136685).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 136685).saturating_mul(a.into())) } /// Storage: `Court::NextCourtId` (r:1 w:1) /// Proof: `Court::NextCourtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) @@ -369,20 +370,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Court::Courts` (`max_values`: None, `max_size`: Some(349), added: 2824, mode: `MaxEncodedLen`) /// The range of component `j` is `[31, 1000]`. /// The range of component `r` is `[0, 62]`. - fn on_dispute(j: u32, r: u32) -> Weight { + fn on_dispute(j: u32, r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `5181 + j * (104 ±0) + r * (16 ±0)` // Estimated: `97487 + j * (8 ±0) + r * (25 ±4)` - // Minimum execution time: 355_438 nanoseconds. - Weight::from_parts(405_601_184, 97487) - // Standard Error: 5_191 - .saturating_add(Weight::from_parts(361_059, 0).saturating_mul(j.into())) - // Standard Error: 80_462 - .saturating_add(Weight::from_parts(180_336, 0).saturating_mul(r.into())) + // Minimum execution time: 337_327 nanoseconds. + Weight::from_parts(360_390_449, 97487) + // Standard Error: 4_394 + .saturating_add(Weight::from_parts(347_072, 0).saturating_mul(j.into())) + // Standard Error: 68_118 + .saturating_add(Weight::from_parts(451_484, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(34)) .saturating_add(T::DbWeight::get().writes(36)) - .saturating_add(Weight::from_parts(0, 8).saturating_mul(j.into())) - .saturating_add(Weight::from_parts(0, 25).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 8).saturating_mul(j.into())) + .saturating_add(Weight::from_parts(0, 25).saturating_mul(r.into())) } /// Storage: `Court::MarketIdToCourtId` (r:1 w:0) /// Proof: `Court::MarketIdToCourtId` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -397,19 +398,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Court::Participants` (r:510 w:510) /// Proof: `Court::Participants` (`max_values`: None, `max_size`: Some(251), added: 2726, mode: `MaxEncodedLen`) /// The range of component `d` is `[1, 510]`. - fn on_resolution(d: u32) -> Weight { + fn on_resolution(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `890 + d * (224 ±0)` // Estimated: `153439 + d * (2726 ±0)` - // Minimum execution time: 54_401 nanoseconds. - Weight::from_parts(55_621_000, 153439) - // Standard Error: 9_356 - .saturating_add(Weight::from_parts(8_170_508, 0).saturating_mul(d.into())) + // Minimum execution time: 52_131 nanoseconds. + Weight::from_parts(54_602_000, 153439) + // Standard Error: 8_978 + .saturating_add(Weight::from_parts(7_761_496, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) - .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) } /// Storage: `Court::MarketIdToCourtId` (r:1 w:0) /// Proof: `Court::MarketIdToCourtId` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -420,18 +421,18 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:4 w:4) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 4]`. - fn exchange(a: u32) -> Weight { + fn exchange(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `388 + a * (320 ±0)` // Estimated: `3814 + a * (3724 ±0)` - // Minimum execution time: 15_650 nanoseconds. - Weight::from_parts(19_368_807, 3814) - // Standard Error: 123_075 - .saturating_add(Weight::from_parts(32_433_205, 0).saturating_mul(a.into())) + // Minimum execution time: 15_150 nanoseconds. + Weight::from_parts(19_865_671, 3814) + // Standard Error: 118_606 + .saturating_add(Weight::from_parts(31_421_097, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 3724).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3724).saturating_mul(a.into())) } /// Storage: `Court::MarketIdToCourtId` (r:1 w:0) /// Proof: `Court::MarketIdToCourtId` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -441,8 +442,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `391` // Estimated: `3814` - // Minimum execution time: 15_801 nanoseconds. - Weight::from_parts(16_691_000, 3814).saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 15_241 nanoseconds. + Weight::from_parts(16_541_000, 3814) + .saturating_add(T::DbWeight::get().reads(2)) } /// Storage: `Court::MarketIdToCourtId` (r:1 w:0) /// Proof: `Court::MarketIdToCourtId` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -458,8 +460,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `3854` // Estimated: `97487` - // Minimum execution time: 41_192 nanoseconds. - Weight::from_parts(44_301_000, 97487).saturating_add(T::DbWeight::get().reads(5)) + // Minimum execution time: 39_141 nanoseconds. + Weight::from_parts(41_231_000, 97487) + .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: `Court::MarketIdToCourtId` (r:1 w:0) /// Proof: `Court::MarketIdToCourtId` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -471,19 +474,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Court::Participants` (`max_values`: None, `max_size`: Some(251), added: 2726, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 4]`. /// The range of component `d` is `[1, 510]`. - fn on_global_dispute(_a: u32, d: u32) -> Weight { + fn on_global_dispute(_a: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `422 + a * (66 ±0) + d * (224 ±0)` // Estimated: `153439 + d * (2726 ±0)` - // Minimum execution time: 37_731 nanoseconds. - Weight::from_parts(39_351_000, 153439) - // Standard Error: 8_365 - .saturating_add(Weight::from_parts(8_350_262, 0).saturating_mul(d.into())) + // Minimum execution time: 38_360 nanoseconds. + Weight::from_parts(15_380_560, 153439) + // Standard Error: 10_887 + .saturating_add(Weight::from_parts(7_932_351, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) - .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) } /// Storage: `Court::MarketIdToCourtId` (r:1 w:0) /// Proof: `Court::MarketIdToCourtId` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) @@ -494,18 +497,18 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Court::Courts` (r:0 w:1) /// Proof: `Court::Courts` (`max_values`: None, `max_size`: Some(349), added: 2824, mode: `MaxEncodedLen`) /// The range of component `d` is `[1, 510]`. - fn clear(d: u32) -> Weight { + fn clear(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `367 + d * (224 ±0)` // Estimated: `153439 + d * (2726 ±0)` - // Minimum execution time: 30_751 nanoseconds. - Weight::from_parts(12_036_379, 153439) - // Standard Error: 23_701 - .saturating_add(Weight::from_parts(8_343_225, 0).saturating_mul(d.into())) + // Minimum execution time: 29_951 nanoseconds. + Weight::from_parts(30_851_000, 153439) + // Standard Error: 8_063 + .saturating_add(Weight::from_parts(7_717_369, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) - .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 2726).saturating_mul(d.into())) } } diff --git a/zrml/futarchy/Cargo.toml b/zrml/futarchy/Cargo.toml index fddf8919f..07988151e 100644 --- a/zrml/futarchy/Cargo.toml +++ b/zrml/futarchy/Cargo.toml @@ -64,4 +64,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-futarchy" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/futarchy/fuzz/Cargo.toml b/zrml/futarchy/fuzz/Cargo.toml index 949ae2667..827fd72be 100644 --- a/zrml/futarchy/fuzz/Cargo.toml +++ b/zrml/futarchy/fuzz/Cargo.toml @@ -21,7 +21,7 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-futarchy-fuzz" publish = false -version = "0.6.1" +version = "0.6.2" [package.metadata] cargo-fuzz = true diff --git a/zrml/futarchy/src/weights.rs b/zrml/futarchy/src/weights.rs index e33870b96..65a0daf08 100644 --- a/zrml/futarchy/src/weights.rs +++ b/zrml/futarchy/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_futarchy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -53,7 +53,7 @@ use frame_support::{traits::Get, weights::Weight}; pub trait WeightInfoZeitgeist { fn submit_proposal() -> Weight; fn maybe_schedule_proposal() -> Weight; - fn take_proposals(n: u32) -> Weight; + fn take_proposals(n: u32, ) -> Weight; } /// Weight functions for zrml_futarchy (automatically generated) @@ -67,8 +67,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `122` // Estimated: `4726` - // Minimum execution time: 25_661 nanoseconds. - Weight::from_parts(26_931_000, 4726) + // Minimum execution time: 25_450 nanoseconds. + Weight::from_parts(26_420_000, 4726) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -78,8 +78,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `3` // Estimated: `112539` - // Minimum execution time: 15_980 nanoseconds. - Weight::from_parts(16_851_000, 112539) + // Minimum execution time: 17_271 nanoseconds. + Weight::from_parts(18_110_000, 112539) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,14 +88,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Futarchy::ProposalCount` (r:1 w:0) /// Proof: `Futarchy::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 4]`. - fn take_proposals(n: u32) -> Weight { + fn take_proposals(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `94 + n * (309 ±0)` // Estimated: `4726` - // Minimum execution time: 12_461 nanoseconds. - Weight::from_parts(12_714_998, 4726) - // Standard Error: 9_608 - .saturating_add(Weight::from_parts(476_725, 0).saturating_mul(n.into())) + // Minimum execution time: 11_880 nanoseconds. + Weight::from_parts(12_662_885, 4726) + // Standard Error: 25_307 + .saturating_add(Weight::from_parts(469_369, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/zrml/global-disputes/Cargo.toml b/zrml/global-disputes/Cargo.toml index b01f3ecae..6102dd414 100644 --- a/zrml/global-disputes/Cargo.toml +++ b/zrml/global-disputes/Cargo.toml @@ -49,4 +49,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-global-disputes" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/global-disputes/src/weights.rs b/zrml/global-disputes/src/weights.rs index e0c9bbbcc..c9f697d7c 100644 --- a/zrml/global-disputes/src/weights.rs +++ b/zrml/global-disputes/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_global_disputes //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -51,14 +51,14 @@ use frame_support::{traits::Get, weights::Weight}; /// Trait containing the required functions for weight retrival within /// zrml_global_disputes (automatically generated) pub trait WeightInfoZeitgeist { - fn vote_on_outcome(o: u32, v: u32) -> Weight; - fn unlock_vote_balance_set(l: u32, o: u32) -> Weight; - fn unlock_vote_balance_remove(l: u32, o: u32) -> Weight; - fn add_vote_outcome(w: u32) -> Weight; - fn reward_outcome_owner_shared_possession(o: u32) -> Weight; + fn vote_on_outcome(o: u32, v: u32, ) -> Weight; + fn unlock_vote_balance_set(l: u32, o: u32, ) -> Weight; + fn unlock_vote_balance_remove(l: u32, o: u32, ) -> Weight; + fn add_vote_outcome(w: u32, ) -> Weight; + fn reward_outcome_owner_shared_possession(o: u32, ) -> Weight; fn reward_outcome_owner_paid_possession() -> Weight; - fn purge_outcomes(k: u32, o: u32) -> Weight; - fn refund_vote_fees(k: u32, o: u32) -> Weight; + fn purge_outcomes(k: u32, o: u32, ) -> Weight; + fn refund_vote_fees(k: u32, o: u32, ) -> Weight; } /// Weight functions for zrml_global_disputes (automatically generated) @@ -76,16 +76,16 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) /// The range of component `o` is `[2, 10]`. /// The range of component `v` is `[0, 49]`. - fn vote_on_outcome(o: u32, v: u32) -> Weight { + fn vote_on_outcome(o: u32, v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `452 + o * (33 ±0) + v * (32 ±0)` // Estimated: `5106` - // Minimum execution time: 71_111 nanoseconds. - Weight::from_parts(75_403_275, 5106) - // Standard Error: 33_892 - .saturating_add(Weight::from_parts(103_011, 0).saturating_mul(o.into())) - // Standard Error: 5_960 - .saturating_add(Weight::from_parts(82_641, 0).saturating_mul(v.into())) + // Minimum execution time: 71_411 nanoseconds. + Weight::from_parts(75_800_357, 5106) + // Standard Error: 42_802 + .saturating_add(Weight::from_parts(144_224, 0).saturating_mul(o.into())) + // Standard Error: 7_527 + .saturating_add(Weight::from_parts(79_621, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -101,20 +101,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 50]`. /// The range of component `o` is `[1, 10]`. - fn unlock_vote_balance_set(l: u32, o: u32) -> Weight { + fn unlock_vote_balance_set(l: u32, o: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + l * (435 ±0) + o * (1600 ±0)` // Estimated: `5106 + l * (2871 ±0)` - // Minimum execution time: 41_101 nanoseconds. - Weight::from_parts(28_439_775, 5106) - // Standard Error: 8_782 - .saturating_add(Weight::from_parts(4_858_634, 0).saturating_mul(l.into())) - // Standard Error: 46_095 - .saturating_add(Weight::from_parts(1_242_145, 0).saturating_mul(o.into())) + // Minimum execution time: 40_271 nanoseconds. + Weight::from_parts(37_571_794, 5106) + // Standard Error: 20_059 + .saturating_add(Weight::from_parts(4_603_313, 0).saturating_mul(l.into())) + // Standard Error: 105_282 + .saturating_add(Weight::from_parts(440_058, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 2871).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(0, 2871).saturating_mul(l.into())) } /// Storage: `GlobalDisputes::Locks` (r:1 w:1) /// Proof: `GlobalDisputes::Locks` (`max_values`: None, `max_size`: Some(1641), added: 4116, mode: `MaxEncodedLen`) @@ -128,20 +128,20 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 50]`. /// The range of component `o` is `[1, 10]`. - fn unlock_vote_balance_remove(l: u32, o: u32) -> Weight { + fn unlock_vote_balance_remove(l: u32, o: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + l * (419 ±0) + o * (1600 ±0)` // Estimated: `5106 + l * (2871 ±0)` - // Minimum execution time: 41_421 nanoseconds. - Weight::from_parts(32_178_265, 5106) - // Standard Error: 9_586 - .saturating_add(Weight::from_parts(4_846_390, 0).saturating_mul(l.into())) - // Standard Error: 50_317 - .saturating_add(Weight::from_parts(1_216_883, 0).saturating_mul(o.into())) + // Minimum execution time: 42_351 nanoseconds. + Weight::from_parts(36_222_813, 5106) + // Standard Error: 26_536 + .saturating_add(Weight::from_parts(4_590_513, 0).saturating_mul(l.into())) + // Standard Error: 139_276 + .saturating_add(Weight::from_parts(1_178_967, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l.into()))) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 2871).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(0, 2871).saturating_mul(l.into())) } /// Storage: `MarketCommons::Markets` (r:1 w:0) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -152,14 +152,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `w` is `[1, 10]`. - fn add_vote_outcome(w: u32) -> Weight { + fn add_vote_outcome(w: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `680 + w * (32 ±0)` // Estimated: `4173` - // Minimum execution time: 93_552 nanoseconds. - Weight::from_parts(97_447_696, 4173) - // Standard Error: 27_246 - .saturating_add(Weight::from_parts(81_335, 0).saturating_mul(w.into())) + // Minimum execution time: 92_372 nanoseconds. + Weight::from_parts(98_755_060, 4173) + // Standard Error: 46_515 + .saturating_add(Weight::from_parts(37_702, 0).saturating_mul(w.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -170,19 +170,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:11 w:11) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `o` is `[1, 10]`. - fn reward_outcome_owner_shared_possession(o: u32) -> Weight { + fn reward_outcome_owner_shared_possession(o: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `464 + o * (41 ±0)` // Estimated: `3861 + o * (2790 ±20)` - // Minimum execution time: 93_062 nanoseconds. - Weight::from_parts(47_683_721, 3861) - // Standard Error: 167_043 - .saturating_add(Weight::from_parts(51_051_967, 0).saturating_mul(o.into())) + // Minimum execution time: 92_313 nanoseconds. + Weight::from_parts(45_932_648, 3861) + // Standard Error: 233_595 + .saturating_add(Weight::from_parts(52_884_289, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(o.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(o.into()))) - .saturating_add(Weight::from_parts(0, 2790).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(0, 2790).saturating_mul(o.into())) } /// Storage: `GlobalDisputes::Outcomes` (r:1 w:0) /// Proof: `GlobalDisputes::Outcomes` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) @@ -194,8 +194,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `511` // Estimated: `6204` - // Minimum execution time: 93_482 nanoseconds. - Weight::from_parts(95_312_000, 6204) + // Minimum execution time: 92_502 nanoseconds. + Weight::from_parts(96_462_000, 6204) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -205,19 +205,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `GlobalDisputes::Outcomes` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) /// The range of component `k` is `[2, 248]`. /// The range of component `o` is `[1, 10]`. - fn purge_outcomes(k: u32, _o: u32) -> Weight { + fn purge_outcomes(k: u32, _o: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `385 + k * (90 ±0) + o * (32 ±0)` // Estimated: `6730 + k * (2870 ±0)` - // Minimum execution time: 60_762 nanoseconds. - Weight::from_parts(82_761_236, 6730) - // Standard Error: 15_360 - .saturating_add(Weight::from_parts(8_414_694, 0).saturating_mul(k.into())) + // Minimum execution time: 58_131 nanoseconds. + Weight::from_parts(62_145_744, 6730) + // Standard Error: 13_312 + .saturating_add(Weight::from_parts(7_895_643, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) - .saturating_add(Weight::from_parts(0, 2870).saturating_mul(k.into())) + .saturating_add(Weight::from_parts(0, 2870).saturating_mul(k.into())) } /// Storage: `GlobalDisputes::GlobalDisputesInfo` (r:1 w:0) /// Proof: `GlobalDisputes::GlobalDisputesInfo` (`max_values`: None, `max_size`: Some(396), added: 2871, mode: `MaxEncodedLen`) @@ -225,18 +225,18 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `GlobalDisputes::Outcomes` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) /// The range of component `k` is `[2, 248]`. /// The range of component `o` is `[1, 10]`. - fn refund_vote_fees(k: u32, _o: u32) -> Weight { + fn refund_vote_fees(k: u32, _o: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `385 + k * (90 ±0) + o * (32 ±0)` // Estimated: `6730 + k * (2870 ±0)` - // Minimum execution time: 56_422 nanoseconds. - Weight::from_parts(38_799_860, 6730) - // Standard Error: 13_955 - .saturating_add(Weight::from_parts(8_418_257, 0).saturating_mul(k.into())) + // Minimum execution time: 54_741 nanoseconds. + Weight::from_parts(54_726_534, 6730) + // Standard Error: 10_298 + .saturating_add(Weight::from_parts(7_814_077, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) - .saturating_add(Weight::from_parts(0, 2870).saturating_mul(k.into())) + .saturating_add(Weight::from_parts(0, 2870).saturating_mul(k.into())) } } diff --git a/zrml/hybrid-router/Cargo.toml b/zrml/hybrid-router/Cargo.toml index aa2a9aba7..d64ba1182 100644 --- a/zrml/hybrid-router/Cargo.toml +++ b/zrml/hybrid-router/Cargo.toml @@ -99,4 +99,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-hybrid-router" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/hybrid-router/src/weights.rs b/zrml/hybrid-router/src/weights.rs index 627b90a60..3f3f78dfc 100644 --- a/zrml/hybrid-router/src/weights.rs +++ b/zrml/hybrid-router/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_hybrid_router //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-10`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -51,8 +51,8 @@ use frame_support::{traits::Get, weights::Weight}; /// Trait containing the required functions for weight retrival within /// zrml_hybrid_router (automatically generated) pub trait WeightInfoZeitgeist { - fn buy(n: u32, o: u32) -> Weight; - fn sell(n: u32, o: u32) -> Weight; + fn buy(n: u32, o: u32, ) -> Weight; + fn sell(n: u32, o: u32, ) -> Weight; } /// Weight functions for zrml_hybrid_router (automatically generated) @@ -80,24 +80,24 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 16]`. /// The range of component `o` is `[0, 10]`. - fn buy(n: u32, o: u32) -> Weight { + fn buy(n: u32, o: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1365 + n * (185 ±0) + o * (497 ±0)` - // Estimated: `156294 + n * (2612 ±1) + o * (3765 ±2)` - // Minimum execution time: 1_680_157 nanoseconds. - Weight::from_parts(1_692_777_000, 156294) - // Standard Error: 7_631_140 - .saturating_add(Weight::from_parts(216_139_282, 0).saturating_mul(n.into())) - // Standard Error: 12_515_510 - .saturating_add(Weight::from_parts(934_018_842, 0).saturating_mul(o.into())) + // Estimated: `156294 + n * (2612 ±1) + o * (3765 ±0)` + // Minimum execution time: 1_350_509 nanoseconds. + Weight::from_parts(1_360_549_000, 156294) + // Standard Error: 5_700_493 + .saturating_add(Weight::from_parts(161_001_298, 0).saturating_mul(n.into())) + // Standard Error: 9_349_137 + .saturating_add(Weight::from_parts(760_925_951, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(o.into()))) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(o.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) - .saturating_add(Weight::from_parts(0, 3765).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3765).saturating_mul(o.into())) } /// Storage: `MarketCommons::Markets` (r:1 w:0) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -121,23 +121,23 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1290), added: 3765, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 10]`. /// The range of component `o` is `[0, 10]`. - fn sell(n: u32, o: u32) -> Weight { + fn sell(n: u32, o: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1441 + n * (183 ±0) + o * (339 ±0)` // Estimated: `156294 + n * (2612 ±0) + o * (3724 ±0)` - // Minimum execution time: 1_208_585 nanoseconds. - Weight::from_parts(1_216_017_000, 156294) - // Standard Error: 7_988_806 - .saturating_add(Weight::from_parts(219_491_877, 0).saturating_mul(n.into())) - // Standard Error: 8_211_337 - .saturating_add(Weight::from_parts(688_160_713, 0).saturating_mul(o.into())) + // Minimum execution time: 977_731 nanoseconds. + Weight::from_parts(1_014_042_000, 156294) + // Standard Error: 6_151_691 + .saturating_add(Weight::from_parts(168_707_504, 0).saturating_mul(n.into())) + // Standard Error: 6_323_048 + .saturating_add(Weight::from_parts(582_893_832, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(o.into()))) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(o.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) - .saturating_add(Weight::from_parts(0, 3724).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3724).saturating_mul(o.into())) } } diff --git a/zrml/market-commons/Cargo.toml b/zrml/market-commons/Cargo.toml index bc5e36bb8..892c9fae5 100644 --- a/zrml/market-commons/Cargo.toml +++ b/zrml/market-commons/Cargo.toml @@ -36,4 +36,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-market-commons" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/neo-swaps/Cargo.toml b/zrml/neo-swaps/Cargo.toml index 8fce3eb74..6e5c0d087 100644 --- a/zrml/neo-swaps/Cargo.toml +++ b/zrml/neo-swaps/Cargo.toml @@ -111,4 +111,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-neo-swaps" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/neo-swaps/fuzz/Cargo.toml b/zrml/neo-swaps/fuzz/Cargo.toml index 35d90ee24..9d38831f1 100644 --- a/zrml/neo-swaps/fuzz/Cargo.toml +++ b/zrml/neo-swaps/fuzz/Cargo.toml @@ -33,7 +33,7 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-neo-swaps-fuzz" publish = false -version = "0.6.1" +version = "0.6.2" [package.metadata] cargo-fuzz = true diff --git a/zrml/neo-swaps/src/weights.rs b/zrml/neo-swaps/src/weights.rs index 7b087558f..1e81f4c58 100644 --- a/zrml/neo-swaps/src/weights.rs +++ b/zrml/neo-swaps/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_neo_swaps //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -51,17 +51,17 @@ use frame_support::{traits::Get, weights::Weight}; /// Trait containing the required functions for weight retrival within /// zrml_neo_swaps (automatically generated) pub trait WeightInfoZeitgeist { - fn buy(n: u32) -> Weight; - fn sell(n: u32) -> Weight; - fn join_in_place(n: u32) -> Weight; - fn join_reassigned(n: u32) -> Weight; - fn join_leaf(n: u32) -> Weight; - fn exit(n: u32) -> Weight; + fn buy(n: u32, ) -> Weight; + fn sell(n: u32, ) -> Weight; + fn join_in_place(n: u32, ) -> Weight; + fn join_reassigned(n: u32, ) -> Weight; + fn join_leaf(n: u32, ) -> Weight; + fn exit(n: u32, ) -> Weight; fn withdraw_fees() -> Weight; - fn deploy_pool(n: u32) -> Weight; - fn combo_buy(n: u32) -> Weight; - fn combo_sell(n: u32) -> Weight; - fn deploy_combinatorial_pool(n: u32, m: u32) -> Weight; + fn deploy_pool(n: u32, ) -> Weight; + fn combo_buy(n: u32, ) -> Weight; + fn combo_sell(n: u32, ) -> Weight; + fn deploy_combinatorial_pool(n: u32, m: u32, ) -> Weight; fn decision_market_oracle_evaluate() -> Weight; fn decision_market_oracle_update() -> Weight; } @@ -80,19 +80,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Tokens::TotalIssuance` (r:4 w:4) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 4]`. - fn buy(n: u32) -> Weight { + fn buy(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1337 + n * (182 ±0)` // Estimated: `156294 + n * (2612 ±0)` - // Minimum execution time: 515_531 nanoseconds. - Weight::from_parts(386_416_839, 156294) - // Standard Error: 780_164 - .saturating_add(Weight::from_parts(70_438_944, 0).saturating_mul(n.into())) + // Minimum execution time: 426_779 nanoseconds. + Weight::from_parts(341_313_339, 156294) + // Standard Error: 1_098_850 + .saturating_add(Weight::from_parts(56_209_927, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) } /// Storage: `NeoSwaps::Pools` (r:1 w:1) /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) @@ -105,19 +105,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Tokens::TotalIssuance` (r:128 w:128) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 128]`. - fn sell(n: u32) -> Weight { + fn sell(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1503 + n * (182 ±0)` // Estimated: `156294 + n * (2612 ±0)` - // Minimum execution time: 416_380 nanoseconds. - Weight::from_parts(269_089_215, 156294) - // Standard Error: 55_377 - .saturating_add(Weight::from_parts(79_227_824, 0).saturating_mul(n.into())) + // Minimum execution time: 396_289 nanoseconds. + Weight::from_parts(282_640_965, 156294) + // Standard Error: 60_657 + .saturating_add(Weight::from_parts(79_963_123, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(n.into())) } /// Storage: `NeoSwaps::Pools` (r:1 w:1) /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) @@ -128,19 +128,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 128]`. - fn join_in_place(n: u32) -> Weight { + fn join_in_place(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `139400 + n * (216 ±0)` // Estimated: `156294 + n * (5224 ±0)` - // Minimum execution time: 908_640 nanoseconds. - Weight::from_parts(990_550_591, 156294) - // Standard Error: 173_803 - .saturating_add(Weight::from_parts(33_934_769, 0).saturating_mul(n.into())) + // Minimum execution time: 694_836 nanoseconds. + Weight::from_parts(798_793_490, 156294) + // Standard Error: 162_439 + .saturating_add(Weight::from_parts(34_191_104, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) } /// Storage: `NeoSwaps::Pools` (r:1 w:1) /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) @@ -151,19 +151,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 128]`. - fn join_reassigned(n: u32) -> Weight { + fn join_reassigned(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `139196 + n * (216 ±0)` // Estimated: `156294 + n * (5224 ±0)` - // Minimum execution time: 934_690 nanoseconds. - Weight::from_parts(1_047_973_190, 156294) - // Standard Error: 172_793 - .saturating_add(Weight::from_parts(33_506_700, 0).saturating_mul(n.into())) + // Minimum execution time: 697_165 nanoseconds. + Weight::from_parts(761_458_876, 156294) + // Standard Error: 178_515 + .saturating_add(Weight::from_parts(35_248_272, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) } /// Storage: `NeoSwaps::Pools` (r:1 w:1) /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) @@ -174,19 +174,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 128]`. - fn join_leaf(n: u32) -> Weight { + fn join_leaf(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `138700 + n * (216 ±0)` // Estimated: `156294 + n * (5224 ±0)` - // Minimum execution time: 890_439 nanoseconds. - Weight::from_parts(925_188_288, 156294) - // Standard Error: 173_028 - .saturating_add(Weight::from_parts(34_480_585, 0).saturating_mul(n.into())) + // Minimum execution time: 683_405 nanoseconds. + Weight::from_parts(808_350_195, 156294) + // Standard Error: 184_659 + .saturating_add(Weight::from_parts(35_156_136, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) } /// Storage: `NeoSwaps::Pools` (r:1 w:1) /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) @@ -197,19 +197,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 128]`. - fn exit(n: u32) -> Weight { + fn exit(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `139297 + n * (216 ±0)` // Estimated: `156294 + n * (5224 ±0)` - // Minimum execution time: 921_930 nanoseconds. - Weight::from_parts(967_163_893, 156294) - // Standard Error: 165_864 - .saturating_add(Weight::from_parts(35_622_639, 0).saturating_mul(n.into())) + // Minimum execution time: 697_006 nanoseconds. + Weight::from_parts(773_786_104, 156294) + // Standard Error: 197_791 + .saturating_add(Weight::from_parts(36_462_120, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) } /// Storage: `NeoSwaps::Pools` (r:1 w:1) /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) @@ -219,8 +219,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `137883` // Estimated: `156294` - // Minimum execution time: 608_272 nanoseconds. - Weight::from_parts(766_916_000, 156294) + // Minimum execution time: 477_301 nanoseconds. + Weight::from_parts(530_333_000, 156294) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -237,19 +237,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `NeoSwaps::Pools` (r:0 w:1) /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) /// The range of component `n` is `[2, 128]`. - fn deploy_pool(n: u32) -> Weight { + fn deploy_pool(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `611 + n * (81 ±0)` // Estimated: `4173 + n * (5224 ±0)` - // Minimum execution time: 178_014 nanoseconds. - Weight::from_parts(112_124_514, 4173) - // Standard Error: 38_257 - .saturating_add(Weight::from_parts(36_873_312, 0).saturating_mul(n.into())) + // Minimum execution time: 183_274 nanoseconds. + Weight::from_parts(103_050_946, 4173) + // Standard Error: 56_235 + .saturating_add(Weight::from_parts(38_096_800, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) } /// Storage: `NeoSwaps::Pools` (r:1 w:1) /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) @@ -262,19 +262,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Tokens::TotalIssuance` (r:128 w:128) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 7]`. - fn combo_buy(n: u32) -> Weight { + fn combo_buy(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + n * (2782 ±0)` - // Estimated: `156294 + n * (38153 ±999)` - // Minimum execution time: 546_381 nanoseconds. - Weight::from_parts(551_321_000, 156294) - // Standard Error: 31_727_274 - .saturating_add(Weight::from_parts(1_195_885_157, 0).saturating_mul(n.into())) + // Estimated: `156294 + n * (38153 ±0)` + // Minimum execution time: 472_451 nanoseconds. + Weight::from_parts(482_160_000, 156294) + // Standard Error: 24_988_978 + .saturating_add(Weight::from_parts(957_250_822, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((23_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(10)) .saturating_add(T::DbWeight::get().writes((22_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 38153).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 38153).saturating_mul(n.into())) } /// Storage: `NeoSwaps::Pools` (r:1 w:1) /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) @@ -287,19 +287,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Tokens::TotalIssuance` (r:128 w:128) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 7]`. - fn combo_sell(n: u32) -> Weight { + fn combo_sell(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + n * (3687 ±0)` - // Estimated: `156294 + n * (38153 ±0)` - // Minimum execution time: 528_053 nanoseconds. - Weight::from_parts(533_551_000, 156294) - // Standard Error: 41_695_900 - .saturating_add(Weight::from_parts(1_646_761_255, 0).saturating_mul(n.into())) + // Estimated: `156294 + n * (38153 ±999)` + // Minimum execution time: 454_850 nanoseconds. + Weight::from_parts(463_920_000, 156294) + // Standard Error: 32_681_002 + .saturating_add(Weight::from_parts(1_271_933_741, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().reads((23_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes((22_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 38153).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 38153).saturating_mul(n.into())) } /// Storage: `MarketCommons::Markets` (r:7 w:0) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -315,26 +315,26 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 7]`. /// The range of component `m` is `[32, 64]`. - fn deploy_combinatorial_pool(n: u32, _m: u32) -> Weight { + fn deploy_combinatorial_pool(n: u32, _m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `357 + n * (185 ±0)` - // Estimated: `300085 + n * (159268 ±2_531)` - // Minimum execution time: 6_389_772 nanoseconds. - Weight::from_parts(6_544_194_000, 300085) - // Standard Error: 1_599_109_332 - .saturating_add(Weight::from_parts(116_016_531_777, 0).saturating_mul(n.into())) + // Estimated: `300085 + n * (159268 ±0)` + // Minimum execution time: 7_655_746 nanoseconds. + Weight::from_parts(8_318_801_000, 300085) + // Standard Error: 1_876_959_466 + .saturating_add(Weight::from_parts(137_015_621_356, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(193)) .saturating_add(T::DbWeight::get().reads((103_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(194)) .saturating_add(T::DbWeight::get().writes((102_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 159268).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 159268).saturating_mul(n.into())) } fn decision_market_oracle_evaluate() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 360 nanoseconds. - Weight::from_parts(410_000, 0) + // Minimum execution time: 430 nanoseconds. + Weight::from_parts(530_000, 0) } /// Storage: `NeoSwaps::Pools` (r:1 w:0) /// Proof: `NeoSwaps::Pools` (`max_values`: None, `max_size`: Some(152829), added: 155304, mode: `MaxEncodedLen`) @@ -342,7 +342,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `492` // Estimated: `156294` - // Minimum execution time: 124_673 nanoseconds. - Weight::from_parts(126_953_000, 156294).saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 92_572 nanoseconds. + Weight::from_parts(94_102_000, 156294) + .saturating_add(T::DbWeight::get().reads(1)) } } diff --git a/zrml/orderbook/Cargo.toml b/zrml/orderbook/Cargo.toml index 66d7ccef0..db7c9ee33 100644 --- a/zrml/orderbook/Cargo.toml +++ b/zrml/orderbook/Cargo.toml @@ -59,4 +59,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-orderbook" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/orderbook/fuzz/Cargo.toml b/zrml/orderbook/fuzz/Cargo.toml index d6818b212..c7a168aaf 100644 --- a/zrml/orderbook/fuzz/Cargo.toml +++ b/zrml/orderbook/fuzz/Cargo.toml @@ -17,7 +17,7 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-orderbook-fuzz" publish = false -version = "0.6.1" +version = "0.6.2" [package.metadata] cargo-fuzz = true diff --git a/zrml/orderbook/src/weights.rs b/zrml/orderbook/src/weights.rs index cdea44491..e6c45c457 100644 --- a/zrml/orderbook/src/weights.rs +++ b/zrml/orderbook/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_orderbook //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -67,8 +67,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `251` // Estimated: `4714` - // Minimum execution time: 43_001 nanoseconds. - Weight::from_parts(45_281_000, 4714) + // Minimum execution time: 44_901 nanoseconds. + Weight::from_parts(48_321_000, 4714) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -86,8 +86,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `970` // Estimated: `6214` - // Minimum execution time: 107_483 nanoseconds. - Weight::from_parts(110_612_000, 6214) + // Minimum execution time: 111_483 nanoseconds. + Weight::from_parts(116_603_000, 6214) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -103,8 +103,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `318` // Estimated: `4714` - // Minimum execution time: 51_311 nanoseconds. - Weight::from_parts(54_921_000, 4714) + // Minimum execution time: 52_451 nanoseconds. + Weight::from_parts(56_912_000, 4714) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/zrml/parimutuel/Cargo.toml b/zrml/parimutuel/Cargo.toml index 227ca70e6..0bf2090ed 100644 --- a/zrml/parimutuel/Cargo.toml +++ b/zrml/parimutuel/Cargo.toml @@ -48,4 +48,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-parimutuel" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/parimutuel/src/weights.rs b/zrml/parimutuel/src/weights.rs index 443c051fe..11daf23a2 100644 --- a/zrml/parimutuel/src/weights.rs +++ b/zrml/parimutuel/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_parimutuel //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -71,8 +71,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `390` // Estimated: `4173` - // Minimum execution time: 116_842 nanoseconds. - Weight::from_parts(119_072_000, 4173) + // Minimum execution time: 122_262 nanoseconds. + Weight::from_parts(129_153_000, 4173) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -88,8 +88,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `790` // Estimated: `4173` - // Minimum execution time: 119_062 nanoseconds. - Weight::from_parts(121_283_000, 4173) + // Minimum execution time: 127_023 nanoseconds. + Weight::from_parts(130_663_000, 4173) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -105,8 +105,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `790` // Estimated: `6054` - // Minimum execution time: 110_113 nanoseconds. - Weight::from_parts(112_452_000, 6054) + // Minimum execution time: 117_133 nanoseconds. + Weight::from_parts(119_652_000, 6054) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/zrml/prediction-markets/Cargo.toml b/zrml/prediction-markets/Cargo.toml index 81414556d..fa73f4ec8 100644 --- a/zrml/prediction-markets/Cargo.toml +++ b/zrml/prediction-markets/Cargo.toml @@ -96,4 +96,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-prediction-markets" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/prediction-markets/fuzz/Cargo.toml b/zrml/prediction-markets/fuzz/Cargo.toml index dab6184a5..fab2479bc 100644 --- a/zrml/prediction-markets/fuzz/Cargo.toml +++ b/zrml/prediction-markets/fuzz/Cargo.toml @@ -18,7 +18,7 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-prediction-markets-fuzz" publish = false -version = "0.6.1" +version = "0.6.2" [package.metadata] cargo-fuzz = true diff --git a/zrml/prediction-markets/runtime-api/Cargo.toml b/zrml/prediction-markets/runtime-api/Cargo.toml index ce19f2d9f..a08fa61df 100644 --- a/zrml/prediction-markets/runtime-api/Cargo.toml +++ b/zrml/prediction-markets/runtime-api/Cargo.toml @@ -17,4 +17,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-prediction-markets-runtime-api" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/prediction-markets/src/weights.rs b/zrml/prediction-markets/src/weights.rs index e7b18b8b7..d0b3a46ca 100644 --- a/zrml/prediction-markets/src/weights.rs +++ b/zrml/prediction-markets/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_prediction_markets //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -51,17 +51,17 @@ use frame_support::{traits::Get, weights::Weight}; /// Trait containing the required functions for weight retrival within /// zrml_prediction_markets (automatically generated) pub trait WeightInfoZeitgeist { - fn admin_move_market_to_closed(c: u32) -> Weight; - fn admin_move_market_to_resolved_scalar_reported(r: u32) -> Weight; - fn admin_move_market_to_resolved_categorical_reported(r: u32) -> Weight; - fn admin_move_market_to_resolved_scalar_disputed(r: u32) -> Weight; - fn admin_move_market_to_resolved_categorical_disputed(r: u32) -> Weight; + fn admin_move_market_to_closed(c: u32, ) -> Weight; + fn admin_move_market_to_resolved_scalar_reported(r: u32, ) -> Weight; + fn admin_move_market_to_resolved_categorical_reported(r: u32, ) -> Weight; + fn admin_move_market_to_resolved_scalar_disputed(r: u32, ) -> Weight; + fn admin_move_market_to_resolved_categorical_disputed(r: u32, ) -> Weight; fn approve_market() -> Weight; - fn request_edit(r: u32) -> Weight; - fn buy_complete_set(a: u32) -> Weight; - fn create_market(m: u32) -> Weight; - fn edit_market(m: u32) -> Weight; - fn start_global_dispute(m: u32, n: u32) -> Weight; + fn request_edit(r: u32, ) -> Weight; + fn buy_complete_set(a: u32, ) -> Weight; + fn create_market(m: u32, ) -> Weight; + fn edit_market(m: u32, ) -> Weight; + fn start_global_dispute(m: u32, n: u32, ) -> Weight; fn dispute_authorized() -> Weight; fn handle_expired_advised_market() -> Weight; fn internal_resolve_categorical_reported() -> Weight; @@ -71,21 +71,21 @@ pub trait WeightInfoZeitgeist { fn on_initialize_resolve_overhead() -> Weight; fn redeem_shares_categorical() -> Weight; fn redeem_shares_scalar() -> Weight; - fn reject_market(c: u32, r: u32) -> Weight; - fn report_market_with_dispute_mechanism(m: u32) -> Weight; + fn reject_market(c: u32, r: u32, ) -> Weight; + fn report_market_with_dispute_mechanism(m: u32, ) -> Weight; fn report_trusted_market() -> Weight; - fn sell_complete_set(a: u32) -> Weight; - fn market_status_manager(b: u32, f: u32) -> Weight; - fn market_resolution_manager(r: u32, d: u32) -> Weight; - fn schedule_early_close_as_authority(o: u32, n: u32) -> Weight; - fn schedule_early_close_after_dispute(o: u32, n: u32) -> Weight; - fn schedule_early_close_as_market_creator(o: u32, n: u32) -> Weight; - fn dispute_early_close(o: u32, n: u32) -> Weight; - fn reject_early_close_after_authority(o: u32, n: u32) -> Weight; + fn sell_complete_set(a: u32, ) -> Weight; + fn market_status_manager(b: u32, f: u32, ) -> Weight; + fn market_resolution_manager(r: u32, d: u32, ) -> Weight; + fn schedule_early_close_as_authority(o: u32, n: u32, ) -> Weight; + fn schedule_early_close_after_dispute(o: u32, n: u32, ) -> Weight; + fn schedule_early_close_as_market_creator(o: u32, n: u32, ) -> Weight; + fn dispute_early_close(o: u32, n: u32, ) -> Weight; + fn reject_early_close_after_authority(o: u32, n: u32, ) -> Weight; fn reject_early_close_after_dispute() -> Weight; - fn close_trusted_market(c: u32) -> Weight; - fn create_market_and_deploy_pool(m: u32, n: u32) -> Weight; - fn manually_close_market(o: u32) -> Weight; + fn close_trusted_market(c: u32, ) -> Weight; + fn create_market_and_deploy_pool(m: u32, n: u32, ) -> Weight; + fn manually_close_market(o: u32, ) -> Weight; } /// Weight functions for zrml_prediction_markets (automatically generated) @@ -98,14 +98,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 63]`. - fn admin_move_market_to_closed(c: u32) -> Weight { + fn admin_move_market_to_closed(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + c * (16 ±0)` // Estimated: `4515` - // Minimum execution time: 45_931 nanoseconds. - Weight::from_parts(47_636_883, 4515) - // Standard Error: 3_172 - .saturating_add(Weight::from_parts(36_511, 0).saturating_mul(c.into())) + // Minimum execution time: 46_091 nanoseconds. + Weight::from_parts(48_940_821, 4515) + // Standard Error: 5_120 + .saturating_add(Weight::from_parts(51_823, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,14 +116,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Balances::Reserves` (r:1 w:1) /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 63]`. - fn admin_move_market_to_resolved_scalar_reported(r: u32) -> Weight { + fn admin_move_market_to_resolved_scalar_reported(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `708 + r * (16 ±0)` // Estimated: `4714` - // Minimum execution time: 96_252 nanoseconds. - Weight::from_parts(99_032_120, 4714) - // Standard Error: 4_287 - .saturating_add(Weight::from_parts(35_173, 0).saturating_mul(r.into())) + // Minimum execution time: 99_362 nanoseconds. + Weight::from_parts(104_512_476, 4714) + // Standard Error: 9_331 + .saturating_add(Weight::from_parts(64_952, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -134,14 +134,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Balances::Reserves` (r:1 w:1) /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 63]`. - fn admin_move_market_to_resolved_categorical_reported(r: u32) -> Weight { + fn admin_move_market_to_resolved_categorical_reported(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `664 + r * (16 ±0)` // Estimated: `4714` - // Minimum execution time: 95_662 nanoseconds. - Weight::from_parts(98_355_774, 4714) - // Standard Error: 3_737 - .saturating_add(Weight::from_parts(36_987, 0).saturating_mul(r.into())) + // Minimum execution time: 99_182 nanoseconds. + Weight::from_parts(104_308_473, 4714) + // Standard Error: 8_941 + .saturating_add(Weight::from_parts(86_279, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -158,14 +158,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 63]`. - fn admin_move_market_to_resolved_scalar_disputed(r: u32) -> Weight { + fn admin_move_market_to_resolved_scalar_disputed(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1240 + r * (16 ±0)` // Estimated: `8438` - // Minimum execution time: 165_324 nanoseconds. - Weight::from_parts(169_741_261, 8438) - // Standard Error: 5_354 - .saturating_add(Weight::from_parts(36_700, 0).saturating_mul(r.into())) + // Minimum execution time: 169_894 nanoseconds. + Weight::from_parts(182_950_191, 8438) + // Standard Error: 27_982 + .saturating_add(Weight::from_parts(7_047, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -182,14 +182,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 63]`. - fn admin_move_market_to_resolved_categorical_disputed(r: u32) -> Weight { + fn admin_move_market_to_resolved_categorical_disputed(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1181 + r * (16 ±0)` // Estimated: `8438` - // Minimum execution time: 164_674 nanoseconds. - Weight::from_parts(169_085_226, 8438) - // Standard Error: 9_409 - .saturating_add(Weight::from_parts(52_280, 0).saturating_mul(r.into())) + // Minimum execution time: 167_014 nanoseconds. + Weight::from_parts(178_246_606, 8438) + // Standard Error: 22_141 + .saturating_add(Weight::from_parts(53_368, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -203,8 +203,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `564` // Estimated: `4714` - // Minimum execution time: 58_591 nanoseconds. - Weight::from_parts(61_311_000, 4714) + // Minimum execution time: 60_041 nanoseconds. + Weight::from_parts(63_642_000, 4714) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -213,14 +213,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `PredictionMarkets::MarketIdsForEdit` (r:1 w:1) /// Proof: `PredictionMarkets::MarketIdsForEdit` (`max_values`: None, `max_size`: Some(1050), added: 3525, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 1024]`. - fn request_edit(r: u32) -> Weight { + fn request_edit(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `503` // Estimated: `4515` - // Minimum execution time: 26_711 nanoseconds. - Weight::from_parts(28_252_960, 4515) - // Standard Error: 124 - .saturating_add(Weight::from_parts(968, 0).saturating_mul(r.into())) + // Minimum execution time: 26_601 nanoseconds. + Weight::from_parts(29_715_189, 4515) + // Standard Error: 266 + .saturating_add(Weight::from_parts(647, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -233,19 +233,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Tokens::TotalIssuance` (r:64 w:64) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `a` is `[2, 64]`. - fn buy_complete_set(a: u32) -> Weight { + fn buy_complete_set(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `538` // Estimated: `4173 + a * (2612 ±0)` - // Minimum execution time: 122_503 nanoseconds. - Weight::from_parts(81_498_648, 4173) - // Standard Error: 38_065 - .saturating_add(Weight::from_parts(18_018_563, 0).saturating_mul(a.into())) + // Minimum execution time: 127_003 nanoseconds. + Weight::from_parts(97_537_906, 4173) + // Standard Error: 28_130 + .saturating_add(Weight::from_parts(18_737_063, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(a.into())) } /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) @@ -258,14 +258,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `MarketCommons::Markets` (r:0 w:1) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) /// The range of component `m` is `[0, 63]`. - fn create_market(m: u32) -> Weight { + fn create_market(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `241 + m * (16 ±0)` // Estimated: `4714` - // Minimum execution time: 64_522 nanoseconds. - Weight::from_parts(71_093_452, 4714) - // Standard Error: 6_009 - .saturating_add(Weight::from_parts(27_945, 0).saturating_mul(m.into())) + // Minimum execution time: 66_432 nanoseconds. + Weight::from_parts(75_203_722, 4714) + // Standard Error: 8_513 + .saturating_add(Weight::from_parts(57_066, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -278,14 +278,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `m` is `[0, 63]`. - fn edit_market(m: u32) -> Weight { + fn edit_market(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `720 + m * (16 ±0)` // Estimated: `4515` - // Minimum execution time: 60_942 nanoseconds. - Weight::from_parts(63_451_400, 4515) - // Standard Error: 3_137 - .saturating_add(Weight::from_parts(42_627, 0).saturating_mul(m.into())) + // Minimum execution time: 62_601 nanoseconds. + Weight::from_parts(68_861_288, 4515) + // Standard Error: 9_458 + .saturating_add(Weight::from_parts(11_608, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -311,14 +311,16 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `PredictionMarkets::MarketIdsPerDisputeBlock` (`max_values`: None, `max_size`: Some(1042), added: 3517, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 64]`. /// The range of component `n` is `[1, 64]`. - fn start_global_dispute(m: u32, _n: u32) -> Weight { + fn start_global_dispute(m: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `8805 + m * (16 ±0)` // Estimated: `153439` - // Minimum execution time: 377_558 nanoseconds. - Weight::from_parts(390_416_391, 153439) - // Standard Error: 15_054 - .saturating_add(Weight::from_parts(2_038, 0).saturating_mul(m.into())) + // Minimum execution time: 362_449 nanoseconds. + Weight::from_parts(385_424_724, 153439) + // Standard Error: 28_997 + .saturating_add(Weight::from_parts(17_318, 0).saturating_mul(m.into())) + // Standard Error: 28_997 + .saturating_add(Weight::from_parts(23_891, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(40)) .saturating_add(T::DbWeight::get().writes(36)) } @@ -330,8 +332,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `610` // Estimated: `4714` - // Minimum execution time: 50_401 nanoseconds. - Weight::from_parts(52_151_000, 4714) + // Minimum execution time: 50_732 nanoseconds. + Weight::from_parts(54_051_000, 4714) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -345,8 +347,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `523` // Estimated: `4714` - // Minimum execution time: 71_532 nanoseconds. - Weight::from_parts(74_212_000, 4714) + // Minimum execution time: 74_351 nanoseconds. + Weight::from_parts(76_811_000, 4714) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -358,8 +360,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `566` // Estimated: `4714` - // Minimum execution time: 71_091 nanoseconds. - Weight::from_parts(71_752_000, 4714) + // Minimum execution time: 73_831 nanoseconds. + Weight::from_parts(76_702_000, 4714) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -375,8 +377,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `859` // Estimated: `4714` - // Minimum execution time: 121_733 nanoseconds. - Weight::from_parts(123_383_000, 4714) + // Minimum execution time: 127_653 nanoseconds. + Weight::from_parts(131_862_000, 4714) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -388,8 +390,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `610` // Estimated: `4714` - // Minimum execution time: 70_892 nanoseconds. - Weight::from_parts(72_851_000, 4714) + // Minimum execution time: 74_361 nanoseconds. + Weight::from_parts(76_892_000, 4714) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -405,8 +407,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `918` // Estimated: `4714` - // Minimum execution time: 122_733 nanoseconds. - Weight::from_parts(127_074_000, 4714) + // Minimum execution time: 128_343 nanoseconds. + Weight::from_parts(132_533_000, 4714) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -426,8 +428,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `112` // Estimated: `4515` - // Minimum execution time: 26_320 nanoseconds. - Weight::from_parts(27_211_000, 4515) + // Minimum execution time: 25_840 nanoseconds. + Weight::from_parts(27_381_000, 4515) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -443,8 +445,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `1982` // Estimated: `4173` - // Minimum execution time: 130_393 nanoseconds. - Weight::from_parts(132_833_000, 4173) + // Minimum execution time: 134_943 nanoseconds. + Weight::from_parts(138_793_000, 4173) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -460,8 +462,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `1097` // Estimated: `6214` - // Minimum execution time: 149_294 nanoseconds. - Weight::from_parts(152_044_000, 6214) + // Minimum execution time: 153_454 nanoseconds. + Weight::from_parts(161_073_000, 6214) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -475,16 +477,16 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `PredictionMarkets::MarketIdsForEdit` (`max_values`: None, `max_size`: Some(1050), added: 3525, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 63]`. /// The range of component `r` is `[0, 1024]`. - fn reject_market(c: u32, r: u32) -> Weight { + fn reject_market(c: u32, r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `595 + c * (16 ±0)` // Estimated: `4714` - // Minimum execution time: 96_542 nanoseconds. - Weight::from_parts(99_064_122, 4714) - // Standard Error: 4_172 - .saturating_add(Weight::from_parts(39_364, 0).saturating_mul(c.into())) - // Standard Error: 258 - .saturating_add(Weight::from_parts(501, 0).saturating_mul(r.into())) + // Minimum execution time: 99_013 nanoseconds. + Weight::from_parts(105_625_305, 4714) + // Standard Error: 5_897 + .saturating_add(Weight::from_parts(46_980, 0).saturating_mul(c.into())) + // Standard Error: 365 + .saturating_add(Weight::from_parts(420, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -495,14 +497,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `PredictionMarkets::MarketIdsPerReportBlock` (r:1 w:1) /// Proof: `PredictionMarkets::MarketIdsPerReportBlock` (`max_values`: None, `max_size`: Some(1042), added: 3517, mode: `MaxEncodedLen`) /// The range of component `m` is `[0, 63]`. - fn report_market_with_dispute_mechanism(m: u32) -> Weight { + fn report_market_with_dispute_mechanism(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4507` - // Minimum execution time: 41_131 nanoseconds. - Weight::from_parts(44_066_862, 4507) - // Standard Error: 2_877 - .saturating_add(Weight::from_parts(8_136, 0).saturating_mul(m.into())) + // Minimum execution time: 41_721 nanoseconds. + Weight::from_parts(45_820_276, 4507) + // Standard Error: 6_878 + .saturating_add(Weight::from_parts(37_238, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -514,8 +516,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `522` // Estimated: `4714` - // Minimum execution time: 91_642 nanoseconds. - Weight::from_parts(93_163_000, 4714) + // Minimum execution time: 94_542 nanoseconds. + Weight::from_parts(97_552_000, 4714) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -528,19 +530,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Tokens::TotalIssuance` (r:64 w:64) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// The range of component `a` is `[2, 64]`. - fn sell_complete_set(a: u32) -> Weight { + fn sell_complete_set(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `745 + a * (129 ±0)` // Estimated: `4173 + a * (2612 ±0)` - // Minimum execution time: 147_404 nanoseconds. - Weight::from_parts(88_811_122, 4173) - // Standard Error: 53_244 - .saturating_add(Weight::from_parts(26_663_682, 0).saturating_mul(a.into())) + // Minimum execution time: 152_234 nanoseconds. + Weight::from_parts(100_368_286, 4173) + // Standard Error: 36_411 + .saturating_add(Weight::from_parts(27_731_531, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(a.into())) } /// Storage: `PredictionMarkets::MarketIdsPerCloseBlock` (r:1 w:1) /// Proof: `PredictionMarkets::MarketIdsPerCloseBlock` (`max_values`: None, `max_size`: Some(1050), added: 3525, mode: `MaxEncodedLen`) @@ -550,22 +552,22 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `PredictionMarkets::MarketIdsPerCloseTimeFrame` (`max_values`: None, `max_size`: Some(1050), added: 3525, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 31]`. /// The range of component `f` is `[1, 31]`. - fn market_status_manager(b: u32, f: u32) -> Weight { + fn market_status_manager(b: u32, f: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2475 + b * (312 ±0) + f * (314 ±0)` // Estimated: `4515 + b * (3183 ±0) + f * (3183 ±0)` - // Minimum execution time: 226_205 nanoseconds. - Weight::from_parts(53_147_678, 4515) - // Standard Error: 24_356 - .saturating_add(Weight::from_parts(5_742_010, 0).saturating_mul(b.into())) - // Standard Error: 24_356 - .saturating_add(Weight::from_parts(5_858_721, 0).saturating_mul(f.into())) + // Minimum execution time: 215_634 nanoseconds. + Weight::from_parts(48_002_016, 4515) + // Standard Error: 49_241 + .saturating_add(Weight::from_parts(5_717_722, 0).saturating_mul(b.into())) + // Standard Error: 49_241 + .saturating_add(Weight::from_parts(5_850_332, 0).saturating_mul(f.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(f.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 3183).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 3183).saturating_mul(f.into())) + .saturating_add(Weight::from_parts(0, 3183).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 3183).saturating_mul(f.into())) } /// Storage: `PredictionMarkets::MarketIdsPerReportBlock` (r:1 w:1) /// Proof: `PredictionMarkets::MarketIdsPerReportBlock` (`max_values`: None, `max_size`: Some(1042), added: 3517, mode: `MaxEncodedLen`) @@ -575,22 +577,22 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `PredictionMarkets::MarketIdsPerDisputeBlock` (`max_values`: None, `max_size`: Some(1042), added: 3517, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 31]`. /// The range of component `d` is `[1, 31]`. - fn market_resolution_manager(r: u32, d: u32) -> Weight { + fn market_resolution_manager(r: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2419 + d * (314 ±0) + r * (312 ±0)` // Estimated: `4507 + d * (3183 ±0) + r * (3183 ±0)` - // Minimum execution time: 223_775 nanoseconds. - Weight::from_parts(45_147_311, 4507) - // Standard Error: 24_675 - .saturating_add(Weight::from_parts(5_843_926, 0).saturating_mul(r.into())) - // Standard Error: 24_675 - .saturating_add(Weight::from_parts(5_951_004, 0).saturating_mul(d.into())) + // Minimum execution time: 213_784 nanoseconds. + Weight::from_parts(51_263_083, 4507) + // Standard Error: 55_916 + .saturating_add(Weight::from_parts(5_626_283, 0).saturating_mul(r.into())) + // Standard Error: 55_916 + .saturating_add(Weight::from_parts(5_757_825, 0).saturating_mul(d.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().reads((1_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 3183).saturating_mul(d.into())) - .saturating_add(Weight::from_parts(0, 3183).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 3183).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 3183).saturating_mul(r.into())) } /// Storage: `MarketCommons::Markets` (r:1 w:1) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -600,14 +602,16 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `PredictionMarkets::MarketIdsPerCloseTimeFrame` (`max_values`: None, `max_size`: Some(1050), added: 3525, mode: `MaxEncodedLen`) /// The range of component `o` is `[0, 63]`. /// The range of component `n` is `[0, 63]`. - fn schedule_early_close_as_authority(o: u32, _n: u32) -> Weight { + fn schedule_early_close_as_authority(o: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `732 + o * (16 ±0)` // Estimated: `8040` - // Minimum execution time: 50_731 nanoseconds. - Weight::from_parts(55_028_689, 8040) - // Standard Error: 4_595 - .saturating_add(Weight::from_parts(21_381, 0).saturating_mul(o.into())) + // Minimum execution time: 51_351 nanoseconds. + Weight::from_parts(55_108_084, 8040) + // Standard Error: 3_812 + .saturating_add(Weight::from_parts(45_470, 0).saturating_mul(o.into())) + // Standard Error: 3_812 + .saturating_add(Weight::from_parts(12_465, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -621,16 +625,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `PredictionMarkets::MarketIdsPerCloseTimeFrame` (`max_values`: None, `max_size`: Some(1050), added: 3525, mode: `MaxEncodedLen`) /// The range of component `o` is `[0, 63]`. /// The range of component `n` is `[0, 63]`. - fn schedule_early_close_after_dispute(o: u32, n: u32) -> Weight { + fn schedule_early_close_after_dispute(o: u32, _n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `955 + o * (16 ±0)` // Estimated: `8040` - // Minimum execution time: 109_793 nanoseconds. - Weight::from_parts(112_109_683, 8040) - // Standard Error: 3_238 - .saturating_add(Weight::from_parts(31_543, 0).saturating_mul(o.into())) - // Standard Error: 3_238 - .saturating_add(Weight::from_parts(14_146, 0).saturating_mul(n.into())) + // Minimum execution time: 113_032 nanoseconds. + Weight::from_parts(121_238_121, 8040) + // Standard Error: 13_257 + .saturating_add(Weight::from_parts(9_896, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -644,16 +646,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `PredictionMarkets::MarketIdsPerCloseTimeFrame` (`max_values`: None, `max_size`: Some(1050), added: 3525, mode: `MaxEncodedLen`) /// The range of component `o` is `[0, 63]`. /// The range of component `n` is `[0, 63]`. - fn schedule_early_close_as_market_creator(o: u32, n: u32) -> Weight { + fn schedule_early_close_as_market_creator(o: u32, _n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `793 + o * (16 ±0)` // Estimated: `8040` - // Minimum execution time: 79_782 nanoseconds. - Weight::from_parts(83_239_118, 8040) - // Standard Error: 4_439 - .saturating_add(Weight::from_parts(26_136, 0).saturating_mul(o.into())) - // Standard Error: 4_439 - .saturating_add(Weight::from_parts(20_054, 0).saturating_mul(n.into())) + // Minimum execution time: 82_091 nanoseconds. + Weight::from_parts(88_645_175, 8040) + // Standard Error: 7_683 + .saturating_add(Weight::from_parts(48_227, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -667,16 +667,16 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `PredictionMarkets::MarketIdsPerCloseTimeFrame` (`max_values`: None, `max_size`: Some(1050), added: 3525, mode: `MaxEncodedLen`) /// The range of component `o` is `[0, 63]`. /// The range of component `n` is `[0, 63]`. - fn dispute_early_close(o: u32, n: u32) -> Weight { + fn dispute_early_close(o: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `877 + n * (16 ±0) + o * (16 ±0)` // Estimated: `8040` - // Minimum execution time: 76_252 nanoseconds. - Weight::from_parts(79_786_676, 8040) - // Standard Error: 4_467 - .saturating_add(Weight::from_parts(26_112, 0).saturating_mul(o.into())) - // Standard Error: 4_467 - .saturating_add(Weight::from_parts(17_726, 0).saturating_mul(n.into())) + // Minimum execution time: 78_942 nanoseconds. + Weight::from_parts(81_406_222, 8040) + // Standard Error: 9_389 + .saturating_add(Weight::from_parts(75_487, 0).saturating_mul(o.into())) + // Standard Error: 9_389 + .saturating_add(Weight::from_parts(63_734, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -688,16 +688,16 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `PredictionMarkets::MarketIdsPerCloseTimeFrame` (`max_values`: None, `max_size`: Some(1050), added: 3525, mode: `MaxEncodedLen`) /// The range of component `o` is `[0, 63]`. /// The range of component `n` is `[0, 63]`. - fn reject_early_close_after_authority(o: u32, n: u32) -> Weight { + fn reject_early_close_after_authority(o: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `767 + n * (16 ±0) + o * (16 ±0)` // Estimated: `8040` - // Minimum execution time: 56_291 nanoseconds. - Weight::from_parts(58_016_068, 8040) - // Standard Error: 3_382 - .saturating_add(Weight::from_parts(25_509, 0).saturating_mul(o.into())) - // Standard Error: 3_382 - .saturating_add(Weight::from_parts(26_577, 0).saturating_mul(n.into())) + // Minimum execution time: 57_671 nanoseconds. + Weight::from_parts(61_565_402, 8040) + // Standard Error: 4_104 + .saturating_add(Weight::from_parts(26_996, 0).saturating_mul(o.into())) + // Standard Error: 4_104 + .saturating_add(Weight::from_parts(22_324, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -709,8 +709,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `656` // Estimated: `4714` - // Minimum execution time: 81_952 nanoseconds. - Weight::from_parts(84_032_000, 4714) + // Minimum execution time: 85_622 nanoseconds. + Weight::from_parts(87_532_000, 4714) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -721,14 +721,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 63]`. - fn close_trusted_market(c: u32) -> Weight { + fn close_trusted_market(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `694 + c * (16 ±0)` // Estimated: `4515` - // Minimum execution time: 46_841 nanoseconds. - Weight::from_parts(48_849_779, 4515) - // Standard Error: 2_708 - .saturating_add(Weight::from_parts(24_150, 0).saturating_mul(c.into())) + // Minimum execution time: 46_641 nanoseconds. + Weight::from_parts(49_904_007, 4515) + // Standard Error: 4_890 + .saturating_add(Weight::from_parts(39_313, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -756,21 +756,21 @@ impl WeightInfoZeitgeist for WeightInfo { /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) /// The range of component `m` is `[0, 63]`. /// The range of component `n` is `[2, 64]`. - fn create_market_and_deploy_pool(m: u32, n: u32) -> Weight { + fn create_market_and_deploy_pool(m: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `411 + m * (16 ±0)` // Estimated: `6204 + n * (5224 ±0)` - // Minimum execution time: 315_778 nanoseconds. - Weight::from_parts(206_047_958, 6204) - // Standard Error: 155_743 - .saturating_add(Weight::from_parts(442_844, 0).saturating_mul(m.into())) - // Standard Error: 158_076 - .saturating_add(Weight::from_parts(50_123_972, 0).saturating_mul(n.into())) + // Minimum execution time: 328_067 nanoseconds. + Weight::from_parts(220_562_282, 6204) + // Standard Error: 72_677 + .saturating_add(Weight::from_parts(395_561, 0).saturating_mul(m.into())) + // Standard Error: 73_766 + .saturating_add(Weight::from_parts(51_843_600, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 5224).saturating_mul(n.into())) } /// Storage: `MarketCommons::Markets` (r:1 w:1) /// Proof: `MarketCommons::Markets` (`max_values`: None, `max_size`: Some(708), added: 3183, mode: `MaxEncodedLen`) @@ -779,14 +779,14 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `PredictionMarkets::MarketIdsPerCloseTimeFrame` (r:1 w:1) /// Proof: `PredictionMarkets::MarketIdsPerCloseTimeFrame` (`max_values`: None, `max_size`: Some(1050), added: 3525, mode: `MaxEncodedLen`) /// The range of component `o` is `[1, 63]`. - fn manually_close_market(o: u32) -> Weight { + fn manually_close_market(o: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `679 + o * (16 ±0)` // Estimated: `4515` - // Minimum execution time: 44_501 nanoseconds. - Weight::from_parts(46_124_068, 4515) - // Standard Error: 3_707 - .saturating_add(Weight::from_parts(44_852, 0).saturating_mul(o.into())) + // Minimum execution time: 44_391 nanoseconds. + Weight::from_parts(48_734_917, 4515) + // Standard Error: 8_544 + .saturating_add(Weight::from_parts(11_305, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/zrml/styx/Cargo.toml b/zrml/styx/Cargo.toml index 2d8fab8e9..816e9307b 100644 --- a/zrml/styx/Cargo.toml +++ b/zrml/styx/Cargo.toml @@ -39,4 +39,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-styx" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/styx/src/weights.rs b/zrml/styx/src/weights.rs index 2f5a0833f..01d8fb1a6 100644 --- a/zrml/styx/src/weights.rs +++ b/zrml/styx/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_styx //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -66,8 +66,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3513` - // Minimum execution time: 39_791 nanoseconds. - Weight::from_parts(41_711_000, 3513) + // Minimum execution time: 41_391 nanoseconds. + Weight::from_parts(46_691_000, 3513) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -77,7 +77,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_770 nanoseconds. - Weight::from_parts(8_160_000, 0).saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 8_220 nanoseconds. + Weight::from_parts(9_240_000, 0) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/zrml/swaps/Cargo.toml b/zrml/swaps/Cargo.toml index 41bdb8a40..b0642173e 100644 --- a/zrml/swaps/Cargo.toml +++ b/zrml/swaps/Cargo.toml @@ -67,4 +67,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-swaps" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/swaps/fuzz/Cargo.toml b/zrml/swaps/fuzz/Cargo.toml index f90f8b3fa..cb2998508 100644 --- a/zrml/swaps/fuzz/Cargo.toml +++ b/zrml/swaps/fuzz/Cargo.toml @@ -68,7 +68,7 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-swaps-fuzz" publish = false -version = "0.6.1" +version = "0.6.2" [package.metadata] cargo-fuzz = true diff --git a/zrml/swaps/rpc/Cargo.toml b/zrml/swaps/rpc/Cargo.toml index c3cc1d500..f9d6f29fe 100644 --- a/zrml/swaps/rpc/Cargo.toml +++ b/zrml/swaps/rpc/Cargo.toml @@ -13,4 +13,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-swaps-rpc" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/swaps/runtime-api/Cargo.toml b/zrml/swaps/runtime-api/Cargo.toml index f83b7ffe9..7b0424066 100644 --- a/zrml/swaps/runtime-api/Cargo.toml +++ b/zrml/swaps/runtime-api/Cargo.toml @@ -20,4 +20,4 @@ edition.workspace = true license = "GPL-3.0-or-later" name = "zrml-swaps-runtime-api" publish = false -version = "0.6.1" +version = "0.6.2" diff --git a/zrml/swaps/src/weights.rs b/zrml/swaps/src/weights.rs index 987d93fc6..265267695 100644 --- a/zrml/swaps/src/weights.rs +++ b/zrml/swaps/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_swaps //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0 -//! DATE: `2025-07-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: `2025-12-03`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ztg-benchmark`, CPU: `AMD EPYC 7713 64-Core Processor` //! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -51,17 +51,17 @@ use frame_support::{traits::Get, weights::Weight}; /// Trait containing the required functions for weight retrival within /// zrml_swaps (automatically generated) pub trait WeightInfoZeitgeist { - fn pool_exit(a: u32) -> Weight; + fn pool_exit(a: u32, ) -> Weight; fn pool_exit_with_exact_asset_amount() -> Weight; fn pool_exit_with_exact_pool_amount() -> Weight; - fn pool_join(a: u32) -> Weight; + fn pool_join(a: u32, ) -> Weight; fn pool_join_with_exact_asset_amount() -> Weight; fn pool_join_with_exact_pool_amount() -> Weight; fn swap_exact_amount_in() -> Weight; fn swap_exact_amount_out() -> Weight; - fn open_pool(a: u32) -> Weight; - fn close_pool(a: u32) -> Weight; - fn destroy_pool(a: u32) -> Weight; + fn open_pool(a: u32, ) -> Weight; + fn close_pool(a: u32, ) -> Weight; + fn destroy_pool(a: u32, ) -> Weight; } /// Weight functions for zrml_swaps (automatically generated) @@ -76,19 +76,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[2, 65]`. - fn pool_exit(a: u32) -> Weight { + fn pool_exit(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `753 + a * (144 ±0)` // Estimated: `8864 + a * (5224 ±0)` - // Minimum execution time: 136_113 nanoseconds. - Weight::from_parts(54_292_960, 8864) - // Standard Error: 86_065 - .saturating_add(Weight::from_parts(37_157_248, 0).saturating_mul(a.into())) + // Minimum execution time: 141_923 nanoseconds. + Weight::from_parts(70_308_045, 8864) + // Standard Error: 49_399 + .saturating_add(Weight::from_parts(39_565_153, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 5224).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 5224).saturating_mul(a.into())) } /// Storage: `Swaps::Pools` (r:1 w:0) /// Proof: `Swaps::Pools` (`max_values`: None, `max_size`: Some(5399), added: 7874, mode: `MaxEncodedLen`) @@ -102,8 +102,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `5419` // Estimated: `8864` - // Minimum execution time: 129_863 nanoseconds. - Weight::from_parts(135_823_000, 8864) + // Minimum execution time: 126_753 nanoseconds. + Weight::from_parts(129_563_000, 8864) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -119,8 +119,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `5419` // Estimated: `8864` - // Minimum execution time: 130_573 nanoseconds. - Weight::from_parts(136_713_000, 8864) + // Minimum execution time: 124_533 nanoseconds. + Weight::from_parts(129_573_000, 8864) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -131,19 +131,19 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `Tokens::Accounts` (r:131 w:131) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// The range of component `a` is `[2, 65]`. - fn pool_join(a: u32) -> Weight { + fn pool_join(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `662 + a * (225 ±0)` // Estimated: `8864 + a * (5224 ±0)` - // Minimum execution time: 108_172 nanoseconds. - Weight::from_parts(43_825_476, 8864) - // Standard Error: 60_416 - .saturating_add(Weight::from_parts(29_023_563, 0).saturating_mul(a.into())) + // Minimum execution time: 110_702 nanoseconds. + Weight::from_parts(51_272_708, 8864) + // Standard Error: 41_047 + .saturating_add(Weight::from_parts(30_650_718, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 5224).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 5224).saturating_mul(a.into())) } /// Storage: `Swaps::Pools` (r:1 w:0) /// Proof: `Swaps::Pools` (`max_values`: None, `max_size`: Some(5399), added: 7874, mode: `MaxEncodedLen`) @@ -155,8 +155,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `6101` // Estimated: `8864` - // Minimum execution time: 120_032 nanoseconds. - Weight::from_parts(124_722_000, 8864) + // Minimum execution time: 114_892 nanoseconds. + Weight::from_parts(117_182_000, 8864) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -170,8 +170,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `6101` // Estimated: `8864` - // Minimum execution time: 112_432 nanoseconds. - Weight::from_parts(117_713_000, 8864) + // Minimum execution time: 107_352 nanoseconds. + Weight::from_parts(111_172_000, 8864) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -185,8 +185,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `4984` // Estimated: `11438` - // Minimum execution time: 206_855 nanoseconds. - Weight::from_parts(212_785_000, 11438) + // Minimum execution time: 184_904 nanoseconds. + Weight::from_parts(189_304_000, 11438) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -200,36 +200,36 @@ impl WeightInfoZeitgeist for WeightInfo { // Proof Size summary in bytes: // Measured: `4984` // Estimated: `11438` - // Minimum execution time: 203_914 nanoseconds. - Weight::from_parts(207_254_000, 11438) + // Minimum execution time: 185_584 nanoseconds. + Weight::from_parts(191_714_000, 11438) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Swaps::Pools` (r:1 w:1) /// Proof: `Swaps::Pools` (`max_values`: None, `max_size`: Some(5399), added: 7874, mode: `MaxEncodedLen`) /// The range of component `a` is `[2, 65]`. - fn open_pool(a: u32) -> Weight { + fn open_pool(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `136 + a * (54 ±0)` // Estimated: `8864` - // Minimum execution time: 19_230 nanoseconds. - Weight::from_parts(20_533_798, 8864) - // Standard Error: 3_639 - .saturating_add(Weight::from_parts(553_992, 0).saturating_mul(a.into())) + // Minimum execution time: 19_080 nanoseconds. + Weight::from_parts(21_436_886, 8864) + // Standard Error: 3_118 + .saturating_add(Weight::from_parts(353_868, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Swaps::Pools` (r:1 w:1) /// Proof: `Swaps::Pools` (`max_values`: None, `max_size`: Some(5399), added: 7874, mode: `MaxEncodedLen`) /// The range of component `a` is `[2, 65]`. - fn close_pool(a: u32) -> Weight { + fn close_pool(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `136 + a * (54 ±0)` // Estimated: `8864` - // Minimum execution time: 16_360 nanoseconds. - Weight::from_parts(17_672_927, 8864) - // Standard Error: 2_871 - .saturating_add(Weight::from_parts(316_604, 0).saturating_mul(a.into())) + // Minimum execution time: 15_860 nanoseconds. + Weight::from_parts(18_006_220, 8864) + // Standard Error: 2_843 + .saturating_add(Weight::from_parts(221_368, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -242,18 +242,18 @@ impl WeightInfoZeitgeist for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[2, 65]`. - fn destroy_pool(a: u32) -> Weight { + fn destroy_pool(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `505 + a * (182 ±0)` // Estimated: `8864 + a * (2612 ±0)` - // Minimum execution time: 79_742 nanoseconds. - Weight::from_parts(24_390_438, 8864) - // Standard Error: 68_053 - .saturating_add(Weight::from_parts(25_916_500, 0).saturating_mul(a.into())) + // Minimum execution time: 79_822 nanoseconds. + Weight::from_parts(30_835_868, 8864) + // Standard Error: 33_258 + .saturating_add(Weight::from_parts(27_146_612, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2612).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2612).saturating_mul(a.into())) } }