diff --git a/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs index 768e58676..f14fd748f 100644 --- a/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/common/src/weights/cumulus_pallet_xcmp_queue.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for cumulus_pallet_xcmp_queue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,13 +51,13 @@ pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::weights::WeightInfo for WeightInfo { // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { - Weight::from_ref_time(12_761_000) + Weight::from_ref_time(16_530_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { - Weight::from_ref_time(14_000_000) + Weight::from_ref_time(13_770_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/frame_system.rs b/runtime/common/src/weights/frame_system.rs index 01c0a0813..ac21fa85a 100644 --- a/runtime/common/src/weights/frame_system.rs +++ b/runtime/common/src/weights/frame_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,41 +50,41 @@ use frame_support::{ pub struct WeightInfo(PhantomData); impl frame_system::weights::WeightInfo for WeightInfo { fn remark(b: u32) -> Weight { - Weight::from_ref_time(19_766_390) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(744).saturating_mul(b.into())) + Weight::from_ref_time(8_310_000) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(736).saturating_mul(b.into())) } fn remark_with_event(b: u32) -> Weight { - Weight::from_ref_time(25_430_000) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(2_575).saturating_mul(b.into())) + Weight::from_ref_time(26_690_000) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(2_552).saturating_mul(b.into())) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(20_660_000) + Weight::from_ref_time(21_740_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Skipped Metadata (r:0 w:0) fn set_storage(i: u32) -> Weight { - Weight::from_ref_time(9_380_000) - // Standard Error: 5_116 - .saturating_add(Weight::from_ref_time(1_191_116).saturating_mul(i.into())) + 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()))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_storage(i: u32) -> Weight { - Weight::from_ref_time(8_680_000) - // Standard Error: 5_971 - .saturating_add(Weight::from_ref_time(1_029_338).saturating_mul(i.into())) + 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()))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32) -> Weight { - Weight::from_ref_time(13_530_000) - // Standard Error: 9_303 - .saturating_add(Weight::from_ref_time(2_263_779).saturating_mul(p.into())) + 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()))) } } diff --git a/runtime/common/src/weights/orml_currencies.rs b/runtime/common/src/weights/orml_currencies.rs index 7c1793d27..f05185036 100644 --- a/runtime/common/src/weights/orml_currencies.rs +++ b/runtime/common/src/weights/orml_currencies.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for orml_currencies //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,13 +49,13 @@ impl orml_currencies::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_non_native_currency() -> Weight { - Weight::from_ref_time(89_810_000) + Weight::from_ref_time(95_870_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: System Account (r:1 w:1) fn transfer_native_currency() -> Weight { - Weight::from_ref_time(72_860_000) + Weight::from_ref_time(80_780_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,19 +63,19 @@ impl orml_currencies::WeightInfo for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_balance_non_native_currency() -> Weight { - Weight::from_ref_time(57_100_000) + Weight::from_ref_time(57_330_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: System Account (r:1 w:1) fn update_balance_native_currency_creating() -> Weight { - Weight::from_ref_time(66_691_000) + Weight::from_ref_time(67_611_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn update_balance_native_currency_killing() -> Weight { - Weight::from_ref_time(53_220_000) + Weight::from_ref_time(64_301_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/orml_tokens.rs b/runtime/common/src/weights/orml_tokens.rs index 4eba512fe..99c14aa88 100644 --- a/runtime/common/src/weights/orml_tokens.rs +++ b/runtime/common/src/weights/orml_tokens.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for orml_tokens //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,28 +49,28 @@ impl orml_tokens::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(80_760_000) + Weight::from_ref_time(84_390_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(84_790_000) + Weight::from_ref_time(84_860_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(79_030_000) + Weight::from_ref_time(66_500_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:2 w:1) fn force_transfer() -> Weight { - Weight::from_ref_time(87_561_000) + Weight::from_ref_time(86_851_000) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -78,7 +78,7 @@ impl orml_tokens::WeightInfo for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:1) fn set_balance() -> Weight { - Weight::from_ref_time(66_451_000) + Weight::from_ref_time(66_770_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/common/src/weights/pallet_author_inherent.rs b/runtime/common/src/weights/pallet_author_inherent.rs index 54817330c..136466f7a 100644 --- a/runtime/common/src/weights/pallet_author_inherent.rs +++ b/runtime/common/src/weights/pallet_author_inherent.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_author_inherent //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -56,7 +56,7 @@ impl pallet_author_inherent::weights::WeightInfo for We // Storage: AuthorFilter EligibleCount (r:1 w:0) // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) fn kick_off_authorship_validation() -> Weight { - Weight::from_ref_time(56_870_000) + Weight::from_ref_time(44_241_000) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_author_mapping.rs b/runtime/common/src/weights/pallet_author_mapping.rs index 365ca64c8..0dae5b36f 100644 --- a/runtime/common/src/weights/pallet_author_mapping.rs +++ b/runtime/common/src/weights/pallet_author_mapping.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_author_mapping //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -53,14 +53,14 @@ impl pallet_author_mapping::weights::WeightInfo for Wei // Storage: System Account (r:1 w:1) // Storage: AuthorMapping NimbusLookup (r:0 w:1) fn add_association() -> Weight { - Weight::from_ref_time(61_531_000) + Weight::from_ref_time(69_090_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: AuthorMapping MappingWithDeposit (r:2 w:2) // Storage: AuthorMapping NimbusLookup (r:0 w:1) fn update_association() -> Weight { - Weight::from_ref_time(54_930_000) + Weight::from_ref_time(48_700_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -68,7 +68,7 @@ impl pallet_author_mapping::weights::WeightInfo for Wei // Storage: System Account (r:1 w:1) // Storage: AuthorMapping NimbusLookup (r:0 w:1) fn clear_association() -> Weight { - Weight::from_ref_time(70_010_000) + Weight::from_ref_time(60_150_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -76,14 +76,14 @@ impl pallet_author_mapping::weights::WeightInfo for Wei // Storage: AuthorMapping MappingWithDeposit (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove_keys() -> Weight { - Weight::from_ref_time(70_170_000) + Weight::from_ref_time(78_330_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: AuthorMapping NimbusLookup (r:1 w:1) // Storage: AuthorMapping MappingWithDeposit (r:2 w:2) fn set_keys() -> Weight { - Weight::from_ref_time(62_070_000) + Weight::from_ref_time(53_200_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/common/src/weights/pallet_author_slot_filter.rs b/runtime/common/src/weights/pallet_author_slot_filter.rs index 1e532eda7..1cc8432e9 100644 --- a/runtime/common/src/weights/pallet_author_slot_filter.rs +++ b/runtime/common/src/weights/pallet_author_slot_filter.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_author_slot_filter //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,6 +51,6 @@ pub struct WeightInfo(PhantomData); impl pallet_author_slot_filter::weights::WeightInfo for WeightInfo { // Storage: AuthorFilter EligibleCount (r:0 w:1) fn set_eligible() -> Weight { - Weight::from_ref_time(31_110_000).saturating_add(T::DbWeight::get().writes(1)) + Weight::from_ref_time(28_890_000).saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/common/src/weights/pallet_balances.rs b/runtime/common/src/weights/pallet_balances.rs index 84eefb979..6a3e98c67 100644 --- a/runtime/common/src/weights/pallet_balances.rs +++ b/runtime/common/src/weights/pallet_balances.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,43 +51,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::weights::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn transfer() -> Weight { - Weight::from_ref_time(108_550_000) + Weight::from_ref_time(109_200_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(71_400_000) + Weight::from_ref_time(60_490_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - Weight::from_ref_time(54_450_000) + Weight::from_ref_time(54_180_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - Weight::from_ref_time(61_450_000) + Weight::from_ref_time(60_760_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:3 w:3) fn force_transfer() -> Weight { - Weight::from_ref_time(107_260_000) + Weight::from_ref_time(90_620_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(80_670_000) + Weight::from_ref_time(69_090_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - Weight::from_ref_time(47_780_000) + Weight::from_ref_time(47_010_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_bounties.rs b/runtime/common/src/weights/pallet_bounties.rs index ff3d6352a..0bf91c127 100644 --- a/runtime/common/src/weights/pallet_bounties.rs +++ b/runtime/common/src/weights/pallet_bounties.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_bounties //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -53,42 +53,42 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Storage: Bounties BountyDescriptions (r:0 w:1) // Storage: Bounties Bounties (r:0 w:1) fn propose_bounty(d: u32) -> Weight { - Weight::from_ref_time(60_516_756) - // Standard Error: 122 - .saturating_add(Weight::from_ref_time(1_701).saturating_mul(d.into())) + 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)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: Bounties BountyApprovals (r:1 w:1) fn approve_bounty() -> Weight { - Weight::from_ref_time(28_430_000) + Weight::from_ref_time(29_490_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Bounties Bounties (r:1 w:1) fn propose_curator() -> Weight { - Weight::from_ref_time(26_220_000) + Weight::from_ref_time(28_120_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:2 w:2) fn unassign_curator() -> Weight { - Weight::from_ref_time(76_770_000) + Weight::from_ref_time(90_981_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn accept_curator() -> Weight { - Weight::from_ref_time(56_021_000) + Weight::from_ref_time(66_590_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Bounties Bounties (r:1 w:1) fn award_bounty() -> Weight { - Weight::from_ref_time(50_440_000) + Weight::from_ref_time(51_230_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -96,7 +96,7 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Storage: System Account (r:3 w:3) // Storage: Bounties BountyDescriptions (r:0 w:1) fn claim_bounty() -> Weight { - Weight::from_ref_time(126_781_000) + Weight::from_ref_time(146_571_000) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -104,7 +104,7 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Storage: System Account (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_proposed() -> Weight { - Weight::from_ref_time(80_560_000) + Weight::from_ref_time(94_620_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -112,13 +112,13 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Storage: System Account (r:3 w:3) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_active() -> Weight { - Weight::from_ref_time(99_130_000) + Weight::from_ref_time(110_910_000) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Bounties Bounties (r:1 w:1) fn extend_bounty_expiry() -> Weight { - Weight::from_ref_time(49_180_000) + Weight::from_ref_time(50_451_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -126,9 +126,9 @@ impl pallet_bounties::weights::WeightInfo for WeightInf // Storage: Bounties Bounties (r:2 w:2) // Storage: System Account (r:3 w:3) fn spend_funds(b: u32) -> Weight { - Weight::from_ref_time(39_773_400) - // Standard Error: 265_742 - .saturating_add(Weight::from_ref_time(50_271_954).saturating_mul(b.into())) + Weight::from_ref_time(15_180_000) + // Standard Error: 130_485 + .saturating_add(Weight::from_ref_time(50_076_119).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) } diff --git a/runtime/common/src/weights/pallet_collective.rs b/runtime/common/src/weights/pallet_collective.rs index a9650cc4f..d979dd8cf 100644 --- a/runtime/common/src/weights/pallet_collective.rs +++ b/runtime/common/src/weights/pallet_collective.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -54,33 +54,28 @@ impl pallet_collective::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Prime (r:0 w:1) // Storage: AdvisoryCommittee Voting (r:255 w:255) fn set_members(m: u32, _n: u32, p: u32) -> Weight { - Weight::from_ref_time(35_920_000) - // Standard Error: 317_531 - .saturating_add(Weight::from_ref_time(22_764_978).saturating_mul(m.into())) - // Standard Error: 124_670 - .saturating_add(Weight::from_ref_time(14_033_600).saturating_mul(p.into())) + 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)) .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()))) } // Storage: AdvisoryCommittee Members (r:1 w:0) - fn execute(b: u32, m: u32) -> Weight { - Weight::from_ref_time(37_785_879) - // Standard Error: 1_193 - .saturating_add(Weight::from_ref_time(10_958).saturating_mul(b.into())) - // Standard Error: 12_310 - .saturating_add(Weight::from_ref_time(69_468).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(1)) + 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) // Storage: AdvisoryCommittee ProposalOf (r:1 w:0) fn propose_execute(b: u32, m: u32) -> Weight { - Weight::from_ref_time(48_724_265) - // Standard Error: 526 - .saturating_add(Weight::from_ref_time(4_396).saturating_mul(b.into())) - // Standard Error: 5_428 - .saturating_add(Weight::from_ref_time(31_535).saturating_mul(m.into())) + 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) @@ -89,22 +84,22 @@ impl pallet_collective::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee ProposalCount (r:1 w:1) // Storage: AdvisoryCommittee Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { - Weight::from_ref_time(48_302_669) - // Standard Error: 1_881 - .saturating_add(Weight::from_ref_time(17_297).saturating_mul(b.into())) - // Standard Error: 19_654 - .saturating_add(Weight::from_ref_time(103_864).saturating_mul(m.into())) - // Standard Error: 7_566 - .saturating_add(Weight::from_ref_time(328_821).saturating_mul(p.into())) + 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)) } // Storage: AdvisoryCommittee Members (r:1 w:0) // Storage: AdvisoryCommittee Voting (r:1 w:1) fn vote(m: u32) -> Weight { - Weight::from_ref_time(100_860_204) - // Standard Error: 19_843 - .saturating_add(Weight::from_ref_time(147_566).saturating_mul(m.into())) + 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)) } @@ -113,9 +108,9 @@ impl pallet_collective::weights::WeightInfo for WeightI // 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(81_393_629) - // Standard Error: 6_899 - .saturating_add(Weight::from_ref_time(292_168).saturating_mul(p.into())) + 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)) } @@ -124,13 +119,13 @@ impl pallet_collective::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee ProposalOf (r:1 w:1) // Storage: AdvisoryCommittee Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { - Weight::from_ref_time(61_798_175) - // Standard Error: 2_013 - .saturating_add(Weight::from_ref_time(8_865).saturating_mul(b.into())) - // Standard Error: 21_302 - .saturating_add(Weight::from_ref_time(164_346).saturating_mul(m.into())) - // Standard Error: 8_096 - .saturating_add(Weight::from_ref_time(384_823).saturating_mul(p.into())) + 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)) } @@ -139,10 +134,12 @@ impl pallet_collective::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Prime (r:1 w:0) // Storage: AdvisoryCommittee Proposals (r:1 w:1) // Storage: AdvisoryCommittee ProposalOf (r:0 w:1) - fn close_disapproved(_m: u32, p: u32) -> Weight { - Weight::from_ref_time(85_607_614) - // Standard Error: 7_391 - .saturating_add(Weight::from_ref_time(288_303).saturating_mul(p.into())) + 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)) } @@ -152,13 +149,13 @@ impl pallet_collective::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee ProposalOf (r:1 w:1) // Storage: AdvisoryCommittee Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32) -> Weight { - Weight::from_ref_time(75_320_016) - // Standard Error: 2_140 - .saturating_add(Weight::from_ref_time(14_677).saturating_mul(b.into())) - // Standard Error: 22_644 - .saturating_add(Weight::from_ref_time(31_875).saturating_mul(m.into())) - // Standard Error: 8_606 - .saturating_add(Weight::from_ref_time(372_647).saturating_mul(p.into())) + 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)) } @@ -166,9 +163,9 @@ impl pallet_collective::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Voting (r:0 w:1) // Storage: AdvisoryCommittee ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32) -> Weight { - Weight::from_ref_time(50_921_770) - // Standard Error: 6_439 - .saturating_add(Weight::from_ref_time(270_592).saturating_mul(p.into())) + 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)) } diff --git a/runtime/common/src/weights/pallet_contracts.rs b/runtime/common/src/weights/pallet_contracts.rs index b39efc661..6c1b92a3c 100644 --- a/runtime/common/src/weights/pallet_contracts.rs +++ b/runtime/common/src/weights/pallet_contracts.rs @@ -1,1323 +1,1085 @@ -// Copyright 2023 Forecasting Technologies LTD. +// Copyright 2022-2023 Forecasting Technologies LTD. +// Copyright 2021-2022 Zeitgeist PM LLC. // -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at +// This file is part of Zeitgeist. +// +// Zeitgeist is free software: you can redistribute it and/or modify it +// under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 3 of the License, or (at +// your option) any later version. // -// http://www.apache.org/licenses/LICENSE-2.0 +// Zeitgeist is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// General Public License for more details. // -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// You should have received a copy of the GNU General Public License +// along with Zeitgeist. If not, see . //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-12-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/substrate +// ./target/production/zeitgeist // benchmark // pallet +// --chain=dev // --steps=50 // --repeat=20 +// --pallet=pallet_contracts // --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json -// --pallet=pallet_contracts -// --chain=dev -// --header=./HEADER-APACHE2 -// --output=./frame/contracts/src/weights.rs -// --template=./.maintain/frame-weight-template.hbs +// --template=./misc/frame_weight_template.hbs +// --output=./runtime/common/src/weights/ -#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; +use frame_support::{ + traits::Get, + weights::{constants::RocksDbWeight, Weight}, +}; -/// Weights for pallet_contracts using the Substrate node and recommended hardware. +/// 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) - fn on_process_deletion_queue_batch() -> Weight { - // Minimum execution time: 3_196 nanoseconds. - Weight::from_ref_time(3_293_000) - .saturating_add(T::DbWeight::get().reads(1)) - } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `k` is `[0, 1024]`. - fn on_initialize_per_trie_key(k: u32, ) -> Weight { - // Minimum execution time: 14_857 nanoseconds. - Weight::from_ref_time(14_957_593) - // Standard Error: 1_015 - .saturating_add(Weight::from_ref_time(935_359).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) - /// The range of component `q` is `[0, 128]`. - fn on_initialize_per_queue_item(q: u32, ) -> Weight { - // Minimum execution time: 3_231 nanoseconds. - Weight::from_ref_time(14_859_580) - // Standard Error: 3_479 - .saturating_add(Weight::from_ref_time(1_185_600).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) - /// The range of component `c` is `[0, 64226]`. - fn reinstrument(c: u32, ) -> Weight { - // Minimum execution time: 34_565 nanoseconds. - Weight::from_ref_time(29_199_016) - // Standard Error: 70 - .saturating_add(Weight::from_ref_time(47_107).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) - /// The range of component `c` is `[0, 131072]`. - fn call_with_code_per_byte(c: u32, ) -> Weight { - // Minimum execution time: 392_074 nanoseconds. - Weight::from_ref_time(404_090_909) - // Standard Error: 24 - .saturating_add(Weight::from_ref_time(30_454).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) - /// The range of component `c` is `[0, 64226]`. - /// The range of component `i` is `[0, 1048576]`. - /// The range of component `s` is `[0, 1048576]`. - fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { - // Minimum execution time: 3_785_934 nanoseconds. - Weight::from_ref_time(683_143_843) - // Standard Error: 272 - .saturating_add(Weight::from_ref_time(87_620).saturating_mul(c.into())) - // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_363).saturating_mul(i.into())) - // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_778).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) - /// The range of component `i` is `[0, 1048576]`. - /// The range of component `s` is `[0, 1048576]`. - fn instantiate(i: u32, s: u32, ) -> Weight { - // Minimum execution time: 1_935_310 nanoseconds. - Weight::from_ref_time(203_531_122) - // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_674).saturating_mul(i.into())) - // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_789).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) - fn call() -> Weight { - // Minimum execution time: 151_999 nanoseconds. - Weight::from_ref_time(153_527_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) - /// The range of component `c` is `[0, 64226]`. - fn upload_code(c: u32, ) -> Weight { - // Minimum execution time: 391_165 nanoseconds. - Weight::from_ref_time(394_519_487) - // Standard Error: 75 - .saturating_add(Weight::from_ref_time(89_736).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) - fn remove_code() -> Weight { - // Minimum execution time: 39_354 nanoseconds. - Weight::from_ref_time(39_855_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) - fn set_code() -> Weight { - // Minimum execution time: 40_909 nanoseconds. - Weight::from_ref_time(41_275_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) - /// The range of component `r` is `[0, 20]`. - fn seal_caller(r: u32, ) -> Weight { - // Minimum execution time: 380_150 nanoseconds. - Weight::from_ref_time(384_429_035) - // Standard Error: 34_740 - .saturating_add(Weight::from_ref_time(15_582_218).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) - /// The range of component `r` is `[0, 20]`. - fn seal_is_contract(r: u32, ) -> Weight { - // Minimum execution time: 380_608 nanoseconds. - Weight::from_ref_time(326_544_805) - // Standard Error: 475_381 - .saturating_add(Weight::from_ref_time(190_717_772).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .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) - /// The range of component `r` is `[0, 20]`. - fn seal_code_hash(r: u32, ) -> Weight { - // Minimum execution time: 382_780 nanoseconds. - Weight::from_ref_time(333_775_113) - // Standard Error: 446_086 - .saturating_add(Weight::from_ref_time(232_531_042).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .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) - /// The range of component `r` is `[0, 20]`. - fn seal_own_code_hash(r: u32, ) -> Weight { - // Minimum execution time: 381_815 nanoseconds. - Weight::from_ref_time(390_931_793) - // Standard Error: 61_918 - .saturating_add(Weight::from_ref_time(18_798_438).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) - /// The range of component `r` is `[0, 20]`. - fn seal_caller_is_origin(r: u32, ) -> Weight { - // Minimum execution time: 379_162 nanoseconds. - Weight::from_ref_time(383_796_363) - // Standard Error: 25_555 - .saturating_add(Weight::from_ref_time(10_843_721).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) - /// The range of component `r` is `[0, 20]`. - fn seal_address(r: u32, ) -> Weight { - // Minimum execution time: 380_307 nanoseconds. - Weight::from_ref_time(390_211_779) - // Standard Error: 53_326 - .saturating_add(Weight::from_ref_time(15_311_171).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) - /// The range of component `r` is `[0, 20]`. - fn seal_gas_left(r: u32, ) -> Weight { - // Minimum execution time: 380_230 nanoseconds. - Weight::from_ref_time(383_470_453) - // Standard Error: 45_007 - .saturating_add(Weight::from_ref_time(15_582_472).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) - /// The range of component `r` is `[0, 20]`. - fn seal_balance(r: u32, ) -> Weight { - // Minimum execution time: 380_244 nanoseconds. - Weight::from_ref_time(388_092_461) - // Standard Error: 98_199 - .saturating_add(Weight::from_ref_time(97_339_528).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) - /// The range of component `r` is `[0, 20]`. - fn seal_value_transferred(r: u32, ) -> Weight { - // Minimum execution time: 380_242 nanoseconds. - Weight::from_ref_time(384_078_258) - // Standard Error: 28_510 - .saturating_add(Weight::from_ref_time(15_423_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) - /// The range of component `r` is `[0, 20]`. - fn seal_minimum_balance(r: u32, ) -> Weight { - // Minimum execution time: 379_890 nanoseconds. - Weight::from_ref_time(383_658_430) - // Standard Error: 44_976 - .saturating_add(Weight::from_ref_time(15_451_905).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) - /// The range of component `r` is `[0, 20]`. - fn seal_block_number(r: u32, ) -> Weight { - // Minimum execution time: 380_269 nanoseconds. - Weight::from_ref_time(383_580_481) - // Standard Error: 31_862 - .saturating_add(Weight::from_ref_time(15_230_473).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) - /// The range of component `r` is `[0, 20]`. - fn seal_now(r: u32, ) -> Weight { - // Minimum execution time: 380_308 nanoseconds. - Weight::from_ref_time(383_732_372) - // Standard Error: 38_359 - .saturating_add(Weight::from_ref_time(15_358_775).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) - /// The range of component `r` is `[0, 20]`. - fn seal_weight_to_fee(r: u32, ) -> Weight { - // Minimum execution time: 380_834 nanoseconds. - Weight::from_ref_time(388_999_459) - // Standard Error: 96_447 - .saturating_add(Weight::from_ref_time(86_714_414).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) - /// The range of component `r` is `[0, 20]`. - fn seal_gas(r: u32, ) -> Weight { - // Minimum execution time: 140_955 nanoseconds. - Weight::from_ref_time(144_716_423) - // Standard Error: 11_370 - .saturating_add(Weight::from_ref_time(7_858_807).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) - /// The range of component `r` is `[0, 20]`. - fn seal_input(r: u32, ) -> Weight { - // Minimum execution time: 380_210 nanoseconds. - Weight::from_ref_time(384_185_776) - // Standard Error: 49_038 - .saturating_add(Weight::from_ref_time(13_649_793).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) - /// The range of component `n` is `[0, 1024]`. - fn seal_input_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 396_209 nanoseconds. - Weight::from_ref_time(424_522_611) - // Standard Error: 3_917 - .saturating_add(Weight::from_ref_time(9_627_216).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) - /// The range of component `r` is `[0, 1]`. - fn seal_return(r: u32, ) -> Weight { - // Minimum execution time: 378_412 nanoseconds. - Weight::from_ref_time(380_502_085) - // Standard Error: 201_552 - .saturating_add(Weight::from_ref_time(1_434_214).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) - /// The range of component `n` is `[0, 1024]`. - fn seal_return_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 381_463 nanoseconds. - Weight::from_ref_time(383_955_553) - // Standard Error: 998 - .saturating_add(Weight::from_ref_time(230_512).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) - /// The range of component `r` is `[0, 1]`. - fn seal_terminate(r: u32, ) -> Weight { - // Minimum execution time: 379_877 nanoseconds. - Weight::from_ref_time(381_729_546) - // Standard Error: 214_004 - .saturating_add(Weight::from_ref_time(52_528_353).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .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) - /// The range of component `r` is `[0, 20]`. - fn seal_random(r: u32, ) -> Weight { - // Minimum execution time: 380_275 nanoseconds. - Weight::from_ref_time(386_495_777) - // Standard Error: 94_674 - .saturating_add(Weight::from_ref_time(108_432_929).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) - /// The range of component `r` is `[0, 20]`. - fn seal_deposit_event(r: u32, ) -> Weight { - // Minimum execution time: 379_095 nanoseconds. - Weight::from_ref_time(393_997_924) - // Standard Error: 141_916 - .saturating_add(Weight::from_ref_time(212_937_170).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) - /// The range of component `t` is `[0, 4]`. - /// The range of component `n` is `[0, 16]`. - fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - // Minimum execution time: 1_241_001 nanoseconds. - Weight::from_ref_time(548_526_917) - // Standard Error: 496_807 - .saturating_add(Weight::from_ref_time(177_087_769).saturating_mul(t.into())) - // Standard Error: 136_447 - .saturating_add(Weight::from_ref_time(71_558_402).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .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) - /// The range of component `r` is `[0, 20]`. - fn seal_debug_message(r: u32, ) -> Weight { - // Minimum execution time: 159_158 nanoseconds. - Weight::from_ref_time(163_427_712) - // Standard Error: 22_442 - .saturating_add(Weight::from_ref_time(12_647_838).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) - /// The range of component `r` is `[0, 10]`. - fn seal_set_storage(r: u32, ) -> Weight { - // Minimum execution time: 381_068 nanoseconds. - Weight::from_ref_time(341_041_230) - // Standard Error: 464_053 - .saturating_add(Weight::from_ref_time(402_677_314).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .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()))) - } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `n` is `[0, 8]`. - fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - // Minimum execution time: 508_695 nanoseconds. - Weight::from_ref_time(663_159_695) - // Standard Error: 1_419_342 - .saturating_add(Weight::from_ref_time(96_558_570).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(52)) - .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()))) - } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `n` is `[0, 8]`. - fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - // Minimum execution time: 508_542 nanoseconds. - Weight::from_ref_time(634_146_978) - // Standard Error: 1_168_252 - .saturating_add(Weight::from_ref_time(64_231_947).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51)) - .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()))) - } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `r` is `[0, 10]`. - fn seal_clear_storage(r: u32, ) -> Weight { - // Minimum execution time: 381_743 nanoseconds. - Weight::from_ref_time(337_309_674) - // Standard Error: 527_407 - .saturating_add(Weight::from_ref_time(395_767_068).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .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()))) - } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `n` is `[0, 8]`. - fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 478_283 nanoseconds. - Weight::from_ref_time(616_673_245) - // Standard Error: 1_290_784 - .saturating_add(Weight::from_ref_time(66_534_552).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51)) - .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: Skipped Metadata (r:0 w:0) - /// The range of component `r` is `[0, 10]`. - fn seal_get_storage(r: u32, ) -> Weight { - // Minimum execution time: 381_916 nanoseconds. - Weight::from_ref_time(349_150_912) - // Standard Error: 443_388 - .saturating_add(Weight::from_ref_time(316_975_558).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `n` is `[0, 8]`. - fn seal_get_storage_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 459_294 nanoseconds. - Weight::from_ref_time(579_698_524) - // Standard Error: 1_111_681 - .saturating_add(Weight::from_ref_time(159_276_087).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51)) - .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `r` is `[0, 10]`. - fn seal_contains_storage(r: u32, ) -> Weight { - // Minimum execution time: 381_700 nanoseconds. - Weight::from_ref_time(352_544_675) - // Standard Error: 401_504 - .saturating_add(Weight::from_ref_time(304_380_106).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `n` is `[0, 8]`. - fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 455_595 nanoseconds. - Weight::from_ref_time(560_428_166) - // Standard Error: 991_088 - .saturating_add(Weight::from_ref_time(61_810_610).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51)) - .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `r` is `[0, 10]`. - fn seal_take_storage(r: u32, ) -> Weight { - // Minimum execution time: 382_000 nanoseconds. - Weight::from_ref_time(336_164_219) - // Standard Error: 601_744 - .saturating_add(Weight::from_ref_time(406_198_079).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .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()))) - } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `n` is `[0, 8]`. - fn seal_take_storage_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 482_335 nanoseconds. - Weight::from_ref_time(634_245_177) - // Standard Error: 1_418_845 - .saturating_add(Weight::from_ref_time(164_352_113).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(51)) - .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) - /// The range of component `r` is `[0, 20]`. - fn seal_transfer(r: u32, ) -> Weight { - // Minimum execution time: 382_142 nanoseconds. - Weight::from_ref_time(317_581_708) - // Standard Error: 682_156 - .saturating_add(Weight::from_ref_time(1_305_289_569).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .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) - /// The range of component `r` is `[0, 20]`. - fn seal_call(r: u32, ) -> Weight { - // Minimum execution time: 383_580 nanoseconds. - Weight::from_ref_time(384_176_000) - // Standard Error: 6_483_482 - .saturating_add(Weight::from_ref_time(28_047_685_517).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .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) - /// The range of component `r` is `[0, 20]`. - fn seal_delegate_call(r: u32, ) -> Weight { - // Minimum execution time: 384_523 nanoseconds. - Weight::from_ref_time(385_105_000) - // Standard Error: 6_156_142 - .saturating_add(Weight::from_ref_time(27_780_652_513).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .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) - /// The range of component `t` is `[0, 1]`. - /// The range of component `c` is `[0, 1024]`. - fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - // Minimum execution time: 9_509_961 nanoseconds. - Weight::from_ref_time(8_509_991_348) - // Standard Error: 6_614_757 - .saturating_add(Weight::from_ref_time(1_244_514_376).saturating_mul(t.into())) - // Standard Error: 9_918 - .saturating_add(Weight::from_ref_time(9_856_517).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(167)) - .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) - /// The range of component `r` is `[0, 20]`. - fn seal_instantiate(r: u32, ) -> Weight { - // Minimum execution time: 384_604 nanoseconds. - Weight::from_ref_time(385_278_000) - // Standard Error: 21_140_468 - .saturating_add(Weight::from_ref_time(33_100_726_150).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(8)) - .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) - /// The range of component `t` is `[0, 1]`. - /// The range of component `i` is `[0, 960]`. - /// The range of component `s` is `[0, 960]`. - fn seal_instantiate_per_transfer_input_salt_kb(t: u32, i: u32, s: u32, ) -> Weight { - // Minimum execution time: 129_699_480 nanoseconds. - Weight::from_ref_time(10_187_699_005) - // Standard Error: 155_040 - .saturating_add(Weight::from_ref_time(125_284_310).saturating_mul(i.into())) - // Standard Error: 155_040 - .saturating_add(Weight::from_ref_time(125_850_564).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(249)) - .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) - /// The range of component `r` is `[0, 1]`. - fn seal_hash_sha2_256(r: u32, ) -> Weight { - // Minimum execution time: 380_397 nanoseconds. - Weight::from_ref_time(382_881_855) - // Standard Error: 290_948 - .saturating_add(Weight::from_ref_time(41_017_644).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) - /// The range of component `n` is `[0, 1024]`. - fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 422_439 nanoseconds. - Weight::from_ref_time(423_480_000) - // Standard Error: 56_072 - .saturating_add(Weight::from_ref_time(329_103_825).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) - /// The range of component `r` is `[0, 1]`. - fn seal_hash_keccak_256(r: u32, ) -> Weight { - // Minimum execution time: 380_433 nanoseconds. - Weight::from_ref_time(382_325_624) - // Standard Error: 139_248 - .saturating_add(Weight::from_ref_time(53_159_175).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) - /// The range of component `n` is `[0, 1024]`. - fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 434_834 nanoseconds. - Weight::from_ref_time(435_383_000) - // Standard Error: 59_824 - .saturating_add(Weight::from_ref_time(251_297_967).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) - /// The range of component `r` is `[0, 1]`. - fn seal_hash_blake2_256(r: u32, ) -> Weight { - // Minimum execution time: 379_088 nanoseconds. - Weight::from_ref_time(381_627_077) - // Standard Error: 152_561 - .saturating_add(Weight::from_ref_time(31_696_922).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) - /// The range of component `n` is `[0, 1024]`. - fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 411_630 nanoseconds. - Weight::from_ref_time(412_354_000) - // Standard Error: 50_788 - .saturating_add(Weight::from_ref_time(103_105_715).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) - /// The range of component `r` is `[0, 1]`. - fn seal_hash_blake2_128(r: u32, ) -> Weight { - // Minimum execution time: 379_549 nanoseconds. - Weight::from_ref_time(382_406_346) - // Standard Error: 701_449 - .saturating_add(Weight::from_ref_time(31_066_353).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) - /// The range of component `n` is `[0, 1024]`. - fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - // Minimum execution time: 412_112 nanoseconds. - Weight::from_ref_time(412_710_000) - // Standard Error: 54_875 - .saturating_add(Weight::from_ref_time(103_169_035).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) - /// The range of component `r` is `[0, 1]`. - fn seal_ecdsa_recover(r: u32, ) -> Weight { - // Minimum execution time: 381_994 nanoseconds. - Weight::from_ref_time(383_832_551) - // Standard Error: 676_656 - .saturating_add(Weight::from_ref_time(3_020_035_748).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) - /// The range of component `r` is `[0, 1]`. - fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - // Minimum execution time: 381_472 nanoseconds. - Weight::from_ref_time(383_590_834) - // Standard Error: 538_574 - .saturating_add(Weight::from_ref_time(2_077_926_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) - // Storage: Contracts OwnerInfoOf (r:16 w:16) - /// The range of component `r` is `[0, 20]`. - fn seal_set_code_hash(r: u32, ) -> Weight { - // Minimum execution time: 381_527 nanoseconds. - Weight::from_ref_time(382_291_000) - // Standard Error: 2_760_840 - .saturating_add(Weight::from_ref_time(1_356_115_009).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .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) - /// The range of component `r` is `[0, 20]`. - fn seal_reentrance_count(r: u32, ) -> Weight { - // Minimum execution time: 382_722 nanoseconds. - Weight::from_ref_time(387_231_409) - // Standard Error: 28_817 - .saturating_add(Weight::from_ref_time(11_349_809).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) - /// The range of component `r` is `[0, 20]`. - fn seal_account_reentrance_count(r: u32, ) -> Weight { - // Minimum execution time: 383_568 nanoseconds. - Weight::from_ref_time(419_835_108) - // Standard Error: 125_982 - .saturating_add(Weight::from_ref_time(25_241_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) - // Storage: Contracts Nonce (r:1 w:1) - /// The range of component `r` is `[0, 20]`. - fn seal_instantiation_nonce(r: u32, ) -> Weight { - // Minimum execution time: 382_084 nanoseconds. - Weight::from_ref_time(388_155_568) - // Standard Error: 29_161 - .saturating_add(Weight::from_ref_time(9_015_217).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(4)) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64const(r: u32, ) -> Weight { - // Minimum execution time: 593 nanoseconds. - Weight::from_ref_time(816_706) - // Standard Error: 173 - .saturating_add(Weight::from_ref_time(344_732).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64load(r: u32, ) -> Weight { - // Minimum execution time: 705 nanoseconds. - Weight::from_ref_time(1_191_205) - // Standard Error: 600 - .saturating_add(Weight::from_ref_time(986_102).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64store(r: u32, ) -> Weight { - // Minimum execution time: 717 nanoseconds. - Weight::from_ref_time(1_019_448) - // Standard Error: 421 - .saturating_add(Weight::from_ref_time(882_531).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_select(r: u32, ) -> Weight { - // Minimum execution time: 642 nanoseconds. - Weight::from_ref_time(917_880) - // Standard Error: 362 - .saturating_add(Weight::from_ref_time(957_235).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_if(r: u32, ) -> Weight { - // Minimum execution time: 630 nanoseconds. - Weight::from_ref_time(694_427) - // Standard Error: 1_506 - .saturating_add(Weight::from_ref_time(1_298_411).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_br(r: u32, ) -> Weight { - // Minimum execution time: 634 nanoseconds. - Weight::from_ref_time(1_101_754) - // Standard Error: 840 - .saturating_add(Weight::from_ref_time(526_433).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_br_if(r: u32, ) -> Weight { - // Minimum execution time: 651 nanoseconds. - Weight::from_ref_time(790_908) - // Standard Error: 849 - .saturating_add(Weight::from_ref_time(800_188).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_br_table(r: u32, ) -> Weight { - // Minimum execution time: 622 nanoseconds. - Weight::from_ref_time(416_266) - // Standard Error: 1_574 - .saturating_add(Weight::from_ref_time(1_080_225).saturating_mul(r.into())) - } - /// The range of component `e` is `[1, 256]`. - fn instr_br_table_per_entry(e: u32, ) -> Weight { - // Minimum execution time: 2_131 nanoseconds. - Weight::from_ref_time(2_540_446) - // Standard Error: 75 - .saturating_add(Weight::from_ref_time(4_997).saturating_mul(e.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_call(r: u32, ) -> Weight { - // Minimum execution time: 650 nanoseconds. - Weight::from_ref_time(1_577_978) - // Standard Error: 2_696 - .saturating_add(Weight::from_ref_time(2_204_044).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_call_indirect(r: u32, ) -> Weight { - // Minimum execution time: 742 nanoseconds. - Weight::from_ref_time(1_947_575) - // Standard Error: 1_651 - .saturating_add(Weight::from_ref_time(2_799_445).saturating_mul(r.into())) - } - /// The range of component `p` is `[0, 128]`. - fn instr_call_indirect_per_param(p: u32, ) -> Weight { - // Minimum execution time: 4_230 nanoseconds. - Weight::from_ref_time(5_079_432) - // Standard Error: 315 - .saturating_add(Weight::from_ref_time(179_278).saturating_mul(p.into())) - } - /// The range of component `l` is `[0, 1024]`. - fn instr_call_per_local(l: u32, ) -> Weight { - // Minimum execution time: 2_830 nanoseconds. - Weight::from_ref_time(3_601_633) - // Standard Error: 31 - .saturating_add(Weight::from_ref_time(92_499).saturating_mul(l.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_local_get(r: u32, ) -> Weight { - // Minimum execution time: 2_896 nanoseconds. - Weight::from_ref_time(3_137_247) - // Standard Error: 245 - .saturating_add(Weight::from_ref_time(364_431).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_local_set(r: u32, ) -> Weight { - // Minimum execution time: 2_795 nanoseconds. - Weight::from_ref_time(3_199_878) - // Standard Error: 549 - .saturating_add(Weight::from_ref_time(380_524).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_local_tee(r: u32, ) -> Weight { - // Minimum execution time: 2_807 nanoseconds. - Weight::from_ref_time(3_130_120) - // Standard Error: 319 - .saturating_add(Weight::from_ref_time(525_857).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_global_get(r: u32, ) -> Weight { - // Minimum execution time: 678 nanoseconds. - Weight::from_ref_time(1_013_348) - // Standard Error: 362 - .saturating_add(Weight::from_ref_time(810_232).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_global_set(r: u32, ) -> Weight { - // Minimum execution time: 624 nanoseconds. - Weight::from_ref_time(973_583) - // Standard Error: 373 - .saturating_add(Weight::from_ref_time(829_360).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_memory_current(r: u32, ) -> Weight { - // Minimum execution time: 698 nanoseconds. - Weight::from_ref_time(904_862) - // Standard Error: 360 - .saturating_add(Weight::from_ref_time(694_614).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 1]`. - fn instr_memory_grow(r: u32, ) -> Weight { - // Minimum execution time: 642 nanoseconds. - Weight::from_ref_time(735_085) - // Standard Error: 105_815 - .saturating_add(Weight::from_ref_time(233_816_514).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64clz(r: u32, ) -> Weight { - // Minimum execution time: 606 nanoseconds. - Weight::from_ref_time(850_590) - // Standard Error: 262 - .saturating_add(Weight::from_ref_time(507_721).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64ctz(r: u32, ) -> Weight { - // Minimum execution time: 663 nanoseconds. - Weight::from_ref_time(853_060) - // Standard Error: 250 - .saturating_add(Weight::from_ref_time(514_225).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64popcnt(r: u32, ) -> Weight { - // Minimum execution time: 605 nanoseconds. - Weight::from_ref_time(849_563) - // Standard Error: 275 - .saturating_add(Weight::from_ref_time(511_494).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64eqz(r: u32, ) -> Weight { - // Minimum execution time: 618 nanoseconds. - Weight::from_ref_time(839_855) - // Standard Error: 228 - .saturating_add(Weight::from_ref_time(524_614).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64extendsi32(r: u32, ) -> Weight { - // Minimum execution time: 637 nanoseconds. - Weight::from_ref_time(860_326) - // Standard Error: 240 - .saturating_add(Weight::from_ref_time(504_847).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64extendui32(r: u32, ) -> Weight { - // Minimum execution time: 623 nanoseconds. - Weight::from_ref_time(844_585) - // Standard Error: 235 - .saturating_add(Weight::from_ref_time(505_821).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i32wrapi64(r: u32, ) -> Weight { - // Minimum execution time: 672 nanoseconds. - Weight::from_ref_time(826_784) - // Standard Error: 225 - .saturating_add(Weight::from_ref_time(504_632).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64eq(r: u32, ) -> Weight { - // Minimum execution time: 642 nanoseconds. - Weight::from_ref_time(867_080) - // Standard Error: 231 - .saturating_add(Weight::from_ref_time(732_430).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64ne(r: u32, ) -> Weight { - // Minimum execution time: 639 nanoseconds. - Weight::from_ref_time(866_094) - // Standard Error: 272 - .saturating_add(Weight::from_ref_time(732_560).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64lts(r: u32, ) -> Weight { - // Minimum execution time: 619 nanoseconds. - Weight::from_ref_time(928_672) - // Standard Error: 484 - .saturating_add(Weight::from_ref_time(739_523).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64ltu(r: u32, ) -> Weight { - // Minimum execution time: 612 nanoseconds. - Weight::from_ref_time(863_312) - // Standard Error: 328 - .saturating_add(Weight::from_ref_time(743_687).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64gts(r: u32, ) -> Weight { - // Minimum execution time: 648 nanoseconds. - Weight::from_ref_time(931_331) - // Standard Error: 612 - .saturating_add(Weight::from_ref_time(747_653).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64gtu(r: u32, ) -> Weight { - // Minimum execution time: 632 nanoseconds. - Weight::from_ref_time(868_901) - // Standard Error: 276 - .saturating_add(Weight::from_ref_time(744_778).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64les(r: u32, ) -> Weight { - // Minimum execution time: 629 nanoseconds. - Weight::from_ref_time(898_516) - // Standard Error: 288 - .saturating_add(Weight::from_ref_time(734_393).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64leu(r: u32, ) -> Weight { - // Minimum execution time: 603 nanoseconds. - Weight::from_ref_time(853_744) - // Standard Error: 204 - .saturating_add(Weight::from_ref_time(739_499).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64ges(r: u32, ) -> Weight { - // Minimum execution time: 625 nanoseconds. - Weight::from_ref_time(885_174) - // Standard Error: 238 - .saturating_add(Weight::from_ref_time(734_010).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64geu(r: u32, ) -> Weight { - // Minimum execution time: 602 nanoseconds. - Weight::from_ref_time(915_329) - // Standard Error: 273 - .saturating_add(Weight::from_ref_time(738_209).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64add(r: u32, ) -> Weight { - // Minimum execution time: 585 nanoseconds. - Weight::from_ref_time(862_239) - // Standard Error: 294 - .saturating_add(Weight::from_ref_time(719_000).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64sub(r: u32, ) -> Weight { - // Minimum execution time: 633 nanoseconds. - Weight::from_ref_time(881_696) - // Standard Error: 195 - .saturating_add(Weight::from_ref_time(713_153).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64mul(r: u32, ) -> Weight { - // Minimum execution time: 629 nanoseconds. - Weight::from_ref_time(856_238) - // Standard Error: 269 - .saturating_add(Weight::from_ref_time(715_451).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64divs(r: u32, ) -> Weight { - // Minimum execution time: 633 nanoseconds. - Weight::from_ref_time(880_804) - // Standard Error: 725 - .saturating_add(Weight::from_ref_time(1_349_577).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64divu(r: u32, ) -> Weight { - // Minimum execution time: 639 nanoseconds. - Weight::from_ref_time(867_528) - // Standard Error: 1_940 - .saturating_add(Weight::from_ref_time(1_287_959).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64rems(r: u32, ) -> Weight { - // Minimum execution time: 595 nanoseconds. - Weight::from_ref_time(851_253) - // Standard Error: 503 - .saturating_add(Weight::from_ref_time(1_398_668).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64remu(r: u32, ) -> Weight { - // Minimum execution time: 604 nanoseconds. - Weight::from_ref_time(804_977) - // Standard Error: 812 - .saturating_add(Weight::from_ref_time(1_288_816).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64and(r: u32, ) -> Weight { - // Minimum execution time: 609 nanoseconds. - Weight::from_ref_time(890_945) - // Standard Error: 1_645 - .saturating_add(Weight::from_ref_time(719_770).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64or(r: u32, ) -> Weight { - // Minimum execution time: 628 nanoseconds. - Weight::from_ref_time(897_973) - // Standard Error: 1_641 - .saturating_add(Weight::from_ref_time(718_838).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64xor(r: u32, ) -> Weight { - // Minimum execution time: 634 nanoseconds. - Weight::from_ref_time(848_440) - // Standard Error: 249 - .saturating_add(Weight::from_ref_time(718_206).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64shl(r: u32, ) -> Weight { - // Minimum execution time: 625 nanoseconds. - Weight::from_ref_time(881_579) - // Standard Error: 273 - .saturating_add(Weight::from_ref_time(736_934).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64shrs(r: u32, ) -> Weight { - // Minimum execution time: 630 nanoseconds. - Weight::from_ref_time(897_813) - // Standard Error: 249 - .saturating_add(Weight::from_ref_time(734_657).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64shru(r: u32, ) -> Weight { - // Minimum execution time: 607 nanoseconds. - Weight::from_ref_time(871_660) - // Standard Error: 312 - .saturating_add(Weight::from_ref_time(735_377).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64rotl(r: u32, ) -> Weight { - // Minimum execution time: 610 nanoseconds. - Weight::from_ref_time(861_640) - // Standard Error: 293 - .saturating_add(Weight::from_ref_time(735_524).saturating_mul(r.into())) - } - /// The range of component `r` is `[0, 50]`. - fn instr_i64rotr(r: u32, ) -> Weight { - // Minimum execution time: 625 nanoseconds. - Weight::from_ref_time(880_203) - // Standard Error: 373 - .saturating_add(Weight::from_ref_time(737_354).saturating_mul(r.into())) - } + // Storage: Contracts DeletionQueue (r:1 w:0) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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)) + .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) + 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)) + .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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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)) + .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) + 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) + 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) + 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)) + .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) + 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) + 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)) + .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()))) + } + // Storage: Skipped Metadata (r:0 w:0) + 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)) + .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()))) + } + // Storage: Skipped Metadata (r:0 w:0) + 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)) + .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()))) + } + // Storage: Skipped Metadata (r:0 w:0) + 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)) + .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()))) + } + // Storage: Skipped Metadata (r:0 w:0) + 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)) + .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: Skipped Metadata (r:0 w:0) + 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)) + .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Skipped Metadata (r:0 w:0) + 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)) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Skipped Metadata (r:0 w:0) + 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)) + .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Skipped Metadata (r:0 w:0) + 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)) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: Skipped Metadata (r:0 w:0) + 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)) + .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()))) + } + // Storage: Skipped Metadata (r:0 w:0) + 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)) + .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) + 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)) + .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) + 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)) + .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) + 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)) + .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) + 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)) + .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) + 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)) + .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) + 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)) + .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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + 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)) + .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) + 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) + 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) + 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)) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } + 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())) + } } diff --git a/runtime/common/src/weights/pallet_democracy.rs b/runtime/common/src/weights/pallet_democracy.rs index e7565a9fd..0192ca072 100644 --- a/runtime/common/src/weights/pallet_democracy.rs +++ b/runtime/common/src/weights/pallet_democracy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -54,13 +54,13 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - Weight::from_ref_time(98_290_000) + Weight::from_ref_time(104_090_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Democracy DepositOf (r:1 w:1) fn second() -> Weight { - Weight::from_ref_time(100_530_000) + Weight::from_ref_time(87_920_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,7 +68,7 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new() -> Weight { - Weight::from_ref_time(105_080_000) + Weight::from_ref_time(110_850_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -76,14 +76,14 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing() -> Weight { - Weight::from_ref_time(104_600_000) + Weight::from_ref_time(110_480_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - Weight::from_ref_time(50_080_000) + Weight::from_ref_time(52_520_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,37 +94,37 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) fn blacklist() -> Weight { - Weight::from_ref_time(172_771_000) + Weight::from_ref_time(170_441_000) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(7)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { - Weight::from_ref_time(40_640_000) + Weight::from_ref_time(39_940_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - Weight::from_ref_time(12_481_000).saturating_add(T::DbWeight::get().writes(1)) + Weight::from_ref_time(10_580_000).saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(11_100_000).saturating_add(T::DbWeight::get().writes(1)) + Weight::from_ref_time(10_580_000).saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - Weight::from_ref_time(42_580_000) + Weight::from_ref_time(49_970_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external() -> Weight { - Weight::from_ref_time(52_180_000) + Weight::from_ref_time(59_000_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,21 +132,21 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn cancel_proposal() -> Weight { - Weight::from_ref_time(141_160_000) + Weight::from_ref_time(147_750_000) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - Weight::from_ref_time(33_260_000).saturating_add(T::DbWeight::get().writes(1)) + Weight::from_ref_time(34_150_000).saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy LowestUnbaked (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:2 w:0) fn on_initialize_base(r: u32) -> Weight { - Weight::from_ref_time(24_272_890) - // Standard Error: 45_748 - .saturating_add(Weight::from_ref_time(4_279_347).saturating_mul(r.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,9 +158,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy PublicProps (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:2 w:0) fn on_initialize_base_with_launch_period(r: u32) -> Weight { - Weight::from_ref_time(39_462_309) - // Standard Error: 66_066 - .saturating_add(Weight::from_ref_time(4_152_592).saturating_mul(r.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -169,9 +169,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:2 w:2) fn delegate(r: u32) -> Weight { - Weight::from_ref_time(111_222_324) - // Standard Error: 90_703 - .saturating_add(Weight::from_ref_time(5_859_871).saturating_mul(r.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -180,9 +180,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:2 w:2) fn undelegate(r: u32) -> Weight { - Weight::from_ref_time(63_535_926) - // Standard Error: 48_577 - .saturating_add(Weight::from_ref_time(6_012_876).saturating_mul(r.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -190,15 +190,15 @@ impl pallet_democracy::weights::WeightInfo for WeightIn } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(11_520_000).saturating_add(T::DbWeight::get().writes(1)) + Weight::from_ref_time(13_860_000).saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_remove(r: u32) -> Weight { - Weight::from_ref_time(63_513_594) - // Standard Error: 11_170 - .saturating_add(Weight::from_ref_time(89_723).saturating_mul(r.into())) + 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)) } @@ -206,27 +206,27 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_set(r: u32) -> Weight { - Weight::from_ref_time(65_108_945) - // Standard Error: 11_691 - .saturating_add(Weight::from_ref_time(123_038).saturating_mul(r.into())) + 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) fn remove_vote(r: u32) -> Weight { - Weight::from_ref_time(36_965_310) - // Standard Error: 8_056 - .saturating_add(Weight::from_ref_time(220_965).saturating_mul(r.into())) + 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) fn remove_other_vote(r: u32) -> Weight { - Weight::from_ref_time(38_194_924) - // Standard Error: 8_041 - .saturating_add(Weight::from_ref_time(220_191).saturating_mul(r.into())) + 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)) } diff --git a/runtime/common/src/weights/pallet_identity.rs b/runtime/common/src/weights/pallet_identity.rs index 81350d7b4..9d1b5c8f5 100644 --- a/runtime/common/src/weights/pallet_identity.rs +++ b/runtime/common/src/weights/pallet_identity.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_identity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,17 +51,19 @@ 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(36_456_581) - // Standard Error: 72_408 - .saturating_add(Weight::from_ref_time(1_348_584).saturating_mul(r.into())) + 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) - fn set_identity(_r: u32, x: u32) -> Weight { - Weight::from_ref_time(80_447_344) - // Standard Error: 16_101 - .saturating_add(Weight::from_ref_time(575_860).saturating_mul(x.into())) + 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)) } @@ -69,9 +71,9 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity SuperOf (r:1 w:1) fn set_subs_new(s: u32) -> Weight { - Weight::from_ref_time(65_424_372) - // Standard Error: 77_163 - .saturating_add(Weight::from_ref_time(4_689_142).saturating_mul(s.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -81,9 +83,9 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:1) fn set_subs_old(p: u32) -> Weight { - Weight::from_ref_time(61_974_018) - // Standard Error: 28_649 - .saturating_add(Weight::from_ref_time(2_121_057).saturating_mul(p.into())) + 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()))) @@ -92,11 +94,11 @@ impl pallet_identity::weights::WeightInfo for WeightInf // 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(85_428_532) - // Standard Error: 31_814 - .saturating_add(Weight::from_ref_time(2_073_394).saturating_mul(s.into())) - // Standard Error: 31_814 - .saturating_add(Weight::from_ref_time(308_654).saturating_mul(x.into())) + 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()))) @@ -104,54 +106,52 @@ impl pallet_identity::weights::WeightInfo for WeightInf // 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(80_068_360) - // Standard Error: 215_865 - .saturating_add(Weight::from_ref_time(750_304).saturating_mul(r.into())) - // Standard Error: 25_073 - .saturating_add(Weight::from_ref_time(450_914).saturating_mul(x.into())) + 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) - fn cancel_request(r: u32, x: u32) -> Weight { - Weight::from_ref_time(59_861_164) - // Standard Error: 137_117 - .saturating_add(Weight::from_ref_time(901_476).saturating_mul(r.into())) - // Standard Error: 15_926 - .saturating_add(Weight::from_ref_time(716_600).saturating_mul(x.into())) + 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)) } // Storage: Identity Registrars (r:1 w:1) fn set_fee(r: u32) -> Weight { - Weight::from_ref_time(22_294_648) - // Standard Error: 73_536 - .saturating_add(Weight::from_ref_time(133_892).saturating_mul(r.into())) + 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)) } // Storage: Identity Registrars (r:1 w:1) fn set_account_id(r: u32) -> Weight { - Weight::from_ref_time(20_476_423) - // Standard Error: 44_039 - .saturating_add(Weight::from_ref_time(533_257).saturating_mul(r.into())) + 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)) } // Storage: Identity Registrars (r:1 w:1) - fn set_fields(_r: u32) -> Weight { - Weight::from_ref_time(22_827_119) + 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) - fn provide_judgement(r: u32, x: u32) -> Weight { - Weight::from_ref_time(54_030_837) - // Standard Error: 202_102 - .saturating_add(Weight::from_ref_time(662_366).saturating_mul(r.into())) - // Standard Error: 20_654 - .saturating_add(Weight::from_ref_time(1_035_738).saturating_mul(x.into())) + 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)) } @@ -160,11 +160,11 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Storage: System Account (r:2 w:2) // Storage: Identity SuperOf (r:0 w:64) fn kill_identity(_r: u32, s: u32, x: u32) -> Weight { - Weight::from_ref_time(99_300_941) - // Standard Error: 32_425 - .saturating_add(Weight::from_ref_time(2_051_470).saturating_mul(s.into())) - // Standard Error: 32_425 - .saturating_add(Weight::from_ref_time(306_115).saturating_mul(x.into())) + 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()))) @@ -173,35 +173,35 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) fn add_sub(s: u32) -> Weight { - Weight::from_ref_time(72_724_281) - // Standard Error: 18_754 - .saturating_add(Weight::from_ref_time(273_742).saturating_mul(s.into())) + 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) fn rename_sub(s: u32) -> Weight { - Weight::from_ref_time(32_645_694) - // Standard Error: 9_797 - .saturating_add(Weight::from_ref_time(106_007).saturating_mul(s.into())) + 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) - fn remove_sub(_s: u32) -> Weight { - Weight::from_ref_time(97_259_908) + 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(61_346_387) - // Standard Error: 13_352 - .saturating_add(Weight::from_ref_time(127_602).saturating_mul(s.into())) + 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)) } diff --git a/runtime/common/src/weights/pallet_membership.rs b/runtime/common/src/weights/pallet_membership.rs index 7a4bf98b6..22c7f5c56 100644 --- a/runtime/common/src/weights/pallet_membership.rs +++ b/runtime/common/src/weights/pallet_membership.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -53,10 +53,8 @@ impl pallet_membership::weights::WeightInfo for WeightI // 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(49_272_130) - // Standard Error: 7_982 - .saturating_add(Weight::from_ref_time(43_349).saturating_mul(m.into())) + 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)) } @@ -66,9 +64,9 @@ impl pallet_membership::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Members (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn remove_member(m: u32) -> Weight { - Weight::from_ref_time(51_465_604) - // Standard Error: 6_535 - .saturating_add(Weight::from_ref_time(140_563).saturating_mul(m.into())) + 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)) } @@ -78,9 +76,9 @@ impl pallet_membership::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Members (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn swap_member(m: u32) -> Weight { - Weight::from_ref_time(51_255_629) - // Standard Error: 8_808 - .saturating_add(Weight::from_ref_time(127_496).saturating_mul(m.into())) + 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)) } @@ -90,9 +88,9 @@ impl pallet_membership::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Members (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn reset_member(m: u32) -> Weight { - Weight::from_ref_time(54_174_435) - // Standard Error: 10_677 - .saturating_add(Weight::from_ref_time(249_166).saturating_mul(m.into())) + 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)) } @@ -102,28 +100,26 @@ impl pallet_membership::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Members (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn change_key(m: u32) -> Weight { - Weight::from_ref_time(53_092_234) - // Standard Error: 19_225 - .saturating_add(Weight::from_ref_time(161_244).saturating_mul(m.into())) + 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)) } // 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(20_889_132) - // Standard Error: 3_898 - .saturating_add(Weight::from_ref_time(23_100).saturating_mul(m.into())) + 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 Prime (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn clear_prime(m: u32) -> Weight { - Weight::from_ref_time(11_734_227) - // Standard Error: 2_007 - .saturating_add(Weight::from_ref_time(16_147).saturating_mul(m.into())) + 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)) } } diff --git a/runtime/common/src/weights/pallet_multisig.rs b/runtime/common/src/weights/pallet_multisig.rs index 60d10ba89..34838bc83 100644 --- a/runtime/common/src/weights/pallet_multisig.rs +++ b/runtime/common/src/weights/pallet_multisig.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_multisig //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,64 +50,64 @@ 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(38_165_336) - // Standard Error: 79 - .saturating_add(Weight::from_ref_time(1_009).saturating_mul(z.into())) + Weight::from_ref_time(36_929_953) + // Standard Error: 65 + .saturating_add(Weight::from_ref_time(1_092).saturating_mul(z.into())) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create(s: u32, z: u32) -> Weight { - Weight::from_ref_time(72_667_678) - // Standard Error: 12_442 - .saturating_add(Weight::from_ref_time(184_019).saturating_mul(s.into())) - // Standard Error: 121 - .saturating_add(Weight::from_ref_time(2_517).saturating_mul(z.into())) + 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)) } // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32) -> Weight { - Weight::from_ref_time(54_581_046) - // Standard Error: 11_434 - .saturating_add(Weight::from_ref_time(146_604).saturating_mul(s.into())) - // Standard Error: 111 - .saturating_add(Weight::from_ref_time(2_558).saturating_mul(z.into())) + 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)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: System Account (r:1 w:1) fn as_multi_complete(s: u32, z: u32) -> Weight { - Weight::from_ref_time(67_536_167) - // Standard Error: 13_753 - .saturating_add(Weight::from_ref_time(283_522).saturating_mul(s.into())) - // Standard Error: 134 - .saturating_add(Weight::from_ref_time(2_872).saturating_mul(z.into())) + 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)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32) -> Weight { - Weight::from_ref_time(68_068_141) - // Standard Error: 10_770 - .saturating_add(Weight::from_ref_time(190_014).saturating_mul(s.into())) + 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)) } // Storage: Multisig Multisigs (r:1 w:1) fn approve_as_multi_approve(s: u32) -> Weight { - Weight::from_ref_time(49_692_105) - // Standard Error: 11_540 - .saturating_add(Weight::from_ref_time(185_756).saturating_mul(s.into())) + 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)) } // Storage: Multisig Multisigs (r:1 w:1) fn cancel_as_multi(s: u32) -> Weight { - Weight::from_ref_time(68_690_132) - // Standard Error: 12_309 - .saturating_add(Weight::from_ref_time(179_635).saturating_mul(s.into())) + 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)) } diff --git a/runtime/common/src/weights/pallet_parachain_staking.rs b/runtime/common/src/weights/pallet_parachain_staking.rs index 2414c7f0d..f1fa16d04 100644 --- a/runtime/common/src/weights/pallet_parachain_staking.rs +++ b/runtime/common/src/weights/pallet_parachain_staking.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,39 +51,39 @@ pub struct WeightInfo(PhantomData); impl pallet_parachain_staking::weights::WeightInfo for WeightInfo { // Storage: ParachainStaking InflationConfig (r:1 w:1) fn set_staking_expectations() -> Weight { - Weight::from_ref_time(43_160_000) + 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) fn set_inflation() -> Weight { - Weight::from_ref_time(107_700_000) + 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) fn set_parachain_bond_account() -> Weight { - Weight::from_ref_time(41_830_000) + 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) fn set_parachain_bond_reserve_percent() -> Weight { - Weight::from_ref_time(41_270_000) + 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) fn set_total_selected() -> Weight { - Weight::from_ref_time(46_450_000) + 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) fn set_collator_commission() -> Weight { - Weight::from_ref_time(33_500_000) + Weight::from_ref_time(32_030_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,7 +91,7 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking TotalSelected (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:1) fn set_blocks_per_round() -> Weight { - Weight::from_ref_time(116_820_000) + Weight::from_ref_time(94_490_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -104,9 +104,9 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking TopDelegations (r:0 w:1) // Storage: ParachainStaking BottomDelegations (r:0 w:1) fn join_candidates(x: u32) -> Weight { - Weight::from_ref_time(129_065_409) - // Standard Error: 3_906 - .saturating_add(Weight::from_ref_time(412_742).saturating_mul(x.into())) + 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)) } @@ -114,9 +114,9 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking Round (r:1 w:0) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn schedule_leave_candidates(x: u32) -> Weight { - Weight::from_ref_time(135_178_393) - // Standard Error: 6_003 - .saturating_add(Weight::from_ref_time(346_572).saturating_mul(x.into())) + 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)) } @@ -131,9 +131,9 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking BottomDelegations (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_leave_candidates(x: u32) -> Weight { - Weight::from_ref_time(141_801_000) - // Standard Error: 154_543 - .saturating_add(Weight::from_ref_time(44_910_812).saturating_mul(x.into())) + 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)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -142,23 +142,23 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn cancel_leave_candidates(x: u32) -> Weight { - Weight::from_ref_time(134_183_657) - // Standard Error: 5_589 - .saturating_add(Weight::from_ref_time(378_915).saturating_mul(x.into())) + 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) fn go_offline() -> Weight { - Weight::from_ref_time(53_880_000) + 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) fn go_online() -> Weight { - Weight::from_ref_time(72_360_000) + Weight::from_ref_time(48_011_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -168,14 +168,14 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: Balances Locks (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn candidate_bond_more() -> Weight { - Weight::from_ref_time(129_931_000) + 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) fn schedule_candidate_bond_less() -> Weight { - Weight::from_ref_time(61_520_000) + Weight::from_ref_time(48_040_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,13 +186,13 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: System Account (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn execute_candidate_bond_less() -> Weight { - Weight::from_ref_time(118_561_000) + 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) fn cancel_candidate_bond_less() -> Weight { - Weight::from_ref_time(56_051_000) + Weight::from_ref_time(47_110_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,11 +204,11 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: Balances Locks (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn delegate(x: u32, y: u32) -> Weight { - Weight::from_ref_time(244_461_546) - // Standard Error: 56_634 - .saturating_add(Weight::from_ref_time(615_233).saturating_mul(x.into())) - // Standard Error: 18_579 - .saturating_add(Weight::from_ref_time(586_121).saturating_mul(y.into())) + 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)) } @@ -216,7 +216,7 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking Round (r:1 w:0) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn schedule_leave_delegators() -> Weight { - Weight::from_ref_time(56_100_000) + Weight::from_ref_time(59_610_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -231,9 +231,9 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn execute_leave_delegators(x: u32) -> Weight { - Weight::from_ref_time(28_471_380) - // Standard Error: 214_039 - .saturating_add(Weight::from_ref_time(38_360_423).saturating_mul(x.into())) + 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)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -242,7 +242,7 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) fn cancel_leave_delegators() -> Weight { - Weight::from_ref_time(68_520_000) + Weight::from_ref_time(62_711_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -250,7 +250,7 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_revoke_delegation() -> Weight { - Weight::from_ref_time(66_820_000) + Weight::from_ref_time(49_690_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -263,7 +263,7 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn delegator_bond_more() -> Weight { - Weight::from_ref_time(115_150_000) + Weight::from_ref_time(106_200_000) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -271,7 +271,7 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_delegator_bond_less() -> Weight { - Weight::from_ref_time(55_230_000) + Weight::from_ref_time(50_160_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -286,7 +286,7 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_revoke_delegation() -> Weight { - Weight::from_ref_time(145_750_000) + Weight::from_ref_time(115_551_000) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -300,21 +300,21 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_delegator_bond_less() -> Weight { - Weight::from_ref_time(126_021_000) + 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) fn cancel_revoke_delegation() -> Weight { - Weight::from_ref_time(55_310_000) + 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) fn cancel_delegator_bond_less() -> Weight { - Weight::from_ref_time(66_461_000) + Weight::from_ref_time(58_521_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -326,16 +326,16 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking CollatorCommission (r:1 w:0) // Storage: ParachainStaking DelayedPayouts (r:0 w:1) fn prepare_staking_payouts() -> Weight { - Weight::from_ref_time(79_151_000) + 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) fn get_rewardable_delegators(y: u32) -> Weight { - Weight::from_ref_time(21_370_445) - // Standard Error: 9_783 - .saturating_add(Weight::from_ref_time(523_369).saturating_mul(y.into())) + 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) @@ -347,11 +347,11 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking SelectedCandidates (r:0 w:1) // Storage: ParachainStaking AtStake (r:0 w:1) fn select_top_candidates(x: u32, y: u32) -> Weight { - Weight::from_ref_time(54_871_000) - // Standard Error: 1_142_271 - .saturating_add(Weight::from_ref_time(51_287_999).saturating_mul(x.into())) - // Standard Error: 569_619 - .saturating_add(Weight::from_ref_time(12_603_284).saturating_mul(y.into())) + 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)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -363,9 +363,9 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: ParachainStaking AwardedPts (r:1 w:1) // Storage: System Account (r:1 w:1) fn pay_one_collator_reward(y: u32) -> Weight { - Weight::from_ref_time(87_691_716) - // Standard Error: 125_172 - .saturating_add(Weight::from_ref_time(22_739_942).saturating_mul(y.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -373,16 +373,16 @@ impl pallet_parachain_staking::weights::WeightInfo for } // Storage: ParachainStaking Round (r:1 w:0) fn base_on_initialize() -> Weight { - Weight::from_ref_time(18_900_000).saturating_add(T::DbWeight::get().reads(1)) + 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) fn set_auto_compound(x: u32, y: u32) -> Weight { - Weight::from_ref_time(127_243_485) - // Standard Error: 14_961 - .saturating_add(Weight::from_ref_time(785_483).saturating_mul(x.into())) - // Standard Error: 44_787 - .saturating_add(Weight::from_ref_time(380_846).saturating_mul(y.into())) + 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)) } @@ -395,18 +395,20 @@ impl pallet_parachain_staking::weights::WeightInfo for // Storage: Balances Locks (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) // Storage: ParachainStaking BottomDelegations (r:1 w:1) - fn delegate_with_auto_compound(x: u32, y: u32, _z: u32) -> Weight { - Weight::from_ref_time(364_616_021) - // Standard Error: 15_175 - .saturating_add(Weight::from_ref_time(366_352).saturating_mul(x.into())) - // Standard Error: 15_175 - .saturating_add(Weight::from_ref_time(247_578).saturating_mul(y.into())) + 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) fn mint_collator_reward() -> Weight { - Weight::from_ref_time(60_690_000) + Weight::from_ref_time(50_830_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_preimage.rs b/runtime/common/src/weights/pallet_preimage.rs index 5e6dca906..6e35654da 100644 --- a/runtime/common/src/weights/pallet_preimage.rs +++ b/runtime/common/src/weights/pallet_preimage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -52,84 +52,84 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn note_preimage(s: u32) -> Weight { - Weight::from_ref_time(55_340_000) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(3_141).saturating_mul(s.into())) + 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)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn note_requested_preimage(s: u32) -> Weight { - Weight::from_ref_time(39_670_000) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(3_125).saturating_mul(s.into())) + 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)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn note_no_deposit_preimage(s: u32) -> Weight { - Weight::from_ref_time(37_580_000) + Weight::from_ref_time(39_160_000) // Standard Error: 7 - .saturating_add(Weight::from_ref_time(3_106).saturating_mul(s.into())) + .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)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(100_630_000) + Weight::from_ref_time(112_570_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(75_170_000) + Weight::from_ref_time(83_560_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(73_420_000) + Weight::from_ref_time(78_500_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(43_830_000) + Weight::from_ref_time(47_780_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(50_140_000) + Weight::from_ref_time(80_300_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(22_180_000) + Weight::from_ref_time(21_190_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(72_510_000) + Weight::from_ref_time(76_891_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(21_040_000) + Weight::from_ref_time(21_810_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(21_330_000) + Weight::from_ref_time(21_410_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/common/src/weights/pallet_proxy.rs b/runtime/common/src/weights/pallet_proxy.rs index b56461d44..47f831231 100644 --- a/runtime/common/src/weights/pallet_proxy.rs +++ b/runtime/common/src/weights/pallet_proxy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_proxy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,85 +50,90 @@ use frame_support::{ pub struct WeightInfo(PhantomData); impl pallet_proxy::weights::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) - fn proxy(_p: u32) -> Weight { - Weight::from_ref_time(49_370_877).saturating_add(T::DbWeight::get().reads(1)) + 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)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - fn proxy_announced(a: u32, p: u32) -> Weight { - Weight::from_ref_time(72_032_840) - // Standard Error: 36_621 - .saturating_add(Weight::from_ref_time(307_613).saturating_mul(a.into())) - // Standard Error: 37_837 - .saturating_add(Weight::from_ref_time(143_711).saturating_mul(p.into())) + 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)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - fn remove_announcement(a: u32, _p: u32) -> Weight { - Weight::from_ref_time(57_349_664) - // Standard Error: 20_115 - .saturating_add(Weight::from_ref_time(184_478).saturating_mul(a.into())) + 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)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_announcement(a: u32, _p: u32) -> Weight { - Weight::from_ref_time(57_150_888) - // Standard Error: 25_979 - .saturating_add(Weight::from_ref_time(218_503).saturating_mul(a.into())) + 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)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - fn announce(a: u32, p: u32) -> Weight { - Weight::from_ref_time(66_170_402) - // Standard Error: 37_777 - .saturating_add(Weight::from_ref_time(266_770).saturating_mul(a.into())) - // Standard Error: 39_031 - .saturating_add(Weight::from_ref_time(158_262).saturating_mul(p.into())) + 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)) } // Storage: Proxy Proxies (r:1 w:1) - fn add_proxy(_p: u32) -> Weight { - Weight::from_ref_time(63_649_537) + 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)) } // Storage: Proxy Proxies (r:1 w:1) fn remove_proxy(p: u32) -> Weight { - Weight::from_ref_time(61_217_449) - // Standard Error: 69_557 - .saturating_add(Weight::from_ref_time(103_796).saturating_mul(p.into())) + 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) - fn remove_proxies(_p: u32) -> Weight { - Weight::from_ref_time(53_722_688) + 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)) } // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) fn create_pure(p: u32) -> Weight { - Weight::from_ref_time(61_779_757) - // Standard Error: 26_030 - .saturating_add(Weight::from_ref_time(148_621).saturating_mul(p.into())) + 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) fn kill_pure(p: u32) -> Weight { - Weight::from_ref_time(51_320_168) - // Standard Error: 48_401 - .saturating_add(Weight::from_ref_time(286_510).saturating_mul(p.into())) + 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)) } diff --git a/runtime/common/src/weights/pallet_scheduler.rs b/runtime/common/src/weights/pallet_scheduler.rs index c6aa5d61f..0c8e66e01 100644 --- a/runtime/common/src/weights/pallet_scheduler.rs +++ b/runtime/common/src/weights/pallet_scheduler.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,75 +51,75 @@ pub struct WeightInfo(PhantomData); impl pallet_scheduler::weights::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { - Weight::from_ref_time(10_940_000) + Weight::from_ref_time(11_880_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Scheduler Agenda (r:1 w:1) fn service_agenda_base(s: u32) -> Weight { - Weight::from_ref_time(19_377_799) - // Standard Error: 11_311 - .saturating_add(Weight::from_ref_time(579_592).saturating_mul(s.into())) + 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)) } fn service_task_base() -> Weight { - Weight::from_ref_time(19_710_000) + Weight::from_ref_time(23_750_000) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn service_task_fetched(s: u32) -> Weight { - Weight::from_ref_time(40_100_000) + Weight::from_ref_time(51_490_000) // Standard Error: 7 - .saturating_add(Weight::from_ref_time(2_319).saturating_mul(s.into())) + .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)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { - Weight::from_ref_time(25_890_000).saturating_add(T::DbWeight::get().writes(1)) + Weight::from_ref_time(22_690_000).saturating_add(T::DbWeight::get().writes(1)) } fn service_task_periodic() -> Weight { - Weight::from_ref_time(22_350_000) + Weight::from_ref_time(24_121_000) } fn execute_dispatch_signed() -> Weight { - Weight::from_ref_time(10_190_000) + Weight::from_ref_time(9_010_000) } fn execute_dispatch_unsigned() -> Weight { - Weight::from_ref_time(9_820_000) + Weight::from_ref_time(8_660_000) } // Storage: Scheduler Agenda (r:1 w:1) fn schedule(s: u32) -> Weight { - Weight::from_ref_time(41_152_734) - // Standard Error: 17_546 - .saturating_add(Weight::from_ref_time(748_919).saturating_mul(s.into())) + 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)) } // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn cancel(s: u32) -> Weight { - Weight::from_ref_time(43_238_810) - // Standard Error: 55_356 - .saturating_add(Weight::from_ref_time(685_671).saturating_mul(s.into())) + 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)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn schedule_named(s: u32) -> Weight { - Weight::from_ref_time(52_651_104) - // Standard Error: 21_414 - .saturating_add(Weight::from_ref_time(700_997).saturating_mul(s.into())) + 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)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_named(s: u32) -> Weight { - Weight::from_ref_time(45_047_745) - // Standard Error: 29_621 - .saturating_add(Weight::from_ref_time(805_160).saturating_mul(s.into())) + 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)) } diff --git a/runtime/common/src/weights/pallet_timestamp.rs b/runtime/common/src/weights/pallet_timestamp.rs index e89ebee39..66be5ef24 100644 --- a/runtime/common/src/weights/pallet_timestamp.rs +++ b/runtime/common/src/weights/pallet_timestamp.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -52,11 +52,11 @@ impl pallet_timestamp::weights::WeightInfo for WeightIn // Storage: Timestamp Now (r:1 w:1) // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { - Weight::from_ref_time(23_320_000) + Weight::from_ref_time(28_450_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { - Weight::from_ref_time(9_440_000) + Weight::from_ref_time(11_150_000) } } diff --git a/runtime/common/src/weights/pallet_treasury.rs b/runtime/common/src/weights/pallet_treasury.rs index 8dcf0822c..e017457cc 100644 --- a/runtime/common/src/weights/pallet_treasury.rs +++ b/runtime/common/src/weights/pallet_treasury.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,49 +49,56 @@ 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) fn spend() -> Weight { - Weight::from_ref_time(420_000) + Weight::from_ref_time(38_000_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - Weight::from_ref_time(64_090_000) + Weight::from_ref_time(47_441_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - Weight::from_ref_time(115_590_000) + Weight::from_ref_time(66_720_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32) -> Weight { - Weight::from_ref_time(31_433_705) - // Standard Error: 8_472 - .saturating_add(Weight::from_ref_time(163_123).saturating_mul(p.into())) + 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)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - Weight::from_ref_time(22_090_000) + Weight::from_ref_time(33_281_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // 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) fn on_initialize_proposals(p: u32) -> Weight { - Weight::from_ref_time(96_278_965) - // Standard Error: 220_612 - .saturating_add(Weight::from_ref_time(50_550_106).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) + 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)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) } } diff --git a/runtime/common/src/weights/pallet_utility.rs b/runtime/common/src/weights/pallet_utility.rs index 925287179..8fa2fed0a 100644 --- a/runtime/common/src/weights/pallet_utility.rs +++ b/runtime/common/src/weights/pallet_utility.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,24 +50,24 @@ use frame_support::{ pub struct WeightInfo(PhantomData); impl pallet_utility::weights::WeightInfo for WeightInfo { fn batch(c: u32) -> Weight { - Weight::from_ref_time(61_536_208) - // Standard Error: 32_098 - .saturating_add(Weight::from_ref_time(6_834_629).saturating_mul(c.into())) + Weight::from_ref_time(58_239_300) + // Standard Error: 67_448 + .saturating_add(Weight::from_ref_time(7_264_706).saturating_mul(c.into())) } fn as_derivative() -> Weight { - Weight::from_ref_time(11_280_000) + Weight::from_ref_time(14_790_000) } fn batch_all(c: u32) -> Weight { - Weight::from_ref_time(68_725_254) - // Standard Error: 74_915 - .saturating_add(Weight::from_ref_time(7_086_342).saturating_mul(c.into())) + Weight::from_ref_time(71_049_100) + // Standard Error: 36_692 + .saturating_add(Weight::from_ref_time(7_366_227).saturating_mul(c.into())) } fn dispatch_as() -> Weight { - Weight::from_ref_time(29_651_000) + Weight::from_ref_time(34_180_000) } fn force_batch(c: u32) -> Weight { - Weight::from_ref_time(44_095_553) - // Standard Error: 42_478 - .saturating_add(Weight::from_ref_time(6_889_418).saturating_mul(c.into())) + Weight::from_ref_time(42_443_655) + // Standard Error: 30_677 + .saturating_add(Weight::from_ref_time(7_153_347).saturating_mul(c.into())) } } diff --git a/runtime/common/src/weights/pallet_vesting.rs b/runtime/common/src/weights/pallet_vesting.rs index 816828b30..791b82d51 100644 --- a/runtime/common/src/weights/pallet_vesting.rs +++ b/runtime/common/src/weights/pallet_vesting.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,79 +51,83 @@ 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) - fn vest_locked(_l: u32, _s: u32) -> Weight { - Weight::from_ref_time(85_544_975) + 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)) } // 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(75_082_333) - // Standard Error: 18_779 - .saturating_add(Weight::from_ref_time(34_278).saturating_mul(l.into())) + 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) // 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(73_374_350) - // Standard Error: 27_882 - .saturating_add(Weight::from_ref_time(128_634).saturating_mul(l.into())) - // Standard Error: 49_608 - .saturating_add(Weight::from_ref_time(84_882).saturating_mul(s.into())) + 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) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - fn vest_other_unlocked(l: u32, _s: u32) -> Weight { - Weight::from_ref_time(76_215_515) - // Standard Error: 19_548 - .saturating_add(Weight::from_ref_time(101_337).saturating_mul(l.into())) + 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)) } // 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(118_807_907) - // Standard Error: 60_813 - .saturating_add(Weight::from_ref_time(110_493).saturating_mul(s.into())) + 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) // 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(106_522_865) - // Standard Error: 23_952 - .saturating_add(Weight::from_ref_time(3_840).saturating_mul(l.into())) + 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) // Storage: Balances Locks (r:1 w:1) fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight { - Weight::from_ref_time(70_111_662) - // Standard Error: 33_456 - .saturating_add(Weight::from_ref_time(143_598).saturating_mul(l.into())) - // Standard Error: 61_785 - .saturating_add(Weight::from_ref_time(281_993).saturating_mul(s.into())) + 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)) } // 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(89_750_684) - // Standard Error: 22_761 - .saturating_add(Weight::from_ref_time(6_320).saturating_mul(l.into())) + 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)) } diff --git a/zrml/authorized/src/weights.rs b/zrml/authorized/src/weights.rs index 7107197b6..c76b1faf8 100644 --- a/zrml/authorized/src/weights.rs +++ b/zrml/authorized/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_authorized //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-03, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -57,16 +57,16 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) fn authorize_market_outcome_first_report(m: u32) -> Weight { - Weight::from_ref_time(47_806_550) - // Standard Error: 2_455 - .saturating_add(Weight::from_ref_time(159_587).saturating_mul(m.into())) + 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)) } // Storage: MarketCommons Markets (r:1 w:0) // Storage: Authorized AuthorizedOutcomeReports (r:1 w:1) fn authorize_market_outcome_existing_report() -> Weight { - Weight::from_ref_time(36_210_000) + Weight::from_ref_time(39_720_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/zrml/court/src/weights.rs b/zrml/court/src/weights.rs index 4e143bd35..8b36a4e2c 100644 --- a/zrml/court/src/weights.rs +++ b/zrml/court/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_court //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-03, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -60,7 +60,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Court RequestedJurors (r:1 w:0) // Storage: Court Votes (r:1 w:0) fn exit_court() -> Weight { - Weight::from_ref_time(95_481_000) + Weight::from_ref_time(96_020_000) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -68,14 +68,14 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Court CounterForJurors (r:1 w:1) // Storage: Balances Reserves (r:1 w:1) fn join_court() -> Weight { - Weight::from_ref_time(70_280_000) + Weight::from_ref_time(66_170_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Court Jurors (r:1 w:0) // Storage: Court Votes (r:0 w:1) fn vote() -> Weight { - Weight::from_ref_time(29_221_000) + Weight::from_ref_time(29_180_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/zrml/global-disputes/src/weights.rs b/zrml/global-disputes/src/weights.rs index 857f4f50c..50fea5dce 100644 --- a/zrml/global-disputes/src/weights.rs +++ b/zrml/global-disputes/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_global_disputes //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-04, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -63,9 +63,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: GlobalDisputes Locks (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_on_outcome(_o: u32, v: u32) -> Weight { - Weight::from_ref_time(93_890_801) - // Standard Error: 4_773 - .saturating_add(Weight::from_ref_time(67_074).saturating_mul(v.into())) + 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)) } @@ -74,11 +74,11 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: GlobalDisputes Winners (r:5 w:0) fn unlock_vote_balance_set(l: u32, o: u32) -> Weight { - Weight::from_ref_time(54_701_711) - // Standard Error: 9_006 - .saturating_add(Weight::from_ref_time(4_095_037).saturating_mul(l.into())) - // Standard Error: 50_416 - .saturating_add(Weight::from_ref_time(1_163_200).saturating_mul(o.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -88,11 +88,11 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: GlobalDisputes Winners (r:5 w:0) fn unlock_vote_balance_remove(l: u32, o: u32) -> Weight { - Weight::from_ref_time(51_010_679) - // Standard Error: 10_979 - .saturating_add(Weight::from_ref_time(3_823_097).saturating_mul(l.into())) - // Standard Error: 61_465 - .saturating_add(Weight::from_ref_time(1_038_180).saturating_mul(o.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(l.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -101,7 +101,7 @@ impl WeightInfoZeitgeist for WeightInfo { // 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(98_902_233) + Weight::from_ref_time(100_295_681) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -109,9 +109,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: GlobalDisputes Winners (r:1 w:0) // Storage: System Account (r:2 w:2) fn reward_outcome_owner_with_funds(o: u32) -> Weight { - Weight::from_ref_time(76_593_831) - // Standard Error: 91_657 - .saturating_add(Weight::from_ref_time(33_400_709).saturating_mul(o.into())) + Weight::from_ref_time(86_274_827) + // Standard Error: 107_080 + .saturating_add(Weight::from_ref_time(31_467_061).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(o.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -120,18 +120,15 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: GlobalDisputes Outcomes (r:1 w:0) // Storage: GlobalDisputes Winners (r:1 w:0) // Storage: System Account (r:1 w:0) - fn reward_outcome_owner_no_funds(o: u32) -> Weight { - Weight::from_ref_time(50_422_304) - // Standard Error: 17_729 - .saturating_add(Weight::from_ref_time(241_523).saturating_mul(o.into())) - .saturating_add(T::DbWeight::get().reads(3)) + fn reward_outcome_owner_no_funds(_o: u32) -> Weight { + Weight::from_ref_time(54_754_528).saturating_add(T::DbWeight::get().reads(3)) } // Storage: GlobalDisputes Winners (r:1 w:1) // Storage: GlobalDisputes Outcomes (r:3 w:2) fn purge_outcomes(k: u32, _o: u32) -> Weight { - Weight::from_ref_time(54_949_286) - // Standard Error: 24_665 - .saturating_add(Weight::from_ref_time(18_770_116).saturating_mul(k.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/zrml/liquidity-mining/src/weights.rs b/zrml/liquidity-mining/src/weights.rs index 65032703c..ad8639af2 100644 --- a/zrml/liquidity-mining/src/weights.rs +++ b/zrml/liquidity-mining/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_liquidity_mining //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-04, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -54,6 +54,6 @@ pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { // Storage: LiquidityMining PerBlockIncentive (r:0 w:1) fn set_per_block_distribution() -> Weight { - Weight::from_ref_time(11_010_000).saturating_add(T::DbWeight::get().writes(1)) + Weight::from_ref_time(9_400_000).saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/zrml/prediction-markets/src/weights.rs b/zrml/prediction-markets/src/weights.rs index 46f3d8a26..d74189b2e 100644 --- a/zrml/prediction-markets/src/weights.rs +++ b/zrml/prediction-markets/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_prediction_markets //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-04, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -92,12 +92,18 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens TotalIssuance (r:2 w:2) // Storage: PredictionMarkets Disputes (r:1 w:1) // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) - fn admin_destroy_disputed_market(a: u32, d: u32, _o: u32, _c: u32, _r: u32) -> Weight { - Weight::from_ref_time(331_502_038) - // Standard Error: 45_296 - .saturating_add(Weight::from_ref_time(33_235_751).saturating_mul(a.into())) - // Standard Error: 517_559 - .saturating_add(Weight::from_ref_time(27_616_948).saturating_mul(d.into())) + fn admin_destroy_disputed_market(a: u32, d: u32, o: u32, c: u32, r: u32) -> Weight { + Weight::from_ref_time(97_831_295) + // Standard Error: 44_990 + .saturating_add(Weight::from_ref_time(32_382_881).saturating_mul(a.into())) + // Standard Error: 514_058 + .saturating_add(Weight::from_ref_time(36_068_793).saturating_mul(d.into())) + // Standard Error: 44_768 + .saturating_add(Weight::from_ref_time(546_560).saturating_mul(o.into())) + // Standard Error: 44_768 + .saturating_add(Weight::from_ref_time(611_992).saturating_mul(c.into())) + // Standard Error: 44_768 + .saturating_add(Weight::from_ref_time(66_516).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into()))) @@ -114,16 +120,12 @@ impl WeightInfoZeitgeist for WeightInfo { // 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(192_934_925) - // Standard Error: 43_185 - .saturating_add(Weight::from_ref_time(33_238_915).saturating_mul(a.into())) - // Standard Error: 42_970 - .saturating_add(Weight::from_ref_time(429_212).saturating_mul(o.into())) - // Standard Error: 42_970 - .saturating_add(Weight::from_ref_time(294_509).saturating_mul(c.into())) - // Standard Error: 42_970 - .saturating_add(Weight::from_ref_time(157_828).saturating_mul(r.into())) + 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().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(8)) @@ -135,9 +137,9 @@ impl WeightInfoZeitgeist for WeightInfo { // 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(94_072_448) - // Standard Error: 2_817 - .saturating_add(Weight::from_ref_time(247).saturating_mul(c.into())) + 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)) } @@ -146,10 +148,8 @@ impl WeightInfoZeitgeist for WeightInfo { // 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(132_737_191) - // Standard Error: 5_737 - .saturating_add(Weight::from_ref_time(31_566).saturating_mul(r.into())) + 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)) } @@ -160,9 +160,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Swaps Pools (r:1 w:1) // Storage: PredictionMarkets Disputes (r:0 w:1) fn admin_move_market_to_resolved_categorical_reported(r: u32) -> Weight { - Weight::from_ref_time(203_045_839) - // Standard Error: 9_381 - .saturating_add(Weight::from_ref_time(57_132).saturating_mul(r.into())) + 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)) } @@ -175,7 +175,7 @@ impl WeightInfoZeitgeist for WeightInfo { // 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(209_124_517) + Weight::from_ref_time(201_819_789) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -189,9 +189,9 @@ impl WeightInfoZeitgeist for WeightInfo { // 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(273_470_019) - // Standard Error: 13_156 - .saturating_add(Weight::from_ref_time(33_422).saturating_mul(r.into())) + 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)) } @@ -199,16 +199,16 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: PredictionMarkets MarketIdsForEdit (r:1 w:0) // Storage: Balances Reserves (r:1 w:1) fn approve_market() -> Weight { - Weight::from_ref_time(85_550_000) + 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) fn request_edit(r: u32) -> Weight { - Weight::from_ref_time(49_837_413) - // Standard Error: 164 - .saturating_add(Weight::from_ref_time(4_713).saturating_mul(r.into())) + 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)) } @@ -217,9 +217,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:2 w:2) // Storage: Tokens TotalIssuance (r:2 w:2) fn buy_complete_set(a: u32) -> Weight { - Weight::from_ref_time(110_070_913) - // Standard Error: 36_764 - .saturating_add(Weight::from_ref_time(22_987_680).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -231,9 +231,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) // Storage: MarketCommons Markets (r:0 w:1) fn create_market(m: u32) -> Weight { - Weight::from_ref_time(91_895_531) - // Standard Error: 4_875 - .saturating_add(Weight::from_ref_time(19_771).saturating_mul(m.into())) + 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)) } @@ -242,9 +242,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) // Storage: Timestamp Now (r:1 w:0) fn edit_market(m: u32) -> Weight { - Weight::from_ref_time(80_372_235) - // Standard Error: 4_373 - .saturating_add(Weight::from_ref_time(63_292).saturating_mul(m.into())) + 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)) } @@ -257,12 +257,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) // Storage: MarketCommons MarketPool (r:1 w:1) // Storage: Swaps Pools (r:0 w:1) - fn deploy_swap_pool_for_market_future_pool(a: u32, o: u32) -> Weight { - Weight::from_ref_time(160_131_795) - // Standard Error: 48_880 - .saturating_add(Weight::from_ref_time(38_356_359).saturating_mul(a.into())) - // Standard Error: 48_625 - .saturating_add(Weight::from_ref_time(195_292).saturating_mul(o.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(7)) @@ -277,9 +275,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons MarketPool (r:1 w:1) // Storage: Swaps Pools (r:0 w:1) fn deploy_swap_pool_for_market_open_pool(a: u32) -> Weight { - Weight::from_ref_time(178_774_847) - // Standard Error: 50_856 - .saturating_add(Weight::from_ref_time(38_006_259).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -290,10 +288,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: GlobalDisputes Winners (r:1 w:1) // Storage: GlobalDisputes Outcomes (r:7 w:7) // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:2 w:2) - fn start_global_dispute(_m: u32, n: u32) -> Weight { - Weight::from_ref_time(159_865_860) - // Standard Error: 5_161 - .saturating_add(Weight::from_ref_time(12_985).saturating_mul(n.into())) + fn start_global_dispute(m: u32, _n: u32) -> Weight { + Weight::from_ref_time(154_547_825) + // Standard Error: 4_967 + .saturating_add(Weight::from_ref_time(54_777).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(10)) } @@ -301,7 +299,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons Markets (r:1 w:1) // Storage: Balances Reserves (r:1 w:1) fn dispute_authorized() -> Weight { - Weight::from_ref_time(92_960_000) + Weight::from_ref_time(90_441_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -309,7 +307,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Balances Reserves (r:1 w:1) // Storage: PredictionMarkets MarketIdsForEdit (r:0 w:1) fn handle_expired_advised_market() -> Weight { - Weight::from_ref_time(90_790_000) + Weight::from_ref_time(88_150_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -319,7 +317,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Swaps Pools (r:1 w:1) // Storage: PredictionMarkets Disputes (r:0 w:1) fn internal_resolve_categorical_reported() -> Weight { - Weight::from_ref_time(181_580_000) + Weight::from_ref_time(173_470_000) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -331,7 +329,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons MarketPool (r:1 w:0) // Storage: Swaps Pools (r:1 w:1) fn internal_resolve_categorical_disputed() -> Weight { - Weight::from_ref_time(242_391_000) + Weight::from_ref_time(234_201_000) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -340,7 +338,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons MarketPool (r:1 w:0) // Storage: PredictionMarkets Disputes (r:0 w:1) fn internal_resolve_scalar_reported() -> Weight { - Weight::from_ref_time(104_231_000) + Weight::from_ref_time(98_370_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -352,7 +350,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: MarketCommons MarketPool (r:1 w:0) fn internal_resolve_scalar_disputed() -> Weight { - Weight::from_ref_time(164_900_000) + Weight::from_ref_time(163_490_000) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -366,15 +364,15 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) fn on_initialize_resolve_overhead() -> Weight { - Weight::from_ref_time(49_540_000) + 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) fn process_subsidy_collecting_markets_raw(a: u32) -> Weight { - Weight::from_ref_time(10_265_150) - // Standard Error: 5_398 - .saturating_add(Weight::from_ref_time(460_564).saturating_mul(a.into())) + 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)) } @@ -383,7 +381,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn redeem_shares_categorical() -> Weight { - Weight::from_ref_time(147_551_000) + Weight::from_ref_time(138_340_000) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -392,7 +390,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Tokens TotalIssuance (r:2 w:2) fn redeem_shares_scalar() -> Weight { - Weight::from_ref_time(170_140_000) + Weight::from_ref_time(149_531_000) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -402,21 +400,19 @@ impl WeightInfoZeitgeist for WeightInfo { // 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(140_778_268) - // Standard Error: 4_753 - .saturating_add(Weight::from_ref_time(95_626).saturating_mul(c.into())) - // Standard Error: 4_753 - .saturating_add(Weight::from_ref_time(62_291).saturating_mul(o.into())) + 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) - fn report(m: u32) -> Weight { - Weight::from_ref_time(64_104_556) - // Standard Error: 2_969 - .saturating_add(Weight::from_ref_time(95_670).saturating_mul(m.into())) + 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)) } @@ -425,9 +421,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:2 w:2) // Storage: Tokens TotalIssuance (r:2 w:2) fn sell_complete_set(a: u32) -> Weight { - Weight::from_ref_time(77_911_258) - // Standard Error: 44_051 - .saturating_add(Weight::from_ref_time(31_476_251).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -440,9 +436,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) // Storage: Swaps Pools (r:0 w:1) fn start_subsidy(a: u32) -> Weight { - Weight::from_ref_time(68_959_911) - // Standard Error: 3_063 - .saturating_add(Weight::from_ref_time(143_691).saturating_mul(a.into())) + 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)) } @@ -450,11 +446,11 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons Markets (r:32 w:0) // Storage: PredictionMarkets MarketIdsPerOpenTimeFrame (r:1 w:1) fn market_status_manager(b: u32, f: u32) -> Weight { - Weight::from_ref_time(64_106_638) - // Standard Error: 21_395 - .saturating_add(Weight::from_ref_time(4_014_487).saturating_mul(b.into())) - // Standard Error: 21_395 - .saturating_add(Weight::from_ref_time(4_021_627).saturating_mul(f.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(f.into()))) @@ -464,11 +460,11 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons Markets (r:32 w:0) // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:1) fn market_resolution_manager(r: u32, d: u32) -> Weight { - Weight::from_ref_time(56_793_337) - // Standard Error: 21_305 - .saturating_add(Weight::from_ref_time(4_198_806).saturating_mul(r.into())) - // Standard Error: 21_305 - .saturating_add(Weight::from_ref_time(4_241_303).saturating_mul(d.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(d.into()))) @@ -476,7 +472,7 @@ impl WeightInfoZeitgeist for WeightInfo { } // Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) fn process_subsidy_collecting_markets_dummy() -> Weight { - Weight::from_ref_time(9_050_000) + Weight::from_ref_time(9_390_000) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/zrml/styx/src/weights.rs b/zrml/styx/src/weights.rs index 8cb3b7075..0b0bd96c3 100644 --- a/zrml/styx/src/weights.rs +++ b/zrml/styx/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_styx //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-04, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -56,12 +56,12 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Styx Crossings (r:1 w:1) // Storage: Styx BurnAmount (r:1 w:0) fn cross() -> Weight { - Weight::from_ref_time(66_510_000) + Weight::from_ref_time(58_271_000) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Styx BurnAmount (r:0 w:1) fn set_burn_amount() -> Weight { - Weight::from_ref_time(27_160_000).saturating_add(T::DbWeight::get().writes(1)) + Weight::from_ref_time(30_150_000).saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/zrml/swaps/src/weights.rs b/zrml/swaps/src/weights.rs index 4d5f8524b..b06f18e56 100644 --- a/zrml/swaps/src/weights.rs +++ b/zrml/swaps/src/weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for zrml_swaps //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-20, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-04, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -81,9 +81,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons MarketPool (r:1 w:0) // Storage: Swaps Pools (r:1 w:1) fn admin_clean_up_pool_cpmm_categorical(a: u32) -> Weight { - Weight::from_ref_time(69_080_005) - // Standard Error: 4_231 - .saturating_add(Weight::from_ref_time(570_442).saturating_mul(a.into())) + 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)) } @@ -91,7 +91,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons MarketPool (r:1 w:0) // Storage: Swaps Pools (r:1 w:1) fn admin_clean_up_pool_cpmm_scalar() -> Weight { - Weight::from_ref_time(64_530_000) + Weight::from_ref_time(66_280_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -101,9 +101,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:7 w:0) // Storage: Tokens TotalIssuance (r:64 w:64) fn apply_to_cached_pools_execute_arbitrage(a: u32) -> Weight { - Weight::from_ref_time(920_000) - // Standard Error: 627_757 - .saturating_add(Weight::from_ref_time(2_515_119_719).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((70_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(42)) @@ -111,9 +111,9 @@ impl WeightInfoZeitgeist for WeightInfo { } // Storage: Swaps PoolsCachedForArbitrage (r:8 w:7) fn apply_to_cached_pools_noop(a: u32) -> Weight { - Weight::from_ref_time(970_000) - // Standard Error: 6_047 - .saturating_add(Weight::from_ref_time(9_543_359).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) @@ -123,9 +123,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn destroy_pool_in_subsidy_phase(a: u32) -> Weight { - Weight::from_ref_time(54_162_676) - // Standard Error: 53_270 - .saturating_add(Weight::from_ref_time(24_558_673).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -135,11 +135,11 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:46 w:21) // Storage: System Account (r:11 w:10) fn distribute_pool_share_rewards(a: u32, b: u32) -> Weight { - Weight::from_ref_time(11_426_424) - // Standard Error: 197_522 - .saturating_add(Weight::from_ref_time(30_345_696).saturating_mul(a.into())) - // Standard Error: 197_522 - .saturating_add(Weight::from_ref_time(52_883_761).saturating_mul(b.into())) + 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)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) @@ -153,11 +153,11 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens TotalIssuance (r:2 w:2) // Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:0) fn end_subsidy_phase(a: u32, b: u32) -> Weight { - Weight::from_ref_time(29_690_000) - // Standard Error: 100_740 - .saturating_add(Weight::from_ref_time(22_646_200).saturating_mul(a.into())) - // Standard Error: 669_043 - .saturating_add(Weight::from_ref_time(97_592_275).saturating_mul(b.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into()))) @@ -169,12 +169,11 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Tokens TotalIssuance (r:1 w:1) fn execute_arbitrage_buy_burn(a: u32) -> Weight { - Weight::from_ref_time(85_242_565) - // Standard Error: 54_752 - .saturating_add(Weight::from_ref_time(40_867_332).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) - .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) } // Storage: Swaps Pools (r:1 w:0) @@ -182,9 +181,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:2 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn execute_arbitrage_mint_sell(a: u32) -> Weight { - Weight::from_ref_time(93_162_270) - // Standard Error: 52_992 - .saturating_add(Weight::from_ref_time(37_952_930).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -193,9 +192,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Swaps Pools (r:1 w:0) // Storage: Tokens Accounts (r:2 w:0) fn execute_arbitrage_skipped(a: u32) -> Weight { - Weight::from_ref_time(40_657_247) - // Standard Error: 10_853 - .saturating_add(Weight::from_ref_time(5_627_238).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) } @@ -204,9 +203,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:5 w:5) // Storage: System Account (r:1 w:0) fn pool_exit(a: u32) -> Weight { - Weight::from_ref_time(102_013_179) - // Standard Error: 40_806 - .saturating_add(Weight::from_ref_time(30_683_953).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -216,7 +215,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Swaps SubsidyProviders (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn pool_exit_subsidy() -> Weight { - Weight::from_ref_time(94_540_000) + Weight::from_ref_time(91_570_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -226,7 +225,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) fn pool_exit_with_exact_asset_amount() -> Weight { - Weight::from_ref_time(178_701_000) + Weight::from_ref_time(169_980_000) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -236,7 +235,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) fn pool_exit_with_exact_pool_amount() -> Weight { - Weight::from_ref_time(180_300_000) + Weight::from_ref_time(174_961_000) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -244,9 +243,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: Tokens Accounts (r:5 w:5) fn pool_join(a: u32) -> Weight { - Weight::from_ref_time(76_496_396) - // Standard Error: 42_505 - .saturating_add(Weight::from_ref_time(30_313_614).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -256,7 +255,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:1 w:1) // Storage: Swaps SubsidyProviders (r:1 w:1) fn pool_join_subsidy() -> Weight { - Weight::from_ref_time(92_811_000) + Weight::from_ref_time(91_760_000) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -265,7 +264,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:3 w:3) // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) fn pool_join_with_exact_asset_amount() -> Weight { - Weight::from_ref_time(159_210_000) + Weight::from_ref_time(150_461_000) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -274,15 +273,15 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:3 w:3) // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) fn pool_join_with_exact_pool_amount() -> Weight { - Weight::from_ref_time(146_301_000) + Weight::from_ref_time(147_880_000) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Swaps Pools (r:1 w:1) fn clean_up_pool_categorical_without_reward_distribution(a: u32) -> Weight { - Weight::from_ref_time(17_236_085) - // Standard Error: 1_754 - .saturating_add(Weight::from_ref_time(381_393).saturating_mul(a.into())) + 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)) } @@ -291,7 +290,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) fn swap_exact_amount_in_cpmm() -> Weight { - Weight::from_ref_time(210_151_000) + Weight::from_ref_time(207_910_000) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -302,9 +301,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn swap_exact_amount_in_rikiddo(a: u32) -> Weight { - Weight::from_ref_time(191_254_155) - // Standard Error: 33_933 - .saturating_add(Weight::from_ref_time(21_026_455).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -314,7 +313,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Swaps PoolsCachedForArbitrage (r:0 w:1) fn swap_exact_amount_out_cpmm() -> Weight { - Weight::from_ref_time(207_081_000) + Weight::from_ref_time(204_910_000) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -324,26 +323,26 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) // Storage: Timestamp Now (r:1 w:0) fn swap_exact_amount_out_rikiddo(a: u32) -> Weight { - Weight::from_ref_time(137_260_415) - // Standard Error: 49_897 - .saturating_add(Weight::from_ref_time(37_151_735).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Swaps Pools (r:1 w:1) fn open_pool(a: u32) -> Weight { - Weight::from_ref_time(35_660_416) - // Standard Error: 2_668 - .saturating_add(Weight::from_ref_time(553_661).saturating_mul(a.into())) + 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)) } // Storage: Swaps Pools (r:1 w:1) fn close_pool(a: u32) -> Weight { - Weight::from_ref_time(33_039_985) - // Standard Error: 2_397 - .saturating_add(Weight::from_ref_time(414_949).saturating_mul(a.into())) + 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)) } @@ -352,9 +351,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Tokens TotalIssuance (r:2 w:2) fn destroy_pool(a: u32) -> Weight { - Weight::from_ref_time(55_531_500) - // Standard Error: 38_236 - .saturating_add(Weight::from_ref_time(29_956_171).saturating_mul(a.into())) + 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)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2))