diff --git a/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs index f14fd748f..d7955d73b 100644 --- a/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for cumulus_pallet_xcmp_queue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-12`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,16 +52,26 @@ use frame_support::{ /// Weight functions for cumulus_pallet_xcmp_queue (automatically generated) pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::weights::WeightInfo for WeightInfo { - // Storage: XcmpQueue QueueConfig (r:1 w:1) + /// Storage: XcmpQueue QueueConfig (r:1 w:1) + /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_u32() -> Weight { - Weight::from_ref_time(16_530_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 10_120 nanoseconds. + Weight::from_parts(10_640_000, 604) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: XcmpQueue QueueConfig (r:1 w:1) + /// Storage: XcmpQueue QueueConfig (r:1 w:1) + /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_weight() -> Weight { - Weight::from_ref_time(13_770_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `604` + // Minimum execution time: 8_490 nanoseconds. + Weight::from_parts(10_440_000, 604) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/frame_system.rs b/runtime/common/src/weights/frame_system.rs index ac21fa85a..aca47dfd0 100644 --- a/runtime/common/src/weights/frame_system.rs +++ b/runtime/common/src/weights/frame_system.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -50,41 +53,68 @@ use frame_support::{ pub struct WeightInfo(PhantomData); impl frame_system::weights::WeightInfo for WeightInfo { fn remark(b: u32) -> Weight { - Weight::from_ref_time(8_310_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_430 nanoseconds. + Weight::from_ref_time(3_950_000) // Standard Error: 2 - .saturating_add(Weight::from_ref_time(736).saturating_mul(b.into())) + .saturating_add(Weight::from_ref_time(835).saturating_mul(b.into())) } fn remark_with_event(b: u32) -> Weight { - Weight::from_ref_time(26_690_000) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(2_552).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_930 nanoseconds. + Weight::from_ref_time(14_600_000) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(2_737).saturating_mul(b.into())) } - // Storage: System Digest (r:1 w:1) - // Storage: unknown [0x3a686561707061676573] (r:0 w:1) + /// Storage: System Digest (r:1 w:1) + /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: unknown `0x3a686561707061676573` (r:0 w:1) + /// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(21_740_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `495` + // Minimum execution time: 7_810 nanoseconds. + Weight::from_parts(8_230_000, 495) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) fn set_storage(i: u32) -> Weight { - Weight::from_ref_time(13_617_603) - // Standard Error: 10_697 - .saturating_add(Weight::from_ref_time(1_193_287).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_760 nanoseconds. + Weight::from_ref_time(4_060_000) + // Standard Error: 2_911 + .saturating_add(Weight::from_ref_time(1_239_922).saturating_mul(i.into())) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) fn kill_storage(i: u32) -> Weight { - Weight::from_ref_time(287_703) - // Standard Error: 10_038 - .saturating_add(Weight::from_ref_time(1_039_732).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_470 nanoseconds. + Weight::from_ref_time(4_020_000) + // Standard Error: 2_512 + .saturating_add(Weight::from_ref_time(988_309).saturating_mul(i.into())) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) fn kill_prefix(p: u32) -> Weight { - Weight::from_ref_time(14_620_000) - // Standard Error: 9_413 - .saturating_add(Weight::from_ref_time(2_130_455).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + // Proof Size summary in bytes: + // Measured: `52 + p * (69 ±0)` + // Estimated: `52 + p * (70 ±0)` + // Minimum execution time: 6_450 nanoseconds. + Weight::from_parts(7_440_000, 52) + // Standard Error: 6_270 + .saturating_add(Weight::from_ref_time(2_225_372).saturating_mul(p.into())) + .saturating_add(Weight::from_proof_size(70).saturating_mul(p.into())) } } diff --git a/runtime/common/src/weights/orml_currencies.rs b/runtime/common/src/weights/orml_currencies.rs index f05185036..964f100cf 100644 --- a/runtime/common/src/weights/orml_currencies.rs +++ b/runtime/common/src/weights/orml_currencies.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for orml_currencies //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/orml_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -46,37 +49,65 @@ use frame_support::{traits::Get, weights::Weight}; /// Weight functions for orml_currencies (automatically generated) pub struct WeightInfo(PhantomData); impl orml_currencies::WeightInfo for WeightInfo { - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:1 w:1) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn transfer_non_native_currency() -> Weight { - Weight::from_ref_time(95_870_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `1719` + // Estimated: `7803` + // Minimum execution time: 88_461 nanoseconds. + Weight::from_parts(92_120_000, 7803) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn transfer_native_currency() -> Weight { - Weight::from_ref_time(80_780_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1461` + // Estimated: `2607` + // Minimum execution time: 73_801 nanoseconds. + Weight::from_parts(82_371_000, 2607) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Tokens Accounts (r:1 w:1) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn update_balance_non_native_currency() -> Weight { - Weight::from_ref_time(57_330_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `1327` + // Estimated: `7723` + // Minimum execution time: 67_990 nanoseconds. + Weight::from_parts(69_740_000, 7723) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn update_balance_native_currency_creating() -> Weight { - Weight::from_ref_time(67_611_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1401` + // Estimated: `2607` + // Minimum execution time: 68_931 nanoseconds. + Weight::from_parts(70_120_000, 2607) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn update_balance_native_currency_killing() -> Weight { - Weight::from_ref_time(64_301_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1525` + // Estimated: `2607` + // Minimum execution time: 64_890 nanoseconds. + Weight::from_parts(66_430_000, 2607) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/orml_tokens.rs b/runtime/common/src/weights/orml_tokens.rs index 99c14aa88..95710624a 100644 --- a/runtime/common/src/weights/orml_tokens.rs +++ b/runtime/common/src/weights/orml_tokens.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for orml_tokens //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/orml_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -46,40 +49,71 @@ use frame_support::{traits::Get, weights::Weight}; /// Weight functions for orml_tokens (automatically generated) pub struct WeightInfo(PhantomData); impl orml_tokens::WeightInfo for WeightInfo { - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:1 w:1) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn transfer() -> Weight { - Weight::from_ref_time(84_390_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `1719` + // Estimated: `7803` + // Minimum execution time: 82_870 nanoseconds. + Weight::from_parts(99_391_000, 7803) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:1 w:1) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn transfer_all() -> Weight { - Weight::from_ref_time(84_860_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `1719` + // Estimated: `7803` + // Minimum execution time: 84_721 nanoseconds. + Weight::from_parts(105_940_000, 7803) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:1 w:1) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(66_500_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `1543` + // Estimated: `7803` + // Minimum execution time: 67_070 nanoseconds. + Weight::from_parts(80_890_000, 7803) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:2 w:1) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn force_transfer() -> Weight { - Weight::from_ref_time(86_851_000) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `1719` + // Estimated: `10410` + // Minimum execution time: 75_260 nanoseconds. + Weight::from_parts(90_790_000, 10410) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Tokens Accounts (r:1 w:1) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn set_balance() -> Weight { - Weight::from_ref_time(66_770_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `1327` + // Estimated: `7723` + // Minimum execution time: 56_151 nanoseconds. + Weight::from_parts(68_920_000, 7723) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } diff --git a/runtime/common/src/weights/pallet_author_inherent.rs b/runtime/common/src/weights/pallet_author_inherent.rs index 136466f7a..2981bd0e4 100644 --- a/runtime/common/src/weights/pallet_author_inherent.rs +++ b/runtime/common/src/weights/pallet_author_inherent.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_author_inherent //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-12`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,15 +52,25 @@ use frame_support::{ /// Weight functions for pallet_author_inherent (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_author_inherent::weights::WeightInfo for WeightInfo { - // Storage: ParachainSystem ValidationData (r:1 w:0) - // Storage: AuthorInherent HighestSlotSeen (r:1 w:1) - // Storage: AuthorInherent Author (r:1 w:0) - // Storage: ParachainStaking SelectedCandidates (r:1 w:0) - // Storage: AuthorFilter EligibleCount (r:1 w:0) - // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) + /// Storage: ParachainSystem ValidationData (r:1 w:0) + /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AuthorInherent HighestSlotSeen (r:1 w:1) + /// Proof: AuthorInherent HighestSlotSeen (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: AuthorInherent Author (r:1 w:0) + /// Proof: AuthorInherent Author (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: ParachainStaking SelectedCandidates (r:1 w:0) + /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AuthorFilter EligibleCount (r:1 w:0) + /// Proof Skipped: AuthorFilter EligibleCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) + /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: MaxEncodedLen) fn kick_off_authorship_validation() -> Weight { - Weight::from_ref_time(44_241_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `501` + // Estimated: `7103` + // Minimum execution time: 37_010 nanoseconds. + Weight::from_parts(38_090_000, 7103) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_author_mapping.rs b/runtime/common/src/weights/pallet_author_mapping.rs index 0dae5b36f..ac8acdeee 100644 --- a/runtime/common/src/weights/pallet_author_mapping.rs +++ b/runtime/common/src/weights/pallet_author_mapping.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_author_mapping //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-12`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,42 +52,75 @@ use frame_support::{ /// Weight functions for pallet_author_mapping (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_author_mapping::weights::WeightInfo for WeightInfo { - // Storage: AuthorMapping MappingWithDeposit (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: AuthorMapping NimbusLookup (r:0 w:1) + /// Storage: AuthorMapping MappingWithDeposit (r:1 w:1) + /// Proof Skipped: AuthorMapping MappingWithDeposit (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: AuthorMapping NimbusLookup (r:0 w:1) + /// Proof Skipped: AuthorMapping NimbusLookup (max_values: None, max_size: None, mode: Measured) fn add_association() -> Weight { - Weight::from_ref_time(69_090_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `462` + // Estimated: `6006` + // Minimum execution time: 35_460 nanoseconds. + Weight::from_parts(42_300_000, 6006) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: AuthorMapping MappingWithDeposit (r:2 w:2) - // Storage: AuthorMapping NimbusLookup (r:0 w:1) + /// Storage: AuthorMapping MappingWithDeposit (r:2 w:2) + /// Proof Skipped: AuthorMapping MappingWithDeposit (max_values: None, max_size: None, mode: Measured) + /// Storage: AuthorMapping NimbusLookup (r:0 w:1) + /// Proof Skipped: AuthorMapping NimbusLookup (max_values: None, max_size: None, mode: Measured) fn update_association() -> Weight { - Weight::from_ref_time(48_700_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `407` + // Estimated: `5764` + // Minimum execution time: 27_110 nanoseconds. + Weight::from_parts(32_940_000, 5764) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: AuthorMapping MappingWithDeposit (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: AuthorMapping NimbusLookup (r:0 w:1) + /// Storage: AuthorMapping MappingWithDeposit (r:1 w:1) + /// Proof Skipped: AuthorMapping MappingWithDeposit (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: AuthorMapping NimbusLookup (r:0 w:1) + /// Proof Skipped: AuthorMapping NimbusLookup (max_values: None, max_size: None, mode: Measured) fn clear_association() -> Weight { - Weight::from_ref_time(60_150_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `583` + // Estimated: `6248` + // Minimum execution time: 37_060 nanoseconds. + Weight::from_parts(44_981_000, 6248) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: AuthorMapping NimbusLookup (r:1 w:1) - // Storage: AuthorMapping MappingWithDeposit (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: AuthorMapping NimbusLookup (r:1 w:1) + /// Proof Skipped: AuthorMapping NimbusLookup (max_values: None, max_size: None, mode: Measured) + /// Storage: AuthorMapping MappingWithDeposit (r:1 w:1) + /// Proof Skipped: AuthorMapping MappingWithDeposit (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn remove_keys() -> Weight { - Weight::from_ref_time(78_330_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `689` + // Estimated: `8935` + // Minimum execution time: 47_371 nanoseconds. + Weight::from_parts(57_471_000, 8935) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: AuthorMapping NimbusLookup (r:1 w:1) - // Storage: AuthorMapping MappingWithDeposit (r:2 w:2) + /// Storage: AuthorMapping NimbusLookup (r:1 w:1) + /// Proof Skipped: AuthorMapping NimbusLookup (max_values: None, max_size: None, mode: Measured) + /// Storage: AuthorMapping MappingWithDeposit (r:2 w:2) + /// Proof Skipped: AuthorMapping MappingWithDeposit (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { - Weight::from_ref_time(53_200_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `513` + // Estimated: `8451` + // Minimum execution time: 38_790 nanoseconds. + Weight::from_parts(40_140_000, 8451) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } diff --git a/runtime/common/src/weights/pallet_author_slot_filter.rs b/runtime/common/src/weights/pallet_author_slot_filter.rs index 1cc8432e9..e93ee8abc 100644 --- a/runtime/common/src/weights/pallet_author_slot_filter.rs +++ b/runtime/common/src/weights/pallet_author_slot_filter.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_author_slot_filter //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-12`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,8 +52,13 @@ use frame_support::{ /// Weight functions for pallet_author_slot_filter (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_author_slot_filter::weights::WeightInfo for WeightInfo { - // Storage: AuthorFilter EligibleCount (r:0 w:1) + /// Storage: AuthorFilter EligibleCount (r:0 w:1) + /// Proof Skipped: AuthorFilter EligibleCount (max_values: Some(1), max_size: None, mode: Measured) fn set_eligible() -> Weight { - Weight::from_ref_time(28_890_000).saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_120 nanoseconds. + Weight::from_ref_time(12_660_000).saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_balances.rs b/runtime/common/src/weights/pallet_balances.rs index 6a3e98c67..f292d275c 100644 --- a/runtime/common/src/weights/pallet_balances.rs +++ b/runtime/common/src/weights/pallet_balances.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,46 +52,81 @@ use frame_support::{ /// Weight functions for pallet_balances (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_balances::weights::WeightInfo for WeightInfo { - // Storage: System Account (r:2 w:2) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn transfer() -> Weight { - Weight::from_ref_time(109_200_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `1585` + // Estimated: `5214` + // Minimum execution time: 88_810 nanoseconds. + Weight::from_parts(109_240_000, 5214) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(60_490_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1409` + // Estimated: `2607` + // Minimum execution time: 58_340 nanoseconds. + Weight::from_parts(71_280_000, 2607) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn set_balance_creating() -> Weight { - Weight::from_ref_time(54_180_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1559` + // Estimated: `2607` + // Minimum execution time: 45_750 nanoseconds. + Weight::from_parts(56_450_000, 2607) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn set_balance_killing() -> Weight { - Weight::from_ref_time(60_760_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1559` + // Estimated: `2607` + // Minimum execution time: 45_710 nanoseconds. + Weight::from_parts(55_450_000, 2607) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:3 w:3) + /// Storage: System Account (r:3 w:3) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn force_transfer() -> Weight { - Weight::from_ref_time(90_620_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `1581` + // Estimated: `7821` + // Minimum execution time: 87_710 nanoseconds. + Weight::from_parts(106_850_000, 7821) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn transfer_all() -> Weight { - Weight::from_ref_time(69_090_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1409` + // Estimated: `2607` + // Minimum execution time: 70_910 nanoseconds. + Weight::from_parts(88_600_000, 2607) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:1 w:1) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn force_unreserve() -> Weight { - Weight::from_ref_time(47_010_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1443` + // Estimated: `2607` + // Minimum execution time: 41_560 nanoseconds. + Weight::from_parts(57_210_000, 2607) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_bounties.rs b/runtime/common/src/weights/pallet_bounties.rs index 0bf91c127..723341386 100644 --- a/runtime/common/src/weights/pallet_bounties.rs +++ b/runtime/common/src/weights/pallet_bounties.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_bounties //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,87 +52,159 @@ use frame_support::{ /// Weight functions for pallet_bounties (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_bounties::weights::WeightInfo for WeightInfo { - // Storage: Bounties BountyCount (r:1 w:1) - // Storage: Bounties BountyDescriptions (r:0 w:1) - // Storage: Bounties Bounties (r:0 w:1) + /// Storage: Bounties BountyCount (r:1 w:1) + /// Proof: Bounties BountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Bounties BountyDescriptions (r:0 w:1) + /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(8206), added: 10681, mode: MaxEncodedLen) + /// Storage: Bounties Bounties (r:0 w:1) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) fn propose_bounty(d: u32) -> Weight { - Weight::from_ref_time(56_491_371) - // Standard Error: 191 - .saturating_add(Weight::from_ref_time(3_355).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `141` + // Estimated: `3106` + // Minimum execution time: 39_340 nanoseconds. + Weight::from_parts(50_007_742, 3106) + // Standard Error: 196 + .saturating_add(Weight::from_ref_time(1_631).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: Bounties Bounties (r:1 w:1) - // Storage: Bounties BountyApprovals (r:1 w:1) + /// Storage: Bounties Bounties (r:1 w:1) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) + /// Storage: Bounties BountyApprovals (r:1 w:1) + /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn approve_bounty() -> Weight { - Weight::from_ref_time(29_490_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `229` + // Estimated: `3553` + // Minimum execution time: 18_700 nanoseconds. + Weight::from_parts(22_860_000, 3553) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Bounties Bounties (r:1 w:1) + /// Storage: Bounties Bounties (r:1 w:1) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) fn propose_curator() -> Weight { - Weight::from_ref_time(28_120_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `249` + // Estimated: `2656` + // Minimum execution time: 19_030 nanoseconds. + Weight::from_parts(20_030_000, 2656) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Bounties Bounties (r:1 w:1) - // Storage: System Account (r:2 w:2) + /// Storage: Bounties Bounties (r:1 w:1) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn unassign_curator() -> Weight { - Weight::from_ref_time(90_981_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `641` + // Estimated: `7870` + // Minimum execution time: 55_590 nanoseconds. + Weight::from_parts(68_250_000, 7870) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Bounties Bounties (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Bounties Bounties (r:1 w:1) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn accept_curator() -> Weight { - Weight::from_ref_time(66_590_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `457` + // Estimated: `5263` + // Minimum execution time: 34_770 nanoseconds. + Weight::from_parts(42_400_000, 5263) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Bounties Bounties (r:1 w:1) + /// Storage: Bounties Bounties (r:1 w:1) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) fn award_bounty() -> Weight { - Weight::from_ref_time(51_230_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `2656` + // Minimum execution time: 29_430 nanoseconds. + Weight::from_parts(30_400_000, 2656) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Bounties Bounties (r:1 w:1) - // Storage: System Account (r:3 w:3) - // Storage: Bounties BountyDescriptions (r:0 w:1) + /// Storage: Bounties Bounties (r:1 w:1) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) + /// Storage: System Account (r:3 w:3) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Bounties BountyDescriptions (r:0 w:1) + /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(8206), added: 10681, mode: MaxEncodedLen) fn claim_bounty() -> Weight { - Weight::from_ref_time(146_571_000) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) + // Proof Size summary in bytes: + // Measured: `674` + // Estimated: `10477` + // Minimum execution time: 99_891 nanoseconds. + Weight::from_parts(122_350_000, 10477) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Bounties Bounties (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: Bounties BountyDescriptions (r:0 w:1) + /// Storage: Bounties Bounties (r:1 w:1) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Bounties BountyDescriptions (r:0 w:1) + /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(8206), added: 10681, mode: MaxEncodedLen) fn close_bounty_proposed() -> Weight { - Weight::from_ref_time(94_620_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `541` + // Estimated: `7870` + // Minimum execution time: 59_880 nanoseconds. + Weight::from_parts(71_680_000, 7870) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: Bounties Bounties (r:1 w:1) - // Storage: System Account (r:3 w:3) - // Storage: Bounties BountyDescriptions (r:0 w:1) + /// Storage: Bounties Bounties (r:1 w:1) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) + /// Storage: System Account (r:3 w:3) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Bounties BountyDescriptions (r:0 w:1) + /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(8206), added: 10681, mode: MaxEncodedLen) fn close_bounty_active() -> Weight { - Weight::from_ref_time(110_910_000) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) + // Proof Size summary in bytes: + // Measured: `818` + // Estimated: `10477` + // Minimum execution time: 75_250 nanoseconds. + Weight::from_parts(91_380_000, 10477) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Bounties Bounties (r:1 w:1) + /// Storage: Bounties Bounties (r:1 w:1) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) fn extend_bounty_expiry() -> Weight { - Weight::from_ref_time(50_451_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `2656` + // Minimum execution time: 25_310 nanoseconds. + Weight::from_parts(29_090_000, 2656) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Bounties BountyApprovals (r:1 w:1) - // Storage: Bounties Bounties (r:2 w:2) - // Storage: System Account (r:3 w:3) + /// Storage: Bounties BountyApprovals (r:1 w:1) + /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: Bounties Bounties (r:100 w:100) + /// Proof: Bounties Bounties (max_values: None, max_size: Some(181), added: 2656, mode: MaxEncodedLen) + /// Storage: System Account (r:200 w:200) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn spend_funds(b: u32) -> Weight { - Weight::from_ref_time(15_180_000) - // Standard Error: 130_485 - .saturating_add(Weight::from_ref_time(50_076_119).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `98 + b * (357 ±0)` + // Estimated: `897 + b * (7870 ±0)` + // Minimum execution time: 7_970 nanoseconds. + Weight::from_parts(8_380_000, 897) + // Standard Error: 134_122 + .saturating_add(Weight::from_ref_time(52_984_111).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(7870).saturating_mul(b.into())) } } diff --git a/runtime/common/src/weights/pallet_collective.rs b/runtime/common/src/weights/pallet_collective.rs index d979dd8cf..50da27fcc 100644 --- a/runtime/common/src/weights/pallet_collective.rs +++ b/runtime/common/src/weights/pallet_collective.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,124 +52,221 @@ use frame_support::{ /// Weight functions for pallet_collective (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_collective::weights::WeightInfo for WeightInfo { - // Storage: AdvisoryCommittee Members (r:1 w:1) - // Storage: AdvisoryCommittee Proposals (r:1 w:0) - // Storage: AdvisoryCommittee Prime (r:0 w:1) - // Storage: AdvisoryCommittee Voting (r:255 w:255) + /// Storage: AdvisoryCommittee Members (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Proposals (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Voting (r:255 w:255) + /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) fn set_members(m: u32, _n: u32, p: u32) -> Weight { - Weight::from_ref_time(34_440_000) - // Standard Error: 316_829 - .saturating_add(Weight::from_ref_time(23_163_910).saturating_mul(m.into())) - // Standard Error: 124_394 - .saturating_add(Weight::from_ref_time(14_040_837).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `0 + m * (8195 ±0) + p * (3227 ±0)` + // Estimated: `33167 + m * (19751 ±60) + p * (10255 ±23)` + // Minimum execution time: 27_360 nanoseconds. + Weight::from_parts(31_790_000, 33167) + // Standard Error: 345_543 + .saturating_add(Weight::from_ref_time(26_786_377).saturating_mul(m.into())) + // Standard Error: 135_668 + .saturating_add(Weight::from_ref_time(16_456_141).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(19751).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(10255).saturating_mul(p.into())) } - // Storage: AdvisoryCommittee Members (r:1 w:0) - fn execute(_b: u32, _m: u32) -> Weight { - Weight::from_ref_time(52_383_265).saturating_add(T::DbWeight::get().reads(1)) + /// Storage: AdvisoryCommittee Members (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + fn execute(b: u32, m: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `100 + m * (32 ±0)` + // Estimated: `596 + m * (32 ±0)` + // Minimum execution time: 26_230 nanoseconds. + Weight::from_parts(27_588_781, 596) + // Standard Error: 639 + .saturating_add(Weight::from_ref_time(4_498).saturating_mul(b.into())) + // Standard Error: 6_589 + .saturating_add(Weight::from_ref_time(73_787).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into())) } - // Storage: AdvisoryCommittee Members (r:1 w:0) - // Storage: AdvisoryCommittee ProposalOf (r:1 w:0) - fn propose_execute(b: u32, m: u32) -> Weight { - Weight::from_ref_time(51_062_771) - // Standard Error: 573 - .saturating_add(Weight::from_ref_time(1_921).saturating_mul(b.into())) - // Standard Error: 5_915 - .saturating_add(Weight::from_ref_time(36_487).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2)) + /// Storage: AdvisoryCommittee Members (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee ProposalOf (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + fn propose_execute(_b: u32, m: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `100 + m * (32 ±0)` + // Estimated: `3172 + m * (64 ±0)` + // Minimum execution time: 31_930 nanoseconds. + Weight::from_parts(37_847_845, 3172) + // Standard Error: 3_879 + .saturating_add(Weight::from_ref_time(59_390).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(Weight::from_proof_size(64).saturating_mul(m.into())) } - // Storage: AdvisoryCommittee Members (r:1 w:0) - // Storage: AdvisoryCommittee ProposalOf (r:1 w:1) - // Storage: AdvisoryCommittee Proposals (r:1 w:1) - // Storage: AdvisoryCommittee ProposalCount (r:1 w:1) - // Storage: AdvisoryCommittee Voting (r:0 w:1) + /// Storage: AdvisoryCommittee Members (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee ProposalOf (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Proposals (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee ProposalCount (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee ProposalCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Voting (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { - Weight::from_ref_time(36_154_514) - // Standard Error: 1_745 - .saturating_add(Weight::from_ref_time(20_413).saturating_mul(b.into())) - // Standard Error: 18_217 - .saturating_add(Weight::from_ref_time(126_504).saturating_mul(m.into())) - // Standard Error: 7_013 - .saturating_add(Weight::from_ref_time(329_220).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Proof Size summary in bytes: + // Measured: `565 + m * (32 ±0) + p * (33 ±0)` + // Estimated: `6570 + m * (160 ±0) + p * (170 ±0)` + // Minimum execution time: 43_381 nanoseconds. + Weight::from_parts(46_692_278, 6570) + // Standard Error: 827 + .saturating_add(Weight::from_ref_time(13_103).saturating_mul(b.into())) + // Standard Error: 8_636 + .saturating_add(Weight::from_ref_time(27_432).saturating_mul(m.into())) + // Standard Error: 3_324 + .saturating_add(Weight::from_ref_time(231_252).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_proof_size(160).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(170).saturating_mul(p.into())) } - // Storage: AdvisoryCommittee Members (r:1 w:0) - // Storage: AdvisoryCommittee Voting (r:1 w:1) + /// Storage: AdvisoryCommittee Members (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Voting (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) fn vote(m: u32) -> Weight { - Weight::from_ref_time(93_521_939) - // Standard Error: 19_552 - .saturating_add(Weight::from_ref_time(125_381).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1240 + m * (64 ±0)` + // Estimated: `5448 + m * (128 ±0)` + // Minimum execution time: 37_420 nanoseconds. + Weight::from_parts(53_806_615, 5448) + // Standard Error: 9_141 + .saturating_add(Weight::from_ref_time(161_613).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(128).saturating_mul(m.into())) } - // Storage: AdvisoryCommittee Voting (r:1 w:1) - // Storage: AdvisoryCommittee Members (r:1 w:0) - // Storage: AdvisoryCommittee Proposals (r:1 w:1) - // Storage: AdvisoryCommittee ProposalOf (r:0 w:1) - fn close_early_disapproved(_m: u32, p: u32) -> Weight { - Weight::from_ref_time(93_839_100) - // Standard Error: 7_819 - .saturating_add(Weight::from_ref_time(265_745).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + /// Storage: AdvisoryCommittee Voting (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Members (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Proposals (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee ProposalOf (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + fn close_early_disapproved(m: u32, p: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `683 + m * (64 ±0) + p * (33 ±0)` + // Estimated: `6017 + m * (260 ±0) + p * (136 ±0)` + // Minimum execution time: 44_960 nanoseconds. + Weight::from_parts(48_176_221, 6017) + // Standard Error: 7_630 + .saturating_add(Weight::from_ref_time(90_627).saturating_mul(m.into())) + // Standard Error: 2_899 + .saturating_add(Weight::from_ref_time(236_469).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(260).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(136).saturating_mul(p.into())) } - // Storage: AdvisoryCommittee Voting (r:1 w:1) - // Storage: AdvisoryCommittee Members (r:1 w:0) - // Storage: AdvisoryCommittee ProposalOf (r:1 w:1) - // Storage: AdvisoryCommittee Proposals (r:1 w:1) + /// Storage: AdvisoryCommittee Voting (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Members (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee ProposalOf (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Proposals (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { - Weight::from_ref_time(73_194_294) - // Standard Error: 2_028 - .saturating_add(Weight::from_ref_time(14_757).saturating_mul(b.into())) - // Standard Error: 21_436 - .saturating_add(Weight::from_ref_time(23_359).saturating_mul(m.into())) - // Standard Error: 8_147 - .saturating_add(Weight::from_ref_time(347_959).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `926 + b * (1 ±0) + m * (64 ±0) + p * (36 ±0)` + // Estimated: `9916 + b * (4 ±0) + m * (248 ±0) + p * (144 ±0)` + // Minimum execution time: 65_530 nanoseconds. + Weight::from_parts(60_433_852, 9916) + // Standard Error: 784 + .saturating_add(Weight::from_ref_time(14_398).saturating_mul(b.into())) + // Standard Error: 8_292 + .saturating_add(Weight::from_ref_time(54_397).saturating_mul(m.into())) + // Standard Error: 3_151 + .saturating_add(Weight::from_ref_time(308_958).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(4).saturating_mul(b.into())) + .saturating_add(Weight::from_proof_size(248).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(144).saturating_mul(p.into())) } - // Storage: AdvisoryCommittee Voting (r:1 w:1) - // Storage: AdvisoryCommittee Members (r:1 w:0) - // Storage: AdvisoryCommittee Prime (r:1 w:0) - // Storage: AdvisoryCommittee Proposals (r:1 w:1) - // Storage: AdvisoryCommittee ProposalOf (r:0 w:1) + /// Storage: AdvisoryCommittee Voting (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Members (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Prime (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Proposals (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee ProposalOf (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) fn close_disapproved(m: u32, p: u32) -> Weight { - Weight::from_ref_time(57_401_274) - // Standard Error: 18_844 - .saturating_add(Weight::from_ref_time(130_583).saturating_mul(m.into())) - // Standard Error: 7_162 - .saturating_add(Weight::from_ref_time(307_554).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `703 + m * (64 ±0) + p * (33 ±0)` + // Estimated: `7250 + m * (325 ±0) + p * (170 ±0)` + // Minimum execution time: 46_701 nanoseconds. + Weight::from_parts(57_532_782, 7250) + // Standard Error: 12_272 + .saturating_add(Weight::from_ref_time(80_343).saturating_mul(m.into())) + // Standard Error: 4_664 + .saturating_add(Weight::from_ref_time(222_944).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(325).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(170).saturating_mul(p.into())) } - // Storage: AdvisoryCommittee Voting (r:1 w:1) - // Storage: AdvisoryCommittee Members (r:1 w:0) - // Storage: AdvisoryCommittee Prime (r:1 w:0) - // Storage: AdvisoryCommittee ProposalOf (r:1 w:1) - // Storage: AdvisoryCommittee Proposals (r:1 w:1) + /// Storage: AdvisoryCommittee Voting (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Members (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Prime (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee ProposalOf (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Proposals (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) fn close_approved(b: u32, m: u32, p: u32) -> Weight { - Weight::from_ref_time(60_881_034) - // Standard Error: 1_983 - .saturating_add(Weight::from_ref_time(12_789).saturating_mul(b.into())) - // Standard Error: 20_967 - .saturating_add(Weight::from_ref_time(128_737).saturating_mul(m.into())) - // Standard Error: 7_969 - .saturating_add(Weight::from_ref_time(380_829).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `946 + b * (1 ±0) + m * (64 ±0) + p * (36 ±0)` + // Estimated: `11505 + b * (5 ±0) + m * (310 ±0) + p * (180 ±0)` + // Minimum execution time: 68_280 nanoseconds. + Weight::from_parts(80_188_380, 11505) + // Standard Error: 859 + .saturating_add(Weight::from_ref_time(6_867).saturating_mul(b.into())) + // Standard Error: 9_080 + .saturating_add(Weight::from_ref_time(30_436).saturating_mul(m.into())) + // Standard Error: 3_451 + .saturating_add(Weight::from_ref_time(275_589).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(5).saturating_mul(b.into())) + .saturating_add(Weight::from_proof_size(310).saturating_mul(m.into())) + .saturating_add(Weight::from_proof_size(180).saturating_mul(p.into())) } - // Storage: AdvisoryCommittee Proposals (r:1 w:1) - // Storage: AdvisoryCommittee Voting (r:0 w:1) - // Storage: AdvisoryCommittee ProposalOf (r:0 w:1) + /// Storage: AdvisoryCommittee Proposals (r:1 w:1) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Voting (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee ProposalOf (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) fn disapprove_proposal(p: u32) -> Weight { - Weight::from_ref_time(48_045_535) - // Standard Error: 5_998 - .saturating_add(Weight::from_ref_time(254_464).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `258 + p * (32 ±0)` + // Estimated: `1266 + p * (96 ±0)` + // Minimum execution time: 29_360 nanoseconds. + Weight::from_parts(34_319_904, 1266) + // Standard Error: 3_679 + .saturating_add(Weight::from_ref_time(227_216).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(96).saturating_mul(p.into())) } } diff --git a/runtime/common/src/weights/pallet_contracts.rs b/runtime/common/src/weights/pallet_contracts.rs index 6c1b92a3c..0ed2fbf3a 100644 --- a/runtime/common/src/weights/pallet_contracts.rs +++ b/runtime/common/src/weights/pallet_contracts.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,1037 +52,1765 @@ use frame_support::{ /// Weight functions for pallet_contracts (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_contracts::weights::WeightInfo for WeightInfo { - // Storage: Contracts DeletionQueue (r:1 w:0) + /// Storage: Contracts DeletionQueue (r:1 w:0) + /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Ignored) fn on_process_deletion_queue_batch() -> Weight { - Weight::from_ref_time(7_240_000).saturating_add(T::DbWeight::get().reads(1)) - } - // Storage: Skipped Metadata (r:0 w:0) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `0` + // Minimum execution time: 6_910 nanoseconds. + Weight::from_ref_time(8_130_000).saturating_add(T::DbWeight::get().reads(1_u64)) + } + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn on_initialize_per_trie_key(k: u32) -> Weight { - Weight::from_ref_time(7_272_510) - // Standard Error: 11_386 - .saturating_add(Weight::from_ref_time(1_931_876).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) - } - // Storage: Contracts DeletionQueue (r:1 w:0) + // Proof Size summary in bytes: + // Measured: `414 + k * (69 ±0)` + // Estimated: `0` + // Minimum execution time: 18_550 nanoseconds. + Weight::from_ref_time(17_210_761) + // Standard Error: 5_392 + .saturating_add(Weight::from_ref_time(1_885_788).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Contracts DeletionQueue (r:1 w:1) + /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Ignored) fn on_initialize_per_queue_item(q: u32) -> Weight { - Weight::from_ref_time(24_038_948) - // Standard Error: 20_497 - .saturating_add(Weight::from_ref_time(2_241_218).saturating_mul(q.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: Contracts PristineCode (r:1 w:0) - // Storage: Contracts CodeStorage (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `214 + q * (33 ±0)` + // Estimated: `0` + // Minimum execution time: 7_310 nanoseconds. + Weight::from_ref_time(24_846_883) + // Standard Error: 12_271 + .saturating_add(Weight::from_ref_time(2_328_146).saturating_mul(q.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Contracts PristineCode (r:1 w:0) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) + /// Storage: Contracts CodeStorage (r:0 w:1) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) fn reinstrument(c: u32) -> Weight { - Weight::from_ref_time(98_902_788) - // Standard Error: 471 - .saturating_add(Weight::from_ref_time(101_231).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `203 + c * (1 ±0)` + // Estimated: `0` + // Minimum execution time: 49_070 nanoseconds. + Weight::from_ref_time(46_288_521) + // Standard Error: 596 + .saturating_add(Weight::from_ref_time(110_047).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn call_with_code_per_byte(c: u32) -> Weight { - Weight::from_ref_time(543_539_689) - // Standard Error: 221 - .saturating_add(Weight::from_ref_time(59_253).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) - } - // Storage: Contracts CodeStorage (r:1 w:1) - // Storage: Contracts Nonce (r:1 w:1) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: System EventTopics (r:3 w:3) - // Storage: Contracts PristineCode (r:0 w:1) - // Storage: Contracts OwnerInfoOf (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `675` + // Estimated: `0` + // Minimum execution time: 451_131 nanoseconds. + Weight::from_ref_time(590_473_177) + // Standard Error: 143 + .saturating_add(Weight::from_ref_time(65_218).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: Contracts CodeStorage (r:1 w:1) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Contracts Nonce (r:1 w:1) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: System EventTopics (r:3 w:3) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Storage: Contracts PristineCode (r:0 w:1) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:0 w:1) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) fn instantiate_with_code(c: u32, i: u32, s: u32) -> Weight { - Weight::from_ref_time(826_646_699) - // Standard Error: 837 - .saturating_add(Weight::from_ref_time(193_762).saturating_mul(c.into())) - // Standard Error: 98 - .saturating_add(Weight::from_ref_time(2_744).saturating_mul(i.into())) - // Standard Error: 98 - .saturating_add(Weight::from_ref_time(3_091).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(9)) - } - // Storage: Contracts CodeStorage (r:1 w:1) - // Storage: Contracts Nonce (r:1 w:1) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: Contracts OwnerInfoOf (r:1 w:1) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `157` + // Estimated: `0` + // Minimum execution time: 6_578_490 nanoseconds. + Weight::from_ref_time(1_029_603_386) + // Standard Error: 779 + .saturating_add(Weight::from_ref_time(195_264).saturating_mul(c.into())) + // Standard Error: 45 + .saturating_add(Weight::from_ref_time(2_850).saturating_mul(i.into())) + // Standard Error: 45 + .saturating_add(Weight::from_ref_time(3_212).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(9_u64)) + } + /// Storage: Contracts CodeStorage (r:1 w:1) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Contracts Nonce (r:1 w:1) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:1 w:1) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn instantiate(i: u32, s: u32) -> Weight { - Weight::from_ref_time(512_301_189) - // Standard Error: 51 - .saturating_add(Weight::from_ref_time(2_113).saturating_mul(i.into())) - // Standard Error: 51 - .saturating_add(Weight::from_ref_time(3_108).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(7)) - } - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `433` + // Estimated: `0` + // Minimum execution time: 2_659_378 nanoseconds. + Weight::from_ref_time(784_375_266) + // Standard Error: 50 + .saturating_add(Weight::from_ref_time(2_006).saturating_mul(i.into())) + // Standard Error: 50 + .saturating_add(Weight::from_ref_time(3_133).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + } + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn call() -> Weight { - Weight::from_ref_time(295_691_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) - } - // Storage: Contracts CodeStorage (r:1 w:1) - // Storage: System EventTopics (r:1 w:1) - // Storage: Contracts PristineCode (r:0 w:1) - // Storage: Contracts OwnerInfoOf (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `727` + // Estimated: `0` + // Minimum execution time: 209_440 nanoseconds. + Weight::from_ref_time(254_601_000) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: Contracts CodeStorage (r:1 w:1) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: System EventTopics (r:1 w:1) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Storage: Contracts PristineCode (r:0 w:1) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:0 w:1) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) fn upload_code(c: u32) -> Weight { - Weight::from_ref_time(404_527_904) - // Standard Error: 709 - .saturating_add(Weight::from_ref_time(194_403).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(4)) - } - // Storage: Contracts OwnerInfoOf (r:1 w:1) - // Storage: System EventTopics (r:1 w:1) - // Storage: Contracts CodeStorage (r:0 w:1) - // Storage: Contracts PristineCode (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `0` + // Minimum execution time: 463_602 nanoseconds. + Weight::from_ref_time(736_033_954) + // Standard Error: 946 + .saturating_add(Weight::from_ref_time(195_434).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: Contracts OwnerInfoOf (r:1 w:1) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Storage: System EventTopics (r:1 w:1) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Storage: Contracts CodeStorage (r:0 w:1) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Contracts PristineCode (r:0 w:1) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) fn remove_code() -> Weight { - Weight::from_ref_time(78_150_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(4)) - } - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts OwnerInfoOf (r:2 w:2) - // Storage: System EventTopics (r:3 w:3) + // Proof Size summary in bytes: + // Measured: `218` + // Estimated: `0` + // Minimum execution time: 37_051 nanoseconds. + Weight::from_ref_time(44_830_000) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:2 w:2) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Storage: System EventTopics (r:3 w:3) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn set_code() -> Weight { - Weight::from_ref_time(80_990_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(6)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `567` + // Estimated: `0` + // Minimum execution time: 42_520 nanoseconds. + Weight::from_ref_time(51_610_000) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_caller(r: u32) -> Weight { - Weight::from_ref_time(524_650_021) - // Standard Error: 494_101 - .saturating_add(Weight::from_ref_time(35_328_179).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `697 + r * (480 ±0)` + // Estimated: `0` + // Minimum execution time: 376_932 nanoseconds. + Weight::from_ref_time(498_028_095) + // Standard Error: 442_435 + .saturating_add(Weight::from_ref_time(42_372_174).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1601 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_is_contract(r: u32) -> Weight { - Weight::from_ref_time(286_854_172) - // Standard Error: 2_585_390 - .saturating_add(Weight::from_ref_time(423_104_124).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `749 + r * (19218 ±0)` + // Estimated: `0` + // Minimum execution time: 387_431 nanoseconds. + Weight::from_ref_time(284_862_083) + // Standard Error: 1_387_727 + .saturating_add(Weight::from_ref_time(507_485_661).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1601 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_code_hash(r: u32) -> Weight { - Weight::from_ref_time(336_760_438) - // Standard Error: 2_439_257 - .saturating_add(Weight::from_ref_time(515_802_575).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `741 + r * (19539 ±0)` + // Estimated: `0` + // Minimum execution time: 404_441 nanoseconds. + Weight::from_ref_time(261_128_999) + // Standard Error: 2_335_943 + .saturating_add(Weight::from_ref_time(601_490_831).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_own_code_hash(r: u32) -> Weight { - Weight::from_ref_time(528_911_079) - // Standard Error: 710_933 - .saturating_add(Weight::from_ref_time(44_397_609).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `704 + r * (480 ±0)` + // Estimated: `0` + // Minimum execution time: 382_281 nanoseconds. + Weight::from_ref_time(556_430_426) + // Standard Error: 703_494 + .saturating_add(Weight::from_ref_time(46_459_641).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_caller_is_origin(r: u32) -> Weight { - Weight::from_ref_time(521_417_446) - // Standard Error: 373_059 - .saturating_add(Weight::from_ref_time(19_335_916).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `694 + r * (240 ±0)` + // Estimated: `0` + // Minimum execution time: 375_721 nanoseconds. + Weight::from_ref_time(527_522_978) + // Standard Error: 413_288 + .saturating_add(Weight::from_ref_time(22_994_875).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_address(r: u32) -> Weight { - Weight::from_ref_time(537_384_850) - // Standard Error: 669_029 - .saturating_add(Weight::from_ref_time(37_720_265).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `698 + r * (480 ±0)` + // Estimated: `0` + // Minimum execution time: 454_312 nanoseconds. + Weight::from_ref_time(507_904_163) + // Standard Error: 364_037 + .saturating_add(Weight::from_ref_time(41_838_305).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_gas_left(r: u32) -> Weight { - Weight::from_ref_time(517_476_334) - // Standard Error: 517_971 - .saturating_add(Weight::from_ref_time(37_542_386).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `699 + r * (480 ±0)` + // Estimated: `0` + // Minimum execution time: 411_591 nanoseconds. + Weight::from_ref_time(509_089_284) + // Standard Error: 321_701 + .saturating_add(Weight::from_ref_time(40_487_116).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:2 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_balance(r: u32) -> Weight { - Weight::from_ref_time(550_753_388) - // Standard Error: 1_213_707 - .saturating_add(Weight::from_ref_time(180_902_166).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `873 + r * (480 ±0)` + // Estimated: `0` + // Minimum execution time: 375_851 nanoseconds. + Weight::from_ref_time(536_163_128) + // Standard Error: 404_695 + .saturating_add(Weight::from_ref_time(180_235_022).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_value_transferred(r: u32) -> Weight { - Weight::from_ref_time(514_302_216) - // Standard Error: 537_310 - .saturating_add(Weight::from_ref_time(37_746_961).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `708 + r * (480 ±0)` + // Estimated: `0` + // Minimum execution time: 375_111 nanoseconds. + Weight::from_ref_time(507_332_850) + // Standard Error: 298_806 + .saturating_add(Weight::from_ref_time(40_450_363).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_minimum_balance(r: u32) -> Weight { - Weight::from_ref_time(502_656_162) - // Standard Error: 503_558 - .saturating_add(Weight::from_ref_time(36_870_643).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `706 + r * (480 ±0)` + // Estimated: `0` + // Minimum execution time: 377_471 nanoseconds. + Weight::from_ref_time(524_691_653) + // Standard Error: 494_160 + .saturating_add(Weight::from_ref_time(40_535_721).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_block_number(r: u32) -> Weight { - Weight::from_ref_time(504_211_939) - // Standard Error: 537_723 - .saturating_add(Weight::from_ref_time(37_028_461).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `703 + r * (480 ±0)` + // Estimated: `0` + // Minimum execution time: 373_941 nanoseconds. + Weight::from_ref_time(510_889_990) + // Standard Error: 429_306 + .saturating_add(Weight::from_ref_time(42_310_274).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_now(r: u32) -> Weight { - Weight::from_ref_time(482_198_123) - // Standard Error: 466_842 - .saturating_add(Weight::from_ref_time(39_075_306).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) - // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) + // Proof Size summary in bytes: + // Measured: `694 + r * (480 ±0)` + // Estimated: `0` + // Minimum execution time: 428_302 nanoseconds. + Weight::from_ref_time(524_798_228) + // Standard Error: 333_075 + .saturating_add(Weight::from_ref_time(39_401_582).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) + /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_weight_to_fee(r: u32) -> Weight { - Weight::from_ref_time(535_165_542) - // Standard Error: 1_354_661 - .saturating_add(Weight::from_ref_time(165_315_070).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `809 + r * (800 ±0)` + // Estimated: `0` + // Minimum execution time: 456_172 nanoseconds. + Weight::from_ref_time(558_679_598) + // Standard Error: 520_746 + .saturating_add(Weight::from_ref_time(179_982_258).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_gas(r: u32) -> Weight { - Weight::from_ref_time(247_072_360) - // Standard Error: 270_116 - .saturating_add(Weight::from_ref_time(20_185_060).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `661 + r * (320 ±0)` + // Estimated: `0` + // Minimum execution time: 196_841 nanoseconds. + Weight::from_ref_time(269_131_152) + // Standard Error: 108_483 + .saturating_add(Weight::from_ref_time(17_426_852).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_input(r: u32) -> Weight { - Weight::from_ref_time(473_801_389) - // Standard Error: 743_301 - .saturating_add(Weight::from_ref_time(37_449_010).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `696 + r * (480 ±0)` + // Estimated: `0` + // Minimum execution time: 378_642 nanoseconds. + Weight::from_ref_time(493_077_703) + // Standard Error: 298_498 + .saturating_add(Weight::from_ref_time(37_455_351).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_input_per_kb(n: u32) -> Weight { - Weight::from_ref_time(550_641_898) - // Standard Error: 187_094 - .saturating_add(Weight::from_ref_time(17_119_143).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) - fn seal_return(r: u32) -> Weight { - Weight::from_ref_time(492_073_724) - // Standard Error: 9_689_878 - .saturating_add(Weight::from_ref_time(50_969_675).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `1176` + // Estimated: `0` + // Minimum execution time: 410_502 nanoseconds. + Weight::from_ref_time(721_184_723) + // Standard Error: 40_632 + .saturating_add(Weight::from_ref_time(13_045_011).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + fn seal_return(_r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `684 + r * (8 ±0)` + // Estimated: `0` + // Minimum execution time: 372_041 nanoseconds. + Weight::from_ref_time(501_255_593) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_return_per_kb(n: u32) -> Weight { - Weight::from_ref_time(491_791_969) - // Standard Error: 14_426 - .saturating_add(Weight::from_ref_time(369_344).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) - // Storage: Contracts DeletionQueue (r:1 w:1) - // Storage: Contracts OwnerInfoOf (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `694` + // Estimated: `0` + // Minimum execution time: 379_101 nanoseconds. + Weight::from_ref_time(520_474_575) + // Standard Error: 11_940 + .saturating_add(Weight::from_ref_time(283_995).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:3 w:3) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: Contracts DeletionQueue (r:1 w:1) + /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:1 w:1) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Storage: System EventTopics (r:3 w:3) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_terminate(r: u32) -> Weight { - Weight::from_ref_time(509_575_083) - // Standard Error: 10_877_755 - .saturating_add(Weight::from_ref_time(13_812_416).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `726 + r * (285 ±0)` + // Estimated: `0` + // Minimum execution time: 374_631 nanoseconds. + Weight::from_ref_time(510_786_761) + // Standard Error: 9_835_322 + .saturating_add(Weight::from_ref_time(39_686_238).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(r.into()))) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) - // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) + /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_random(r: u32) -> Weight { - Weight::from_ref_time(584_357_455) - // Standard Error: 1_086_503 - .saturating_add(Weight::from_ref_time(211_881_743).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `775 + r * (800 ±0)` + // Estimated: `0` + // Minimum execution time: 378_491 nanoseconds. + Weight::from_ref_time(515_209_762) + // Standard Error: 543_564 + .saturating_add(Weight::from_ref_time(222_994_313).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_deposit_event(r: u32) -> Weight { - Weight::from_ref_time(536_470_048) - // Standard Error: 1_619_087 - .saturating_add(Weight::from_ref_time(408_202_800).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `694 + r * (800 ±0)` + // Estimated: `0` + // Minimum execution time: 371_142 nanoseconds. + Weight::from_ref_time(562_242_030) + // Standard Error: 1_025_740 + .saturating_add(Weight::from_ref_time(420_901_328).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:322 w:322) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32) -> Weight { - Weight::from_ref_time(1_012_493_663) - // Standard Error: 4_467_981 - .saturating_add(Weight::from_ref_time(305_733_165).saturating_mul(t.into())) - // Standard Error: 1_227_123 - .saturating_add(Weight::from_ref_time(107_863_369).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `1630 + t * (2608 ±0) + n * (8 ±0)` + // Estimated: `0` + // Minimum execution time: 1_796_616 nanoseconds. + Weight::from_ref_time(853_740_566) + // Standard Error: 2_506_733 + .saturating_add(Weight::from_ref_time(344_671_163).saturating_mul(t.into())) + // Standard Error: 688_470 + .saturating_add(Weight::from_ref_time(118_981_697).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(t.into()))) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_debug_message(r: u32) -> Weight { - Weight::from_ref_time(310_425_575) - // Standard Error: 350_059 - .saturating_add(Weight::from_ref_time(30_466_452).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: Skipped Metadata (r:0 w:0) + // Proof Size summary in bytes: + // Measured: `693 + r * (800 ±0)` + // Estimated: `0` + // Minimum execution time: 211_801 nanoseconds. + Weight::from_ref_time(277_515_187) + // Standard Error: 429_748 + .saturating_add(Weight::from_ref_time(30_106_551).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_set_storage(r: u32) -> Weight { - Weight::from_ref_time(332_284_799) - // Standard Error: 3_921_028 - .saturating_add(Weight::from_ref_time(804_952_629).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `720 + r * (23420 ±0)` + // Estimated: `0` + // Minimum execution time: 378_342 nanoseconds. + Weight::from_ref_time(381_835_329) + // Standard Error: 2_213_189 + .saturating_add(Weight::from_ref_time(872_260_611).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_set_storage_per_new_kb(n: u32) -> Weight { - Weight::from_ref_time(1_054_846_155) - // Standard Error: 3_062_193 - .saturating_add(Weight::from_ref_time(174_014_042).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(52)) + // Proof Size summary in bytes: + // Measured: `12402 + n * (12006 ±0)` + // Estimated: `0` + // Minimum execution time: 598_822 nanoseconds. + Weight::from_ref_time(1_144_925_938) + // Standard Error: 3_370_061 + .saturating_add(Weight::from_ref_time(178_779_202).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(52_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(50)) - .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(50_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_set_storage_per_old_kb(n: u32) -> Weight { - Weight::from_ref_time(1_010_228_458) - // Standard Error: 2_470_909 - .saturating_add(Weight::from_ref_time(138_538_184).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51)) + // Proof Size summary in bytes: + // Measured: `14990 + n * (175775 ±0)` + // Estimated: `0` + // Minimum execution time: 598_412 nanoseconds. + Weight::from_ref_time(1_097_949_472) + // Standard Error: 3_059_877 + .saturating_add(Weight::from_ref_time(130_913_265).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(49)) - .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(49_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_clear_storage(r: u32) -> Weight { - Weight::from_ref_time(380_520_980) - // Standard Error: 3_909_300 - .saturating_add(Weight::from_ref_time(817_235_280).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `720 + r * (23100 ±0)` + // Estimated: `0` + // Minimum execution time: 382_191 nanoseconds. + Weight::from_ref_time(415_594_732) + // Standard Error: 2_220_153 + .saturating_add(Weight::from_ref_time(873_528_234).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_clear_storage_per_kb(n: u32) -> Weight { - Weight::from_ref_time(970_473_148) - // Standard Error: 2_890_250 - .saturating_add(Weight::from_ref_time(136_422_909).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51)) + // Proof Size summary in bytes: + // Measured: `14670 + n * (175775 ±0)` + // Estimated: `0` + // Minimum execution time: 550_522 nanoseconds. + Weight::from_ref_time(1_065_119_531) + // Standard Error: 3_340_411 + .saturating_add(Weight::from_ref_time(137_650_212).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(48)) - .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(48_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_get_storage(r: u32) -> Weight { - Weight::from_ref_time(378_748_991) - // Standard Error: 2_923_997 - .saturating_add(Weight::from_ref_time(644_891_105).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `730 + r * (23740 ±0)` + // Estimated: `0` + // Minimum execution time: 380_221 nanoseconds. + Weight::from_ref_time(416_892_562) + // Standard Error: 2_373_054 + .saturating_add(Weight::from_ref_time(739_905_417).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_get_storage_per_kb(n: u32) -> Weight { - Weight::from_ref_time(922_100_323) - // Standard Error: 3_042_669 - .saturating_add(Weight::from_ref_time(301_712_263).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51)) + // Proof Size summary in bytes: + // Measured: `15321 + n * (175775 ±0)` + // Estimated: `0` + // Minimum execution time: 526_942 nanoseconds. + Weight::from_ref_time(987_778_304) + // Standard Error: 3_411_582 + .saturating_add(Weight::from_ref_time(307_364_535).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_contains_storage(r: u32) -> Weight { - Weight::from_ref_time(351_930_453) - // Standard Error: 3_420_347 - .saturating_add(Weight::from_ref_time(635_280_961).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `723 + r * (23100 ±0)` + // Estimated: `0` + // Minimum execution time: 388_831 nanoseconds. + Weight::from_ref_time(476_394_408) + // Standard Error: 3_183_984 + .saturating_add(Weight::from_ref_time(679_548_744).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_contains_storage_per_kb(n: u32) -> Weight { - Weight::from_ref_time(848_856_926) - // Standard Error: 2_437_767 - .saturating_add(Weight::from_ref_time(131_258_052).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51)) + // Proof Size summary in bytes: + // Measured: `14673 + n * (175775 ±0)` + // Estimated: `0` + // Minimum execution time: 522_061 nanoseconds. + Weight::from_ref_time(1_018_336_981) + // Standard Error: 2_978_849 + .saturating_add(Weight::from_ref_time(116_207_683).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_take_storage(r: u32) -> Weight { - Weight::from_ref_time(403_719_260) - // Standard Error: 3_386_460 - .saturating_add(Weight::from_ref_time(804_246_540).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `731 + r * (23740 ±0)` + // Estimated: `0` + // Minimum execution time: 404_552 nanoseconds. + Weight::from_ref_time(368_940_961) + // Standard Error: 2_958_898 + .saturating_add(Weight::from_ref_time(928_776_934).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: Skipped Metadata (r:0 w:0) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) fn seal_take_storage_per_kb(n: u32) -> Weight { - Weight::from_ref_time(987_006_327) - // Standard Error: 3_355_175 - .saturating_add(Weight::from_ref_time(316_360_393).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51)) + // Proof Size summary in bytes: + // Measured: `15322 + n * (175775 ±0)` + // Estimated: `0` + // Minimum execution time: 575_262 nanoseconds. + Weight::from_ref_time(1_111_999_880) + // Standard Error: 3_691_378 + .saturating_add(Weight::from_ref_time(317_487_293).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(48)) - .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + .saturating_add(T::DbWeight::get().writes(48_u64)) + } + /// Storage: System Account (r:1602 w:1601) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_transfer(r: u32) -> Weight { - Weight::from_ref_time(387_124_429) - // Standard Error: 5_436_860 - .saturating_add(Weight::from_ref_time(2_410_066_033).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) + // Proof Size summary in bytes: + // Measured: `1322 + r * (3601 ±0)` + // Estimated: `0` + // Minimum execution time: 392_841 nanoseconds. + Weight::from_ref_time(215_633_057) + // Standard Error: 3_372_924 + .saturating_add(Weight::from_ref_time(2_557_460_761).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1601 w:1601) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:2 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:1602 w:1602) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_call(r: u32) -> Weight { - Weight::from_ref_time(412_832_000) - // Standard Error: 31_066_972 - .saturating_add(Weight::from_ref_time(34_742_483_512).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) + // Proof Size summary in bytes: + // Measured: `948 + r * (20495 ±0)` + // Estimated: `0` + // Minimum execution time: 391_072 nanoseconds. + Weight::from_ref_time(475_812_000) + // Standard Error: 31_956_032 + .saturating_add(Weight::from_ref_time(37_923_736_491).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((160_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((160_u64).saturating_mul(r.into()))) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1536 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:1537 w:1537) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_delegate_call(r: u32) -> Weight { - Weight::from_ref_time(478_601_000) - // Standard Error: 32_505_904 - .saturating_add(Weight::from_ref_time(34_270_355_505).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `0 + r * (71670 ±0)` + // Estimated: `0` + // Minimum execution time: 391_721 nanoseconds. + Weight::from_ref_time(487_132_000) + // Standard Error: 32_502_117 + .saturating_add(Weight::from_ref_time(37_583_151_357).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((150_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((75_u64).saturating_mul(r.into()))) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:81 w:81) - // Storage: Contracts CodeStorage (r:2 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:82 w:82) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:82 w:81) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:81 w:81) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:2 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:82 w:82) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_call_per_transfer_clone_kb(t: u32, c: u32) -> Weight { - Weight::from_ref_time(15_958_991_560) - // Standard Error: 112_443_411 - .saturating_add(Weight::from_ref_time(3_094_762_846).saturating_mul(t.into())) - // Standard Error: 168_602 - .saturating_add(Weight::from_ref_time(18_427_737).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(167)) + // Proof Size summary in bytes: + // Measured: `21128 + t * (15897 ±0)` + // Estimated: `0` + // Minimum execution time: 18_619_978 nanoseconds. + Weight::from_ref_time(17_830_828_049) + // Standard Error: 62_285_199 + .saturating_add(Weight::from_ref_time(2_068_909_927).saturating_mul(t.into())) + // Standard Error: 93_393 + .saturating_add(Weight::from_ref_time(14_920_187).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(167_u64)) .saturating_add(T::DbWeight::get().reads((81_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(163)) - .saturating_add(T::DbWeight::get().writes((81_u64).saturating_mul(t.into()))) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) - // Storage: Contracts Nonce (r:1 w:1) - // Storage: Contracts OwnerInfoOf (r:80 w:80) + .saturating_add(T::DbWeight::get().writes(163_u64)) + } + /// Storage: System Account (r:1602 w:1602) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1601 w:1601) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1601 w:1600) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: Contracts Nonce (r:1 w:1) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:1600 w:1600) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Storage: System EventTopics (r:1602 w:1602) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_instantiate(r: u32) -> Weight { - Weight::from_ref_time(481_351_000) - // Standard Error: 65_768_047 - .saturating_add(Weight::from_ref_time(45_721_336_046).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(8)) + // Proof Size summary in bytes: + // Measured: `1512 + r * (25573 ±0)` + // Estimated: `0` + // Minimum execution time: 396_751 nanoseconds. + Weight::from_ref_time(474_781_000) + // Standard Error: 118_939_090 + .saturating_add(Weight::from_ref_time(51_837_811_666).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((400_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(5)) - .saturating_add(T::DbWeight::get().writes((400_u64).saturating_mul(r.into()))) - } - // Storage: System Account (r:81 w:81) - // Storage: Contracts ContractInfoOf (r:81 w:81) - // Storage: Contracts CodeStorage (r:2 w:1) - // Storage: Timestamp Now (r:1 w:0) - // Storage: Contracts Nonce (r:1 w:1) - // Storage: Contracts OwnerInfoOf (r:1 w:1) - // Storage: System EventTopics (r:82 w:82) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: System Account (r:82 w:82) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:81 w:81) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:2 w:1) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: Contracts Nonce (r:1 w:1) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:1 w:1) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Storage: System EventTopics (r:82 w:82) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_instantiate_per_transfer_input_salt_kb(t: u32, i: u32, s: u32) -> Weight { - Weight::from_ref_time(202_589_751_000) - // Standard Error: 1_552_239 - .saturating_add(Weight::from_ref_time(119_317_380).saturating_mul(i.into())) - // Standard Error: 1_552_239 - .saturating_add(Weight::from_ref_time(115_833_964).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(249)) + // Proof Size summary in bytes: + // Measured: `5505 + t * (68 ±0)` + // Estimated: `0` + // Minimum execution time: 216_528_162 nanoseconds. + Weight::from_ref_time(5_562_488_322) + // Standard Error: 425_216_870 + .saturating_add(Weight::from_ref_time(1_604_582_312).saturating_mul(t.into())) + // Standard Error: 693_409 + .saturating_add(Weight::from_ref_time(233_099_027).saturating_mul(i.into())) + // Standard Error: 693_409 + .saturating_add(Weight::from_ref_time(228_000_806).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(249_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(247)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + .saturating_add(T::DbWeight::get().writes(247_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_hash_sha2_256(r: u32) -> Weight { - Weight::from_ref_time(495_973_918) - // Standard Error: 8_530_509 - .saturating_add(Weight::from_ref_time(25_019_781).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `691 + r * (642 ±0)` + // Estimated: `0` + // Minimum execution time: 375_911 nanoseconds. + Weight::from_ref_time(521_208_069) + // Standard Error: 9_400_000 + .saturating_add(Weight::from_ref_time(60_183_430).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_hash_sha2_256_per_kb(n: u32) -> Weight { - Weight::from_ref_time(377_657_964) - // Standard Error: 242_553 - .saturating_add(Weight::from_ref_time(86_484_558).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `1493` + // Estimated: `0` + // Minimum execution time: 433_351 nanoseconds. + Weight::from_ref_time(711_287_729) + // Standard Error: 97_681 + .saturating_add(Weight::from_ref_time(88_961_603).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_hash_keccak_256(r: u32) -> Weight { - Weight::from_ref_time(495_349_616) - // Standard Error: 8_119_882 - .saturating_add(Weight::from_ref_time(94_785_183).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `693 + r * (642 ±0)` + // Estimated: `0` + // Minimum execution time: 373_841 nanoseconds. + Weight::from_ref_time(516_432_830) + // Standard Error: 9_877_403 + .saturating_add(Weight::from_ref_time(124_392_969).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_hash_keccak_256_per_kb(n: u32) -> Weight { - Weight::from_ref_time(526_361_042) - // Standard Error: 710_369 - .saturating_add(Weight::from_ref_time(364_405_193).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `1495` + // Estimated: `0` + // Minimum execution time: 558_471 nanoseconds. + Weight::from_ref_time(327_359_477) + // Standard Error: 472_796 + .saturating_add(Weight::from_ref_time(385_700_764).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_hash_blake2_256(r: u32) -> Weight { - Weight::from_ref_time(507_899_340) - // Standard Error: 10_823_074 - .saturating_add(Weight::from_ref_time(88_578_359).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `693 + r * (642 ±0)` + // Estimated: `0` + // Minimum execution time: 372_161 nanoseconds. + Weight::from_ref_time(507_801_116) + // Standard Error: 9_641_151 + .saturating_add(Weight::from_ref_time(100_076_683).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_hash_blake2_256_per_kb(n: u32) -> Weight { - Weight::from_ref_time(551_302_000) - // Standard Error: 230_749 - .saturating_add(Weight::from_ref_time(160_792_932).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `1495` + // Estimated: `0` + // Minimum execution time: 433_031 nanoseconds. + Weight::from_ref_time(433_179_721) + // Standard Error: 193_644 + .saturating_add(Weight::from_ref_time(165_447_946).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_hash_blake2_128(r: u32) -> Weight { - Weight::from_ref_time(491_245_965) - // Standard Error: 9_798_359 - .saturating_add(Weight::from_ref_time(96_456_634).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `693 + r * (642 ±0)` + // Estimated: `0` + // Minimum execution time: 375_691 nanoseconds. + Weight::from_ref_time(517_955_342) + // Standard Error: 9_503_536 + .saturating_add(Weight::from_ref_time(89_850_457).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_hash_blake2_128_per_kb(n: u32) -> Weight { - Weight::from_ref_time(64_392_820) - // Standard Error: 377_448 - .saturating_add(Weight::from_ref_time(161_709_979).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `1495` + // Estimated: `0` + // Minimum execution time: 438_421 nanoseconds. + Weight::from_ref_time(392_460_812) + // Standard Error: 225_646 + .saturating_add(Weight::from_ref_time(166_428_234).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_ecdsa_recover(r: u32) -> Weight { - Weight::from_ref_time(502_618_577) - // Standard Error: 11_881_886 - .saturating_add(Weight::from_ref_time(5_538_606_222).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `737 + r * (6083 ±0)` + // Estimated: `0` + // Minimum execution time: 380_471 nanoseconds. + Weight::from_ref_time(525_662_926) + // Standard Error: 10_049_172 + .saturating_add(Weight::from_ref_time(6_083_212_173).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_ecdsa_to_eth_address(r: u32) -> Weight { - Weight::from_ref_time(493_801_885) - // Standard Error: 9_462_721 - .saturating_add(Weight::from_ref_time(1_303_506_314).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) - // Storage: Contracts OwnerInfoOf (r:16 w:16) + // Proof Size summary in bytes: + // Measured: `706 + r * (3362 ±0)` + // Estimated: `0` + // Minimum execution time: 378_671 nanoseconds. + Weight::from_ref_time(524_157_408) + // Standard Error: 9_855_701 + .saturating_add(Weight::from_ref_time(1_349_033_991).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1536 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:1536 w:1536) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Storage: System EventTopics (r:1538 w:1538) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_set_code_hash(r: u32) -> Weight { - Weight::from_ref_time(467_662_000) - // Standard Error: 8_675_255 - .saturating_add(Weight::from_ref_time(2_830_181_038).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `0 + r * (79300 ±0)` + // Estimated: `0` + // Minimum execution time: 455_902 nanoseconds. + Weight::from_ref_time(462_341_000) + // Standard Error: 10_534_864 + .saturating_add(Weight::from_ref_time(3_184_715_064).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((225_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((150_u64).saturating_mul(r.into()))) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_reentrance_count(r: u32) -> Weight { - Weight::from_ref_time(525_753_609) - // Standard Error: 450_192 - .saturating_add(Weight::from_ref_time(21_456_704).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `689 + r * (240 ±0)` + // Estimated: `0` + // Minimum execution time: 388_561 nanoseconds. + Weight::from_ref_time(509_260_062) + // Standard Error: 477_675 + .saturating_add(Weight::from_ref_time(26_867_814).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_account_reentrance_count(r: u32) -> Weight { - Weight::from_ref_time(630_982_153) - // Standard Error: 576_474 - .saturating_add(Weight::from_ref_time(53_288_854).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: System Account (r:1 w:0) - // Storage: Contracts ContractInfoOf (r:1 w:1) - // Storage: Contracts CodeStorage (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:2 w:2) - // Storage: Contracts Nonce (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `1387 + r * (3140 ±0)` + // Estimated: `0` + // Minimum execution time: 395_731 nanoseconds. + Weight::from_ref_time(681_401_759) + // Standard Error: 405_414 + .saturating_add(Weight::from_ref_time(34_632_296).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: Ignored) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: Contracts Nonce (r:1 w:1) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) fn seal_instantiation_nonce(r: u32) -> Weight { - Weight::from_ref_time(491_797_726) - // Standard Error: 368_709 - .saturating_add(Weight::from_ref_time(21_107_489).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(4)) + // Proof Size summary in bytes: + // Measured: `692 + r * (240 ±0)` + // Estimated: `0` + // Minimum execution time: 379_381 nanoseconds. + Weight::from_ref_time(526_870_017) + // Standard Error: 355_115 + .saturating_add(Weight::from_ref_time(20_185_429).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } fn instr_i64const(r: u32) -> Weight { - Weight::from_ref_time(2_189_945) - // Standard Error: 8_830 - .saturating_add(Weight::from_ref_time(1_100_564).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_940 nanoseconds. + Weight::from_ref_time(2_221_875) + // Standard Error: 3_984 + .saturating_add(Weight::from_ref_time(675_756).saturating_mul(r.into())) } fn instr_i64load(r: u32) -> Weight { - Weight::from_ref_time(10_303_330) - // Standard Error: 35_494 - .saturating_add(Weight::from_ref_time(1_987_470).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_020 nanoseconds. + Weight::from_ref_time(9_218_193) + // Standard Error: 35_891 + .saturating_add(Weight::from_ref_time(2_215_929).saturating_mul(r.into())) } fn instr_i64store(r: u32) -> Weight { - Weight::from_ref_time(7_707_768) - // Standard Error: 16_588 - .saturating_add(Weight::from_ref_time(1_792_099).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_980 nanoseconds. + Weight::from_ref_time(4_816_829) + // Standard Error: 39_962 + .saturating_add(Weight::from_ref_time(2_307_739).saturating_mul(r.into())) } fn instr_select(r: u32) -> Weight { - Weight::from_ref_time(90_986) - // Standard Error: 16_466 - .saturating_add(Weight::from_ref_time(2_825_185).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_800 nanoseconds. + Weight::from_ref_time(1_652_152) + // Standard Error: 15_212 + .saturating_add(Weight::from_ref_time(1_915_105).saturating_mul(r.into())) } fn instr_if(r: u32) -> Weight { - Weight::from_ref_time(5_452_581) - // Standard Error: 22_949 - .saturating_add(Weight::from_ref_time(2_713_169).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_630 nanoseconds. + Weight::from_ref_time(1_517_695) + // Standard Error: 14_114 + .saturating_add(Weight::from_ref_time(2_305_030).saturating_mul(r.into())) } fn instr_br(r: u32) -> Weight { - Weight::from_ref_time(1_840_198) - // Standard Error: 13_561 - .saturating_add(Weight::from_ref_time(1_639_894).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_790 nanoseconds. + Weight::from_ref_time(2_961_102) + // Standard Error: 5_003 + .saturating_add(Weight::from_ref_time(1_122_988).saturating_mul(r.into())) } fn instr_br_if(r: u32) -> Weight { - Weight::from_ref_time(1_722_282) - // Standard Error: 16_560 - .saturating_add(Weight::from_ref_time(2_052_510).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_500 nanoseconds. + Weight::from_ref_time(2_475_136) + // Standard Error: 4_809 + .saturating_add(Weight::from_ref_time(1_514_735).saturating_mul(r.into())) } fn instr_br_table(r: u32) -> Weight { - Weight::from_ref_time(1_582_828) - // Standard Error: 21_269 - .saturating_add(Weight::from_ref_time(2_827_898).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_770 nanoseconds. + Weight::from_ref_time(3_261_783) + // Standard Error: 8_812 + .saturating_add(Weight::from_ref_time(1_951_362).saturating_mul(r.into())) } fn instr_br_table_per_entry(e: u32) -> Weight { - Weight::from_ref_time(8_391_206) - // Standard Error: 502 - .saturating_add(Weight::from_ref_time(824).saturating_mul(e.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_530 nanoseconds. + Weight::from_ref_time(7_337_582) + // Standard Error: 297 + .saturating_add(Weight::from_ref_time(9_701).saturating_mul(e.into())) } fn instr_call(r: u32) -> Weight { - Weight::from_ref_time(11_931_216) - // Standard Error: 47_016 - .saturating_add(Weight::from_ref_time(5_318_865).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_580 nanoseconds. + Weight::from_ref_time(3_955_907) + // Standard Error: 45_122 + .saturating_add(Weight::from_ref_time(5_356_440).saturating_mul(r.into())) } fn instr_call_indirect(r: u32) -> Weight { - Weight::from_ref_time(15_786_730) - // Standard Error: 59_351 - .saturating_add(Weight::from_ref_time(6_461_047).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_680 nanoseconds. + Weight::from_ref_time(7_251_021) + // Standard Error: 20_014 + .saturating_add(Weight::from_ref_time(6_205_849).saturating_mul(r.into())) } fn instr_call_indirect_per_param(p: u32) -> Weight { - Weight::from_ref_time(13_765_096) - // Standard Error: 4_883 - .saturating_add(Weight::from_ref_time(351_475).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_770 nanoseconds. + Weight::from_ref_time(13_649_906) + // Standard Error: 3_302 + .saturating_add(Weight::from_ref_time(336_049).saturating_mul(p.into())) } fn instr_call_per_local(l: u32) -> Weight { - Weight::from_ref_time(9_861_091) - // Standard Error: 790 - .saturating_add(Weight::from_ref_time(87_335).saturating_mul(l.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_740 nanoseconds. + Weight::from_ref_time(5_679_949) + // Standard Error: 568 + .saturating_add(Weight::from_ref_time(101_294).saturating_mul(l.into())) } fn instr_local_get(r: u32) -> Weight { - Weight::from_ref_time(3_945_247) - // Standard Error: 11_128 - .saturating_add(Weight::from_ref_time(1_384_713).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_990 nanoseconds. + Weight::from_ref_time(5_893_419) + // Standard Error: 4_490 + .saturating_add(Weight::from_ref_time(818_687).saturating_mul(r.into())) } fn instr_local_set(r: u32) -> Weight { - Weight::from_ref_time(4_814_173) - // Standard Error: 11_533 - .saturating_add(Weight::from_ref_time(1_382_446).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_920 nanoseconds. + Weight::from_ref_time(4_333_442) + // Standard Error: 3_098 + .saturating_add(Weight::from_ref_time(1_277_210).saturating_mul(r.into())) } fn instr_local_tee(r: u32) -> Weight { - Weight::from_ref_time(6_068_013) - // Standard Error: 15_486 - .saturating_add(Weight::from_ref_time(1_901_310).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_910 nanoseconds. + Weight::from_ref_time(4_178_304) + // Standard Error: 5_012 + .saturating_add(Weight::from_ref_time(1_559_398).saturating_mul(r.into())) } fn instr_global_get(r: u32) -> Weight { - Weight::from_ref_time(6_345_230) - // Standard Error: 18_258 - .saturating_add(Weight::from_ref_time(1_617_970).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_710 nanoseconds. + Weight::from_ref_time(2_905_278) + // Standard Error: 5_425 + .saturating_add(Weight::from_ref_time(1_769_102).saturating_mul(r.into())) } fn instr_global_set(r: u32) -> Weight { - Weight::from_ref_time(324_115) - // Standard Error: 15_894 - .saturating_add(Weight::from_ref_time(2_226_970).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_750 nanoseconds. + Weight::from_ref_time(2_869_271) + // Standard Error: 10_763 + .saturating_add(Weight::from_ref_time(2_083_345).saturating_mul(r.into())) } fn instr_memory_current(r: u32) -> Weight { - Weight::from_ref_time(4_965_418) - // Standard Error: 13_543 - .saturating_add(Weight::from_ref_time(1_291_082).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_020 nanoseconds. + Weight::from_ref_time(2_815_206) + // Standard Error: 19_236 + .saturating_add(Weight::from_ref_time(1_520_946).saturating_mul(r.into())) } fn instr_memory_grow(r: u32) -> Weight { - Weight::from_ref_time(1_956_457) - // Standard Error: 660_715 - .saturating_add(Weight::from_ref_time(371_399_642).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_580 nanoseconds. + Weight::from_ref_time(2_101_220) + // Standard Error: 89_601 + .saturating_add(Weight::from_ref_time(313_382_779).saturating_mul(r.into())) } fn instr_i64clz(r: u32) -> Weight { - Weight::from_ref_time(3_541_045) - // Standard Error: 12_084 - .saturating_add(Weight::from_ref_time(1_417_000).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_650 nanoseconds. + Weight::from_ref_time(1_591_822) + // Standard Error: 10_384 + .saturating_add(Weight::from_ref_time(1_071_261).saturating_mul(r.into())) } fn instr_i64ctz(r: u32) -> Weight { - Weight::from_ref_time(4_045_982) - // Standard Error: 12_643 - .saturating_add(Weight::from_ref_time(1_494_257).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_660 nanoseconds. + Weight::from_ref_time(2_071_488) + // Standard Error: 4_940 + .saturating_add(Weight::from_ref_time(1_038_352).saturating_mul(r.into())) } fn instr_i64popcnt(r: u32) -> Weight { - Weight::from_ref_time(699_898) - // Standard Error: 13_951 - .saturating_add(Weight::from_ref_time(1_553_095).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_800 nanoseconds. + Weight::from_ref_time(3_844_692) + // Standard Error: 5_786 + .saturating_add(Weight::from_ref_time(974_108).saturating_mul(r.into())) } fn instr_i64eqz(r: u32) -> Weight { - Weight::from_ref_time(1_034_066) - // Standard Error: 12_154 - .saturating_add(Weight::from_ref_time(1_564_759).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_830 nanoseconds. + Weight::from_ref_time(2_766_151) + // Standard Error: 6_398 + .saturating_add(Weight::from_ref_time(1_021_928).saturating_mul(r.into())) } fn instr_i64extendsi32(r: u32) -> Weight { - Weight::from_ref_time(2_002_521) - // Standard Error: 11_738 - .saturating_add(Weight::from_ref_time(1_573_686).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_830 nanoseconds. + Weight::from_ref_time(2_716_419) + // Standard Error: 3_863 + .saturating_add(Weight::from_ref_time(1_013_294).saturating_mul(r.into())) } fn instr_i64extendui32(r: u32) -> Weight { - Weight::from_ref_time(2_774_946) - // Standard Error: 12_068 - .saturating_add(Weight::from_ref_time(1_487_936).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_520 nanoseconds. + Weight::from_ref_time(1_983_148) + // Standard Error: 6_589 + .saturating_add(Weight::from_ref_time(1_037_869).saturating_mul(r.into())) } fn instr_i32wrapi64(r: u32) -> Weight { - Weight::from_ref_time(626_689) - // Standard Error: 11_299 - .saturating_add(Weight::from_ref_time(1_549_056).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_530 nanoseconds. + Weight::from_ref_time(1_506_613) + // Standard Error: 8_904 + .saturating_add(Weight::from_ref_time(1_068_833).saturating_mul(r.into())) } fn instr_i64eq(r: u32) -> Weight { - Weight::from_ref_time(2_333_682) - // Standard Error: 17_041 - .saturating_add(Weight::from_ref_time(1_851_756).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_530 nanoseconds. + Weight::from_ref_time(2_359_060) + // Standard Error: 5_380 + .saturating_add(Weight::from_ref_time(1_359_990).saturating_mul(r.into())) } fn instr_i64ne(r: u32) -> Weight { - Weight::from_ref_time(1_041_986) - // Standard Error: 14_199 - .saturating_add(Weight::from_ref_time(1_944_400).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_570 nanoseconds. + Weight::from_ref_time(2_003_139) + // Standard Error: 11_502 + .saturating_add(Weight::from_ref_time(1_400_067).saturating_mul(r.into())) } fn instr_i64lts(r: u32) -> Weight { - Weight::from_ref_time(2_700_264) - // Standard Error: 15_744 - .saturating_add(Weight::from_ref_time(1_862_463).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_630 nanoseconds. + Weight::from_ref_time(2_293_566) + // Standard Error: 13_097 + .saturating_add(Weight::from_ref_time(1_382_206).saturating_mul(r.into())) } fn instr_i64ltu(r: u32) -> Weight { - Weight::from_ref_time(2_435_234) - // Standard Error: 16_322 - .saturating_add(Weight::from_ref_time(1_874_783).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_530 nanoseconds. + Weight::from_ref_time(2_329_812) + // Standard Error: 12_754 + .saturating_add(Weight::from_ref_time(1_374_599).saturating_mul(r.into())) } fn instr_i64gts(r: u32) -> Weight { - Weight::from_ref_time(1_459_541) - // Standard Error: 14_651 - .saturating_add(Weight::from_ref_time(1_917_007).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_740 nanoseconds. + Weight::from_ref_time(2_016_129) + // Standard Error: 6_775 + .saturating_add(Weight::from_ref_time(1_389_921).saturating_mul(r.into())) } fn instr_i64gtu(r: u32) -> Weight { - Weight::from_ref_time(3_588_850) - // Standard Error: 15_517 - .saturating_add(Weight::from_ref_time(1_795_934).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_760 nanoseconds. + Weight::from_ref_time(3_143_050) + // Standard Error: 10_805 + .saturating_add(Weight::from_ref_time(1_359_744).saturating_mul(r.into())) } fn instr_i64les(r: u32) -> Weight { - Weight::from_ref_time(3_091_309) - // Standard Error: 14_767 - .saturating_add(Weight::from_ref_time(1_843_758).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_850 nanoseconds. + Weight::from_ref_time(1_849_461) + // Standard Error: 20_376 + .saturating_add(Weight::from_ref_time(1_425_423).saturating_mul(r.into())) } fn instr_i64leu(r: u32) -> Weight { - Weight::from_ref_time(1_201_612) - // Standard Error: 14_668 - .saturating_add(Weight::from_ref_time(1_913_945).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_830 nanoseconds. + Weight::from_ref_time(1_474_342) + // Standard Error: 9_782 + .saturating_add(Weight::from_ref_time(1_428_067).saturating_mul(r.into())) } fn instr_i64ges(r: u32) -> Weight { - Weight::from_ref_time(1_491_587) - // Standard Error: 16_921 - .saturating_add(Weight::from_ref_time(1_946_149).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_900 nanoseconds. + Weight::from_ref_time(2_343_184) + // Standard Error: 12_501 + .saturating_add(Weight::from_ref_time(1_388_248).saturating_mul(r.into())) } fn instr_i64geu(r: u32) -> Weight { - Weight::from_ref_time(152_314) - // Standard Error: 11_949 - .saturating_add(Weight::from_ref_time(2_018_714).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_800 nanoseconds. + Weight::from_ref_time(1_935_655) + // Standard Error: 16_622 + .saturating_add(Weight::from_ref_time(1_406_439).saturating_mul(r.into())) } fn instr_i64add(r: u32) -> Weight { - Weight::from_ref_time(2_742_157) - // Standard Error: 14_796 - .saturating_add(Weight::from_ref_time(1_799_703).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_620 nanoseconds. + Weight::from_ref_time(2_694_561) + // Standard Error: 8_408 + .saturating_add(Weight::from_ref_time(1_341_168).saturating_mul(r.into())) } fn instr_i64sub(r: u32) -> Weight { - Weight::from_ref_time(2_286_292) - // Standard Error: 14_078 - .saturating_add(Weight::from_ref_time(1_784_751).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_810 nanoseconds. + Weight::from_ref_time(2_187_998) + // Standard Error: 9_102 + .saturating_add(Weight::from_ref_time(1_367_298).saturating_mul(r.into())) } fn instr_i64mul(r: u32) -> Weight { - Weight::from_ref_time(2_199_299) - // Standard Error: 15_272 - .saturating_add(Weight::from_ref_time(1_796_277).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_670 nanoseconds. + Weight::from_ref_time(2_622_482) + // Standard Error: 6_814 + .saturating_add(Weight::from_ref_time(1_363_012).saturating_mul(r.into())) } fn instr_i64divs(r: u32) -> Weight { - Weight::from_ref_time(1_413_962) - // Standard Error: 15_817 - .saturating_add(Weight::from_ref_time(2_000_355).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_770 nanoseconds. + Weight::from_ref_time(2_429_637) + // Standard Error: 8_349 + .saturating_add(Weight::from_ref_time(1_504_321).saturating_mul(r.into())) } fn instr_i64divu(r: u32) -> Weight { - Weight::from_ref_time(2_907_795) - // Standard Error: 15_745 - .saturating_add(Weight::from_ref_time(1_901_546).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_790 nanoseconds. + Weight::from_ref_time(1_787_092) + // Standard Error: 20_411 + .saturating_add(Weight::from_ref_time(1_476_285).saturating_mul(r.into())) } fn instr_i64rems(r: u32) -> Weight { - Weight::from_ref_time(2_669_603) - // Standard Error: 16_923 - .saturating_add(Weight::from_ref_time(1_921_234).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_790 nanoseconds. + Weight::from_ref_time(1_882_129) + // Standard Error: 8_474 + .saturating_add(Weight::from_ref_time(1_551_954).saturating_mul(r.into())) } fn instr_i64remu(r: u32) -> Weight { - Weight::from_ref_time(2_361_836) - // Standard Error: 15_758 - .saturating_add(Weight::from_ref_time(1_947_362).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_620 nanoseconds. + Weight::from_ref_time(2_393_637) + // Standard Error: 5_959 + .saturating_add(Weight::from_ref_time(1_406_766).saturating_mul(r.into())) } fn instr_i64and(r: u32) -> Weight { - Weight::from_ref_time(2_131_911) - // Standard Error: 16_388 - .saturating_add(Weight::from_ref_time(1_850_606).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_520 nanoseconds. + Weight::from_ref_time(1_887_860) + // Standard Error: 13_154 + .saturating_add(Weight::from_ref_time(1_381_798).saturating_mul(r.into())) } fn instr_i64or(r: u32) -> Weight { - Weight::from_ref_time(3_312_588) - // Standard Error: 14_708 - .saturating_add(Weight::from_ref_time(1_775_228).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_870 nanoseconds. + Weight::from_ref_time(2_268_223) + // Standard Error: 12_145 + .saturating_add(Weight::from_ref_time(1_367_089).saturating_mul(r.into())) } fn instr_i64xor(r: u32) -> Weight { - Weight::from_ref_time(2_122_896) - // Standard Error: 14_442 - .saturating_add(Weight::from_ref_time(1_840_191).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_750 nanoseconds. + Weight::from_ref_time(3_021_992) + // Standard Error: 6_337 + .saturating_add(Weight::from_ref_time(1_326_852).saturating_mul(r.into())) } fn instr_i64shl(r: u32) -> Weight { - Weight::from_ref_time(4_459_051) - // Standard Error: 14_854 - .saturating_add(Weight::from_ref_time(1_775_941).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_820 nanoseconds. + Weight::from_ref_time(2_461_905) + // Standard Error: 7_016 + .saturating_add(Weight::from_ref_time(1_356_659).saturating_mul(r.into())) } fn instr_i64shrs(r: u32) -> Weight { - Weight::from_ref_time(4_326_537) - // Standard Error: 13_678 - .saturating_add(Weight::from_ref_time(1_733_016).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_560 nanoseconds. + Weight::from_ref_time(2_751_819) + // Standard Error: 7_986 + .saturating_add(Weight::from_ref_time(1_345_449).saturating_mul(r.into())) } fn instr_i64shru(r: u32) -> Weight { - Weight::from_ref_time(2_565_777) - // Standard Error: 14_869 - .saturating_add(Weight::from_ref_time(1_834_825).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_950 nanoseconds. + Weight::from_ref_time(3_532_438) + // Standard Error: 7_114 + .saturating_add(Weight::from_ref_time(1_322_482).saturating_mul(r.into())) } fn instr_i64rotl(r: u32) -> Weight { - Weight::from_ref_time(1_074_040) - // Standard Error: 14_879 - .saturating_add(Weight::from_ref_time(1_887_430).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_740 nanoseconds. + Weight::from_ref_time(1_800_317) + // Standard Error: 10_859 + .saturating_add(Weight::from_ref_time(1_389_462).saturating_mul(r.into())) } fn instr_i64rotr(r: u32) -> Weight { - Weight::from_ref_time(2_637_485) - // Standard Error: 14_170 - .saturating_add(Weight::from_ref_time(1_850_130).saturating_mul(r.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_510 nanoseconds. + Weight::from_ref_time(2_290_133) + // Standard Error: 6_739 + .saturating_add(Weight::from_ref_time(1_359_796).saturating_mul(r.into())) } } diff --git a/runtime/common/src/weights/pallet_democracy.rs b/runtime/common/src/weights/pallet_democracy.rs index 0192ca072..7ad9c2ccf 100644 --- a/runtime/common/src/weights/pallet_democracy.rs +++ b/runtime/common/src/weights/pallet_democracy.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,185 +52,332 @@ use frame_support::{ /// Weight functions for pallet_democracy (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_democracy::weights::WeightInfo for WeightInfo { - // Storage: Democracy PublicPropCount (r:1 w:1) - // Storage: Democracy PublicProps (r:1 w:1) - // Storage: Democracy Blacklist (r:1 w:0) - // Storage: Democracy DepositOf (r:0 w:1) + /// Storage: Democracy PublicPropCount (r:1 w:1) + /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Democracy PublicProps (r:1 w:1) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: Democracy Blacklist (r:1 w:0) + /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3242), added: 5717, mode: MaxEncodedLen) + /// Storage: Democracy DepositOf (r:0 w:1) + /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose() -> Weight { - Weight::from_ref_time(104_090_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `4835` + // Estimated: `23413` + // Minimum execution time: 59_190 nanoseconds. + Weight::from_parts(76_790_000, 23413) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Democracy DepositOf (r:1 w:1) + /// Storage: Democracy DepositOf (r:1 w:1) + /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn second() -> Weight { - Weight::from_ref_time(87_920_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `3591` + // Estimated: `5705` + // Minimum execution time: 49_340 nanoseconds. + Weight::from_parts(62_930_000, 5705) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - // Storage: Democracy VotingOf (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) + /// Storage: Democracy ReferendumInfoOf (r:1 w:1) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: Democracy VotingOf (r:1 w:1) + /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vote_new() -> Weight { - Weight::from_ref_time(110_850_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `3500` + // Estimated: `12732` + // Minimum execution time: 63_870 nanoseconds. + Weight::from_parts(78_820_000, 12732) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - // Storage: Democracy VotingOf (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) + /// Storage: Democracy ReferendumInfoOf (r:1 w:1) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: Democracy VotingOf (r:1 w:1) + /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vote_existing() -> Weight { - Weight::from_ref_time(110_480_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `3522` + // Estimated: `12732` + // Minimum execution time: 67_880 nanoseconds. + Weight::from_parts(79_510_000, 12732) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - // Storage: Democracy Cancellations (r:1 w:1) + /// Storage: Democracy ReferendumInfoOf (r:1 w:1) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: Democracy Cancellations (r:1 w:1) + /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) fn emergency_cancel() -> Weight { - Weight::from_ref_time(52_520_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: Democracy PublicProps (r:1 w:1) - // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:2 w:2) - // Storage: Democracy NextExternal (r:1 w:1) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - // Storage: Democracy Blacklist (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `295` + // Estimated: `5192` + // Minimum execution time: 35_590 nanoseconds. + Weight::from_parts(37_040_000, 5192) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: Democracy PublicProps (r:1 w:1) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: Democracy DepositOf (r:1 w:1) + /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Democracy NextExternal (r:1 w:1) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: Democracy ReferendumInfoOf (r:1 w:1) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: Democracy Blacklist (r:0 w:1) + /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3242), added: 5717, mode: MaxEncodedLen) fn blacklist() -> Weight { - Weight::from_ref_time(170_441_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(7)) + // Proof Size summary in bytes: + // Measured: `6251` + // Estimated: `31427` + // Minimum execution time: 151_681 nanoseconds. + Weight::from_parts(163_900_000, 31427) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } - // Storage: Democracy NextExternal (r:1 w:1) - // Storage: Democracy Blacklist (r:1 w:0) + /// Storage: Democracy NextExternal (r:1 w:1) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: Democracy Blacklist (r:1 w:0) + /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3242), added: 5717, mode: MaxEncodedLen) fn external_propose() -> Weight { - Weight::from_ref_time(39_940_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `3419` + // Estimated: `6344` + // Minimum execution time: 28_471 nanoseconds. + Weight::from_parts(29_710_000, 6344) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy NextExternal (r:0 w:1) + /// Storage: Democracy NextExternal (r:0 w:1) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) fn external_propose_majority() -> Weight { - Weight::from_ref_time(10_580_000).saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_500 nanoseconds. + Weight::from_ref_time(6_850_000).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy NextExternal (r:0 w:1) + /// Storage: Democracy NextExternal (r:0 w:1) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) fn external_propose_default() -> Weight { - Weight::from_ref_time(10_580_000).saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_540 nanoseconds. + Weight::from_ref_time(5_730_000).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy NextExternal (r:1 w:1) - // Storage: Democracy ReferendumCount (r:1 w:1) - // Storage: Democracy ReferendumInfoOf (r:0 w:1) + /// Storage: Democracy NextExternal (r:1 w:1) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: Democracy ReferendumCount (r:1 w:1) + /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Democracy ReferendumInfoOf (r:0 w:1) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn fast_track() -> Weight { - Weight::from_ref_time(49_970_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `179` + // Estimated: `1126` + // Minimum execution time: 28_450 nanoseconds. + Weight::from_parts(34_111_000, 1126) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Democracy NextExternal (r:1 w:1) - // Storage: Democracy Blacklist (r:1 w:1) + /// Storage: Democracy NextExternal (r:1 w:1) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: Democracy Blacklist (r:1 w:1) + /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3242), added: 5717, mode: MaxEncodedLen) fn veto_external() -> Weight { - Weight::from_ref_time(59_000_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `3448` + // Estimated: `6344` + // Minimum execution time: 36_600 nanoseconds. + Weight::from_parts(44_750_000, 6344) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Democracy PublicProps (r:1 w:1) - // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:2 w:2) + /// Storage: Democracy PublicProps (r:1 w:1) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: Democracy DepositOf (r:1 w:1) + /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn cancel_proposal() -> Weight { - Weight::from_ref_time(147_750_000) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Proof Size summary in bytes: + // Measured: `6122` + // Estimated: `28116` + // Minimum execution time: 139_441 nanoseconds. + Weight::from_parts(185_061_000, 28116) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: Democracy ReferendumInfoOf (r:0 w:1) + /// Storage: Democracy ReferendumInfoOf (r:0 w:1) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn cancel_referendum() -> Weight { - Weight::from_ref_time(34_150_000).saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_960 nanoseconds. + Weight::from_ref_time(16_451_000).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy LowestUnbaked (r:1 w:1) - // Storage: Democracy ReferendumCount (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// Storage: Democracy LowestUnbaked (r:1 w:1) + /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Democracy ReferendumCount (r:1 w:0) + /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Democracy ReferendumInfoOf (r:99 w:0) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn on_initialize_base(r: u32) -> Weight { - Weight::from_ref_time(31_624_285) - // Standard Error: 33_652 - .saturating_add(Weight::from_ref_time(3_950_413).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `174 + r * (125 ±0)` + // Estimated: `998 + r * (2684 ±0)` + // Minimum execution time: 15_600 nanoseconds. + Weight::from_parts(35_129_862, 998) + // Standard Error: 50_788 + .saturating_add(Weight::from_ref_time(5_106_103).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: Democracy LowestUnbaked (r:1 w:1) - // Storage: Democracy ReferendumCount (r:1 w:0) - // Storage: Democracy LastTabledWasExternal (r:1 w:0) - // Storage: Democracy NextExternal (r:1 w:0) - // Storage: Democracy PublicProps (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:2 w:0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(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) + /// Storage: Democracy ReferendumCount (r:1 w:0) + /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Democracy LastTabledWasExternal (r:1 w:0) + /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Storage: Democracy NextExternal (r:1 w:0) + /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: Democracy PublicProps (r:1 w:0) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: Democracy ReferendumInfoOf (r:99 w:0) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) fn on_initialize_base_with_launch_period(r: u32) -> Weight { - Weight::from_ref_time(45_766_159) - // Standard Error: 54_944 - .saturating_add(Weight::from_ref_time(4_083_336).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Proof Size summary in bytes: + // Measured: `174 + r * (125 ±0)` + // Estimated: `19318 + r * (2684 ±0)` + // Minimum execution time: 22_480 nanoseconds. + Weight::from_parts(53_212_654, 19318) + // Standard Error: 54_400 + .saturating_add(Weight::from_ref_time(4_790_337).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(2684).saturating_mul(r.into())) } - // Storage: Democracy VotingOf (r:3 w:3) - // Storage: Balances Locks (r:1 w:1) - // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// Storage: Democracy VotingOf (r:3 w:3) + /// 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) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn delegate(r: u32) -> Weight { - Weight::from_ref_time(85_799_572) - // Standard Error: 67_221 - .saturating_add(Weight::from_ref_time(5_976_362).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Proof Size summary in bytes: + // Measured: `897 + r * (147 ±0)` + // Estimated: `22596 + r * (2684 ±0)` + // Minimum execution time: 57_280 nanoseconds. + Weight::from_parts(79_129_083, 22596) + // Standard Error: 45_258 + .saturating_add(Weight::from_ref_time(6_711_477).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .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(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_proof_size(2684).saturating_mul(r.into())) } - // Storage: Democracy VotingOf (r:2 w:2) - // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// 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) fn undelegate(r: u32) -> Weight { - Weight::from_ref_time(48_347_605) - // Standard Error: 58_086 - .saturating_add(Weight::from_ref_time(6_042_597).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `522 + r * (147 ±0)` + // Estimated: `12548 + r * (2684 ±0)` + // Minimum execution time: 34_290 nanoseconds. + Weight::from_parts(47_956_372, 12548) + // Standard Error: 74_725 + .saturating_add(Weight::from_ref_time(6_717_959).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(2684).saturating_mul(r.into())) } - // Storage: Democracy PublicProps (r:0 w:1) + /// Storage: Democracy PublicProps (r:0 w:1) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(13_860_000).saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_460 nanoseconds. + Weight::from_ref_time(6_710_000).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Democracy VotingOf (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Democracy VotingOf (r:1 w:1) + /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn unlock_remove(r: u32) -> Weight { - Weight::from_ref_time(60_965_244) - // Standard Error: 8_626 - .saturating_add(Weight::from_ref_time(69_320).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: Democracy VotingOf (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: System Account (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `554` + // Estimated: `12655` + // Minimum execution time: 37_150 nanoseconds. + Weight::from_parts(49_989_220, 12655) + // Standard Error: 9_152 + .saturating_add(Weight::from_ref_time(30_851).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: Democracy VotingOf (r:1 w:1) + /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn unlock_set(r: u32) -> Weight { - Weight::from_ref_time(61_364_522) - // Standard Error: 8_955 - .saturating_add(Weight::from_ref_time(127_590).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - // Storage: Democracy VotingOf (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `555 + r * (22 ±0)` + // Estimated: `12655` + // Minimum execution time: 34_030 nanoseconds. + Weight::from_parts(45_181_870, 12655) + // Standard Error: 9_428 + .saturating_add(Weight::from_ref_time(164_292).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: Democracy ReferendumInfoOf (r:1 w:1) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: Democracy VotingOf (r:1 w:1) + /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) fn remove_vote(r: u32) -> Weight { - Weight::from_ref_time(37_901_366) - // Standard Error: 6_809 - .saturating_add(Weight::from_ref_time(147_723).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - // Storage: Democracy VotingOf (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `760 + r * (26 ±0)` + // Estimated: `8958` + // Minimum execution time: 27_020 nanoseconds. + Weight::from_parts(33_143_552, 8958) + // Standard Error: 10_217 + .saturating_add(Weight::from_ref_time(176_711).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: Democracy ReferendumInfoOf (r:1 w:1) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(209), added: 2684, mode: MaxEncodedLen) + /// Storage: Democracy VotingOf (r:1 w:1) + /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3799), added: 6274, mode: MaxEncodedLen) fn remove_other_vote(r: u32) -> Weight { - Weight::from_ref_time(37_159_184) - // Standard Error: 8_960 - .saturating_add(Weight::from_ref_time(168_663).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `760 + r * (26 ±0)` + // Estimated: `8958` + // Minimum execution time: 27_780 nanoseconds. + Weight::from_parts(34_449_686, 8958) + // Standard Error: 4_508 + .saturating_add(Weight::from_ref_time(146_136).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/common/src/weights/pallet_identity.rs b/runtime/common/src/weights/pallet_identity.rs index 9d1b5c8f5..a3f0ae854 100644 --- a/runtime/common/src/weights/pallet_identity.rs +++ b/runtime/common/src/weights/pallet_identity.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_identity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,160 +52,254 @@ use frame_support::{ /// Weight functions for pallet_identity (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_identity::weights::WeightInfo for WeightInfo { - // Storage: Identity Registrars (r:1 w:1) - fn add_registrar(r: u32) -> Weight { - Weight::from_ref_time(35_442_944) - // Standard Error: 114_026 - .saturating_add(Weight::from_ref_time(1_320_950).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) + /// Storage: Identity Registrars (r:1 w:1) + /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) + fn add_registrar(_r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `64 + r * (57 ±0)` + // Estimated: `952` + // Minimum execution time: 17_800 nanoseconds. + Weight::from_parts(26_346_723, 952) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Identity IdentityOf (r:1 w:1) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) fn set_identity(r: u32, x: u32) -> Weight { - Weight::from_ref_time(65_456_192) - // Standard Error: 155_580 - .saturating_add(Weight::from_ref_time(280_047).saturating_mul(r.into())) - // Standard Error: 18_071 - .saturating_add(Weight::from_ref_time(642_608).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: Identity IdentityOf (r:1 w:0) - // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `474 + r * (5 ±0)` + // Estimated: `7313` + // Minimum execution time: 35_930 nanoseconds. + Weight::from_parts(45_846_359, 7313) + // Standard Error: 100_560 + .saturating_add(Weight::from_ref_time(217_382).saturating_mul(r.into())) + // Standard Error: 11_680 + .saturating_add(Weight::from_ref_time(671_593).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Identity IdentityOf (r:1 w:0) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + /// Storage: Identity SubsOf (r:1 w:1) + /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) + /// Storage: Identity SuperOf (r:64 w:64) + /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn set_subs_new(s: u32) -> Weight { - Weight::from_ref_time(52_167_774) - // Standard Error: 50_150 - .saturating_add(Weight::from_ref_time(5_114_992).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `101` + // Estimated: `11894 + s * (2589 ±0)` + // Minimum execution time: 13_900 nanoseconds. + Weight::from_parts(34_854_787, 11894) + // Standard Error: 31_219 + .saturating_add(Weight::from_ref_time(5_186_151).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(2589).saturating_mul(s.into())) } - // Storage: Identity IdentityOf (r:1 w:0) - // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:0 w:1) + /// Storage: Identity IdentityOf (r:1 w:0) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + /// Storage: Identity SubsOf (r:1 w:1) + /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) + /// Storage: Identity SuperOf (r:0 w:64) + /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn set_subs_old(p: u32) -> Weight { - Weight::from_ref_time(49_861_666) - // Standard Error: 54_784 - .saturating_add(Weight::from_ref_time(2_535_996).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()))) - } - // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity IdentityOf (r:1 w:1) - // Storage: Identity SuperOf (r:0 w:64) - fn clear_identity(_r: u32, s: u32, x: u32) -> Weight { - Weight::from_ref_time(95_624_852) - // Standard Error: 33_176 - .saturating_add(Weight::from_ref_time(2_111_179).saturating_mul(s.into())) - // Standard Error: 33_176 - .saturating_add(Weight::from_ref_time(143_010).saturating_mul(x.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()))) - } - // Storage: Identity Registrars (r:1 w:0) - // Storage: Identity IdentityOf (r:1 w:1) - fn request_judgement(r: u32, x: u32) -> Weight { - Weight::from_ref_time(64_429_964) - // Standard Error: 133_660 - .saturating_add(Weight::from_ref_time(957_267).saturating_mul(r.into())) - // Standard Error: 15_525 - .saturating_add(Weight::from_ref_time(855_220).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: Identity IdentityOf (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `226 + p * (32 ±0)` + // Estimated: `11894` + // Minimum execution time: 14_660 nanoseconds. + Weight::from_parts(44_232_208, 11894) + // Standard Error: 86_987 + .saturating_add(Weight::from_ref_time(2_060_287).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Identity SubsOf (r:1 w:1) + /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) + /// Storage: Identity IdentityOf (r:1 w:1) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + /// Storage: Identity SuperOf (r:0 w:64) + /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + fn clear_identity(r: u32, s: u32, x: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `535 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `11894` + // Minimum execution time: 51_980 nanoseconds. + Weight::from_parts(50_958_988, 11894) + // Standard Error: 188_022 + .saturating_add(Weight::from_ref_time(564_736).saturating_mul(r.into())) + // Standard Error: 21_894 + .saturating_add(Weight::from_ref_time(1_981_853).saturating_mul(s.into())) + // Standard Error: 21_894 + .saturating_add(Weight::from_ref_time(260_150).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: Identity Registrars (r:1 w:0) + /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) + /// Storage: Identity IdentityOf (r:1 w:1) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + fn request_judgement(_r: u32, x: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `431 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `8265` + // Minimum execution time: 38_610 nanoseconds. + Weight::from_parts(58_270_556, 8265) + // Standard Error: 13_004 + .saturating_add(Weight::from_ref_time(654_622).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Identity IdentityOf (r:1 w:1) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) fn cancel_request(_r: u32, x: u32) -> Weight { - Weight::from_ref_time(77_150_416) - // Standard Error: 19_200 - .saturating_add(Weight::from_ref_time(645_689).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `430 + x * (66 ±0)` + // Estimated: `7313` + // Minimum execution time: 34_530 nanoseconds. + Weight::from_parts(56_273_566, 7313) + // Standard Error: 10_092 + .saturating_add(Weight::from_ref_time(596_750).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity Registrars (r:1 w:1) + /// Storage: Identity Registrars (r:1 w:1) + /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) fn set_fee(r: u32) -> Weight { - Weight::from_ref_time(18_803_475) - // Standard Error: 40_144 - .saturating_add(Weight::from_ref_time(777_518).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `121 + r * (57 ±0)` + // Estimated: `952` + // Minimum execution time: 12_290 nanoseconds. + Weight::from_parts(15_471_677, 952) + // Standard Error: 16_686 + .saturating_add(Weight::from_ref_time(227_887).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity Registrars (r:1 w:1) + /// Storage: Identity Registrars (r:1 w:1) + /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) fn set_account_id(r: u32) -> Weight { - Weight::from_ref_time(20_046_914) - // Standard Error: 39_734 - .saturating_add(Weight::from_ref_time(240_869).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `121 + r * (57 ±0)` + // Estimated: `952` + // Minimum execution time: 10_860 nanoseconds. + Weight::from_parts(13_932_674, 952) + // Standard Error: 13_006 + .saturating_add(Weight::from_ref_time(45_791).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Identity Registrars (r:1 w:1) + /// Storage: Identity Registrars (r:1 w:1) + /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) fn set_fields(r: u32) -> Weight { - Weight::from_ref_time(16_609_928) - // Standard Error: 84_078 - .saturating_add(Weight::from_ref_time(1_848_011).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: Identity Registrars (r:1 w:0) - // Storage: Identity IdentityOf (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `121 + r * (57 ±0)` + // Estimated: `952` + // Minimum execution time: 10_490 nanoseconds. + Weight::from_parts(13_040_336, 952) + // Standard Error: 49_106 + .saturating_add(Weight::from_ref_time(615_063).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Identity Registrars (r:1 w:0) + /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(457), added: 952, mode: MaxEncodedLen) + /// Storage: Identity IdentityOf (r:1 w:1) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) fn provide_judgement(_r: u32, x: u32) -> Weight { - Weight::from_ref_time(62_486_303) - // Standard Error: 15_513 - .saturating_add(Weight::from_ref_time(1_086_594).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity IdentityOf (r:1 w:1) - // Storage: System Account (r:2 w:2) - // Storage: Identity SuperOf (r:0 w:64) + // Proof Size summary in bytes: + // Measured: `509 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `8265` + // Minimum execution time: 31_570 nanoseconds. + Weight::from_parts(43_909_241, 8265) + // Standard Error: 8_652 + .saturating_add(Weight::from_ref_time(1_088_260).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Identity SubsOf (r:1 w:1) + /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) + /// Storage: Identity IdentityOf (r:1 w:1) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Identity SuperOf (r:0 w:64) + /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn kill_identity(_r: u32, s: u32, x: u32) -> Weight { - Weight::from_ref_time(112_372_876) - // Standard Error: 38_249 - .saturating_add(Weight::from_ref_time(2_119_735).saturating_mul(s.into())) - // Standard Error: 38_249 - .saturating_add(Weight::from_ref_time(155_243).saturating_mul(x.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()))) - } - // Storage: Identity IdentityOf (r:1 w:0) - // Storage: Identity SuperOf (r:1 w:1) - // Storage: Identity SubsOf (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `954 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `17108` + // Minimum execution time: 76_260 nanoseconds. + Weight::from_parts(97_407_478, 17108) + // Standard Error: 32_302 + .saturating_add(Weight::from_ref_time(2_028_303).saturating_mul(s.into())) + // Standard Error: 32_302 + .saturating_add(Weight::from_ref_time(122_621).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: Identity IdentityOf (r:1 w:0) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + /// Storage: Identity SuperOf (r:1 w:1) + /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: Identity SubsOf (r:1 w:1) + /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) fn add_sub(s: u32) -> Weight { - Weight::from_ref_time(75_981_673) - // Standard Error: 32_552 - .saturating_add(Weight::from_ref_time(210_992).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: Identity IdentityOf (r:1 w:0) - // Storage: Identity SuperOf (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `355 + s * (41 ±0)` + // Estimated: `14483` + // Minimum execution time: 40_040 nanoseconds. + Weight::from_parts(52_828_447, 14483) + // Standard Error: 7_788 + .saturating_add(Weight::from_ref_time(88_247).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: Identity IdentityOf (r:1 w:0) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + /// Storage: Identity SuperOf (r:1 w:1) + /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) fn rename_sub(s: u32) -> Weight { - Weight::from_ref_time(32_700_642) - // Standard Error: 7_890 - .saturating_add(Weight::from_ref_time(98_983).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: Identity IdentityOf (r:1 w:0) - // Storage: Identity SuperOf (r:1 w:1) - // Storage: Identity SubsOf (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `464 + s * (7 ±0)` + // Estimated: `9902` + // Minimum execution time: 19_910 nanoseconds. + Weight::from_parts(26_129_516, 9902) + // Standard Error: 8_291 + .saturating_add(Weight::from_ref_time(60_686).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Identity IdentityOf (r:1 w:0) + /// Proof: Identity IdentityOf (max_values: None, max_size: Some(4838), added: 7313, mode: MaxEncodedLen) + /// Storage: Identity SuperOf (r:1 w:1) + /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: Identity SubsOf (r:1 w:1) + /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) fn remove_sub(s: u32) -> Weight { - Weight::from_ref_time(78_493_580) - // Standard Error: 35_462 - .saturating_add(Weight::from_ref_time(166_088).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: Identity SuperOf (r:1 w:1) - // Storage: Identity SubsOf (r:1 w:1) - fn quit_sub(_s: u32) -> Weight { - Weight::from_ref_time(64_238_038) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `544 + s * (39 ±0)` + // Estimated: `14483` + // Minimum execution time: 44_791 nanoseconds. + Weight::from_parts(58_054_972, 14483) + // Standard Error: 8_296 + .saturating_add(Weight::from_ref_time(128_452).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: Identity SuperOf (r:1 w:1) + /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) + /// Storage: Identity SubsOf (r:1 w:1) + /// Proof: Identity SubsOf (max_values: None, max_size: Some(2106), added: 4581, mode: MaxEncodedLen) + fn quit_sub(s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `469 + s * (42 ±0)` + // Estimated: `7170` + // Minimum execution time: 30_150 nanoseconds. + Weight::from_parts(40_978_609, 7170) + // Standard Error: 16_814 + .saturating_add(Weight::from_ref_time(99_989).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/common/src/weights/pallet_membership.rs b/runtime/common/src/weights/pallet_membership.rs index 22c7f5c56..ce896b243 100644 --- a/runtime/common/src/weights/pallet_membership.rs +++ b/runtime/common/src/weights/pallet_membership.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,77 +52,144 @@ use frame_support::{ /// Weight functions for pallet_membership (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_membership::weights::WeightInfo for WeightInfo { - // Storage: AdvisoryCommitteeMembership Members (r:1 w:1) - // Storage: AdvisoryCommittee Proposals (r:1 w:0) - // Storage: AdvisoryCommittee Members (r:0 w:1) - // Storage: AdvisoryCommittee Prime (r:0 w:1) - fn add_member(_m: u32) -> Weight { - Weight::from_ref_time(55_911_099) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + /// Storage: AdvisoryCommitteeMembership Members (r:1 w:1) + /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Proposals (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Members (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + fn add_member(m: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `237 + m * (64 ±0)` + // Estimated: `4900 + m * (192 ±0)` + // Minimum execution time: 24_770 nanoseconds. + Weight::from_parts(33_609_765, 4900) + // Standard Error: 2_983 + .saturating_add(Weight::from_ref_time(83_884).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: AdvisoryCommitteeMembership Members (r:1 w:1) - // Storage: AdvisoryCommittee Proposals (r:1 w:0) - // Storage: AdvisoryCommitteeMembership Prime (r:1 w:0) - // Storage: AdvisoryCommittee Members (r:0 w:1) - // Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Storage: AdvisoryCommitteeMembership Members (r:1 w:1) + /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Proposals (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommitteeMembership Prime (r:1 w:0) + /// Proof: AdvisoryCommitteeMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Members (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) fn remove_member(m: u32) -> Weight { - Weight::from_ref_time(51_116_109) - // Standard Error: 8_192 - .saturating_add(Weight::from_ref_time(60_364).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `341 + m * (64 ±0)` + // Estimated: `5739 + m * (192 ±0)` + // Minimum execution time: 29_680 nanoseconds. + Weight::from_parts(38_512_966, 5739) + // Standard Error: 3_594 + .saturating_add(Weight::from_ref_time(86_532).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: AdvisoryCommitteeMembership Members (r:1 w:1) - // Storage: AdvisoryCommittee Proposals (r:1 w:0) - // Storage: AdvisoryCommitteeMembership Prime (r:1 w:0) - // Storage: AdvisoryCommittee Members (r:0 w:1) - // Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Storage: AdvisoryCommitteeMembership Members (r:1 w:1) + /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Proposals (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommitteeMembership Prime (r:1 w:0) + /// Proof: AdvisoryCommitteeMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Members (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) fn swap_member(m: u32) -> Weight { - Weight::from_ref_time(49_709_729) - // Standard Error: 6_277 - .saturating_add(Weight::from_ref_time(111_612).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `341 + m * (64 ±0)` + // Estimated: `5739 + m * (192 ±0)` + // Minimum execution time: 30_950 nanoseconds. + Weight::from_parts(38_943_888, 5739) + // Standard Error: 10_472 + .saturating_add(Weight::from_ref_time(156_537).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: AdvisoryCommitteeMembership Members (r:1 w:1) - // Storage: AdvisoryCommittee Proposals (r:1 w:0) - // Storage: AdvisoryCommitteeMembership Prime (r:1 w:0) - // Storage: AdvisoryCommittee Members (r:0 w:1) - // Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Storage: AdvisoryCommitteeMembership Members (r:1 w:1) + /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Proposals (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommitteeMembership Prime (r:1 w:0) + /// Proof: AdvisoryCommitteeMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Members (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) fn reset_member(m: u32) -> Weight { - Weight::from_ref_time(49_088_026) - // Standard Error: 9_032 - .saturating_add(Weight::from_ref_time(299_091).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `341 + m * (64 ±0)` + // Estimated: `5739 + m * (192 ±0)` + // Minimum execution time: 34_370 nanoseconds. + Weight::from_parts(41_426_969, 5739) + // Standard Error: 5_054 + .saturating_add(Weight::from_ref_time(233_397).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: AdvisoryCommitteeMembership Members (r:1 w:1) - // Storage: AdvisoryCommittee Proposals (r:1 w:0) - // Storage: AdvisoryCommitteeMembership Prime (r:1 w:1) - // Storage: AdvisoryCommittee Members (r:0 w:1) - // Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Storage: AdvisoryCommitteeMembership Members (r:1 w:1) + /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Proposals (r:1 w:0) + /// Proof Skipped: AdvisoryCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommitteeMembership Prime (r:1 w:1) + /// Proof: AdvisoryCommitteeMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Members (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) fn change_key(m: u32) -> Weight { - Weight::from_ref_time(49_228_229) - // Standard Error: 9_250 - .saturating_add(Weight::from_ref_time(109_188).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + // Proof Size summary in bytes: + // Measured: `341 + m * (64 ±0)` + // Estimated: `5739 + m * (192 ±0)` + // Minimum execution time: 31_880 nanoseconds. + Weight::from_parts(42_331_034, 5739) + // Standard Error: 5_487 + .saturating_add(Weight::from_ref_time(78_974).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_proof_size(192).saturating_mul(m.into())) } - // Storage: AdvisoryCommitteeMembership Members (r:1 w:0) - // Storage: AdvisoryCommitteeMembership Prime (r:0 w:1) - // Storage: AdvisoryCommittee Prime (r:0 w:1) - fn set_prime(_m: u32) -> Weight { - Weight::from_ref_time(24_413_598) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + /// Storage: AdvisoryCommitteeMembership Members (r:1 w:0) + /// Proof: AdvisoryCommitteeMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) + /// Storage: AdvisoryCommitteeMembership Prime (r:0 w:1) + /// Proof: AdvisoryCommitteeMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) + fn set_prime(m: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `136 + m * (32 ±0)` + // Estimated: `3833 + m * (32 ±0)` + // Minimum execution time: 13_530 nanoseconds. + Weight::from_parts(16_773_935, 3833) + // Standard Error: 1_912 + .saturating_add(Weight::from_ref_time(42_357).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(32).saturating_mul(m.into())) } - // Storage: AdvisoryCommitteeMembership Prime (r:0 w:1) - // Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Storage: AdvisoryCommitteeMembership Prime (r:0 w:1) + /// Proof: AdvisoryCommitteeMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: AdvisoryCommittee Prime (r:0 w:1) + /// Proof Skipped: AdvisoryCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) fn clear_prime(m: u32) -> Weight { - Weight::from_ref_time(11_575_303) - // Standard Error: 1_695 - .saturating_add(Weight::from_ref_time(4_887).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_130 nanoseconds. + Weight::from_ref_time(6_576_960) + // Standard Error: 658 + .saturating_add(Weight::from_ref_time(57).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/common/src/weights/pallet_multisig.rs b/runtime/common/src/weights/pallet_multisig.rs index 34838bc83..04640b126 100644 --- a/runtime/common/src/weights/pallet_multisig.rs +++ b/runtime/common/src/weights/pallet_multisig.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_multisig //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -50,65 +53,98 @@ use frame_support::{ pub struct WeightInfo(PhantomData); impl pallet_multisig::weights::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32) -> Weight { - Weight::from_ref_time(36_929_953) - // Standard Error: 65 - .saturating_add(Weight::from_ref_time(1_092).saturating_mul(z.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_360 nanoseconds. + Weight::from_ref_time(24_262_819) + // Standard Error: 55 + .saturating_add(Weight::from_ref_time(1_018).saturating_mul(z.into())) } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) fn as_multi_create(s: u32, z: u32) -> Weight { - Weight::from_ref_time(63_719_080) - // Standard Error: 12_243 - .saturating_add(Weight::from_ref_time(257_990).saturating_mul(s.into())) - // Standard Error: 119 - .saturating_add(Weight::from_ref_time(2_956).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `303 + s * (1 ±0)` + // Estimated: `5825` + // Minimum execution time: 49_580 nanoseconds. + Weight::from_parts(56_180_132, 5825) + // Standard Error: 9_414 + .saturating_add(Weight::from_ref_time(95_253).saturating_mul(s.into())) + // Standard Error: 92 + .saturating_add(Weight::from_ref_time(2_795).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Multisig Multisigs (r:1 w:1) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) fn as_multi_approve(s: u32, z: u32) -> Weight { - Weight::from_ref_time(50_905_824) - // Standard Error: 10_798 - .saturating_add(Weight::from_ref_time(185_131).saturating_mul(s.into())) - // Standard Error: 105 - .saturating_add(Weight::from_ref_time(2_916).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `246` + // Estimated: `5825` + // Minimum execution time: 37_060 nanoseconds. + Weight::from_parts(44_593_305, 5825) + // Standard Error: 8_818 + .saturating_add(Weight::from_ref_time(68_753).saturating_mul(s.into())) + // Standard Error: 86 + .saturating_add(Weight::from_ref_time(2_282).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn as_multi_complete(s: u32, z: u32) -> Weight { - Weight::from_ref_time(78_310_205) - // Standard Error: 14_374 - .saturating_add(Weight::from_ref_time(196_922).saturating_mul(s.into())) - // Standard Error: 140 - .saturating_add(Weight::from_ref_time(2_434).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `388 + s * (33 ±0)` + // Estimated: `8432` + // Minimum execution time: 60_700 nanoseconds. + Weight::from_parts(60_540_147, 8432) + // Standard Error: 12_859 + .saturating_add(Weight::from_ref_time(186_940).saturating_mul(s.into())) + // Standard Error: 126 + .saturating_add(Weight::from_ref_time(2_909).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) fn approve_as_multi_create(s: u32) -> Weight { - Weight::from_ref_time(67_979_415) - // Standard Error: 15_370 - .saturating_add(Weight::from_ref_time(195_181).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `307 + s * (1 ±0)` + // Estimated: `5825` + // Minimum execution time: 39_710 nanoseconds. + Weight::from_parts(51_894_580, 5825) + // Standard Error: 6_242 + .saturating_add(Weight::from_ref_time(105_901).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Multisig Multisigs (r:1 w:1) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) fn approve_as_multi_approve(s: u32) -> Weight { - Weight::from_ref_time(51_759_537) - // Standard Error: 7_715 - .saturating_add(Weight::from_ref_time(129_743).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `246` + // Estimated: `5825` + // Minimum execution time: 24_240 nanoseconds. + Weight::from_parts(36_634_530, 5825) + // Standard Error: 8_451 + .saturating_add(Weight::from_ref_time(50_832).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Multisig Multisigs (r:1 w:1) + /// Storage: Multisig Multisigs (r:1 w:1) + /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3350), added: 5825, mode: MaxEncodedLen) fn cancel_as_multi(s: u32) -> Weight { - Weight::from_ref_time(67_138_791) - // Standard Error: 14_867 - .saturating_add(Weight::from_ref_time(204_489).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `454 + s * (1 ±0)` + // Estimated: `5825` + // Minimum execution time: 38_050 nanoseconds. + Weight::from_parts(52_066_093, 5825) + // Standard Error: 9_845 + .saturating_add(Weight::from_ref_time(90_903).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_parachain_staking.rs b/runtime/common/src/weights/pallet_parachain_staking.rs index f1fa16d04..ea8907a21 100644 --- a/runtime/common/src/weights/pallet_parachain_staking.rs +++ b/runtime/common/src/weights/pallet_parachain_staking.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-12`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,367 +52,641 @@ use frame_support::{ /// Weight functions for pallet_parachain_staking (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_parachain_staking::weights::WeightInfo for WeightInfo { - // Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_staking_expectations() -> Weight { - Weight::from_ref_time(40_990_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: ParachainStaking InflationConfig (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + // Proof Size summary in bytes: + // Measured: `119` + // Estimated: `614` + // Minimum execution time: 20_090 nanoseconds. + Weight::from_parts(22_220_000, 614) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_inflation() -> Weight { - Weight::from_ref_time(103_731_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `119` + // Estimated: `614` + // Minimum execution time: 63_010 nanoseconds. + Weight::from_parts(76_720_000, 614) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) fn set_parachain_bond_account() -> Weight { - Weight::from_ref_time(36_860_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `52` + // Estimated: `547` + // Minimum execution time: 15_280 nanoseconds. + Weight::from_parts(18_950_000, 547) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) fn set_parachain_bond_reserve_percent() -> Weight { - Weight::from_ref_time(34_660_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: ParachainStaking TotalSelected (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + // Proof Size summary in bytes: + // Measured: `52` + // Estimated: `547` + // Minimum execution time: 14_690 nanoseconds. + Weight::from_parts(18_040_000, 547) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: ParachainStaking TotalSelected (r:1 w:1) + /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) fn set_total_selected() -> Weight { - Weight::from_ref_time(36_290_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: ParachainStaking CollatorCommission (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `28` + // Estimated: `523` + // Minimum execution time: 16_250 nanoseconds. + Weight::from_parts(19_730_000, 523) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: ParachainStaking CollatorCommission (r:1 w:1) + /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) fn set_collator_commission() -> Weight { - Weight::from_ref_time(32_030_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: ParachainStaking Round (r:1 w:1) - // Storage: ParachainStaking TotalSelected (r:1 w:0) - // Storage: ParachainStaking InflationConfig (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `27` + // Estimated: `522` + // Minimum execution time: 14_410 nanoseconds. + Weight::from_parts(17_820_000, 522) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: ParachainStaking TotalSelected (r:1 w:0) + /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking InflationConfig (r:1 w:1) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) fn set_blocks_per_round() -> Weight { - Weight::from_ref_time(94_490_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking DelegatorState (r:1 w:0) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:0 w:1) - // Storage: ParachainStaking BottomDelegations (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `147` + // Estimated: `1284` + // Minimum execution time: 67_360 nanoseconds. + Weight::from_parts(82_031_000, 1284) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegatorState (r:1 w:0) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:0 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking BottomDelegations (r:0 w:1) + /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) fn join_candidates(x: u32) -> Weight { - Weight::from_ref_time(106_035_783) - // Standard Error: 3_265 - .saturating_add(Weight::from_ref_time(268_879).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(7)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `1898 + x * (49 ±0)` + // Estimated: `22371 + x * (300 ±0)` + // Minimum execution time: 61_740 nanoseconds. + Weight::from_parts(87_092_828, 22371) + // Standard Error: 2_201 + .saturating_add(Weight::from_ref_time(219_067).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + .saturating_add(Weight::from_proof_size(300).saturating_mul(x.into())) + } + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) fn schedule_leave_candidates(x: u32) -> Weight { - Weight::from_ref_time(65_831_978) - // Standard Error: 2_557 - .saturating_add(Weight::from_ref_time(213_969).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: Balances Locks (r:2 w:2) - // Storage: System Account (r:2 w:2) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) - // Storage: ParachainStaking BottomDelegations (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `990 + x * (48 ±0)` + // Estimated: `4794 + x * (98 ±0)` + // Minimum execution time: 26_990 nanoseconds. + Weight::from_parts(36_997_627, 4794) + // Standard Error: 2_065 + .saturating_add(Weight::from_ref_time(183_466).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(98).saturating_mul(x.into())) + } + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegatorState (r:349 w:349) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: Balances Locks (r:350 w:350) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:350 w:350) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking BottomDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn execute_leave_candidates(x: u32) -> Weight { - Weight::from_ref_time(140_520_000) - // Standard Error: 158_815 - .saturating_add(Weight::from_ref_time(39_873_049).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `238 + x * (595 ±0)` + // Estimated: `18229 + x * (12995 ±0)` + // Minimum execution time: 111_821 nanoseconds. + Weight::from_parts(121_071_000, 18229) + // Standard Error: 160_919 + .saturating_add(Weight::from_ref_time(45_020_457).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(5)) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) + .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_proof_size(12995).saturating_mul(x.into())) } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) fn cancel_leave_candidates(x: u32) -> Weight { - Weight::from_ref_time(54_524_144) - // Standard Error: 2_249 - .saturating_add(Weight::from_ref_time(222_440).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `946 + x * (48 ±0)` + // Estimated: `4704 + x * (98 ±0)` + // Minimum execution time: 25_580 nanoseconds. + Weight::from_parts(36_758_956, 4704) + // Standard Error: 1_973 + .saturating_add(Weight::from_ref_time(193_011).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(98).saturating_mul(x.into())) + } + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) fn go_offline() -> Weight { - Weight::from_ref_time(49_040_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `371` + // Estimated: `3712` + // Minimum execution time: 28_940 nanoseconds. + Weight::from_parts(34_740_000, 3712) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) fn go_online() -> Weight { - Weight::from_ref_time(48_011_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `322` + // Estimated: `3614` + // Minimum execution time: 28_060 nanoseconds. + Weight::from_parts(34_840_000, 3614) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) fn candidate_bond_more() -> Weight { - Weight::from_ref_time(92_060_000) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + // Proof Size summary in bytes: + // Measured: `650` + // Estimated: `11796` + // Minimum execution time: 61_710 nanoseconds. + Weight::from_parts(74_080_000, 11796) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) fn schedule_candidate_bond_less() -> Weight { - Weight::from_ref_time(48_040_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `216` + // Estimated: `2691` + // Minimum execution time: 27_340 nanoseconds. + Weight::from_parts(28_870_000, 2691) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) fn execute_candidate_bond_less() -> Weight { - Weight::from_ref_time(93_830_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) - } - // Storage: ParachainStaking CandidateInfo (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `670` + // Estimated: `11856` + // Minimum execution time: 52_510 nanoseconds. + Weight::from_parts(65_060_000, 11856) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) fn cancel_candidate_bond_less() -> Weight { - Weight::from_ref_time(47_110_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `236` + // Estimated: `2711` + // Minimum execution time: 21_180 nanoseconds. + Weight::from_parts(26_550_000, 2711) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn delegate(x: u32, y: u32) -> Weight { - Weight::from_ref_time(110_347_088) - // Standard Error: 23_189 - .saturating_add(Weight::from_ref_time(487_718).saturating_mul(x.into())) - // Standard Error: 7_607 - .saturating_add(Weight::from_ref_time(296_818).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(7)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `2374 + x * (103 ±0) + y * (52 ±0)` + // Estimated: `25391 + x * (530 ±0) + y * (265 ±0)` + // Minimum execution time: 126_720 nanoseconds. + Weight::from_parts(128_530_435, 25391) + // Standard Error: 9_128 + .saturating_add(Weight::from_ref_time(310_507).saturating_mul(x.into())) + // Standard Error: 2_994 + .saturating_add(Weight::from_ref_time(161_135).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + .saturating_add(Weight::from_proof_size(530).saturating_mul(x.into())) + .saturating_add(Weight::from_proof_size(265).saturating_mul(y.into())) + } + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn schedule_leave_delegators() -> Weight { - Weight::from_ref_time(59_610_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) - // Storage: Balances Locks (r:1 w:1) - // Storage: System Account (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `176` + // Estimated: `5302` + // Minimum execution time: 24_540 nanoseconds. + Weight::from_parts(30_970_000, 5302) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:99 w:99) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:99 w:99) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:99 w:99) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:99 w:0) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn execute_leave_delegators(x: u32) -> Weight { - Weight::from_ref_time(128_231_000) - // Standard Error: 126_511 - .saturating_add(Weight::from_ref_time(33_070_806).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `755 + x * (558 ±0)` + // Estimated: `26542 + x * (13492 ±2)` + // Minimum execution time: 88_050 nanoseconds. + Weight::from_parts(106_510_000, 26542) + // Standard Error: 104_730 + .saturating_add(Weight::from_ref_time(37_080_607).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(13492).saturating_mul(x.into())) } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn cancel_leave_delegators() -> Weight { - Weight::from_ref_time(62_711_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + // Proof Size summary in bytes: + // Measured: `298` + // Estimated: `5546` + // Minimum execution time: 30_200 nanoseconds. + Weight::from_parts(37_020_000, 5546) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn schedule_revoke_delegation() -> Weight { - Weight::from_ref_time(49_690_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `176` + // Estimated: `5302` + // Minimum execution time: 25_610 nanoseconds. + Weight::from_parts(33_670_000, 5302) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn delegator_bond_more() -> Weight { - Weight::from_ref_time(106_200_000) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(7)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) + // Proof Size summary in bytes: + // Measured: `1066` + // Estimated: `23667` + // Minimum execution time: 83_690 nanoseconds. + Weight::from_parts(102_160_000, 23667) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + } + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn schedule_delegator_bond_less() -> Weight { - Weight::from_ref_time(50_160_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: Balances Locks (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `176` + // Estimated: `5302` + // Minimum execution time: 27_091 nanoseconds. + Weight::from_parts(33_250_000, 5302) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn execute_revoke_delegation() -> Weight { - Weight::from_ref_time(115_551_000) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(8)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - // Storage: ParachainStaking Round (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `1243` + // Estimated: `28447` + // Minimum execution time: 99_710 nanoseconds. + Weight::from_parts(112_040_000, 28447) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) + } + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) fn execute_delegator_bond_less() -> Weight { - Weight::from_ref_time(121_371_000) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(8)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `1188` + // Estimated: `24399` + // Minimum execution time: 76_641 nanoseconds. + Weight::from_parts(92_820_000, 24399) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) + } + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn cancel_revoke_delegation() -> Weight { - Weight::from_ref_time(50_280_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `298` + // Estimated: `5546` + // Minimum execution time: 30_200 nanoseconds. + Weight::from_parts(33_860_000, 5546) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) fn cancel_delegator_bond_less() -> Weight { - Weight::from_ref_time(58_521_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: ParachainStaking Points (r:1 w:0) - // Storage: ParachainStaking Staked (r:1 w:1) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Storage: ParachainStaking ParachainBondInfo (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking CollatorCommission (r:1 w:0) - // Storage: ParachainStaking DelayedPayouts (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `298` + // Estimated: `5546` + // Minimum execution time: 27_390 nanoseconds. + Weight::from_parts(32_180_000, 5546) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: ParachainStaking Points (r:1 w:0) + /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Staked (r:1 w:1) + /// Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking InflationConfig (r:1 w:0) + /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking ParachainBondInfo (r:1 w:0) + /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: ParachainStaking CollatorCommission (r:1 w:0) + /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking DelayedPayouts (r:0 w:1) + /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) fn prepare_staking_payouts() -> Weight { - Weight::from_ref_time(68_370_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - // Storage: ParachainStaking TopDelegations (r:1 w:0) + // Proof Size summary in bytes: + // Measured: `438` + // Estimated: `11670` + // Minimum execution time: 56_170 nanoseconds. + Weight::from_parts(56_760_000, 11670) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:1 w:0) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) fn get_rewardable_delegators(y: u32) -> Weight { - Weight::from_ref_time(18_407_099) - // Standard Error: 4_044 - .saturating_add(Weight::from_ref_time(123_828).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(2)) - } - // Storage: ParachainStaking CandidatePool (r:1 w:0) - // Storage: ParachainStaking TotalSelected (r:1 w:0) - // Storage: ParachainStaking CandidateInfo (r:1 w:0) - // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - // Storage: ParachainStaking TopDelegations (r:1 w:0) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) - // Storage: ParachainStaking SelectedCandidates (r:0 w:1) - // Storage: ParachainStaking AtStake (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `118 + y * (48 ±0)` + // Estimated: `5180 + y * (96 ±0)` + // Minimum execution time: 8_900 nanoseconds. + Weight::from_parts(10_957_296, 5180) + // Standard Error: 2_714 + .saturating_add(Weight::from_ref_time(124_560).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(Weight::from_proof_size(96).saturating_mul(y.into())) + } + /// Storage: ParachainStaking TotalSelected (r:1 w:0) + /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:0) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:51 w:0) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking DelegationScheduledRequests (r:51 w:0) + /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:51 w:0) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:51 w:0) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking SelectedCandidates (r:0 w:1) + /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking AtStake (r:0 w:51) + /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) fn select_top_candidates(x: u32, y: u32) -> Weight { - Weight::from_ref_time(44_960_000) - // Standard Error: 179_351 - .saturating_add(Weight::from_ref_time(28_562_191).saturating_mul(x.into())) - // Standard Error: 89_438 - .saturating_add(Weight::from_ref_time(3_026_421).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `0 + x * (5122 ±0) + y * (2400 ±0)` + // Estimated: `13898 + x * (26124 ±53) + y * (6816 ±26)` + // Minimum execution time: 36_910 nanoseconds. + Weight::from_parts(37_670_000, 13898) + // Standard Error: 175_393 + .saturating_add(Weight::from_ref_time(30_270_107).saturating_mul(x.into())) + // Standard Error: 87_464 + .saturating_add(Weight::from_ref_time(2_912_387).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) - } - // Storage: ParachainStaking DelayedPayouts (r:1 w:0) - // Storage: ParachainStaking Points (r:1 w:0) - // Storage: ParachainStaking AtStake (r:2 w:1) - // Storage: ParachainStaking AwardedPts (r:1 w:1) - // Storage: System Account (r:1 w:1) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(26124).saturating_mul(x.into())) + .saturating_add(Weight::from_proof_size(6816).saturating_mul(y.into())) + } + /// Storage: ParachainStaking DelayedPayouts (r:1 w:0) + /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking Points (r:1 w:0) + /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AtStake (r:2 w:1) + /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AwardedPts (r:1 w:1) + /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:301 w:301) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn pay_one_collator_reward(y: u32) -> Weight { - Weight::from_ref_time(67_927_525) - // Standard Error: 92_967 - .saturating_add(Weight::from_ref_time(19_813_862).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `485 + y * (219 ±0)` + // Estimated: `16898 + y * (3483 ±0)` + // Minimum execution time: 60_950 nanoseconds. + Weight::from_parts(37_906_823, 16898) + // Standard Error: 62_498 + .saturating_add(Weight::from_ref_time(21_019_947).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(y.into()))) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(3483).saturating_mul(y.into())) } - // Storage: ParachainStaking Round (r:1 w:0) fn base_on_initialize() -> Weight { - Weight::from_ref_time(12_210_000).saturating_add(T::DbWeight::get().reads(1)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:0) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_750 nanoseconds. + Weight::from_ref_time(2_090_000) + } + /// Storage: ParachainStaking DelegatorState (r:1 w:0) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) fn set_auto_compound(x: u32, y: u32) -> Weight { - Weight::from_ref_time(58_451_779) - // Standard Error: 3_930 - .saturating_add(Weight::from_ref_time(198_503).saturating_mul(x.into())) - // Standard Error: 11_766 - .saturating_add(Weight::from_ref_time(211_110).saturating_mul(y.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: System Account (r:1 w:1) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Storage: ParachainStaking CandidateInfo (r:1 w:1) - // Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) - // Storage: ParachainStaking TopDelegations (r:1 w:1) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: ParachainStaking Total (r:1 w:1) - // Storage: ParachainStaking BottomDelegations (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `718 + x * (34 ±0) + y * (48 ±0)` + // Estimated: `6134 + x * (70 ±0) + y * (98 ±0)` + // Minimum execution time: 44_020 nanoseconds. + Weight::from_parts(55_308_151, 6134) + // Standard Error: 1_284 + .saturating_add(Weight::from_ref_time(86_577).saturating_mul(x.into())) + // Standard Error: 3_845 + .saturating_add(Weight::from_ref_time(84_219).saturating_mul(y.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(70).saturating_mul(x.into())) + .saturating_add(Weight::from_proof_size(98).saturating_mul(y.into())) + } + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: ParachainStaking DelegatorState (r:1 w:1) + /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidateInfo (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking BottomDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: ParachainStaking Total (r:1 w:1) + /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ParachainStaking TopDelegations (r:1 w:1) + /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: ParachainStaking CandidatePool (r:1 w:1) + /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) fn delegate_with_auto_compound(x: u32, y: u32, z: u32) -> Weight { - Weight::from_ref_time(123_727_512) - // Standard Error: 5_920 - .saturating_add(Weight::from_ref_time(189_919).saturating_mul(x.into())) - // Standard Error: 5_920 - .saturating_add(Weight::from_ref_time(85_340).saturating_mul(y.into())) - // Standard Error: 20_660 - .saturating_add(Weight::from_ref_time(351_236).saturating_mul(z.into())) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(8)) - } - // Storage: System Account (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `0 + x * (82 ±0) + y * (33 ±0) + z * (60 ±0)` + // Estimated: `242081338576 + y * (2502655457532 ±0) + z * (196 ±2) + x * (168 ±0)` + // Minimum execution time: 124_371 nanoseconds. + Weight::from_parts(117_410_630, 242081338576) + // Standard Error: 2_928 + .saturating_add(Weight::from_ref_time(80_456).saturating_mul(x.into())) + // Standard Error: 2_928 + .saturating_add(Weight::from_ref_time(85_084).saturating_mul(y.into())) + // Standard Error: 10_219 + .saturating_add(Weight::from_ref_time(362_814).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) + .saturating_add(Weight::from_proof_size(2502655457532).saturating_mul(y.into())) + .saturating_add(Weight::from_proof_size(196).saturating_mul(z.into())) + .saturating_add(Weight::from_proof_size(168).saturating_mul(x.into())) + } + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn mint_collator_reward() -> Weight { - Weight::from_ref_time(50_830_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `139` + // Estimated: `2607` + // Minimum execution time: 23_670 nanoseconds. + Weight::from_parts(28_820_000, 2607) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_preimage.rs b/runtime/common/src/weights/pallet_preimage.rs index 6e35654da..275f3dec0 100644 --- a/runtime/common/src/weights/pallet_preimage.rs +++ b/runtime/common/src/weights/pallet_preimage.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,88 +52,154 @@ use frame_support::{ /// Weight functions for pallet_preimage (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_preimage::weights::WeightInfo for WeightInfo { - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Preimage PreimageFor (r:0 w:1) + /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn note_preimage(s: u32) -> Weight { - Weight::from_ref_time(56_230_000) - // Standard Error: 8 - .saturating_add(Weight::from_ref_time(3_128).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `179` + // Estimated: `2566` + // Minimum execution time: 39_770 nanoseconds. + Weight::from_parts(47_381_000, 2566) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(3_373).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Preimage PreimageFor (r:0 w:1) + /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn note_requested_preimage(s: u32) -> Weight { - Weight::from_ref_time(41_390_000) - // Standard Error: 8 - .saturating_add(Weight::from_ref_time(3_154).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `2566` + // Minimum execution time: 28_380 nanoseconds. + Weight::from_parts(28_881_000, 2566) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(3_385).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Preimage PreimageFor (r:0 w:1) + /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn note_no_deposit_preimage(s: u32) -> Weight { - Weight::from_ref_time(39_160_000) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(3_123).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `2566` + // Minimum execution time: 22_250 nanoseconds. + Weight::from_parts(22_930_000, 2566) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(3_353).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Preimage PreimageFor (r:0 w:1) + /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_preimage() -> Weight { - Weight::from_ref_time(112_570_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `357` + // Estimated: `2566` + // Minimum execution time: 65_570 nanoseconds. + Weight::from_parts(74_720_000, 2566) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Preimage PreimageFor (r:0 w:1) + /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(83_560_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `2566` + // Minimum execution time: 46_820 nanoseconds. + Weight::from_parts(53_090_000, 2566) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_preimage() -> Weight { - Weight::from_ref_time(78_500_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `220` + // Estimated: `2566` + // Minimum execution time: 43_940 nanoseconds. + Weight::from_parts(54_850_000, 2566) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(47_780_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `2566` + // Minimum execution time: 29_810 nanoseconds. + Weight::from_parts(32_701_000, 2566) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(80_300_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `2566` + // Minimum execution time: 34_820 nanoseconds. + Weight::from_parts(38_670_000, 2566) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(21_190_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `2566` + // Minimum execution time: 16_410 nanoseconds. + Weight::from_parts(20_020_000, 2566) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Preimage PreimageFor (r:0 w:1) + /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(76_891_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `2566` + // Minimum execution time: 44_190 nanoseconds. + Weight::from_parts(52_690_000, 2566) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(21_810_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `2566` + // Minimum execution time: 16_190 nanoseconds. + Weight::from_parts(19_450_000, 2566) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(21_410_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `2566` + // Minimum execution time: 16_310 nanoseconds. + Weight::from_parts(20_150_000, 2566) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_proxy.rs b/runtime/common/src/weights/pallet_proxy.rs index 47f831231..5a58ace81 100644 --- a/runtime/common/src/weights/pallet_proxy.rs +++ b/runtime/common/src/weights/pallet_proxy.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_proxy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,92 +52,141 @@ use frame_support::{ /// Weight functions for pallet_proxy (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_proxy::weights::WeightInfo for WeightInfo { - // Storage: Proxy Proxies (r:1 w:0) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) fn proxy(p: u32) -> Weight { - Weight::from_ref_time(45_430_273) - // Standard Error: 16_376 - .saturating_add(Weight::from_ref_time(170_989).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Proof Size summary in bytes: + // Measured: `122 + p * (41 ±0)` + // Estimated: `3844` + // Minimum execution time: 21_580 nanoseconds. + Weight::from_parts(28_045_939, 3844) + // Standard Error: 5_925 + .saturating_add(Weight::from_ref_time(75_098).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) } - // Storage: Proxy Proxies (r:1 w:0) - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2361), added: 4836, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn proxy_announced(a: u32, _p: u32) -> Weight { - Weight::from_ref_time(81_336_808) - // Standard Error: 39_634 - .saturating_add(Weight::from_ref_time(132_877).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `521 + a * (72 ±0) + p * (41 ±0)` + // Estimated: `11287` + // Minimum execution time: 48_140 nanoseconds. + Weight::from_parts(66_637_076, 11287) + // Standard Error: 16_851 + .saturating_add(Weight::from_ref_time(48_322).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2361), added: 4836, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn remove_announcement(a: u32, p: u32) -> Weight { - Weight::from_ref_time(47_073_348) - // Standard Error: 24_794 - .saturating_add(Weight::from_ref_time(390_421).saturating_mul(a.into())) - // Standard Error: 25_617 - .saturating_add(Weight::from_ref_time(91_176).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `404 + a * (72 ±0)` + // Estimated: `7443` + // Minimum execution time: 27_480 nanoseconds. + Weight::from_parts(35_015_353, 7443) + // Standard Error: 17_756 + .saturating_add(Weight::from_ref_time(198_716).saturating_mul(a.into())) + // Standard Error: 18_346 + .saturating_add(Weight::from_ref_time(55_673).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2361), added: 4836, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn reject_announcement(a: u32, _p: u32) -> Weight { - Weight::from_ref_time(57_836_563) - // Standard Error: 21_558 - .saturating_add(Weight::from_ref_time(203_004).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `404 + a * (72 ±0)` + // Estimated: `7443` + // Minimum execution time: 28_130 nanoseconds. + Weight::from_parts(41_740_499, 7443) + // Standard Error: 18_635 + .saturating_add(Weight::from_ref_time(157_217).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Proxy Proxies (r:1 w:0) - // Storage: Proxy Announcements (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:0) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) + /// Storage: Proxy Announcements (r:1 w:1) + /// Proof: Proxy Announcements (max_values: None, max_size: Some(2361), added: 4836, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn announce(a: u32, _p: u32) -> Weight { - Weight::from_ref_time(77_933_386) - // Standard Error: 31_635 - .saturating_add(Weight::from_ref_time(128_801).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `449 + a * (72 ±0) + p * (41 ±0)` + // Estimated: `11287` + // Minimum execution time: 40_080 nanoseconds. + Weight::from_parts(59_315_088, 11287) + // Standard Error: 22_514 + .saturating_add(Weight::from_ref_time(149_779).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Proxy Proxies (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) fn add_proxy(p: u32) -> Weight { - Weight::from_ref_time(56_713_436) - // Standard Error: 22_905 - .saturating_add(Weight::from_ref_time(213_098).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `122 + p * (41 ±0)` + // Estimated: `3844` + // Minimum execution time: 29_980 nanoseconds. + Weight::from_parts(38_825_159, 3844) + // Standard Error: 8_793 + .saturating_add(Weight::from_ref_time(83_600).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Proxy Proxies (r:1 w:1) - fn remove_proxy(p: u32) -> Weight { - Weight::from_ref_time(60_721_471) - // Standard Error: 45_816 - .saturating_add(Weight::from_ref_time(163_780).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) + fn remove_proxy(_p: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `122 + p * (41 ±0)` + // Estimated: `3844` + // Minimum execution time: 29_930 nanoseconds. + Weight::from_parts(42_694_643, 3844) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Proxy Proxies (r:1 w:1) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) fn remove_proxies(p: u32) -> Weight { - Weight::from_ref_time(50_358_662) - // Standard Error: 23_696 - .saturating_add(Weight::from_ref_time(82_661).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `122 + p * (41 ±0)` + // Estimated: `3844` + // Minimum execution time: 23_740 nanoseconds. + Weight::from_parts(32_014_345, 3844) + // Standard Error: 6_274 + .saturating_add(Weight::from_ref_time(35_992).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - // Storage: Proxy Proxies (r:1 w:1) - fn create_pure(p: u32) -> Weight { - Weight::from_ref_time(62_497_769) - // Standard Error: 26_171 - .saturating_add(Weight::from_ref_time(34_287).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + /// Storage: Proxy Proxies (r:1 w:1) + /// Proof: Proxy Proxies (max_values: None, max_size: Some(1369), added: 3844, mode: MaxEncodedLen) + fn create_pure(_p: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `102` + // Estimated: `3844` + // Minimum execution time: 30_610 nanoseconds. + Weight::from_parts(43_272_321, 3844) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Proxy Proxies (r:1 w:1) - fn kill_pure(p: u32) -> Weight { - Weight::from_ref_time(51_548_294) - // Standard Error: 19_850 - .saturating_add(Weight::from_ref_time(337_485).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) + fn kill_pure(_p: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `163 + p * (41 ±0)` + // Estimated: `3844` + // Minimum execution time: 25_560 nanoseconds. + Weight::from_parts(37_634_428, 3844) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/common/src/weights/pallet_scheduler.rs b/runtime/common/src/weights/pallet_scheduler.rs index 0c8e66e01..b33e10422 100644 --- a/runtime/common/src/weights/pallet_scheduler.rs +++ b/runtime/common/src/weights/pallet_scheduler.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,78 +52,139 @@ use frame_support::{ /// Weight functions for pallet_scheduler (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_scheduler::weights::WeightInfo for WeightInfo { - // Storage: Scheduler IncompleteSince (r:1 w:1) + /// Storage: Scheduler IncompleteSince (r:1 w:1) + /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn service_agendas_base() -> Weight { - Weight::from_ref_time(11_880_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `35` + // Estimated: `503` + // Minimum execution time: 8_930 nanoseconds. + Weight::from_parts(11_020_000, 503) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(10667), added: 13142, mode: MaxEncodedLen) fn service_agenda_base(s: u32) -> Weight { - Weight::from_ref_time(18_660_144) - // Standard Error: 10_642 - .saturating_add(Weight::from_ref_time(592_343).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `114 + s * (181 ±0)` + // Estimated: `13142` + // Minimum execution time: 10_370 nanoseconds. + Weight::from_parts(20_442_634, 13142) + // Standard Error: 18_814 + .saturating_add(Weight::from_ref_time(438_691).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_base() -> Weight { - Weight::from_ref_time(23_750_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_840 nanoseconds. + Weight::from_ref_time(10_521_000) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) + /// Storage: Preimage PreimageFor (r:1 w:1) + /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn service_task_fetched(s: u32) -> Weight { - Weight::from_ref_time(51_490_000) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(2_301).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `211 + s * (1 ±0)` + // Estimated: `5252 + s * (1 ±0)` + // Minimum execution time: 31_190 nanoseconds. + Weight::from_parts(32_570_000, 5252) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(2_576).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(1).saturating_mul(s.into())) } - // Storage: Scheduler Lookup (r:0 w:1) + /// Storage: Scheduler Lookup (r:0 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn service_task_named() -> Weight { - Weight::from_ref_time(22_690_000).saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_690 nanoseconds. + Weight::from_ref_time(12_510_000).saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_periodic() -> Weight { - Weight::from_ref_time(24_121_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_560 nanoseconds. + Weight::from_ref_time(10_140_000) } fn execute_dispatch_signed() -> Weight { - Weight::from_ref_time(9_010_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_600 nanoseconds. + Weight::from_ref_time(4_810_000) } fn execute_dispatch_unsigned() -> Weight { - Weight::from_ref_time(8_660_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_480 nanoseconds. + Weight::from_ref_time(4_890_000) } - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(10667), added: 13142, mode: MaxEncodedLen) fn schedule(s: u32) -> Weight { - Weight::from_ref_time(46_100_804) - // Standard Error: 17_237 - .saturating_add(Weight::from_ref_time(678_601).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `114 + s * (181 ±0)` + // Estimated: `13142` + // Minimum execution time: 19_530 nanoseconds. + Weight::from_parts(32_791_808, 13142) + // Standard Error: 8_629 + .saturating_add(Weight::from_ref_time(571_964).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(10667), added: 13142, mode: MaxEncodedLen) + /// Storage: Scheduler Lookup (r:0 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn cancel(s: u32) -> Weight { - Weight::from_ref_time(51_657_945) - // Standard Error: 40_641 - .saturating_add(Weight::from_ref_time(893_452).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `114 + s * (181 ±0)` + // Estimated: `13142` + // Minimum execution time: 26_940 nanoseconds. + Weight::from_parts(34_284_670, 13142) + // Standard Error: 22_799 + .saturating_add(Weight::from_ref_time(894_879).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Scheduler Lookup (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Lookup (r:1 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(10667), added: 13142, mode: MaxEncodedLen) fn schedule_named(s: u32) -> Weight { - Weight::from_ref_time(53_301_422) - // Standard Error: 19_662 - .saturating_add(Weight::from_ref_time(680_204).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `297 + s * (189 ±0)` + // Estimated: `15669` + // Minimum execution time: 28_670 nanoseconds. + Weight::from_parts(40_892_204, 15669) + // Standard Error: 11_663 + .saturating_add(Weight::from_ref_time(594_070).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Scheduler Lookup (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) + /// Storage: Scheduler Lookup (r:1 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(10667), added: 13142, mode: MaxEncodedLen) fn cancel_named(s: u32) -> Weight { - Weight::from_ref_time(52_033_355) - // Standard Error: 51_001 - .saturating_add(Weight::from_ref_time(1_093_929).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `321 + s * (189 ±0)` + // Estimated: `15669` + // Minimum execution time: 29_810 nanoseconds. + Weight::from_parts(40_011_528, 15669) + // Standard Error: 28_453 + .saturating_add(Weight::from_ref_time(924_711).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } diff --git a/runtime/common/src/weights/pallet_timestamp.rs b/runtime/common/src/weights/pallet_timestamp.rs index 66be5ef24..540f7a222 100644 --- a/runtime/common/src/weights/pallet_timestamp.rs +++ b/runtime/common/src/weights/pallet_timestamp.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,14 +52,24 @@ use frame_support::{ /// Weight functions for pallet_timestamp (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_timestamp::weights::WeightInfo for WeightInfo { - // Storage: Timestamp Now (r:1 w:1) - // Storage: Aura CurrentSlot (r:1 w:0) + /// Storage: Timestamp Now (r:1 w:1) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Aura CurrentSlot (r:1 w:0) + /// Proof: Aura CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn set() -> Weight { - Weight::from_ref_time(28_450_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `256` + // Estimated: `1006` + // Minimum execution time: 24_640 nanoseconds. + Weight::from_parts(27_970_000, 1006) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn on_finalize() -> Weight { - Weight::from_ref_time(11_150_000) + // Proof Size summary in bytes: + // Measured: `128` + // Estimated: `0` + // Minimum execution time: 8_950 nanoseconds. + Weight::from_ref_time(10_770_000) } } diff --git a/runtime/common/src/weights/pallet_treasury.rs b/runtime/common/src/weights/pallet_treasury.rs index e017457cc..99777c08d 100644 --- a/runtime/common/src/weights/pallet_treasury.rs +++ b/runtime/common/src/weights/pallet_treasury.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,56 +52,96 @@ use frame_support::{ /// Weight functions for pallet_treasury (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_treasury::weights::WeightInfo for WeightInfo { - // Storage: Treasury ProposalCount (r:1 w:1) - // Storage: Treasury Approvals (r:1 w:1) - // Storage: Treasury Proposals (r:0 w:1) + /// Storage: Treasury ProposalCount (r:1 w:1) + /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Treasury Approvals (r:1 w:1) + /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: Treasury Proposals (r:0 w:1) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) fn spend() -> Weight { - Weight::from_ref_time(38_000_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `1396` + // Minimum execution time: 29_120 nanoseconds. + Weight::from_parts(29_630_000, 1396) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Treasury ProposalCount (r:1 w:1) - // Storage: Treasury Proposals (r:0 w:1) + /// Storage: Treasury ProposalCount (r:1 w:1) + /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Treasury Proposals (r:0 w:1) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) fn propose_spend() -> Weight { - Weight::from_ref_time(47_441_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `179` + // Estimated: `499` + // Minimum execution time: 43_871 nanoseconds. + Weight::from_parts(45_610_000, 499) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Treasury Proposals (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Treasury Proposals (r:1 w:1) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn reject_proposal() -> Weight { - Weight::from_ref_time(66_720_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `545` + // Estimated: `7797` + // Minimum execution time: 68_850 nanoseconds. + Weight::from_parts(71_080_000, 7797) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Treasury Proposals (r:1 w:0) - // Storage: Treasury Approvals (r:1 w:1) + /// Storage: Treasury Proposals (r:1 w:0) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: Treasury Approvals (r:1 w:1) + /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn approve_proposal(p: u32) -> Weight { - Weight::from_ref_time(27_037_020) - // Standard Error: 6_404 - .saturating_add(Weight::from_ref_time(271_419).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `500 + p * (8 ±0)` + // Estimated: `3480` + // Minimum execution time: 17_000 nanoseconds. + Weight::from_parts(24_215_016, 3480) + // Standard Error: 3_591 + .saturating_add(Weight::from_ref_time(113_208).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Treasury Approvals (r:1 w:1) + /// Storage: Treasury Approvals (r:1 w:1) + /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn remove_approval() -> Weight { - Weight::from_ref_time(33_281_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `127` + // Estimated: `897` + // Minimum execution time: 13_880 nanoseconds. + Weight::from_parts(16_920_000, 897) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: System Account (r:1 w:1) - // Storage: Treasury Deactivated (r:1 w:1) - // Storage: Balances InactiveIssuance (r:1 w:1) - // Storage: Treasury Approvals (r:1 w:1) - // Storage: Bounties BountyApprovals (r:1 w:1) - // Storage: Treasury Proposals (r:2 w:2) + /// Storage: System Account (r:201 w:201) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Treasury Deactivated (r:1 w:1) + /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:1) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Treasury Approvals (r:1 w:1) + /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: Treasury Proposals (r:100 w:100) + /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: Bounties BountyApprovals (r:1 w:1) + /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn on_initialize_proposals(p: u32) -> Weight { - Weight::from_ref_time(94_784_571) - // Standard Error: 313_454 - .saturating_add(Weight::from_ref_time(48_850_989).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Proof Size summary in bytes: + // Measured: `383 + p * (318 ±0)` + // Estimated: `5423 + p * (7797 ±0)` + // Minimum execution time: 63_570 nanoseconds. + Weight::from_parts(133_789_819, 5423) + // Standard Error: 400_096 + .saturating_add(Weight::from_ref_time(51_806_827).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_proof_size(7797).saturating_mul(p.into())) } } diff --git a/runtime/common/src/weights/pallet_utility.rs b/runtime/common/src/weights/pallet_utility.rs index 8fa2fed0a..3508bdf82 100644 --- a/runtime/common/src/weights/pallet_utility.rs +++ b/runtime/common/src/weights/pallet_utility.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -50,24 +53,44 @@ use frame_support::{ pub struct WeightInfo(PhantomData); impl pallet_utility::weights::WeightInfo for WeightInfo { fn batch(c: u32) -> Weight { - Weight::from_ref_time(58_239_300) - // Standard Error: 67_448 - .saturating_add(Weight::from_ref_time(7_264_706).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_920 nanoseconds. + Weight::from_ref_time(82_132_334) + // Standard Error: 69_562 + .saturating_add(Weight::from_ref_time(6_992_863).saturating_mul(c.into())) } fn as_derivative() -> Weight { - Weight::from_ref_time(14_790_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_510 nanoseconds. + Weight::from_ref_time(9_170_000) } fn batch_all(c: u32) -> Weight { - Weight::from_ref_time(71_049_100) - // Standard Error: 36_692 - .saturating_add(Weight::from_ref_time(7_366_227).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_960 nanoseconds. + Weight::from_ref_time(13_380_000) + // Standard Error: 46_747 + .saturating_add(Weight::from_ref_time(7_537_834).saturating_mul(c.into())) } fn dispatch_as() -> Weight { - Weight::from_ref_time(34_180_000) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 15_010 nanoseconds. + Weight::from_ref_time(16_100_000) } fn force_batch(c: u32) -> Weight { - Weight::from_ref_time(42_443_655) - // Standard Error: 30_677 - .saturating_add(Weight::from_ref_time(7_153_347).saturating_mul(c.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_850 nanoseconds. + Weight::from_ref_time(34_981_700) + // Standard Error: 13_727 + .saturating_add(Weight::from_ref_time(6_982_453).saturating_mul(c.into())) } } diff --git a/runtime/common/src/weights/pallet_vesting.rs b/runtime/common/src/weights/pallet_vesting.rs index 791b82d51..8491cb9b1 100644 --- a/runtime/common/src/weights/pallet_vesting.rs +++ b/runtime/common/src/weights/pallet_vesting.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for pallet_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/frame_weight_template.hbs +// --header=./HEADER_GPL3 // --output=./runtime/common/src/weights/ #![allow(unused_parens)] @@ -49,86 +52,146 @@ use frame_support::{ /// Weight functions for pallet_vesting (automatically generated) pub struct WeightInfo(PhantomData); impl pallet_vesting::weights::WeightInfo for WeightInfo { - // Storage: Vesting Vesting (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) + /// Storage: Vesting Vesting (r:1 w:1) + /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vest_locked(l: u32, s: u32) -> Weight { - Weight::from_ref_time(67_772_711) - // Standard Error: 24_976 - .saturating_add(Weight::from_ref_time(116_226).saturating_mul(l.into())) - // Standard Error: 44_437 - .saturating_add(Weight::from_ref_time(318_658).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `405 + l * (25 ±0) + s * (40 ±0)` + // Estimated: `7418` + // Minimum execution time: 38_571 nanoseconds. + Weight::from_parts(45_233_599, 7418) + // Standard Error: 8_644 + .saturating_add(Weight::from_ref_time(108_973).saturating_mul(l.into())) + // Standard Error: 15_379 + .saturating_add(Weight::from_ref_time(128_780).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Vesting Vesting (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - fn vest_unlocked(_l: u32, s: u32) -> Weight { - Weight::from_ref_time(81_734_827) - // Standard Error: 42_951 - .saturating_add(Weight::from_ref_time(56_221).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + /// Storage: Vesting Vesting (r:1 w:1) + /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + fn vest_unlocked(l: u32, s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `405 + l * (25 ±0) + s * (40 ±0)` + // Estimated: `7418` + // Minimum execution time: 38_410 nanoseconds. + Weight::from_parts(49_815_544, 7418) + // Standard Error: 16_402 + .saturating_add(Weight::from_ref_time(34_111).saturating_mul(l.into())) + // Standard Error: 29_182 + .saturating_add(Weight::from_ref_time(55_111).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Vesting Vesting (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: System Account (r:1 w:1) - fn vest_other_locked(_l: u32, s: u32) -> Weight { - Weight::from_ref_time(74_636_848) - // Standard Error: 30_247 - .saturating_add(Weight::from_ref_time(120_555).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + /// Storage: Vesting Vesting (r:1 w:1) + /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + fn vest_other_locked(l: u32, s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `544 + l * (25 ±0) + s * (40 ±0)` + // Estimated: `10025` + // Minimum execution time: 43_080 nanoseconds. + Weight::from_parts(53_243_771, 10025) + // Standard Error: 14_868 + .saturating_add(Weight::from_ref_time(104_972).saturating_mul(l.into())) + // Standard Error: 26_454 + .saturating_add(Weight::from_ref_time(88_054).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Vesting Vesting (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Vesting Vesting (r:1 w:1) + /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn vest_other_unlocked(l: u32, s: u32) -> Weight { - Weight::from_ref_time(71_174_075) - // Standard Error: 18_317 - .saturating_add(Weight::from_ref_time(79_995).saturating_mul(l.into())) - // Standard Error: 32_589 - .saturating_add(Weight::from_ref_time(169_250).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `544 + l * (25 ±0) + s * (40 ±0)` + // Estimated: `10025` + // Minimum execution time: 43_710 nanoseconds. + Weight::from_parts(54_207_984, 10025) + // Standard Error: 20_293 + .saturating_add(Weight::from_ref_time(70_467).saturating_mul(l.into())) + // Standard Error: 36_105 + .saturating_add(Weight::from_ref_time(118_924).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Vesting Vesting (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - fn vested_transfer(l: u32, _s: u32) -> Weight { - Weight::from_ref_time(102_807_286) - // Standard Error: 24_089 - .saturating_add(Weight::from_ref_time(89_315).saturating_mul(l.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + /// Storage: Vesting Vesting (r:1 w:1) + /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + fn vested_transfer(l: u32, s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `615 + l * (25 ±0) + s * (40 ±0)` + // Estimated: `10025` + // Minimum execution time: 62_491 nanoseconds. + Weight::from_parts(77_320_572, 10025) + // Standard Error: 20_801 + .saturating_add(Weight::from_ref_time(136_687).saturating_mul(l.into())) + // Standard Error: 37_009 + .saturating_add(Weight::from_ref_time(17_532).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Vesting Vesting (r:1 w:1) - // Storage: System Account (r:2 w:2) - // Storage: Balances Locks (r:1 w:1) - fn force_vested_transfer(_l: u32, _s: u32) -> Weight { - Weight::from_ref_time(110_346_038) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + /// Storage: Vesting Vesting (r:1 w:1) + /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + fn force_vested_transfer(l: u32, _s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `754 + l * (25 ±0) + s * (40 ±0)` + // Estimated: `12632` + // Minimum execution time: 66_881 nanoseconds. + Weight::from_parts(92_431_305, 12632) + // Standard Error: 24_052 + .saturating_add(Weight::from_ref_time(49_314).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: Vesting Vesting (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) + /// Storage: Vesting Vesting (r:1 w:1) + /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight { - Weight::from_ref_time(79_783_352) - // Standard Error: 26_074 - .saturating_add(Weight::from_ref_time(28_030).saturating_mul(l.into())) - // Standard Error: 48_152 - .saturating_add(Weight::from_ref_time(9_317).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `542 + l * (25 ±0) + s * (40 ±0)` + // Estimated: `10025` + // Minimum execution time: 45_940 nanoseconds. + Weight::from_parts(54_408_753, 10025) + // Standard Error: 13_614 + .saturating_add(Weight::from_ref_time(87_865).saturating_mul(l.into())) + // Standard Error: 25_141 + .saturating_add(Weight::from_ref_time(155_964).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Vesting Vesting (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - fn unlocking_merge_schedules(l: u32, s: u32) -> Weight { - Weight::from_ref_time(72_755_600) - // Standard Error: 19_705 - .saturating_add(Weight::from_ref_time(89_673).saturating_mul(l.into())) - // Standard Error: 36_390 - .saturating_add(Weight::from_ref_time(144_540).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + /// Storage: Vesting Vesting (r:1 w:1) + /// Proof: Vesting Vesting (max_values: None, max_size: Some(1169), added: 3644, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + fn unlocking_merge_schedules(_l: u32, _s: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `542 + l * (25 ±0) + s * (40 ±0)` + // Estimated: `10025` + // Minimum execution time: 45_550 nanoseconds. + Weight::from_parts(63_371_359, 10025) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } diff --git a/zrml/authorized/src/weights.rs b/zrml/authorized/src/weights.rs index 8cd6968ff..eee0b4f2b 100644 --- a/zrml/authorized/src/weights.rs +++ b/zrml/authorized/src/weights.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for zrml_authorized //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-03, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/weight_template.hbs +// --header=./HEADER_GPL3 // --output=./zrml/authorized/src/weights.rs #![allow(unused_parens)] @@ -60,42 +63,91 @@ pub trait WeightInfoZeitgeist { /// Weight functions for zrml_authorized (automatically generated) pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) + /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) fn authorize_market_outcome_first_report(m: u32) -> Weight { - Weight::from_ref_time(50_720_068) - // Standard Error: 2_573 - .saturating_add(Weight::from_ref_time(88_116).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `819 + m * (22 ±0)` + // Estimated: `9057` + // Minimum execution time: 38_051 nanoseconds. + Weight::from_parts(47_400_683, 9057) + // Standard Error: 765 + .saturating_add(Weight::from_ref_time(92_396).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) + /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn authorize_market_outcome_existing_report() -> Weight { - Weight::from_ref_time(39_720_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `573` + // Estimated: `5540` + // Minimum execution time: 30_040 nanoseconds. + Weight::from_parts(37_780_000, 5540) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn on_dispute_weight() -> Weight { - Weight::from_ref_time(0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 240 nanoseconds. + Weight::from_ref_time(340_000) } + /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) + /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn on_resolution_weight() -> Weight { - Weight::from_ref_time(0) + // Proof Size summary in bytes: + // Measured: `217` + // Estimated: `2524` + // Minimum execution time: 8_620 nanoseconds. + Weight::from_parts(10_730_000, 2524) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn exchange_weight() -> Weight { - Weight::from_ref_time(0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_350 nanoseconds. + Weight::from_ref_time(3_000_000) } + /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:0) + /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn get_auto_resolve_weight() -> Weight { - Weight::from_ref_time(0) + // Proof Size summary in bytes: + // Measured: `217` + // Estimated: `2524` + // Minimum execution time: 7_720 nanoseconds. + Weight::from_parts(9_980_000, 2524).saturating_add(T::DbWeight::get().reads(1_u64)) } fn has_failed_weight() -> Weight { - Weight::from_ref_time(0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 230 nanoseconds. + Weight::from_ref_time(340_000) } fn on_global_dispute_weight() -> Weight { - Weight::from_ref_time(0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 220 nanoseconds. + Weight::from_ref_time(320_000) } + /// Storage: Authorized AuthorizedOutcomeReports (r:0 w:1) + /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) fn clear_weight() -> Weight { - Weight::from_ref_time(0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_210 nanoseconds. + Weight::from_ref_time(2_900_000).saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/zrml/court/src/weights.rs b/zrml/court/src/weights.rs index faf60e5fe..4a1ce17a5 100644 --- a/zrml/court/src/weights.rs +++ b/zrml/court/src/weights.rs @@ -19,11 +19,13 @@ //! Autogenerated weights for zrml_court //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-03, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/zeitgeist +// ./target/production/zeitgeist // benchmark // pallet // --chain=dev @@ -34,8 +36,9 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=./zrml/court/src/weights.rs // --template=./misc/weight_template.hbs +// --header=./HEADER_GPL3 +// --output=./zrml/court/src/weights.rs #![allow(unused_parens)] #![allow(unused_imports)] @@ -71,234 +74,399 @@ pub trait WeightInfoZeitgeist { /// Weight functions for zrml_court (automatically generated) pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { - // Storage: Court JurorPool (r:1 w:1) - // Storage: Court Jurors (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) + /// Storage: Court CourtPool (r:1 w:1) + /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) + /// Storage: Court Participants (r:1 w:1) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn join_court(j: u32) -> Weight { - Weight::from_ref_time(33_951_000) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(94_000).saturating_mul(j.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `1096 + j * (72 ±0)` + // Estimated: `78997` + // Minimum execution time: 44_140 nanoseconds. + Weight::from_parts(65_518_720, 78997) + // Standard Error: 264 + .saturating_add(Weight::from_ref_time(150_281).saturating_mul(j.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Court JurorPool (r:1 w:1) - // Storage: Court Jurors (r:6 w:1) - // Storage: Balances Locks (r:1 w:1) + /// Storage: Court CourtPool (r:1 w:1) + /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) + /// Storage: Court Participants (r:6 w:1) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn delegate(j: u32, d: u32) -> Weight { - Weight::from_ref_time(46_155_000) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(122_000).saturating_mul(j.into())) - // Standard Error: 51_000 - .saturating_add(Weight::from_ref_time(863_000).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Proof Size summary in bytes: + // Measured: `0 + j * (74 ±0) + d * (685 ±0)` + // Estimated: `78997 + d * (2726 ±0)` + // Minimum execution time: 73_850 nanoseconds. + Weight::from_parts(50_792_351, 78997) + // Standard Error: 251 + .saturating_add(Weight::from_ref_time(190_377).saturating_mul(j.into())) + // Standard Error: 54_900 + .saturating_add(Weight::from_ref_time(11_551_233).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2726).saturating_mul(d.into())) } - // Storage: Court Jurors (r:1 w:1) - // Storage: Court JurorPool (r:1 w:1) + /// 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(72002), added: 72497, mode: MaxEncodedLen) fn prepare_exit_court(j: u32) -> Weight { - Weight::from_ref_time(19_325_000) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(84_000).saturating_mul(j.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `1034 + j * (72 ±0)` + // Estimated: `75223` + // Minimum execution time: 28_760 nanoseconds. + Weight::from_parts(46_309_265, 75223) + // Standard Error: 257 + .saturating_add(Weight::from_ref_time(117_570).saturating_mul(j.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Court Jurors (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) + /// Storage: Court Participants (r:1 w:1) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn exit_court_remove() -> Weight { - Weight::from_ref_time(38_000_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `273` + // Estimated: `6500` + // Minimum execution time: 38_990 nanoseconds. + Weight::from_parts(48_090_000, 6500) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Court Jurors (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) + /// Storage: Court Participants (r:1 w:1) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn exit_court_set() -> Weight { - Weight::from_ref_time(37_000_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `273` + // Estimated: `6500` + // Minimum execution time: 37_120 nanoseconds. + Weight::from_parts(45_810_000, 6500) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: Court Courts (r:1 w:0) - // Storage: Court SelectedDraws (r:1 w:1) + /// Storage: Court Courts (r:1 w:0) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// Storage: Court SelectedDraws (r:1 w:1) + /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) fn vote(d: u32) -> Weight { - Weight::from_ref_time(48_629_000) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(90_000).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `416 + d * (53 ±0)` + // Estimated: `155273` + // Minimum execution time: 57_331 nanoseconds. + Weight::from_parts(70_805_856, 155273) + // Standard Error: 135 + .saturating_add(Weight::from_ref_time(130_051).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Court CourtIdToMarketId (r:1 w:0) - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: Court Jurors (r:1 w:0) - // Storage: Court Courts (r:1 w:0) - // Storage: Court SelectedDraws (r:1 w:1) + /// Storage: Court CourtIdToMarketId (r:1 w:0) + /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Court Participants (r:1 w:0) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: Court Courts (r:1 w:0) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// Storage: Court SelectedDraws (r:1 w:1) + /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) fn denounce_vote(d: u32) -> Weight { - Weight::from_ref_time(41_779_000) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(126_000).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `1525 + d * (53 ±0)` + // Estimated: `163530` + // Minimum execution time: 58_061 nanoseconds. + Weight::from_parts(80_304_402, 163530) + // Standard Error: 400 + .saturating_add(Weight::from_ref_time(195_807).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Court CourtIdToMarketId (r:1 w:0) - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: Court Jurors (r:1 w:0) - // Storage: Court Courts (r:1 w:0) - // Storage: Court SelectedDraws (r:1 w:1) + /// Storage: Court CourtIdToMarketId (r:1 w:0) + /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Court Participants (r:1 w:0) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: Court Courts (r:1 w:0) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// Storage: Court SelectedDraws (r:1 w:1) + /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) fn reveal_vote(d: u32) -> Weight { - Weight::from_ref_time(69_471_000) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(92_000).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `2107 + d * (53 ±0)` + // Estimated: `163530` + // Minimum execution time: 95_970 nanoseconds. + Weight::from_parts(118_381_168, 163530) + // Standard Error: 188 + .saturating_add(Weight::from_ref_time(127_581).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Court Courts (r:1 w:1) - // Storage: Court CourtIdToMarketId (r:1 w:0) - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: Court SelectedDraws (r:1 w:1) - // Storage: Court JurorPool (r:1 w:1) - // Storage: Court JurorsSelectionNonce (r:1 w:1) - // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) - // Storage: Court Jurors (r:223 w:222) - // Storage: Court RequestBlock (r:1 w:0) - // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:2 w:2) - // Storage: Balances Reserves (r:1 w:1) - fn appeal(j: u32, a: u32, r: u32, _f: u32) -> Weight { - Weight::from_ref_time(0) - // Standard Error: 26_000 - .saturating_add(Weight::from_ref_time(5_584_000).saturating_mul(j.into())) - // Standard Error: 7_923_000 - .saturating_add(Weight::from_ref_time(2_539_125_000).saturating_mul(a.into())) - // Standard Error: 320_000 - .saturating_add(Weight::from_ref_time(1_503_000).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((128_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes((128_u64).saturating_mul(a.into()))) + /// Storage: Court Courts (r:1 w:1) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// Storage: Court CourtIdToMarketId (r:1 w:0) + /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Court SelectedDraws (r:1 w:1) + /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) + /// Storage: Court CourtPool (r:1 w:1) + /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) + /// Storage: Court SelectionNonce (r:1 w:1) + /// Proof: Court SelectionNonce (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) + /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: MaxEncodedLen) + /// Storage: Court Participants (r:347 w:343) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: Court RequestBlock (r:1 w:0) + /// Proof: Court RequestBlock (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:2 w:2) + /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + fn appeal(j: u32, a: u32, _r: u32, _f: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + j * (132 ±0) + a * (35486 ±0) + r * (16 ±0) + f * (16 ±0)` + // Estimated: `515302 + j * (203 ±1) + a * (314898 ±368)` + // Minimum execution time: 3_652_190 nanoseconds. + Weight::from_parts(4_409_134_000, 515302) + // Standard Error: 26_318 + .saturating_add(Weight::from_ref_time(6_785_123).saturating_mul(j.into())) + // Standard Error: 9_392_573 + .saturating_add(Weight::from_ref_time(4_808_492_598).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(109_u64)) + .saturating_add(T::DbWeight::get().reads((116_u64).saturating_mul(a.into()))) + .saturating_add(T::DbWeight::get().writes(100_u64)) + .saturating_add(Weight::from_proof_size(203).saturating_mul(j.into())) + .saturating_add(Weight::from_proof_size(314898).saturating_mul(a.into())) } - // Storage: Court Courts (r:1 w:1) - // Storage: Court SelectedDraws (r:1 w:1) - // Storage: Court Jurors (r:5 w:5) - // Storage: System Account (r:6 w:5) + /// Storage: Court Courts (r:1 w:1) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// Storage: Court SelectedDraws (r:1 w:1) + /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) + /// Storage: Court Participants (r:510 w:510) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: System Account (r:511 w:510) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn reassign_court_stakes(d: u32) -> Weight { - Weight::from_ref_time(0) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(44_416_000).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Proof Size summary in bytes: + // Measured: `911 + d * (587 ±0)` + // Estimated: `157880 + d * (5333 ±0)` + // Minimum execution time: 153_811 nanoseconds. + Weight::from_parts(188_241_000, 157880) + // Standard Error: 40_407 + .saturating_add(Weight::from_ref_time(76_164_607).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(5333).saturating_mul(d.into())) } - // Storage: Court YearlyInflation (r:0 w:1) + /// Storage: Court YearlyInflation (r:0 w:1) + /// Proof: Court YearlyInflation (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn set_inflation() -> Weight { - Weight::from_ref_time(16_000_000).saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_390 nanoseconds. + Weight::from_ref_time(16_751_000).saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Court YearlyInflation (r:1 w:0) - // Storage: Court JurorPool (r:1 w:0) - // Storage: System Account (r:1 w:1) + /// Storage: Court YearlyInflation (r:1 w:0) + /// Proof: Court YearlyInflation (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Court CourtPool (r:1 w:0) + /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) + /// Storage: System Account (r:1000 w:1000) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn handle_inflation(j: u32) -> Weight { - Weight::from_ref_time(0) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(12_853_000).saturating_mul(j.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `0 + j * (243 ±0)` + // Estimated: `72996 + j * (2607 ±0)` + // Minimum execution time: 34_750 nanoseconds. + Weight::from_parts(42_340_000, 72996) + // Standard Error: 7_714 + .saturating_add(Weight::from_ref_time(22_591_960).saturating_mul(j.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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_proof_size(2607).saturating_mul(j.into())) } - // Storage: Court CourtPool (r:1 w:1) - // Storage: Court SelectionNonce (r:1 w:1) - // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) - // Storage: Court Participants (r:35 w:31) + /// Storage: Court CourtPool (r:1 w:1) + /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) + /// Storage: Court SelectionNonce (r:1 w:1) + /// Proof: Court SelectionNonce (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) + /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: MaxEncodedLen) + /// Storage: Court Participants (r:240 w:236) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) fn select_participants(a: u32) -> Weight { - Weight::from_ref_time(639_560_000) - // Standard Error: 11_776_000 - .saturating_add(Weight::from_ref_time(2_310_239_000).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(24)) + // Proof Size summary in bytes: + // Measured: `84018 + a * (19595 ±0)` + // Estimated: `133335 + a * (162878 ±713)` + // Minimum execution time: 1_583_905 nanoseconds. + Weight::from_parts(979_468_625, 133335) + // Standard Error: 19_324_539 + .saturating_add(Weight::from_ref_time(3_719_940_913).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(24_u64)) .saturating_add(T::DbWeight::get().reads((60_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(19)) - .saturating_add(T::DbWeight::get().writes((60_u64).saturating_mul(a.into()))) + .saturating_add(T::DbWeight::get().writes(19_u64)) + .saturating_add(Weight::from_proof_size(162878).saturating_mul(a.into())) } - // Storage: Court NextCourtId (r:1 w:1) - // Storage: Court JurorPool (r:1 w:1) - // Storage: Court JurorsSelectionNonce (r:1 w:1) - // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) - // Storage: Court Jurors (r:23 w:23) - // Storage: Court RequestBlock (r:1 w:0) - // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) - // Storage: Court SelectedDraws (r:0 w:1) - // Storage: Court CourtIdToMarketId (r:0 w:1) - // Storage: Court MarketIdToCourtId (r:0 w:1) - // Storage: Court Courts (r:0 w:1) + /// Storage: Court NextCourtId (r:1 w:1) + /// Proof: Court NextCourtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Court CourtPool (r:1 w:1) + /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) + /// Storage: Court SelectionNonce (r:1 w:1) + /// Proof: Court SelectionNonce (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) + /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: MaxEncodedLen) + /// Storage: Court Participants (r:31 w:31) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: Court RequestBlock (r:1 w:0) + /// Proof: Court RequestBlock (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + /// Storage: Court SelectedDraws (r:0 w:1) + /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) + /// Storage: Court CourtIdToMarketId (r:0 w:1) + /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Court MarketIdToCourtId (r:0 w:1) + /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Court Courts (r:0 w:1) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) fn on_dispute(j: u32, r: u32) -> Weight { - Weight::from_ref_time(196_514_000) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(144_000).saturating_mul(j.into())) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(157_000).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(33)) - .saturating_add(T::DbWeight::get().writes(35)) + // Proof Size summary in bytes: + // Measured: `6039 + j * (80 ±0) + r * (16 ±0)` + // Estimated: `153295 + j * (11 ±0) + r * (29 ±1)` + // Minimum execution time: 299_840 nanoseconds. + Weight::from_parts(376_923_517, 153295) + // Standard Error: 867 + .saturating_add(Weight::from_ref_time(261_807).saturating_mul(j.into())) + // Standard Error: 13_422 + .saturating_add(Weight::from_ref_time(289_721).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(33_u64)) + .saturating_add(T::DbWeight::get().writes(35_u64)) + .saturating_add(Weight::from_proof_size(11).saturating_mul(j.into())) + .saturating_add(Weight::from_proof_size(29).saturating_mul(r.into())) } - // Storage: Court MarketIdToCourtId (r:1 w:0) - // Storage: Court Courts (r:1 w:1) - // Storage: Court SelectedDraws (r:1 w:0) - // Storage: Court CourtIdToMarketId (r:1 w:0) - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: Court Jurors (r:1 w:1) + /// Storage: Court MarketIdToCourtId (r:1 w:0) + /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Court Courts (r:1 w:1) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// Storage: Court SelectedDraws (r:1 w:0) + /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) + /// Storage: Court CourtIdToMarketId (r:1 w:0) + /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Court Participants (r:510 w:510) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) fn on_resolution(d: u32) -> Weight { - Weight::from_ref_time(17_329_000) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(4_102_000).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Proof Size summary in bytes: + // Measured: `930 + d * (256 ±0)` + // Estimated: `163319 + d * (2726 ±0)` + // Minimum execution time: 45_441 nanoseconds. + Weight::from_parts(47_380_000, 163319) + // Standard Error: 5_948 + .saturating_add(Weight::from_ref_time(7_493_292).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .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(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(2726).saturating_mul(d.into())) } - // Storage: Court MarketIdToCourtId (r:1 w:0) - // Storage: Court Courts (r:1 w:0) - // Storage: Balances Reserves (r:1 w:1) - // Storage: System Account (r:1 w:1) + /// Storage: Court MarketIdToCourtId (r:1 w:0) + /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Court Courts (r:1 w:0) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:4 w:4) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: System Account (r:4 w:4) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn exchange(a: u32) -> Weight { - Weight::from_ref_time(17_021_000) - // Standard Error: 29_000 - .saturating_add(Weight::from_ref_time(21_348_000).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `386 + a * (352 ±0)` + // Estimated: `5339 + a * (6331 ±0)` + // Minimum execution time: 16_360 nanoseconds. + Weight::from_parts(21_054_877, 5339) + // Standard Error: 27_645 + .saturating_add(Weight::from_ref_time(34_674_206).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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_proof_size(6331).saturating_mul(a.into())) } - // Storage: Court MarketIdToCourtId (r:1 w:0) - // Storage: Court Courts (r:1 w:0) + /// Storage: Court MarketIdToCourtId (r:1 w:0) + /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Court Courts (r:1 w:0) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) fn get_auto_resolve() -> Weight { - Weight::from_ref_time(9_000_000).saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `389` + // Estimated: `5339` + // Minimum execution time: 13_860 nanoseconds. + Weight::from_parts(17_320_000, 5339).saturating_add(T::DbWeight::get().reads(2_u64)) } - // Storage: Court MarketIdToCourtId (r:1 w:0) - // Storage: Court JurorPool (r:1 w:0) - // Storage: Court Courts (r:1 w:0) - // Storage: Court CourtIdToMarketId (r:1 w:0) - // Storage: MarketCommons Markets (r:1 w:0) + /// Storage: Court MarketIdToCourtId (r:1 w:0) + /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Court CourtPool (r:1 w:0) + /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) + /// Storage: Court Courts (r:1 w:0) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// Storage: Court CourtIdToMarketId (r:1 w:0) + /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) fn has_failed() -> Weight { - Weight::from_ref_time(24_000_000).saturating_add(T::DbWeight::get().reads(5)) + // Proof Size summary in bytes: + // Measured: `3151` + // Estimated: `83367` + // Minimum execution time: 34_920 nanoseconds. + Weight::from_parts(43_370_000, 83367).saturating_add(T::DbWeight::get().reads(5_u64)) } - // Storage: Court MarketIdToCourtId (r:1 w:0) - // Storage: Court Courts (r:1 w:1) - // Storage: Court SelectedDraws (r:1 w:1) - // Storage: Court Jurors (r:510 w:510) - fn on_global_dispute(a: u32, d: u32) -> Weight { - Weight::from_ref_time(11_646_000) - // Standard Error: 588_000 - .saturating_add(Weight::from_ref_time(20_187_000).saturating_mul(a.into())) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(4_083_000).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(3)) + /// Storage: Court MarketIdToCourtId (r:1 w:0) + /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Court Courts (r:1 w:1) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// Storage: Court SelectedDraws (r:1 w:1) + /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) + /// Storage: Court Participants (r:510 w:510) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + fn on_global_dispute(_a: u32, d: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `448 + a * (66 ±0) + d * (256 ±0)` + // Estimated: `157788 + d * (2726 ±0)` + // Minimum execution time: 31_350 nanoseconds. + Weight::from_parts(34_136_188, 157788) + // Standard Error: 7_860 + .saturating_add(Weight::from_ref_time(7_658_064).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(2726).saturating_mul(d.into())) } - // Storage: Court MarketIdToCourtId (r:1 w:0) - // Storage: Court SelectedDraws (r:1 w:1) - // Storage: Court Jurors (r:1 w:1) - // Storage: Court Courts (r:0 w:1) + /// Storage: Court MarketIdToCourtId (r:1 w:0) + /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Court SelectedDraws (r:1 w:1) + /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) + /// Storage: Court Participants (r:510 w:510) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: Court Courts (r:0 w:1) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) fn clear(d: u32) -> Weight { - Weight::from_ref_time(4_229_000) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_115_000).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `363 + d * (256 ±0)` + // Estimated: `154964 + d * (2726 ±0)` + // Minimum execution time: 25_481 nanoseconds. + Weight::from_parts(29_170_000, 154964) + // Standard Error: 5_395 + .saturating_add(Weight::from_ref_time(7_136_451).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(2726).saturating_mul(d.into())) } } diff --git a/zrml/global-disputes/src/weights.rs b/zrml/global-disputes/src/weights.rs index d5fbdcaa2..0df94c011 100644 --- a/zrml/global-disputes/src/weights.rs +++ b/zrml/global-disputes/src/weights.rs @@ -19,11 +19,13 @@ //! Autogenerated weights for zrml_global_disputes //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-04, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/zeitgeist +// ./target/production/zeitgeist // benchmark // pallet // --chain=dev @@ -34,8 +36,9 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=./zrml/global-disputes/src/weights.rs // --template=./misc/weight_template.hbs +// --header=./HEADER_GPL3 +// --output=./zrml/global-disputes/src/weights.rs #![allow(unused_parens)] #![allow(unused_imports)] @@ -59,94 +62,156 @@ pub trait WeightInfoZeitgeist { /// Weight functions for zrml_global_disputes (automatically generated) pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { - // Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:1) - // Storage: GlobalDisputes Outcomes (r:1 w:1) - // Storage: GlobalDisputes Locks (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:1) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: GlobalDisputes Outcomes (r:1 w:1) + /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: GlobalDisputes Locks (r:1 w:1) + /// Proof: GlobalDisputes Locks (max_values: None, max_size: Some(1641), added: 4116, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vote_on_outcome(_o: u32, v: u32) -> Weight { - Weight::from_ref_time(89_222_217) - // Standard Error: 4_589 - .saturating_add(Weight::from_ref_time(183_754).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Proof Size summary in bytes: + // Measured: `556 + o * (26 ±0) + v * (32 ±0)` + // Estimated: `13631` + // Minimum execution time: 57_340 nanoseconds. + Weight::from_parts(64_978_934, 13631) + // Standard Error: 3_950 + .saturating_add(Weight::from_ref_time(121_314).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - // Storage: GlobalDisputes Locks (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: System Account (r:1 w:0) - // Storage: GlobalDisputes GlobalDisputesInfo (r:5 w:0) + /// Storage: GlobalDisputes Locks (r:1 w:1) + /// Proof: GlobalDisputes Locks (max_values: None, max_size: Some(1641), added: 4116, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:50 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn unlock_vote_balance_set(l: u32, o: u32) -> Weight { - Weight::from_ref_time(54_445_996) - // Standard Error: 8_942 - .saturating_add(Weight::from_ref_time(4_333_876).saturating_mul(l.into())) - // Standard Error: 50_061 - .saturating_add(Weight::from_ref_time(1_054_193).saturating_mul(o.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Proof Size summary in bytes: + // Measured: `0 + l * (467 ±0) + o * (1600 ±0)` + // Estimated: `10497 + l * (2871 ±0)` + // Minimum execution time: 31_920 nanoseconds. + Weight::from_parts(37_861_017, 10497) + // Standard Error: 10_688 + .saturating_add(Weight::from_ref_time(4_091_299).saturating_mul(l.into())) + // Standard Error: 59_834 + .saturating_add(Weight::from_ref_time(813_711).saturating_mul(o.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(2871).saturating_mul(l.into())) } - // Storage: GlobalDisputes Locks (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: System Account (r:1 w:0) - // Storage: GlobalDisputes GlobalDisputesInfo (r:5 w:0) + /// Storage: GlobalDisputes Locks (r:1 w:1) + /// Proof: GlobalDisputes Locks (max_values: None, max_size: Some(1641), added: 4116, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:50 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn unlock_vote_balance_remove(l: u32, o: u32) -> Weight { - Weight::from_ref_time(61_165_913) - // Standard Error: 9_374 - .saturating_add(Weight::from_ref_time(4_014_112).saturating_mul(l.into())) - // Standard Error: 52_477 - .saturating_add(Weight::from_ref_time(199_810).saturating_mul(o.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Proof Size summary in bytes: + // Measured: `0 + l * (451 ±0) + o * (1600 ±0)` + // Estimated: `10497 + l * (2871 ±0)` + // Minimum execution time: 32_400 nanoseconds. + Weight::from_parts(20_243_436, 10497) + // Standard Error: 10_469 + .saturating_add(Weight::from_ref_time(3_915_774).saturating_mul(l.into())) + // Standard Error: 58_607 + .saturating_add(Weight::from_ref_time(2_533_975).saturating_mul(o.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(2871).saturating_mul(l.into())) } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:1) - // Storage: GlobalDisputes Outcomes (r:1 w:1) - // Storage: System Account (r:1 w:1) - fn add_vote_outcome(_w: u32) -> Weight { - Weight::from_ref_time(100_295_681) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:1) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: GlobalDisputes Outcomes (r:1 w:1) + /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + fn add_vote_outcome(w: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `686 + w * (32 ±0)` + // Estimated: `11364` + // Minimum execution time: 67_610 nanoseconds. + Weight::from_parts(77_082_434, 11364) + // Standard Error: 27_021 + .saturating_add(Weight::from_ref_time(566_268).saturating_mul(w.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: GlobalDisputes Outcomes (r:1 w:0) - // Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) - // Storage: System Account (r:2 w:2) + /// Storage: GlobalDisputes Outcomes (r:1 w:0) + /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: System Account (r:11 w:11) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn reward_outcome_owner_shared_possession(o: u32) -> Weight { - Weight::from_ref_time(36_741_000) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(22_017_000).saturating_mul(o.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Proof Size summary in bytes: + // Measured: `490 + o * (41 ±0)` + // Estimated: `8869 + o * (2702 ±6)` + // Minimum execution time: 66_040 nanoseconds. + Weight::from_parts(59_723_714, 8869) + // Standard Error: 98_936 + .saturating_add(Weight::from_ref_time(30_343_508).saturating_mul(o.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .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(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(2702).saturating_mul(o.into())) } - // Storage: GlobalDisputes Outcomes (r:1 w:0) - // Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) - // Storage: System Account (r:2 w:2) + /// Storage: GlobalDisputes Outcomes (r:1 w:0) + /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn reward_outcome_owner_paid_possession() -> Weight { - Weight::from_ref_time(56_000_000) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `537` + // Estimated: `10955` + // Minimum execution time: 65_341 nanoseconds. + Weight::from_parts(74_930_000, 10955) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:1) - // Storage: GlobalDisputes Outcomes (r:3 w:2) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:1) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: GlobalDisputes Outcomes (r:250 w:249) + /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) fn purge_outcomes(k: u32, _o: u32) -> Weight { - Weight::from_ref_time(168_932_238) - // Standard Error: 26_203 - .saturating_add(Weight::from_ref_time(19_445_586).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Proof Size summary in bytes: + // Measured: `407 + k * (122 ±0) + o * (32 ±0)` + // Estimated: `8611 + k * (2870 ±0)` + // Minimum execution time: 75_541 nanoseconds. + Weight::from_parts(49_011_584, 8611) + // Standard Error: 16_439 + .saturating_add(Weight::from_ref_time(18_148_873).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(2870).saturating_mul(k.into())) } - // Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) - // Storage: GlobalDisputes Outcomes (r:3 w:2) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: GlobalDisputes Outcomes (r:250 w:249) + /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) fn refund_vote_fees(k: u32, _o: u32) -> Weight { - Weight::from_ref_time(31_076_000) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(13_543_000).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Proof Size summary in bytes: + // Measured: `407 + k * (122 ±0) + o * (32 ±0)` + // Estimated: `8611 + k * (2870 ±0)` + // Minimum execution time: 70_531 nanoseconds. + Weight::from_parts(66_128_182, 8611) + // Standard Error: 19_994 + .saturating_add(Weight::from_ref_time(18_221_796).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .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(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(2870).saturating_mul(k.into())) } } diff --git a/zrml/liquidity-mining/src/weights.rs b/zrml/liquidity-mining/src/weights.rs index ad8639af2..46e3babcd 100644 --- a/zrml/liquidity-mining/src/weights.rs +++ b/zrml/liquidity-mining/src/weights.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for zrml_liquidity_mining //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-04, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/weight_template.hbs +// --header=./HEADER_GPL3 // --output=./zrml/liquidity-mining/src/weights.rs #![allow(unused_parens)] @@ -52,8 +55,13 @@ pub trait WeightInfoZeitgeist { /// Weight functions for zrml_liquidity_mining (automatically generated) pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { - // Storage: LiquidityMining PerBlockIncentive (r:0 w:1) + /// Storage: LiquidityMining PerBlockIncentive (r:0 w:1) + /// Proof: LiquidityMining PerBlockIncentive (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn set_per_block_distribution() -> Weight { - Weight::from_ref_time(9_400_000).saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_110 nanoseconds. + Weight::from_ref_time(4_440_000).saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/zrml/prediction-markets/src/weights.rs b/zrml/prediction-markets/src/weights.rs index 43e0092af..ffb0e2e36 100644 --- a/zrml/prediction-markets/src/weights.rs +++ b/zrml/prediction-markets/src/weights.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for zrml_prediction_markets //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-04, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/weight_template.hbs +// --header=./HEADER_GPL3 // --output=./zrml/prediction-markets/src/weights.rs #![allow(unused_parens)] @@ -83,401 +86,682 @@ pub trait WeightInfoZeitgeist { /// Weight functions for zrml_prediction_markets (automatically generated) pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: Balances Reserves (r:2 w:2) - // Storage: System Account (r:3 w:3) - // Storage: MarketCommons MarketPool (r:1 w:1) - // Storage: Swaps Pools (r:1 w:1) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: Tokens TotalIssuance (r:2 w:2) - // Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) - fn admin_destroy_disputed_market(a: u32, o: u32, c: u32, r: u32) -> Weight { - Weight::from_ref_time(138_848_000) - // Standard Error: 35_000 - .saturating_add(Weight::from_ref_time(20_922_000)) - .saturating_mul(a.into()) - // Standard Error: 34_000 - .saturating_add(Weight::from_ref_time(1_091_000).saturating_mul(o.into())) - // Standard Error: 34_000 - .saturating_add(Weight::from_ref_time(984_000).saturating_mul(c.into())) - // Standard Error: 34_000 - .saturating_add(Weight::from_ref_time(1_026_000).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(10)) + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:2 w:2) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: System Account (r:3 w:3) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:1) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:64 w:64) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:64 w:64) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) + /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + fn admin_destroy_disputed_market(a: u32, _o: u32, c: u32, _r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `2060 + a * (215 ±0) + r * (16 ±0)` + // Estimated: `35846 + a * (5116 ±0)` + // Minimum execution time: 277_581 nanoseconds. + Weight::from_parts(220_295_697, 35846) + // Standard Error: 42_214 + .saturating_add(Weight::from_ref_time(30_724_909).saturating_mul(a.into())) + // Standard Error: 42_003 + .saturating_add(Weight::from_ref_time(527_518).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(10)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: Balances Reserves (r:1 w:1) - // Storage: System Account (r:2 w:2) - // Storage: MarketCommons MarketPool (r:1 w:1) - // Storage: Swaps Pools (r:1 w:1) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: Tokens TotalIssuance (r:2 w:2) - // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) - // Storage: PredictionMarkets Disputes (r:0 w:1) - fn admin_destroy_reported_market(a: u32, _o: u32, _c: u32, r: u32) -> Weight { - Weight::from_ref_time(254_878_657) - // Standard Error: 42_573 - .saturating_add(Weight::from_ref_time(31_788_735).saturating_mul(a.into())) - // Standard Error: 42_361 - .saturating_add(Weight::from_ref_time(169_371).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(10_u64)) + .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:2) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:1) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:64 w:64) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:64 w:64) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerReportBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + fn admin_destroy_reported_market(a: u32, o: u32, c: u32, _r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `1691 + a * (215 ±0) + r * (16 ±0)` + // Estimated: `26991 + a * (5116 ±0)` + // Minimum execution time: 240_891 nanoseconds. + Weight::from_parts(266_126_210, 26991) + // Standard Error: 39_198 + .saturating_add(Weight::from_ref_time(30_421_792).saturating_mul(a.into())) + // Standard Error: 39_003 + .saturating_add(Weight::from_ref_time(36_733).saturating_mul(o.into())) + // Standard Error: 39_003 + .saturating_add(Weight::from_ref_time(30_156).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(8)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) - fn admin_move_market_to_closed(_o: u32, c: u32) -> Weight { - Weight::from_ref_time(86_309_324) - // Standard Error: 3_132 - .saturating_add(Weight::from_ref_time(44_207).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) - // Storage: Balances Reserves (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:0) - // Storage: PredictionMarkets Disputes (r:0 w:1) - fn admin_move_market_to_resolved_scalar_reported(_r: u32) -> Weight { - Weight::from_ref_time(126_709_407) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) - // Storage: Balances Reserves (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:0) - // Storage: Swaps Pools (r:1 w:1) - // Storage: PredictionMarkets Disputes (r:0 w:1) + .saturating_add(T::DbWeight::get().writes(7_u64)) + .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerOpenTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerCloseTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + fn admin_move_market_to_closed(o: u32, c: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `788 + o * (16 ±0) + c * (16 ±0)` + // Estimated: `13092` + // Minimum execution time: 55_050 nanoseconds. + Weight::from_parts(61_215_002, 13092) + // Standard Error: 2_711 + .saturating_add(Weight::from_ref_time(2_110).saturating_mul(o.into())) + // Standard Error: 2_711 + .saturating_add(Weight::from_ref_time(44_110).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerReportBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + fn admin_move_market_to_resolved_scalar_reported(r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `785 + r * (16 ±0)` + // Estimated: `12780` + // Minimum execution time: 82_720 nanoseconds. + Weight::from_parts(93_616_257, 12780) + // Standard Error: 5_041 + .saturating_add(Weight::from_ref_time(81_212).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerReportBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn admin_move_market_to_resolved_categorical_reported(r: u32) -> Weight { - Weight::from_ref_time(195_525_547) - // Standard Error: 7_775 - .saturating_add(Weight::from_ref_time(86_275).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: PredictionMarkets Disputes (r:1 w:1) - // Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) - // Storage: Balances Reserves (r:2 w:2) - // Storage: GlobalDisputes Winners (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:0) - fn admin_move_market_to_resolved_scalar_disputed(_r: u32) -> Weight { - Weight::from_ref_time(201_819_789) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(7)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: PredictionMarkets Disputes (r:1 w:1) - // Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) - // Storage: Balances Reserves (r:2 w:2) - // Storage: GlobalDisputes Winners (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:0) - // Storage: Swaps Pools (r:1 w:1) - fn admin_move_market_to_resolved_categorical_disputed(r: u32) -> Weight { - Weight::from_ref_time(274_621_947) - // Standard Error: 38_767 - .saturating_add(Weight::from_ref_time(381_876).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(8)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: PredictionMarkets MarketIdsForEdit (r:1 w:0) - // Storage: Balances Reserves (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `4478 + r * (16 ±0)` + // Estimated: `18906` + // Minimum execution time: 132_100 nanoseconds. + Weight::from_parts(149_034_204, 18906) + // Standard Error: 7_588 + .saturating_add(Weight::from_ref_time(188_259).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) + /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:2 w:2) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + fn admin_move_market_to_resolved_scalar_disputed(r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `1311 + r * (16 ±0)` + // Estimated: `24506` + // Minimum execution time: 138_431 nanoseconds. + Weight::from_parts(159_341_627, 24506) + // Standard Error: 7_722 + .saturating_add(Weight::from_ref_time(47_128).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) + /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:2 w:2) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + fn admin_move_market_to_resolved_categorical_disputed(_r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `4989 + r * (16 ±0)` + // Estimated: `30632` + // Minimum execution time: 189_001 nanoseconds. + Weight::from_parts(221_639_035, 30632) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsForEdit (r:1 w:0) + /// Proof: PredictionMarkets MarketIdsForEdit (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) fn approve_market() -> Weight { - Weight::from_ref_time(83_850_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: PredictionMarkets MarketIdsForEdit (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `576` + // Estimated: `10265` + // Minimum execution time: 50_611 nanoseconds. + Weight::from_parts(56_560_000, 10265) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsForEdit (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsForEdit (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) fn request_edit(r: u32) -> Weight { - Weight::from_ref_time(48_649_545) - // Standard Error: 147 - .saturating_add(Weight::from_ref_time(2_616).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: Tokens TotalIssuance (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `515` + // Estimated: `6541` + // Minimum execution time: 25_560 nanoseconds. + Weight::from_parts(29_750_741, 6541) + // Standard Error: 93 + .saturating_add(Weight::from_ref_time(1_354).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:64 w:64) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:64 w:64) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn buy_complete_set(a: u32) -> Weight { - Weight::from_ref_time(84_414_899) - // Standard Error: 26_920 - .saturating_add(Weight::from_ref_time(23_198_063).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `5623 + a * (5116 ±0)` + // Minimum execution time: 95_020 nanoseconds. + Weight::from_parts(60_211_006, 5623) + // Standard Error: 33_125 + .saturating_add(Weight::from_ref_time(20_951_342).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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()))) - } - // Storage: Timestamp Now (r:1 w:0) - // Storage: Balances Reserves (r:1 w:1) - // Storage: MarketCommons MarketCounter (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) - // Storage: MarketCommons Markets (r:0 w:1) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(5116).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) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketCounter (r:1 w:1) + /// Proof: MarketCommons MarketCounter (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerCloseTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:0 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) fn create_market(m: u32) -> Weight { - Weight::from_ref_time(90_275_808) - // Standard Error: 4_205 - .saturating_add(Weight::from_ref_time(22_734).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) - } - // Storage: PredictionMarkets MarketIdsForEdit (r:1 w:1) - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) - // Storage: Timestamp Now (r:1 w:0) + // Proof Size summary in bytes: + // Measured: `240 + m * (16 ±0)` + // Estimated: `8263` + // Minimum execution time: 51_430 nanoseconds. + Weight::from_parts(62_283_064, 8263) + // Standard Error: 3_407 + .saturating_add(Weight::from_ref_time(35_455).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: PredictionMarkets MarketIdsForEdit (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsForEdit (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerCloseTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn edit_market(m: u32) -> Weight { - Weight::from_ref_time(81_809_671) - // Standard Error: 3_972 - .saturating_add(Weight::from_ref_time(10_058).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: Swaps NextPoolId (r:1 w:1) - // Storage: Tokens Accounts (r:5 w:5) - // Storage: System Account (r:1 w:1) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: Timestamp Now (r:1 w:0) - // Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:1) - // Storage: Swaps Pools (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `731 + m * (16 ±0)` + // Estimated: `10569` + // Minimum execution time: 51_160 nanoseconds. + Weight::from_parts(61_076_078, 10569) + // Standard Error: 3_065 + .saturating_add(Weight::from_ref_time(24_562).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Swaps NextPoolId (r:1 w:1) + /// Proof: Swaps NextPoolId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:129 w:129) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerOpenTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:1) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:0 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn deploy_swap_pool_for_market_future_pool(a: u32, _o: u32) -> Weight { - Weight::from_ref_time(209_455_152) - // Standard Error: 51_016 - .saturating_add(Weight::from_ref_time(36_647_481).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(8)) + // Proof Size summary in bytes: + // Measured: `1208 + a * (118 ±0) + o * (16 ±0)` + // Estimated: `17801 + a * (5196 ±0)` + // Minimum execution time: 187_301 nanoseconds. + Weight::from_parts(151_537_276, 17801) + // Standard Error: 42_643 + .saturating_add(Weight::from_ref_time(36_600_593).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(7)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: Swaps NextPoolId (r:1 w:1) - // Storage: Tokens Accounts (r:5 w:5) - // Storage: System Account (r:1 w:1) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: Timestamp Now (r:1 w:0) - // Storage: MarketCommons MarketPool (r:1 w:1) - // Storage: Swaps Pools (r:0 w:1) + .saturating_add(T::DbWeight::get().writes(7_u64)) + .saturating_add(Weight::from_proof_size(5196).saturating_mul(a.into())) + } + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Swaps NextPoolId (r:1 w:1) + /// Proof: Swaps NextPoolId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:129 w:129) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:1) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:0 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn deploy_swap_pool_for_market_open_pool(a: u32) -> Weight { - Weight::from_ref_time(149_637_355) - // Standard Error: 45_016 - .saturating_add(Weight::from_ref_time(38_164_789).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(7)) + // Proof Size summary in bytes: + // Measured: `1074 + a * (119 ±0)` + // Estimated: `14276 + a * (5196 ±0)` + // Minimum execution time: 188_580 nanoseconds. + Weight::from_parts(136_228_474, 14276) + // Standard Error: 47_923 + .saturating_add(Weight::from_ref_time(35_525_515).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(6)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: GlobalDisputes Winners (r:1 w:1) - // Storage: Court MarketIdToCourtId (r:1 w:0) - // Storage: Court JurorPool (r:1 w:0) - // Storage: Court Courts (r:1 w:1) - // Storage: Court CourtIdToMarketId (r:1 w:0) - // Storage: Court SelectedDraws (r:1 w:1) - // Storage: Court Jurors (r:30 w:30) - // Storage: GlobalDisputes Outcomes (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) - fn start_global_dispute(m: u32, n: u32) -> Weight { - Weight::from_ref_time(203_655_000) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(67_000).saturating_mul(m.into())) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(15_000).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(39)) - .saturating_add(T::DbWeight::get().writes(35)) - } - // Storage: PredictionMarkets Disputes (r:1 w:1) - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: Balances Reserves (r:1 w:1) + .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(Weight::from_proof_size(5196).saturating_mul(a.into())) + } + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:1) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: Court MarketIdToCourtId (r:1 w:0) + /// Proof: Court MarketIdToCourtId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Court CourtPool (r:1 w:0) + /// Proof: Court CourtPool (max_values: Some(1), max_size: Some(72002), added: 72497, mode: MaxEncodedLen) + /// Storage: Court Courts (r:1 w:1) + /// Proof: Court Courts (max_values: None, max_size: Some(349), added: 2824, mode: MaxEncodedLen) + /// Storage: Court CourtIdToMarketId (r:1 w:0) + /// Proof: Court CourtIdToMarketId (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Court SelectedDraws (r:1 w:1) + /// Proof: Court SelectedDraws (max_values: None, max_size: Some(149974), added: 152449, mode: MaxEncodedLen) + /// Storage: Court Participants (r:31 w:31) + /// Proof: Court Participants (max_values: None, max_size: Some(251), added: 2726, mode: MaxEncodedLen) + /// Storage: GlobalDisputes Outcomes (r:1 w:1) + /// Proof: GlobalDisputes Outcomes (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + fn start_global_dispute(m: u32, _n: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `9153 + m * (16 ±0)` + // Estimated: `329580` + // Minimum execution time: 324_400 nanoseconds. + Weight::from_parts(366_076_419, 329580) + // Standard Error: 15_599 + .saturating_add(Weight::from_ref_time(77_777).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(40_u64)) + .saturating_add(T::DbWeight::get().writes(36_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) fn dispute_authorized() -> Weight { - Weight::from_ref_time(90_441_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: Balances Reserves (r:1 w:1) - // Storage: PredictionMarkets MarketIdsForEdit (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `622` + // Estimated: `6740` + // Minimum execution time: 42_760 nanoseconds. + Weight::from_parts(47_800_000, 6740) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsForEdit (r:0 w:1) + /// Proof: PredictionMarkets MarketIdsForEdit (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) fn handle_expired_advised_market() -> Weight { - Weight::from_ref_time(88_150_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: Balances Reserves (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:0) - // Storage: Swaps Pools (r:1 w:1) - // Storage: PredictionMarkets Disputes (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `535` + // Estimated: `6740` + // Minimum execution time: 56_700 nanoseconds. + Weight::from_parts(63_020_000, 6740) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn internal_resolve_categorical_reported() -> Weight { - Weight::from_ref_time(173_470_000) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: Balances Reserves (r:1 w:1) - // Storage: PredictionMarkets Disputes (r:1 w:1) - // Storage: GlobalDisputes Winners (r:1 w:0) - // Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:0) - // Storage: Swaps Pools (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `4315` + // Estimated: `15389` + // Minimum execution time: 109_011 nanoseconds. + Weight::from_parts(115_440_000, 15389) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) + /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn internal_resolve_categorical_disputed() -> Weight { - Weight::from_ref_time(234_201_000) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(5)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: Balances Reserves (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:0) - // Storage: PredictionMarkets Disputes (r:0 w:1) + // Proof Size summary in bytes: + // Measured: `4570` + // Estimated: `20784` + // Minimum execution time: 155_970 nanoseconds. + Weight::from_parts(173_300_000, 20784) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn internal_resolve_scalar_reported() -> Weight { - Weight::from_ref_time(98_370_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: Balances Reserves (r:1 w:1) - // Storage: PredictionMarkets Disputes (r:1 w:1) - // Storage: GlobalDisputes Winners (r:1 w:0) - // Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:0) + // Proof Size summary in bytes: + // Measured: `622` + // Estimated: `9263` + // Minimum execution time: 60_181 nanoseconds. + Weight::from_parts(61_920_000, 9263) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: GlobalDisputes GlobalDisputesInfo (r:1 w:0) + /// Proof: GlobalDisputes GlobalDisputesInfo (max_values: None, max_size: Some(396), added: 2871, mode: MaxEncodedLen) + /// Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) + /// Proof: Authorized AuthorizedOutcomeReports (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn internal_resolve_scalar_disputed() -> Weight { - Weight::from_ref_time(163_490_000) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(5)) - } - // Storage: Timestamp Now (r:1 w:0) - // Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) - // Storage: PredictionMarkets LastTimeFrame (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerOpenBlock (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerCloseBlock (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `892` + // Estimated: `14658` + // Minimum execution time: 103_430 nanoseconds. + Weight::from_parts(118_150_000, 14658) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) + /// Proof: PredictionMarkets MarketsCollectingSubsidy (max_values: Some(1), max_size: Some(34603012), added: 34603507, mode: MaxEncodedLen) + /// Storage: PredictionMarkets LastTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets LastTimeFrame (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerOpenBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerOpenBlock (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerOpenTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerCloseBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerCloseBlock (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerCloseTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerReportBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) fn on_initialize_resolve_overhead() -> Weight { - Weight::from_ref_time(42_890_000) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(8)) - } - // Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `34625647` + // Minimum execution time: 33_730 nanoseconds. + Weight::from_parts(38_970_000, 34625647) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) + } + /// Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) + /// Proof: PredictionMarkets MarketsCollectingSubsidy (max_values: Some(1), max_size: Some(34603012), added: 34603507, mode: MaxEncodedLen) fn process_subsidy_collecting_markets_raw(a: u32) -> Weight { - Weight::from_ref_time(10_084_035) - // Standard Error: 3_989 - .saturating_add(Weight::from_ref_time(344_346).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: System Account (r:1 w:1) - // Storage: Tokens TotalIssuance (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `63 + a * (33 ±0)` + // Estimated: `34603507` + // Minimum execution time: 5_310 nanoseconds. + Weight::from_parts(8_185_691, 34603507) + // Standard Error: 5_466 + .saturating_add(Weight::from_ref_time(359_402).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn redeem_shares_categorical() -> Weight { - Weight::from_ref_time(138_340_000) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:1 w:1) - // Storage: Tokens TotalIssuance (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `2024` + // Estimated: `10739` + // Minimum execution time: 93_950 nanoseconds. + Weight::from_parts(112_740_000, 10739) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:2 w:2) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn redeem_shares_scalar() -> Weight { - Weight::from_ref_time(149_531_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) - // Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) - // Storage: Balances Reserves (r:1 w:1) - // Storage: PredictionMarkets MarketIdsForEdit (r:0 w:1) - fn reject_market(c: u32, o: u32, _r: u32) -> Weight { - Weight::from_ref_time(146_031_046) - // Standard Error: 4_161 - .saturating_add(Weight::from_ref_time(27_268).saturating_mul(c.into())) - // Standard Error: 4_161 - .saturating_add(Weight::from_ref_time(2_604).saturating_mul(o.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) - } - // Storage: MarketCommons Markets (r:1 w:1) - // Storage: Timestamp Now (r:1 w:0) - // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `1171` + // Estimated: `15855` + // Minimum execution time: 118_180 nanoseconds. + Weight::from_parts(136_391_000, 15855) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerOpenTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerCloseTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: Balances Reserves (r:1 w:1) + /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsForEdit (r:0 w:1) + /// Proof: PredictionMarkets MarketIdsForEdit (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + fn reject_market(_c: u32, o: u32, r: u32) -> Weight { + // Proof Size summary in bytes: + // Measured: `719 + c * (16 ±0) + o * (16 ±0)` + // Estimated: `13790` + // Minimum execution time: 94_611 nanoseconds. + Weight::from_parts(112_256_368, 13790) + // Standard Error: 4_433 + .saturating_add(Weight::from_ref_time(14_355).saturating_mul(o.into())) + // Standard Error: 272 + .saturating_add(Weight::from_ref_time(115).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:1) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerReportBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) fn report(_m: u32) -> Weight { - Weight::from_ref_time(69_185_134) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: Tokens TotalIssuance (r:2 w:2) + // Proof Size summary in bytes: + // Measured: `745` + // Estimated: `7036` + // Minimum execution time: 39_080 nanoseconds. + Weight::from_parts(48_422_143, 7036) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:64 w:64) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:64 w:64) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn sell_complete_set(a: u32) -> Weight { - Weight::from_ref_time(87_488_793) - // Standard Error: 42_709 - .saturating_add(Weight::from_ref_time(29_813_566).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `756 + a * (161 ±0)` + // Estimated: `5623 + a * (5116 ±0)` + // Minimum execution time: 110_370 nanoseconds. + Weight::from_parts(81_987_641, 5623) + // Standard Error: 37_845 + .saturating_add(Weight::from_ref_time(28_811_239).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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()))) - } - // Storage: Swaps NextPoolId (r:1 w:1) - // Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) - // Storage: MarketCommons MarketPool (r:1 w:1) - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) - // Storage: Swaps Pools (r:0 w:1) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) + } + /// Storage: Swaps NextPoolId (r:1 w:1) + /// Proof: Swaps NextPoolId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) + /// Proof: RikiddoSigmoidFeeMarketEma RikiddoPerPool (max_values: None, max_size: Some(320), added: 2795, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:1) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) + /// Proof: PredictionMarkets MarketsCollectingSubsidy (max_values: Some(1), max_size: Some(34603012), added: 34603507, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:0 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn start_subsidy(a: u32) -> Weight { - Weight::from_ref_time(69_820_887) - // Standard Error: 3_025 - .saturating_add(Weight::from_ref_time(57_981).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) - } - // Storage: PredictionMarkets MarketIdsPerOpenBlock (r:1 w:1) - // Storage: MarketCommons Markets (r:32 w:0) - // Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) + // Proof Size summary in bytes: + // Measured: `525` + // Estimated: `34612352` + // Minimum execution time: 44_350 nanoseconds. + Weight::from_parts(52_967_362, 34612352) + // Standard Error: 2_688 + .saturating_add(Weight::from_ref_time(50_613).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: PredictionMarkets MarketIdsPerOpenBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerOpenBlock (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:62 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerOpenTimeFrame (max_values: None, max_size: Some(1050), added: 3525, mode: MaxEncodedLen) fn market_status_manager(b: u32, f: u32) -> Weight { - Weight::from_ref_time(63_219_770) - // Standard Error: 20_913 - .saturating_add(Weight::from_ref_time(3_795_278).saturating_mul(b.into())) - // Standard Error: 20_913 - .saturating_add(Weight::from_ref_time(3_912_732).saturating_mul(f.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `2536 + b * (325 ±0) + f * (327 ±0)` + // Estimated: `7050 + b * (3016 ±0) + f * (3016 ±0)` + // Minimum execution time: 158_241 nanoseconds. + Weight::from_parts(63_596_494, 7050) + // Standard Error: 22_578 + .saturating_add(Weight::from_ref_time(3_467_257).saturating_mul(b.into())) + // Standard Error: 22_578 + .saturating_add(Weight::from_ref_time(4_047_225).saturating_mul(f.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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)) - } - // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) - // Storage: MarketCommons Markets (r:32 w:0) - // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(3016).saturating_mul(b.into())) + .saturating_add(Weight::from_proof_size(3016).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) + /// Storage: MarketCommons Markets (r:62 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) + /// Proof: PredictionMarkets MarketIdsPerDisputeBlock (max_values: None, max_size: Some(1042), added: 3517, mode: MaxEncodedLen) fn market_resolution_manager(r: u32, d: u32) -> Weight { - Weight::from_ref_time(55_644_134) - // Standard Error: 20_376 - .saturating_add(Weight::from_ref_time(3_909_790).saturating_mul(r.into())) - // Standard Error: 20_376 - .saturating_add(Weight::from_ref_time(4_055_491).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `2487 + r * (325 ±0) + d * (327 ±0)` + // Estimated: `7034 + r * (3016 ±0) + d * (3016 ±0)` + // Minimum execution time: 157_081 nanoseconds. + Weight::from_parts(42_904_700, 7034) + // Standard Error: 22_808 + .saturating_add(Weight::from_ref_time(4_269_665).saturating_mul(r.into())) + // Standard Error: 22_808 + .saturating_add(Weight::from_ref_time(4_089_745).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(3016).saturating_mul(r.into())) + .saturating_add(Weight::from_proof_size(3016).saturating_mul(d.into())) } - // Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) + /// Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) + /// Proof: PredictionMarkets MarketsCollectingSubsidy (max_values: Some(1), max_size: Some(34603012), added: 34603507, mode: MaxEncodedLen) fn process_subsidy_collecting_markets_dummy() -> Weight { - Weight::from_ref_time(9_390_000) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `27` + // Estimated: `34603507` + // Minimum execution time: 5_140 nanoseconds. + Weight::from_parts(5_470_000, 34603507) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/zrml/styx/src/weights.rs b/zrml/styx/src/weights.rs index 0b0bd96c3..ca8b29d4d 100644 --- a/zrml/styx/src/weights.rs +++ b/zrml/styx/src/weights.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for zrml_styx //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-04, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/weight_template.hbs +// --header=./HEADER_GPL3 // --output=./zrml/styx/src/weights.rs #![allow(unused_parens)] @@ -53,15 +56,26 @@ pub trait WeightInfoZeitgeist { /// Weight functions for zrml_styx (automatically generated) pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { - // Storage: Styx Crossings (r:1 w:1) - // Storage: Styx BurnAmount (r:1 w:0) + /// Storage: Styx Crossings (r:1 w:1) + /// Proof: Styx Crossings (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Styx BurnAmount (r:1 w:0) + /// Proof: Styx BurnAmount (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn cross() -> Weight { - Weight::from_ref_time(58_271_000) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `3034` + // Minimum execution time: 32_040 nanoseconds. + Weight::from_parts(33_350_000, 3034) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Styx BurnAmount (r:0 w:1) + /// Storage: Styx BurnAmount (r:0 w:1) + /// Proof: Styx BurnAmount (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn set_burn_amount() -> Weight { - Weight::from_ref_time(30_150_000).saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_370 nanoseconds. + Weight::from_ref_time(10_920_000).saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/zrml/swaps/src/weights.rs b/zrml/swaps/src/weights.rs index b06f18e56..4633a7e54 100644 --- a/zrml/swaps/src/weights.rs +++ b/zrml/swaps/src/weights.rs @@ -19,8 +19,10 @@ //! Autogenerated weights for zrml_swaps //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-08-04, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: `2023-09-11`, STEPS: `10`, REPEAT: `1000`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor` +//! EXECUTION: `Some(Wasm)`, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: // ./target/production/zeitgeist @@ -35,6 +37,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=./misc/weight_template.hbs +// --header=./HEADER_GPL3 // --output=./zrml/swaps/src/weights.rs #![allow(unused_parens)] @@ -77,286 +80,494 @@ pub trait WeightInfoZeitgeist { /// Weight functions for zrml_swaps (automatically generated) pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: MarketCommons MarketPool (r:1 w:0) - // Storage: Swaps Pools (r:1 w:1) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn admin_clean_up_pool_cpmm_categorical(a: u32) -> Weight { - Weight::from_ref_time(67_856_380) - // Standard Error: 4_362 - .saturating_add(Weight::from_ref_time(646_771).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `693 + a * (54 ±0)` + // Estimated: `11665` + // Minimum execution time: 42_190 nanoseconds. + Weight::from_parts(49_034_219, 11665) + // Standard Error: 3_278 + .saturating_add(Weight::from_ref_time(404_093).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: MarketCommons Markets (r:1 w:0) - // Storage: MarketCommons MarketPool (r:1 w:0) - // Storage: Swaps Pools (r:1 w:1) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: MarketCommons MarketPool (r:1 w:0) + /// Proof: MarketCommons MarketPool (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn admin_clean_up_pool_cpmm_scalar() -> Weight { - Weight::from_ref_time(66_280_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `885` + // Estimated: `11665` + // Minimum execution time: 38_530 nanoseconds. + Weight::from_parts(44_220_000, 11665) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Swaps PoolsCachedForArbitrage (r:8 w:7) - // Storage: Swaps Pools (r:7 w:0) - // Storage: Tokens Accounts (r:462 w:462) - // Storage: System Account (r:7 w:0) - // Storage: Tokens TotalIssuance (r:64 w:64) + /// Storage: Swaps PoolsCachedForArbitrage (r:64 w:63) + /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) + /// Storage: Swaps Pools (r:63 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:4158 w:4158) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:63 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:64 w:64) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn apply_to_cached_pools_execute_arbitrage(a: u32) -> Weight { - Weight::from_ref_time(1_010_000) - // Standard Error: 609_425 - .saturating_add(Weight::from_ref_time(2_500_397_183).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(43)) + // Proof Size summary in bytes: + // Measured: `3255 + a * (11514 ±0)` + // Estimated: `163651 + a * (182700 ±0)` + // Minimum execution time: 970 nanoseconds. + Weight::from_parts(1_060_000, 163651) + // Standard Error: 448_754 + .saturating_add(Weight::from_ref_time(2_433_200_516).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(43_u64)) .saturating_add(T::DbWeight::get().reads((70_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(42)) - .saturating_add(T::DbWeight::get().writes((67_u64).saturating_mul(a.into()))) + .saturating_add(T::DbWeight::get().writes(42_u64)) + .saturating_add(Weight::from_proof_size(182700).saturating_mul(a.into())) } - // Storage: Swaps PoolsCachedForArbitrage (r:8 w:7) + /// Storage: Swaps PoolsCachedForArbitrage (r:64 w:63) + /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) fn apply_to_cached_pools_noop(a: u32) -> Weight { - Weight::from_ref_time(1_130_000) - // Standard Error: 7_441 - .saturating_add(Weight::from_ref_time(9_710_701).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Proof Size summary in bytes: + // Measured: `27 + a * (27 ±0)` + // Estimated: `2499 + a * (2499 ±0)` + // Minimum execution time: 970 nanoseconds. + Weight::from_parts(1_080_000, 2499) + // Standard Error: 9_554 + .saturating_add(Weight::from_ref_time(9_462_323).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_proof_size(2499).saturating_mul(a.into())) } - // Storage: Swaps Pools (r:1 w:1) - // Storage: Swaps SubsidyProviders (r:1 w:0) - // Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) - // Storage: Tokens Accounts (r:1 w:1) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Swaps SubsidyProviders (r:11 w:10) + /// Proof: Swaps SubsidyProviders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:10 w:10) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) + /// Proof: RikiddoSigmoidFeeMarketEma RikiddoPerPool (max_values: None, max_size: Some(320), added: 2795, mode: MaxEncodedLen) fn destroy_pool_in_subsidy_phase(a: u32) -> Weight { - Weight::from_ref_time(57_315_340) - // Standard Error: 58_469 - .saturating_add(Weight::from_ref_time(23_066_707).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Proof Size summary in bytes: + // Measured: `805 + a * (297 ±0)` + // Estimated: `11476 + a * (5153 ±0)` + // Minimum execution time: 29_910 nanoseconds. + Weight::from_parts(46_082_527, 11476) + // Standard Error: 47_423 + .saturating_add(Weight::from_ref_time(21_789_421).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(5153).saturating_mul(a.into())) } - // Storage: Tokens TotalIssuance (r:2 w:1) - // Storage: Tokens Accounts (r:46 w:21) - // Storage: System Account (r:11 w:10) + /// Storage: Tokens TotalIssuance (r:2 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:76 w:21) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:11 w:10) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn distribute_pool_share_rewards(a: u32, b: u32) -> Weight { - Weight::from_ref_time(4_160_449) - // Standard Error: 202_739 - .saturating_add(Weight::from_ref_time(30_962_172).saturating_mul(a.into())) - // Standard Error: 202_739 - .saturating_add(Weight::from_ref_time(50_599_977).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(7)) + // Proof Size summary in bytes: + // Measured: `662 + a * (414 ±0) + b * (161 ±0)` + // Estimated: `19084 + a * (7887 ±5) + b * (5500 ±5)` + // Minimum execution time: 493_162 nanoseconds. + Weight::from_parts(145_177_140, 19084) + // Standard Error: 200_970 + .saturating_add(Weight::from_ref_time(23_438_185).saturating_mul(a.into())) + // Standard Error: 200_970 + .saturating_add(Weight::from_ref_time(44_120_651).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().reads((2_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(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(7887).saturating_mul(a.into())) + .saturating_add(Weight::from_proof_size(5500).saturating_mul(b.into())) } - // Storage: Swaps Pools (r:1 w:1) - // Storage: Swaps SubsidyProviders (r:11 w:10) - // Storage: Tokens Accounts (r:22 w:22) - // Storage: System Account (r:11 w:11) - // Storage: Tokens TotalIssuance (r:2 w:2) - // Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:0) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Swaps SubsidyProviders (r:11 w:10) + /// Proof: Swaps SubsidyProviders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:85 w:85) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:11 w:11) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:65 w:65) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:0) + /// Proof: RikiddoSigmoidFeeMarketEma RikiddoPerPool (max_values: None, max_size: Some(320), added: 2795, mode: MaxEncodedLen) fn end_subsidy_phase(a: u32, b: u32) -> Weight { - Weight::from_ref_time(30_240_000) - // Standard Error: 97_049 - .saturating_add(Weight::from_ref_time(21_762_950).saturating_mul(a.into())) - // Standard Error: 644_532 - .saturating_add(Weight::from_ref_time(93_925_885).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Proof Size summary in bytes: + // Measured: `0 + a * (169 ±0) + b * (1159 ±0)` + // Estimated: `14083 + b * (10358 ±0) + a * (5116 ±0)` + // Minimum execution time: 14_110 nanoseconds. + Weight::from_parts(15_660_000, 14083) + // Standard Error: 89_745 + .saturating_add(Weight::from_ref_time(20_130_883).saturating_mul(a.into())) + // Standard Error: 596_026 + .saturating_add(Weight::from_ref_time(89_490_626).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into()))) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_proof_size(10358).saturating_mul(b.into())) + .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens Accounts (r:3 w:3) - // Storage: System Account (r:1 w:0) - // Storage: Tokens TotalIssuance (r:1 w:1) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:66 w:66) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:64 w:64) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn execute_arbitrage_buy_burn(a: u32) -> Weight { - Weight::from_ref_time(97_947_393) - // Standard Error: 58_048 - .saturating_add(Weight::from_ref_time(39_654_212).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `765 + a * (215 ±0)` + // Estimated: `13849 + a * (5005 ±0)` + // Minimum execution time: 103_541 nanoseconds. + Weight::from_parts(52_863_318, 13849) + // Standard Error: 47_150 + .saturating_add(Weight::from_ref_time(39_365_062).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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_proof_size(5005).saturating_mul(a.into())) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens Accounts (r:3 w:3) - // Storage: System Account (r:2 w:1) - // Storage: Tokens TotalIssuance (r:1 w:1) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:66 w:66) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:64 w:64) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn execute_arbitrage_mint_sell(a: u32) -> Weight { - Weight::from_ref_time(109_894_883) - // Standard Error: 60_892 - .saturating_add(Weight::from_ref_time(36_712_882).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Proof Size summary in bytes: + // Measured: `563 + a * (215 ±0)` + // Estimated: `16456 + a * (5005 ±0)` + // Minimum execution time: 107_611 nanoseconds. + Weight::from_parts(83_500_323, 16456) + // Standard Error: 49_026 + .saturating_add(Weight::from_ref_time(36_153_186).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .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(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(5005).saturating_mul(a.into())) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens Accounts (r:2 w:0) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:65 w:0) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) fn execute_arbitrage_skipped(a: u32) -> Weight { - Weight::from_ref_time(43_325_608) - // Standard Error: 13_337 - .saturating_add(Weight::from_ref_time(5_389_004).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Proof Size summary in bytes: + // Measured: `406 + a * (167 ±0)` + // Estimated: `6126 + a * (2598 ±0)` + // Minimum execution time: 30_331 nanoseconds. + Weight::from_parts(29_843_449, 6126) + // Standard Error: 12_253 + .saturating_add(Weight::from_ref_time(5_139_008).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_proof_size(2598).saturating_mul(a.into())) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: Tokens Accounts (r:5 w:5) - // Storage: System Account (r:1 w:0) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:131 w:131) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) fn pool_exit(a: u32) -> Weight { - Weight::from_ref_time(96_953_468) - // Standard Error: 42_426 - .saturating_add(Weight::from_ref_time(29_789_790).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Proof Size summary in bytes: + // Measured: `1015 + a * (286 ±0)` + // Estimated: `13849 + a * (5196 ±0)` + // Minimum execution time: 112_471 nanoseconds. + Weight::from_parts(73_778_924, 13849) + // Standard Error: 41_828 + .saturating_add(Weight::from_ref_time(28_096_818).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(5196).saturating_mul(a.into())) } - // Storage: Swaps Pools (r:1 w:1) - // Storage: Swaps SubsidyProviders (r:1 w:1) - // Storage: Tokens Accounts (r:1 w:1) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Swaps SubsidyProviders (r:1 w:1) + /// Proof: Swaps SubsidyProviders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) fn pool_exit_subsidy() -> Weight { - Weight::from_ref_time(91_570_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `2459` + // Estimated: `11279` + // Minimum execution time: 52_031 nanoseconds. + Weight::from_parts(59_821_000, 11279) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens Accounts (r:3 w:3) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: System Account (r:1 w:0) - // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:3 w:3) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) fn pool_exit_with_exact_asset_amount() -> Weight { - Weight::from_ref_time(169_980_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Proof Size summary in bytes: + // Measured: `5392` + // Estimated: `19045` + // Minimum execution time: 114_590 nanoseconds. + Weight::from_parts(132_750_000, 19045) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: Tokens Accounts (r:3 w:3) - // Storage: System Account (r:1 w:0) - // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:3 w:3) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) fn pool_exit_with_exact_pool_amount() -> Weight { - Weight::from_ref_time(174_961_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Proof Size summary in bytes: + // Measured: `5392` + // Estimated: `19045` + // Minimum execution time: 115_461 nanoseconds. + Weight::from_parts(133_171_000, 19045) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: Tokens Accounts (r:5 w:5) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:131 w:131) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) fn pool_join(a: u32) -> Weight { - Weight::from_ref_time(96_537_174) - // Standard Error: 40_529 - .saturating_add(Weight::from_ref_time(29_127_766).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Proof Size summary in bytes: + // Measured: `876 + a * (286 ±0)` + // Estimated: `11242 + a * (5196 ±0)` + // Minimum execution time: 100_770 nanoseconds. + Weight::from_parts(47_250_242, 11242) + // Standard Error: 42_708 + .saturating_add(Weight::from_ref_time(27_891_426).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(5196).saturating_mul(a.into())) } - // Storage: Swaps Pools (r:1 w:1) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: Swaps SubsidyProviders (r:1 w:1) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Swaps SubsidyProviders (r:1 w:1) + /// Proof: Swaps SubsidyProviders (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) fn pool_join_subsidy() -> Weight { - Weight::from_ref_time(91_760_000) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Proof Size summary in bytes: + // Measured: `2357` + // Estimated: `11279` + // Minimum execution time: 52_430 nanoseconds. + Weight::from_parts(60_521_000, 11279) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: Tokens Accounts (r:3 w:3) - // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:3 w:3) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) fn pool_join_with_exact_asset_amount() -> Weight { - Weight::from_ref_time(150_461_000) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Proof Size summary in bytes: + // Measured: `5947` + // Estimated: `16438` + // Minimum execution time: 97_150 nanoseconds. + Weight::from_parts(109_180_000, 16438) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: Tokens Accounts (r:3 w:3) - // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:3 w:3) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) fn pool_join_with_exact_pool_amount() -> Weight { - Weight::from_ref_time(147_880_000) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Proof Size summary in bytes: + // Measured: `5947` + // Estimated: `16438` + // Minimum execution time: 97_761 nanoseconds. + Weight::from_parts(113_821_000, 16438) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Swaps Pools (r:1 w:1) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn clean_up_pool_categorical_without_reward_distribution(a: u32) -> Weight { - Weight::from_ref_time(16_641_703) - // Standard Error: 1_679 - .saturating_add(Weight::from_ref_time(368_408).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `209 + a * (54 ±0)` + // Estimated: `6126` + // Minimum execution time: 10_810 nanoseconds. + Weight::from_parts(12_884_720, 6126) + // Standard Error: 1_043 + .saturating_add(Weight::from_ref_time(188_908).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens Accounts (r:4 w:4) - // Storage: System Account (r:1 w:0) - // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:4 w:4) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) fn swap_exact_amount_in_cpmm() -> Weight { - Weight::from_ref_time(207_910_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Proof Size summary in bytes: + // Measured: `5488` + // Estimated: `22141` + // Minimum execution time: 179_210 nanoseconds. + Weight::from_parts(189_331_000, 22141) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens Accounts (r:3 w:3) - // Storage: Tokens TotalIssuance (r:2 w:1) - // Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) - // Storage: System Account (r:1 w:0) - // Storage: Timestamp Now (r:1 w:0) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:3 w:3) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:64 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) + /// Proof: RikiddoSigmoidFeeMarketEma RikiddoPerPool (max_values: None, max_size: Some(320), added: 2795, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn swap_exact_amount_in_rikiddo(a: u32) -> Weight { - Weight::from_ref_time(190_252_841) - // Standard Error: 38_908 - .saturating_add(Weight::from_ref_time(20_835_232).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `2122 + a * (83 ±0)` + // Estimated: `27877 + a * (2352 ±1)` + // Minimum execution time: 205_951 nanoseconds. + Weight::from_parts(163_473_267, 27877) + // Standard Error: 41_876 + .saturating_add(Weight::from_ref_time(22_002_102).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_proof_size(2352).saturating_mul(a.into())) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens Accounts (r:4 w:4) - // Storage: System Account (r:1 w:0) - // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:4 w:4) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) + /// Proof: Swaps PoolsCachedForArbitrage (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) fn swap_exact_amount_out_cpmm() -> Weight { - Weight::from_ref_time(204_910_000) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(5)) + // Proof Size summary in bytes: + // Measured: `5488` + // Estimated: `22141` + // Minimum execution time: 175_140 nanoseconds. + Weight::from_parts(191_881_000, 22141) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: Swaps Pools (r:1 w:0) - // Storage: Tokens Accounts (r:4 w:3) - // Storage: Tokens TotalIssuance (r:2 w:1) - // Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) - // Storage: Timestamp Now (r:1 w:0) + /// Storage: Swaps Pools (r:1 w:0) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:4 w:3) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: MarketCommons Markets (r:1 w:0) + /// Proof: MarketCommons Markets (max_values: None, max_size: Some(541), added: 3016, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:64 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) + /// Proof: RikiddoSigmoidFeeMarketEma RikiddoPerPool (max_values: None, max_size: Some(320), added: 2795, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn swap_exact_amount_out_rikiddo(a: u32) -> Weight { - Weight::from_ref_time(110_866_769) - // Standard Error: 54_257 - .saturating_add(Weight::from_ref_time(38_223_978).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(6)) + // Proof Size summary in bytes: + // Measured: `2036 + a * (85 ±0)` + // Estimated: `27868 + a * (2352 ±1)` + // Minimum execution time: 187_250 nanoseconds. + Weight::from_parts(119_405_377, 27868) + // Standard Error: 48_361 + .saturating_add(Weight::from_ref_time(35_257_528).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_proof_size(2352).saturating_mul(a.into())) } - // Storage: Swaps Pools (r:1 w:1) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn open_pool(a: u32) -> Weight { - Weight::from_ref_time(35_543_746) - // Standard Error: 2_971 - .saturating_add(Weight::from_ref_time(491_124).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `209 + a * (54 ±0)` + // Estimated: `6126` + // Minimum execution time: 17_570 nanoseconds. + Weight::from_parts(20_921_108, 6126) + // Standard Error: 1_866 + .saturating_add(Weight::from_ref_time(328_679).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Swaps Pools (r:1 w:1) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) fn close_pool(a: u32) -> Weight { - Weight::from_ref_time(33_666_168) - // Standard Error: 2_412 - .saturating_add(Weight::from_ref_time(361_520).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Proof Size summary in bytes: + // Measured: `209 + a * (54 ±0)` + // Estimated: `6126` + // Minimum execution time: 15_490 nanoseconds. + Weight::from_parts(18_628_239, 6126) + // Standard Error: 1_306 + .saturating_add(Weight::from_ref_time(202_899).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Swaps Pools (r:1 w:1) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:1 w:1) - // Storage: Tokens TotalIssuance (r:2 w:2) + /// Storage: Swaps Pools (r:1 w:1) + /// Proof: Swaps Pools (max_values: None, max_size: Some(3651), added: 6126, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:65 w:65) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(123), added: 2598, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:65 w:65) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn destroy_pool(a: u32) -> Weight { - Weight::from_ref_time(29_518_435) - // Standard Error: 43_921 - .saturating_add(Weight::from_ref_time(28_774_467).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Proof Size summary in bytes: + // Measured: `576 + a * (215 ±0)` + // Estimated: `8733 + a * (5116 ±0)` + // Minimum execution time: 80_160 nanoseconds. + Weight::from_parts(32_370_808, 8733) + // Standard Error: 37_869 + .saturating_add(Weight::from_ref_time(27_464_883).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .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(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_proof_size(5116).saturating_mul(a.into())) } }