From d9ccd8505e163645474bb3677dcbe9c8fcfa6fef Mon Sep 17 00:00:00 2001 From: linning Date: Wed, 28 Aug 2024 19:17:17 +0800 Subject: [PATCH] Update consensus tx benchmark result from the reference CPU Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz Signed-off-by: linning --- crates/pallet-domains/src/weights.rs | 428 ++++++++++--------- crates/pallet-rewards/src/weights.rs | 42 +- crates/pallet-runtime-configs/src/weights.rs | 58 +-- crates/pallet-subspace/src/lib.rs | 2 +- crates/pallet-subspace/src/weights.rs | 296 ++++++------- domains/pallets/messenger/src/weights.rs | 177 ++++---- domains/pallets/transporter/src/lib.rs | 2 +- domains/pallets/transporter/src/weights.rs | 188 ++++---- 8 files changed, 615 insertions(+), 578 deletions(-) diff --git a/crates/pallet-domains/src/weights.rs b/crates/pallet-domains/src/weights.rs index 61c7a01267..53fbbfaf11 100644 --- a/crates/pallet-domains/src/weights.rs +++ b/crates/pallet-domains/src/weights.rs @@ -1,26 +1,26 @@ //! Autogenerated weights for pallet_domains //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0 +//! DATE: 2024-09-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `mac-mini.local`, CPU: `` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `Ubuntu-2404-noble-amd64-base`, CPU: `Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: // ./target/release/subspace-node // benchmark // pallet -// --chain=dev +// --runtime=./target/release/wbuild/subspace-runtime/subspace_runtime.compact.compressed.wasm +// --genesis-builder=runtime // --steps=50 // --repeat=20 // --pallet=pallet_domains // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./crates/pallet-domains/src/weights.rs -// --template -// ./frame-weight-template.hbs +// --output=./weights/pallet-domains.rs +// --template=./frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -57,36 +57,42 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1) /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:1 w:1) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1) + /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:1) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::BlockTree` (r:2 w:2) /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::BlockTreeNodes` (r:1 w:2) /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::LatestSubmittedER` (r:1 w:0) /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::ExecutionInbox` (r:2 w:1) + /// Storage: `Domains::ExecutionInbox` (r:3 w:1) /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Transporter::DomainBalances` (r:1 w:1) /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::DomainRegistry` (r:1 w:0) + /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0) + /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::SuccessfulBundles` (r:1 w:1) /// Proof: `Domains::SuccessfulBundles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::HeadDomainNumber` (r:1 w:1) /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::OperatorBundleSlot` (r:1 w:1) + /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::InboxedBundleAuthor` (r:0 w:1) /// Proof: `Domains::InboxedBundleAuthor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::HeadReceiptExtended` (r:0 w:1) - /// Proof: `Domains::HeadReceiptExtended` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::ConsensusBlockHash` (r:0 w:1) /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`) fn submit_bundle() -> Weight { // Proof Size summary in bytes: - // Measured: `1629` - // Estimated: `7569` - // Minimum execution time: 85_000_000 picoseconds. - Weight::from_parts(89_000_000, 7569) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(13_u64)) + // Measured: `1751` + // Estimated: `10166` + // Minimum execution time: 172_846_000 picoseconds. + Weight::from_parts(174_992_000, 10166) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1) /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -94,10 +100,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn submit_fraud_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `1020` - // Estimated: `4485` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_000_000, 4485) + // Measured: `1008` + // Estimated: `4473` + // Minimum execution time: 38_692_000 picoseconds. + Weight::from_parts(41_247_000, 4473) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -116,12 +122,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 100]`. fn handle_bad_receipt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1082 + n * (208 ±0)` - // Estimated: `4547 + n * (2683 ±0)` - // Minimum execution time: 39_000_000 picoseconds. - Weight::from_parts(41_000_000, 4547) - // Standard Error: 68_724 - .saturating_add(Weight::from_parts(16_716_217, 0).saturating_mul(n.into())) + // Measured: `932 + n * (208 ±0)` + // Estimated: `4397 + n * (2683 ±0)` + // Minimum execution time: 56_216_000 picoseconds. + Weight::from_parts(56_940_000, 4397) + // Standard Error: 67_772 + .saturating_add(Weight::from_parts(22_316_875, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -142,14 +148,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 100]`. fn confirm_domain_block(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (377 ±0) + s * (238 ±0)` - // Estimated: `272118 + n * (2588 ±1) + s * (978 ±0)` - // Minimum execution time: 1_765_000_000 picoseconds. - Weight::from_parts(1_779_000_000, 272118) - // Standard Error: 355_062 - .saturating_add(Weight::from_parts(9_730_382, 0).saturating_mul(n.into())) - // Standard Error: 355_388 - .saturating_add(Weight::from_parts(12_240_938, 0).saturating_mul(s.into())) + // Measured: `0 + n * (378 ±0) + s * (239 ±0)` + // Estimated: `271975 + n * (2588 ±0) + s * (979 ±0)` + // Minimum execution time: 2_284_894_000 picoseconds. + Weight::from_parts(2_292_775_000, 271975) + // Standard Error: 419_121 + .saturating_add(Weight::from_parts(13_897_823, 0).saturating_mul(n.into())) + // Standard Error: 419_507 + .saturating_add(Weight::from_parts(14_690_876, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) @@ -157,7 +163,7 @@ impl WeightInfo for SubstrateWeight { .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2588).saturating_mul(n.into())) - .saturating_add(Weight::from_parts(0, 978).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(0, 979).saturating_mul(s.into())) } /// Storage: `Domains::DomainStakingSummary` (r:1 w:1) /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -166,12 +172,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 100]`. fn operator_reward_tax_and_restake(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `437 + n * (224 ±0)` - // Estimated: `3902 + n * (2699 ±0)` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(22_134_160, 3902) - // Standard Error: 9_971 - .saturating_add(Weight::from_parts(2_783_283, 0).saturating_mul(n.into())) + // Measured: `366 + n * (224 ±0)` + // Estimated: `3831 + n * (2699 ±0)` + // Minimum execution time: 22_997_000 picoseconds. + Weight::from_parts(33_679_642, 3831) + // Standard Error: 11_599 + .saturating_add(Weight::from_parts(4_386_338, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -203,12 +209,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 9]`. fn slash_operator(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1538 + n * (299 ±0)` + // Measured: `1365 + n * (298 ±0)` // Estimated: `9015 + n * (8025 ±0)` - // Minimum execution time: 155_000_000 picoseconds. - Weight::from_parts(161_276_216, 9015) - // Standard Error: 134_843 - .saturating_add(Weight::from_parts(67_954_175, 0).saturating_mul(n.into())) + // Minimum execution time: 236_187_000 picoseconds. + Weight::from_parts(271_847_200, 9015) + // Standard Error: 293_537 + .saturating_add(Weight::from_parts(92_669_227, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(12_u64)) @@ -228,12 +234,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `p` is `[0, 512]`. fn finalize_domain_epoch_staking(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `116236` - // Estimated: `1384426` - // Minimum execution time: 2_631_000_000 picoseconds. - Weight::from_parts(2_768_371_504, 1384426) - // Standard Error: 21_584 - .saturating_add(Weight::from_parts(2_234_551, 0).saturating_mul(p.into())) + // Measured: `116165` + // Estimated: `1384355` + // Minimum execution time: 3_726_400_000 picoseconds. + Weight::from_parts(3_900_459_490, 1384355) + // Standard Error: 10_021 + .saturating_add(Weight::from_parts(3_667_131, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1025_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(p.into()))) @@ -244,10 +250,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_domain_runtime() -> Weight { // Proof Size summary in bytes: - // Measured: `330` - // Estimated: `1815` - // Minimum execution time: 18_840_000_000 picoseconds. - Weight::from_parts(18_939_000_000, 1815) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 34_365_019_000 picoseconds. + Weight::from_parts(34_417_998_000, 1485) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -257,16 +263,16 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::ScheduledRuntimeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`) fn upgrade_domain_runtime() -> Weight { // Proof Size summary in bytes: - // Measured: `2481437` - // Estimated: `2484902` - // Minimum execution time: 19_763_000_000 picoseconds. - Weight::from_parts(19_813_000_000, 2484902) + // Measured: `2481067` + // Estimated: `2484532` + // Minimum execution time: 37_943_257_000 picoseconds. + Weight::from_parts(38_175_433_000, 2484532) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Domains::PermissionedActionAllowedBy` (r:1 w:0) /// Proof: `Domains::PermissionedActionAllowedBy` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Domains::RuntimeRegistry` (r:1 w:0) + /// Storage: `Domains::RuntimeRegistry` (r:1 w:1) /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -280,26 +286,28 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`) /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Domains::DomainSudoCalls` (r:0 w:1) + /// Proof: `Domains::DomainSudoCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::DomainRegistry` (r:0 w:1) /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::BlockTreeNodes` (r:0 w:1) /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::DomainStakingSummary` (r:0 w:1) /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:0 w:1) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:0 w:1) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::BlockTree` (r:0 w:1) /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Messenger::DomainChainAllowlistUpdate` (r:0 w:1) /// Proof: `Messenger::DomainChainAllowlistUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`) fn instantiate_domain() -> Weight { // Proof Size summary in bytes: - // Measured: `2481697` - // Estimated: `2485162` - // Minimum execution time: 4_437_000_000 picoseconds. - Weight::from_parts(4_456_000_000, 2485162) + // Measured: `2481139` + // Estimated: `2484604` + // Minimum execution time: 9_071_076_000 picoseconds. + Weight::from_parts(9_096_678_000, 2484604) .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(12_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1) /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -329,10 +337,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_operator() -> Weight { // Proof Size summary in bytes: - // Measured: `887` + // Measured: `651` // Estimated: `9015` - // Minimum execution time: 167_000_000 picoseconds. - Weight::from_parts(170_000_000, 9015) + // Minimum execution time: 252_801_000 picoseconds. + Weight::from_parts(256_406_000, 9015) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(12_u64)) } @@ -354,10 +362,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`) fn nominate_operator() -> Weight { // Proof Size summary in bytes: - // Measured: `1329` + // Measured: `1131` // Estimated: `9015` - // Minimum execution time: 107_000_000 picoseconds. - Weight::from_parts(109_000_000, 9015) + // Minimum execution time: 168_898_000 picoseconds. + Weight::from_parts(174_307_000, 9015) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -369,14 +377,14 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::DomainStakingSummary` (r:1 w:1) /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:1 w:0) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deregister_operator() -> Weight { // Proof Size summary in bytes: - // Measured: `969` - // Estimated: `4434` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_000_000, 4434) + // Measured: `977` + // Estimated: `4442` + // Minimum execution time: 54_905_000 picoseconds. + Weight::from_parts(56_948_000, 4442) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -400,14 +408,14 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:1 w:0) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) fn withdraw_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `1828` + // Measured: `1674` // Estimated: `9015` - // Minimum execution time: 95_000_000 picoseconds. - Weight::from_parts(103_000_000, 9015) + // Minimum execution time: 152_234_000 picoseconds. + Weight::from_parts(156_823_000, 9015) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -419,8 +427,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0) /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:1 w:0) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) @@ -429,10 +437,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unlock_funds() -> Weight { // Proof Size summary in bytes: - // Measured: `1433` + // Measured: `1290` // Estimated: `9015` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(96_000_000, 9015) + // Minimum execution time: 144_271_000 picoseconds. + Weight::from_parts(147_196_000, 9015) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -440,8 +448,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::LatestSubmittedER` (r:1 w:0) /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:1 w:0) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Domains::Deposits` (r:1 w:1) @@ -462,10 +470,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unlock_nominator() -> Weight { // Proof Size summary in bytes: - // Measured: `1596` + // Measured: `1491` // Estimated: `9015` - // Minimum execution time: 162_000_000 picoseconds. - Weight::from_parts(164_000_000, 9015) + // Minimum execution time: 262_655_000 picoseconds. + Weight::from_parts(269_561_000, 9015) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -473,10 +481,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_domain_operator_allow_list() -> Weight { // Proof Size summary in bytes: - // Measured: `452` - // Estimated: `3917` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 3917) + // Measured: `438` + // Estimated: `3903` + // Minimum execution time: 32_711_000 picoseconds. + Weight::from_parts(34_742_000, 3903) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -484,10 +492,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_treasury_funds() -> Weight { // Proof Size summary in bytes: - // Measured: `140` + // Measured: `52` // Estimated: `6196` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 6196) + // Minimum execution time: 50_180_000 picoseconds. + Weight::from_parts(50_700_000, 6196) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -507,8 +515,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `655` // Estimated: `4120` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(35_000_000, 4120) + // Minimum execution time: 59_509_000 picoseconds. + Weight::from_parts(61_214_000, 4120) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -518,36 +526,42 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1) /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:1 w:1) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::NewAddedHeadReceipt` (r:1 w:1) + /// Proof: `Domains::NewAddedHeadReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:1) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::BlockTree` (r:2 w:2) /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::BlockTreeNodes` (r:1 w:2) /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::LatestSubmittedER` (r:1 w:0) /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::ExecutionInbox` (r:2 w:1) + /// Storage: `Domains::ExecutionInbox` (r:3 w:1) /// Proof: `Domains::ExecutionInbox` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Transporter::DomainBalances` (r:1 w:1) /// Proof: `Transporter::DomainBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::DomainRegistry` (r:1 w:0) + /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::DomainRuntimeUpgradeRecords` (r:1 w:0) + /// Proof: `Domains::DomainRuntimeUpgradeRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::SuccessfulBundles` (r:1 w:1) /// Proof: `Domains::SuccessfulBundles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::HeadDomainNumber` (r:1 w:1) /// Proof: `Domains::HeadDomainNumber` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::OperatorBundleSlot` (r:1 w:1) + /// Proof: `Domains::OperatorBundleSlot` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::InboxedBundleAuthor` (r:0 w:1) /// Proof: `Domains::InboxedBundleAuthor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::HeadReceiptExtended` (r:0 w:1) - /// Proof: `Domains::HeadReceiptExtended` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::ConsensusBlockHash` (r:0 w:1) /// Proof: `Domains::ConsensusBlockHash` (`max_values`: None, `max_size`: None, mode: `Measured`) fn submit_bundle() -> Weight { // Proof Size summary in bytes: - // Measured: `1629` - // Estimated: `7569` - // Minimum execution time: 85_000_000 picoseconds. - Weight::from_parts(89_000_000, 7569) - .saturating_add(ParityDbWeight::get().reads(11_u64)) - .saturating_add(ParityDbWeight::get().writes(13_u64)) + // Measured: `1751` + // Estimated: `10166` + // Minimum execution time: 172_846_000 picoseconds. + Weight::from_parts(174_992_000, 10166) + .saturating_add(ParityDbWeight::get().reads(16_u64)) + .saturating_add(ParityDbWeight::get().writes(14_u64)) } /// Storage: `Domains::HeadReceiptNumber` (r:1 w:1) /// Proof: `Domains::HeadReceiptNumber` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -555,10 +569,10 @@ impl WeightInfo for () { /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`) fn submit_fraud_proof() -> Weight { // Proof Size summary in bytes: - // Measured: `1020` - // Estimated: `4485` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_000_000, 4485) + // Measured: `1008` + // Estimated: `4473` + // Minimum execution time: 38_692_000 picoseconds. + Weight::from_parts(41_247_000, 4473) .saturating_add(ParityDbWeight::get().reads(2_u64)) .saturating_add(ParityDbWeight::get().writes(1_u64)) } @@ -577,12 +591,12 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 100]`. fn handle_bad_receipt(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1082 + n * (208 ±0)` - // Estimated: `4547 + n * (2683 ±0)` - // Minimum execution time: 39_000_000 picoseconds. - Weight::from_parts(41_000_000, 4547) - // Standard Error: 68_724 - .saturating_add(Weight::from_parts(16_716_217, 0).saturating_mul(n.into())) + // Measured: `932 + n * (208 ±0)` + // Estimated: `4397 + n * (2683 ±0)` + // Minimum execution time: 56_216_000 picoseconds. + Weight::from_parts(56_940_000, 4397) + // Standard Error: 67_772 + .saturating_add(Weight::from_parts(22_316_875, 0).saturating_mul(n.into())) .saturating_add(ParityDbWeight::get().reads(4_u64)) .saturating_add(ParityDbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(ParityDbWeight::get().writes(4_u64)) @@ -603,14 +617,14 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 100]`. fn confirm_domain_block(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (377 ±0) + s * (238 ±0)` - // Estimated: `272118 + n * (2588 ±1) + s * (978 ±0)` - // Minimum execution time: 1_765_000_000 picoseconds. - Weight::from_parts(1_779_000_000, 272118) - // Standard Error: 355_062 - .saturating_add(Weight::from_parts(9_730_382, 0).saturating_mul(n.into())) - // Standard Error: 355_388 - .saturating_add(Weight::from_parts(12_240_938, 0).saturating_mul(s.into())) + // Measured: `0 + n * (378 ±0) + s * (239 ±0)` + // Estimated: `271975 + n * (2588 ±0) + s * (979 ±0)` + // Minimum execution time: 2_284_894_000 picoseconds. + Weight::from_parts(2_292_775_000, 271975) + // Standard Error: 419_121 + .saturating_add(Weight::from_parts(13_897_823, 0).saturating_mul(n.into())) + // Standard Error: 419_507 + .saturating_add(Weight::from_parts(14_690_876, 0).saturating_mul(s.into())) .saturating_add(ParityDbWeight::get().reads(3_u64)) .saturating_add(ParityDbWeight::get().reads((2_u64).saturating_mul(n.into()))) .saturating_add(ParityDbWeight::get().reads((1_u64).saturating_mul(s.into()))) @@ -618,7 +632,7 @@ impl WeightInfo for () { .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2588).saturating_mul(n.into())) - .saturating_add(Weight::from_parts(0, 978).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(0, 979).saturating_mul(s.into())) } /// Storage: `Domains::DomainStakingSummary` (r:1 w:1) /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -627,12 +641,12 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 100]`. fn operator_reward_tax_and_restake(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `437 + n * (224 ±0)` - // Estimated: `3902 + n * (2699 ±0)` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(22_134_160, 3902) - // Standard Error: 9_971 - .saturating_add(Weight::from_parts(2_783_283, 0).saturating_mul(n.into())) + // Measured: `366 + n * (224 ±0)` + // Estimated: `3831 + n * (2699 ±0)` + // Minimum execution time: 22_997_000 picoseconds. + Weight::from_parts(33_679_642, 3831) + // Standard Error: 11_599 + .saturating_add(Weight::from_parts(4_386_338, 0).saturating_mul(n.into())) .saturating_add(ParityDbWeight::get().reads(1_u64)) .saturating_add(ParityDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(ParityDbWeight::get().writes(1_u64)) @@ -664,12 +678,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 9]`. fn slash_operator(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1538 + n * (299 ±0)` + // Measured: `1365 + n * (298 ±0)` // Estimated: `9015 + n * (8025 ±0)` - // Minimum execution time: 155_000_000 picoseconds. - Weight::from_parts(161_276_216, 9015) - // Standard Error: 134_843 - .saturating_add(Weight::from_parts(67_954_175, 0).saturating_mul(n.into())) + // Minimum execution time: 236_187_000 picoseconds. + Weight::from_parts(271_847_200, 9015) + // Standard Error: 293_537 + .saturating_add(Weight::from_parts(92_669_227, 0).saturating_mul(n.into())) .saturating_add(ParityDbWeight::get().reads(14_u64)) .saturating_add(ParityDbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(ParityDbWeight::get().writes(12_u64)) @@ -689,12 +703,12 @@ impl WeightInfo for () { /// The range of component `p` is `[0, 512]`. fn finalize_domain_epoch_staking(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `116236` - // Estimated: `1384426` - // Minimum execution time: 2_631_000_000 picoseconds. - Weight::from_parts(2_768_371_504, 1384426) - // Standard Error: 21_584 - .saturating_add(Weight::from_parts(2_234_551, 0).saturating_mul(p.into())) + // Measured: `116165` + // Estimated: `1384355` + // Minimum execution time: 3_726_400_000 picoseconds. + Weight::from_parts(3_900_459_490, 1384355) + // Standard Error: 10_021 + .saturating_add(Weight::from_parts(3_667_131, 0).saturating_mul(p.into())) .saturating_add(ParityDbWeight::get().reads(1025_u64)) .saturating_add(ParityDbWeight::get().writes(2_u64)) .saturating_add(ParityDbWeight::get().writes((2_u64).saturating_mul(p.into()))) @@ -705,10 +719,10 @@ impl WeightInfo for () { /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_domain_runtime() -> Weight { // Proof Size summary in bytes: - // Measured: `330` - // Estimated: `1815` - // Minimum execution time: 18_840_000_000 picoseconds. - Weight::from_parts(18_939_000_000, 1815) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 34_365_019_000 picoseconds. + Weight::from_parts(34_417_998_000, 1485) .saturating_add(ParityDbWeight::get().reads(1_u64)) .saturating_add(ParityDbWeight::get().writes(2_u64)) } @@ -718,16 +732,16 @@ impl WeightInfo for () { /// Proof: `Domains::ScheduledRuntimeUpgrades` (`max_values`: None, `max_size`: None, mode: `Measured`) fn upgrade_domain_runtime() -> Weight { // Proof Size summary in bytes: - // Measured: `2481437` - // Estimated: `2484902` - // Minimum execution time: 19_763_000_000 picoseconds. - Weight::from_parts(19_813_000_000, 2484902) + // Measured: `2481067` + // Estimated: `2484532` + // Minimum execution time: 37_943_257_000 picoseconds. + Weight::from_parts(38_175_433_000, 2484532) .saturating_add(ParityDbWeight::get().reads(1_u64)) .saturating_add(ParityDbWeight::get().writes(1_u64)) } /// Storage: `Domains::PermissionedActionAllowedBy` (r:1 w:0) /// Proof: `Domains::PermissionedActionAllowedBy` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Domains::RuntimeRegistry` (r:1 w:0) + /// Storage: `Domains::RuntimeRegistry` (r:1 w:1) /// Proof: `Domains::RuntimeRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -741,26 +755,28 @@ impl WeightInfo for () { /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`) /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Domains::DomainSudoCalls` (r:0 w:1) + /// Proof: `Domains::DomainSudoCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::DomainRegistry` (r:0 w:1) /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::BlockTreeNodes` (r:0 w:1) /// Proof: `Domains::BlockTreeNodes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::DomainStakingSummary` (r:0 w:1) /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:0 w:1) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:0 w:1) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::BlockTree` (r:0 w:1) /// Proof: `Domains::BlockTree` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Messenger::DomainChainAllowlistUpdate` (r:0 w:1) /// Proof: `Messenger::DomainChainAllowlistUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`) fn instantiate_domain() -> Weight { // Proof Size summary in bytes: - // Measured: `2481697` - // Estimated: `2485162` - // Minimum execution time: 4_437_000_000 picoseconds. - Weight::from_parts(4_456_000_000, 2485162) + // Measured: `2481139` + // Estimated: `2484604` + // Minimum execution time: 9_071_076_000 picoseconds. + Weight::from_parts(9_096_678_000, 2484604) .saturating_add(ParityDbWeight::get().reads(8_u64)) - .saturating_add(ParityDbWeight::get().writes(12_u64)) + .saturating_add(ParityDbWeight::get().writes(14_u64)) } /// Storage: `Domains::PendingStakingOperationCount` (r:1 w:1) /// Proof: `Domains::PendingStakingOperationCount` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -790,10 +806,10 @@ impl WeightInfo for () { /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_operator() -> Weight { // Proof Size summary in bytes: - // Measured: `887` + // Measured: `651` // Estimated: `9015` - // Minimum execution time: 167_000_000 picoseconds. - Weight::from_parts(170_000_000, 9015) + // Minimum execution time: 252_801_000 picoseconds. + Weight::from_parts(256_406_000, 9015) .saturating_add(ParityDbWeight::get().reads(10_u64)) .saturating_add(ParityDbWeight::get().writes(12_u64)) } @@ -815,10 +831,10 @@ impl WeightInfo for () { /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`) fn nominate_operator() -> Weight { // Proof Size summary in bytes: - // Measured: `1329` + // Measured: `1131` // Estimated: `9015` - // Minimum execution time: 107_000_000 picoseconds. - Weight::from_parts(109_000_000, 9015) + // Minimum execution time: 168_898_000 picoseconds. + Weight::from_parts(174_307_000, 9015) .saturating_add(ParityDbWeight::get().reads(9_u64)) .saturating_add(ParityDbWeight::get().writes(6_u64)) } @@ -830,14 +846,14 @@ impl WeightInfo for () { /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::DomainStakingSummary` (r:1 w:1) /// Proof: `Domains::DomainStakingSummary` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:1 w:0) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deregister_operator() -> Weight { // Proof Size summary in bytes: - // Measured: `969` - // Estimated: `4434` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(32_000_000, 4434) + // Measured: `977` + // Estimated: `4442` + // Minimum execution time: 54_905_000 picoseconds. + Weight::from_parts(56_948_000, 4442) .saturating_add(ParityDbWeight::get().reads(5_u64)) .saturating_add(ParityDbWeight::get().writes(2_u64)) } @@ -861,14 +877,14 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:1 w:0) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) fn withdraw_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `1828` + // Measured: `1674` // Estimated: `9015` - // Minimum execution time: 95_000_000 picoseconds. - Weight::from_parts(103_000_000, 9015) + // Minimum execution time: 152_234_000 picoseconds. + Weight::from_parts(156_823_000, 9015) .saturating_add(ParityDbWeight::get().reads(12_u64)) .saturating_add(ParityDbWeight::get().writes(7_u64)) } @@ -880,8 +896,8 @@ impl WeightInfo for () { /// Proof: `Domains::Withdrawals` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::OperatorEpochSharePrice` (r:1 w:0) /// Proof: `Domains::OperatorEpochSharePrice` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:1 w:0) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(5550), added: 8025, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) @@ -890,10 +906,10 @@ impl WeightInfo for () { /// Proof: `Domains::Deposits` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unlock_funds() -> Weight { // Proof Size summary in bytes: - // Measured: `1433` + // Measured: `1290` // Estimated: `9015` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(96_000_000, 9015) + // Minimum execution time: 144_271_000 picoseconds. + Weight::from_parts(147_196_000, 9015) .saturating_add(ParityDbWeight::get().reads(8_u64)) .saturating_add(ParityDbWeight::get().writes(4_u64)) } @@ -901,8 +917,8 @@ impl WeightInfo for () { /// Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Domains::LatestSubmittedER` (r:1 w:0) /// Proof: `Domains::LatestSubmittedER` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Domains::LatestConfirmedDomainBlock` (r:1 w:0) - /// Proof: `Domains::LatestConfirmedDomainBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Domains::LatestConfirmedDomainExecutionReceipt` (r:1 w:0) + /// Proof: `Domains::LatestConfirmedDomainExecutionReceipt` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Domains::Deposits` (r:1 w:1) @@ -923,10 +939,10 @@ impl WeightInfo for () { /// Proof: `Domains::OperatorSigningKey` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unlock_nominator() -> Weight { // Proof Size summary in bytes: - // Measured: `1596` + // Measured: `1491` // Estimated: `9015` - // Minimum execution time: 162_000_000 picoseconds. - Weight::from_parts(164_000_000, 9015) + // Minimum execution time: 262_655_000 picoseconds. + Weight::from_parts(269_561_000, 9015) .saturating_add(ParityDbWeight::get().reads(13_u64)) .saturating_add(ParityDbWeight::get().writes(9_u64)) } @@ -934,10 +950,10 @@ impl WeightInfo for () { /// Proof: `Domains::DomainRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_domain_operator_allow_list() -> Weight { // Proof Size summary in bytes: - // Measured: `452` - // Estimated: `3917` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(17_000_000, 3917) + // Measured: `438` + // Estimated: `3903` + // Minimum execution time: 32_711_000 picoseconds. + Weight::from_parts(34_742_000, 3903) .saturating_add(ParityDbWeight::get().reads(1_u64)) .saturating_add(ParityDbWeight::get().writes(1_u64)) } @@ -945,10 +961,10 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_treasury_funds() -> Weight { // Proof Size summary in bytes: - // Measured: `140` + // Measured: `52` // Estimated: `6196` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 6196) + // Minimum execution time: 50_180_000 picoseconds. + Weight::from_parts(50_700_000, 6196) .saturating_add(ParityDbWeight::get().reads(2_u64)) .saturating_add(ParityDbWeight::get().writes(2_u64)) } @@ -968,8 +984,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `655` // Estimated: `4120` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(35_000_000, 4120) + // Minimum execution time: 59_509_000 picoseconds. + Weight::from_parts(61_214_000, 4120) .saturating_add(ParityDbWeight::get().reads(5_u64)) .saturating_add(ParityDbWeight::get().writes(5_u64)) } diff --git a/crates/pallet-rewards/src/weights.rs b/crates/pallet-rewards/src/weights.rs index affed28df8..4a4aad8e98 100644 --- a/crates/pallet-rewards/src/weights.rs +++ b/crates/pallet-rewards/src/weights.rs @@ -1,24 +1,26 @@ //! Autogenerated weights for pallet_rewards //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0 +//! DATE: 2024-09-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `nazar-pc`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `Ubuntu-2404-noble-amd64-base`, CPU: `Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/release/subspace-node +// ./target/release/subspace-node // benchmark // pallet -// --chain=dev +// --runtime=./target/release/wbuild/subspace-runtime/subspace_runtime.compact.compressed.wasm +// --genesis-builder=runtime // --steps=50 // --repeat=20 // --pallet=pallet_rewards // --extrinsic=* +// --wasm-execution=compiled // --heap-pages=4096 -// --output=crates/pallet-rewards/src/weights.rs -// --template=frame-weight-template.hbs +// --output=./weights/pallet-rewards.rs +// --template=./frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -45,12 +47,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_978_000 picoseconds. - Weight::from_parts(5_191_890, 0) - // Standard Error: 400 - .saturating_add(Weight::from_parts(4_397, 0).saturating_mul(p.into())) - // Standard Error: 400 - .saturating_add(Weight::from_parts(4_865, 0).saturating_mul(v.into())) + // Minimum execution time: 4_580_000 picoseconds. + Weight::from_parts(4_871_200, 0) + // Standard Error: 581 + .saturating_add(Weight::from_parts(6_370, 0).saturating_mul(p.into())) + // Standard Error: 581 + .saturating_add(Weight::from_parts(9_390, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(2_u64)) } } @@ -67,12 +69,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_978_000 picoseconds. - Weight::from_parts(5_191_890, 0) - // Standard Error: 400 - .saturating_add(Weight::from_parts(4_397, 0).saturating_mul(p.into())) - // Standard Error: 400 - .saturating_add(Weight::from_parts(4_865, 0).saturating_mul(v.into())) + // Minimum execution time: 4_580_000 picoseconds. + Weight::from_parts(4_871_200, 0) + // Standard Error: 581 + .saturating_add(Weight::from_parts(6_370, 0).saturating_mul(p.into())) + // Standard Error: 581 + .saturating_add(Weight::from_parts(9_390, 0).saturating_mul(v.into())) .saturating_add(ParityDbWeight::get().writes(2_u64)) } } diff --git a/crates/pallet-runtime-configs/src/weights.rs b/crates/pallet-runtime-configs/src/weights.rs index 9ec4e1fec9..bd02547fd5 100644 --- a/crates/pallet-runtime-configs/src/weights.rs +++ b/crates/pallet-runtime-configs/src/weights.rs @@ -1,24 +1,26 @@ //! Autogenerated weights for pallet_runtime_configs //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0 +//! DATE: 2024-09-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `nazar-pc`, CPU: `13th Gen Intel(R) Core(TM) i9-13900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `Ubuntu-2404-noble-amd64-base`, CPU: `Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// target/release/subspace-node +// ./target/release/subspace-node // benchmark // pallet -// --chain=dev +// --runtime=./target/release/wbuild/subspace-runtime/subspace_runtime.compact.compressed.wasm +// --genesis-builder=runtime // --steps=50 // --repeat=20 // --pallet=pallet_runtime_configs // --extrinsic=* +// --wasm-execution=compiled // --heap-pages=4096 -// --output=crates/pallet-runtime-configs/src/weights.rs -// --template=frame-weight-template.hbs +// --output=./weights/pallet-runtime-configs.rs +// --template=./frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -38,14 +40,14 @@ pub trait WeightInfo { /// Weights for pallet_runtime_configs using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: `RuntimeConfigs::EnableBalanceTransfers` (r:0 w:1) - /// Proof: `RuntimeConfigs::EnableBalanceTransfers` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `RuntimeConfigs::EnableDomains` (r:0 w:1) + /// Proof: `RuntimeConfigs::EnableDomains` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn set_enable_domains() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_640_000 picoseconds. - Weight::from_parts(5_782_000, 0) + // Minimum execution time: 3_227_000 picoseconds. + Weight::from_parts(3_380_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `RuntimeConfigs::EnableDynamicCostOfStorage` (r:0 w:1) @@ -54,8 +56,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_726_000 picoseconds. - Weight::from_parts(5_890_000, 0) + // Minimum execution time: 3_003_000 picoseconds. + Weight::from_parts(3_122_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `RuntimeConfigs::EnableBalanceTransfers` (r:0 w:1) @@ -64,8 +66,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_726_000 picoseconds. - Weight::from_parts(5_890_000, 0) + // Minimum execution time: 3_078_000 picoseconds. + Weight::from_parts(3_216_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `RuntimeConfigs::EnableNonRootCalls` (r:0 w:1) @@ -74,22 +76,22 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_726_000 picoseconds. - Weight::from_parts(5_890_000, 0) + // Minimum execution time: 3_095_000 picoseconds. + Weight::from_parts(3_249_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: `RuntimeConfigs::EnableBalanceTransfers` (r:0 w:1) - /// Proof: `RuntimeConfigs::EnableBalanceTransfers` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `RuntimeConfigs::EnableDomains` (r:0 w:1) + /// Proof: `RuntimeConfigs::EnableDomains` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn set_enable_domains() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_640_000 picoseconds. - Weight::from_parts(5_782_000, 0) + // Minimum execution time: 3_227_000 picoseconds. + Weight::from_parts(3_380_000, 0) .saturating_add(ParityDbWeight::get().writes(1_u64)) } /// Storage: `RuntimeConfigs::EnableDynamicCostOfStorage` (r:0 w:1) @@ -98,8 +100,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_726_000 picoseconds. - Weight::from_parts(5_890_000, 0) + // Minimum execution time: 3_003_000 picoseconds. + Weight::from_parts(3_122_000, 0) .saturating_add(ParityDbWeight::get().writes(1_u64)) } /// Storage: `RuntimeConfigs::EnableBalanceTransfers` (r:0 w:1) @@ -108,8 +110,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_726_000 picoseconds. - Weight::from_parts(5_890_000, 0) + // Minimum execution time: 3_078_000 picoseconds. + Weight::from_parts(3_216_000, 0) .saturating_add(ParityDbWeight::get().writes(1_u64)) } /// Storage: `RuntimeConfigs::EnableNonRootCalls` (r:0 w:1) @@ -118,8 +120,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_726_000 picoseconds. - Weight::from_parts(5_890_000, 0) + // Minimum execution time: 3_095_000 picoseconds. + Weight::from_parts(3_249_000, 0) .saturating_add(ParityDbWeight::get().writes(1_u64)) } } diff --git a/crates/pallet-subspace/src/lib.rs b/crates/pallet-subspace/src/lib.rs index b745b9c6df..2027a8c784 100644 --- a/crates/pallet-subspace/src/lib.rs +++ b/crates/pallet-subspace/src/lib.rs @@ -618,7 +618,7 @@ pub mod pallet { /// Enable rewards for blocks and votes at specified block height. #[pallet::call_index(4)] - #[pallet::weight(< T as Config >::WeightInfo::enable_rewards())] + #[pallet::weight(< T as Config >::WeightInfo::enable_rewards_at())] pub fn enable_rewards_at( origin: OriginFor, enable_rewards_at: EnableRewardsAt>, diff --git a/crates/pallet-subspace/src/weights.rs b/crates/pallet-subspace/src/weights.rs index 8aecc8c0f1..d6126001ff 100644 --- a/crates/pallet-subspace/src/weights.rs +++ b/crates/pallet-subspace/src/weights.rs @@ -1,26 +1,26 @@ //! Autogenerated weights for pallet_subspace //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-05-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0 +//! DATE: 2024-09-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `local`, CPU: `` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `Ubuntu-2404-noble-amd64-base`, CPU: `Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: // ./target/release/subspace-node // benchmark // pallet -// --chain=dev +// --runtime=./target/release/wbuild/subspace-runtime/subspace_runtime.compact.compressed.wasm +// --genesis-builder=runtime // --steps=50 // --repeat=20 // --pallet=pallet_subspace // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./crates/pallet-subspace/src/weights.rs -// --template -// ./frame-weight-template.hbs +// --output=./weights/pallet-subspace.rs +// --template=./frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -35,7 +35,7 @@ pub trait WeightInfo { fn store_segment_headers(x: u32, ) -> Weight; fn enable_solution_range_adjustment() -> Weight; fn vote() -> Weight; - fn enable_rewards() -> Weight; + fn enable_rewards_at() -> Weight; fn enable_authoring_by_anyone() -> Weight; fn set_pot_slot_iterations() -> Weight; } @@ -43,106 +43,109 @@ pub trait WeightInfo { /// Weights for pallet_subspace using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: OffencesSubspace ReportsByKindIndex (r:1 w:1) - /// Proof Skipped: OffencesSubspace ReportsByKindIndex (max_values: None, max_size: None, mode: Measured) - /// Storage: OffencesSubspace ConcurrentReportsIndex (r:1 w:1) - /// Proof Skipped: OffencesSubspace ConcurrentReportsIndex (max_values: None, max_size: None, mode: Measured) - /// Storage: OffencesSubspace Reports (r:1 w:1) - /// Proof Skipped: OffencesSubspace Reports (max_values: None, max_size: None, mode: Measured) - /// Storage: Subspace BlockList (r:0 w:1) - /// Proof Skipped: Subspace BlockList (max_values: None, max_size: None, mode: Measured) + /// Storage: `OffencesSubspace::ReportsByKindIndex` (r:1 w:1) + /// Proof: `OffencesSubspace::ReportsByKindIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `OffencesSubspace::ConcurrentReportsIndex` (r:1 w:1) + /// Proof: `OffencesSubspace::ConcurrentReportsIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `OffencesSubspace::Reports` (r:1 w:1) + /// Proof: `OffencesSubspace::Reports` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::BlockList` (r:0 w:1) + /// Proof: `Subspace::BlockList` (`max_values`: None, `max_size`: None, mode: `Measured`) fn report_equivocation() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `10563` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_000_000, 10563) + // Measured: `0` + // Estimated: `3465` + // Minimum execution time: 27_544_000 picoseconds. + Weight::from_parts(28_117_000, 3465) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Subspace SegmentCommitment (r:20 w:20) - /// Proof Skipped: Subspace SegmentCommitment (max_values: None, max_size: None, mode: Measured) - /// Storage: Subspace CounterForSegmentCommitment (r:1 w:1) - /// Proof: Subspace CounterForSegmentCommitment (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Subspace::DidProcessSegmentHeaders` (r:1 w:1) + /// Proof: `Subspace::DidProcessSegmentHeaders` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::SegmentCommitment` (r:20 w:20) + /// Proof: `Subspace::SegmentCommitment` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::CounterForSegmentCommitment` (r:1 w:1) + /// Proof: `Subspace::CounterForSegmentCommitment` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[1, 20]`. fn store_segment_headers(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `4060 + x * (2475 ±0)` - // Minimum execution time: 440_000_000 picoseconds. - Weight::from_parts(20_123_871, 4060) - // Standard Error: 1_226_571 - .saturating_add(Weight::from_parts(446_050_711, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `0` + // Estimated: `1489 + x * (2475 ±0)` + // Minimum execution time: 14_713_000 picoseconds. + Weight::from_parts(8_393_097, 1489) + // Standard Error: 5_367 + .saturating_add(Weight::from_parts(6_664_776, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(x.into())) } - /// Storage: Subspace ShouldAdjustSolutionRange (r:1 w:1) - /// Proof Skipped: Subspace ShouldAdjustSolutionRange (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Subspace SolutionRanges (r:1 w:1) - /// Proof Skipped: Subspace SolutionRanges (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Subspace NextSolutionRangeOverride (r:0 w:1) - /// Proof Skipped: Subspace NextSolutionRangeOverride (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Subspace::ShouldAdjustSolutionRange` (r:1 w:1) + /// Proof: `Subspace::ShouldAdjustSolutionRange` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::SolutionRanges` (r:1 w:1) + /// Proof: `Subspace::SolutionRanges` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::NextSolutionRangeOverride` (r:0 w:1) + /// Proof: `Subspace::NextSolutionRangeOverride` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn enable_solution_range_adjustment() -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `4647` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 4647) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 8_505_000 picoseconds. + Weight::from_parts(8_696_000, 1485) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Subspace BlockList (r:1 w:0) - /// Proof Skipped: Subspace BlockList (max_values: None, max_size: None, mode: Measured) + /// Storage: `Subspace::BlockList` (r:1 w:0) + /// Proof: `Subspace::BlockList` (`max_values`: None, `max_size`: None, mode: `Measured`) fn vote() -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `3513` - // Minimum execution time: 1_288_000_000 picoseconds. - Weight::from_parts(1_297_000_000, 3513) + // Measured: `0` + // Estimated: `3465` + // Minimum execution time: 10_116_000 picoseconds. + Weight::from_parts(10_442_000, 3465) .saturating_add(T::DbWeight::get().reads(1_u64)) } - /// Storage: Subspace EnableRewards (r:1 w:1) - /// Proof Skipped: Subspace EnableRewards (max_values: Some(1), max_size: None, mode: Measured) - fn enable_rewards() -> Weight { + /// Storage: `Subspace::EnableRewards` (r:1 w:1) + /// Proof: `Subspace::EnableRewards` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn enable_rewards_at() -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `1533` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 1533) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 4_200_000 picoseconds. + Weight::from_parts(4_344_000, 1485) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Subspace RootPlotPublicKey (r:1 w:0) - /// Proof Skipped: Subspace RootPlotPublicKey (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Subspace AllowAuthoringByAnyone (r:0 w:1) - /// Proof Skipped: Subspace AllowAuthoringByAnyone (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Subspace::RootPlotPublicKey` (r:1 w:0) + /// Proof: `Subspace::RootPlotPublicKey` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::AllowAuthoringByAnyone` (r:0 w:1) + /// Proof: `Subspace::AllowAuthoringByAnyone` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn enable_authoring_by_anyone() -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `3114` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_000_000, 3114) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 5_316_000 picoseconds. + Weight::from_parts(5_589_000, 1485) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Subspace PotSlotIterations (r:1 w:0) - /// Storage: Subspace PotSlotIterationsUpdate (r:1 w:1) - /// Proof Skipped: Subspace PotSlotIterationsUpdate (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Subspace::PotSlotIterations` (r:1 w:0) + /// Proof: `Subspace::PotSlotIterations` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::PotSlotIterationsUpdate` (r:1 w:1) + /// Proof: `Subspace::PotSlotIterationsUpdate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_pot_slot_iterations() -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `1533` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 1533) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 5_132_000 picoseconds. + Weight::from_parts(5_251_000, 1485) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -150,106 +153,109 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: OffencesSubspace ReportsByKindIndex (r:1 w:1) - /// Proof Skipped: OffencesSubspace ReportsByKindIndex (max_values: None, max_size: None, mode: Measured) - /// Storage: OffencesSubspace ConcurrentReportsIndex (r:1 w:1) - /// Proof Skipped: OffencesSubspace ConcurrentReportsIndex (max_values: None, max_size: None, mode: Measured) - /// Storage: OffencesSubspace Reports (r:1 w:1) - /// Proof Skipped: OffencesSubspace Reports (max_values: None, max_size: None, mode: Measured) - /// Storage: Subspace BlockList (r:0 w:1) - /// Proof Skipped: Subspace BlockList (max_values: None, max_size: None, mode: Measured) + /// Storage: `OffencesSubspace::ReportsByKindIndex` (r:1 w:1) + /// Proof: `OffencesSubspace::ReportsByKindIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `OffencesSubspace::ConcurrentReportsIndex` (r:1 w:1) + /// Proof: `OffencesSubspace::ConcurrentReportsIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `OffencesSubspace::Reports` (r:1 w:1) + /// Proof: `OffencesSubspace::Reports` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::BlockList` (r:0 w:1) + /// Proof: `Subspace::BlockList` (`max_values`: None, `max_size`: None, mode: `Measured`) fn report_equivocation() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `10563` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_000_000, 10563) + // Measured: `0` + // Estimated: `3465` + // Minimum execution time: 27_544_000 picoseconds. + Weight::from_parts(28_117_000, 3465) .saturating_add(ParityDbWeight::get().reads(3_u64)) .saturating_add(ParityDbWeight::get().writes(4_u64)) } - /// Storage: Subspace SegmentCommitment (r:20 w:20) - /// Proof Skipped: Subspace SegmentCommitment (max_values: None, max_size: None, mode: Measured) - /// Storage: Subspace CounterForSegmentCommitment (r:1 w:1) - /// Proof: Subspace CounterForSegmentCommitment (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Subspace::DidProcessSegmentHeaders` (r:1 w:1) + /// Proof: `Subspace::DidProcessSegmentHeaders` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::SegmentCommitment` (r:20 w:20) + /// Proof: `Subspace::SegmentCommitment` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::CounterForSegmentCommitment` (r:1 w:1) + /// Proof: `Subspace::CounterForSegmentCommitment` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[1, 20]`. fn store_segment_headers(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `4060 + x * (2475 ±0)` - // Minimum execution time: 440_000_000 picoseconds. - Weight::from_parts(20_123_871, 4060) - // Standard Error: 1_226_571 - .saturating_add(Weight::from_parts(446_050_711, 0).saturating_mul(x.into())) - .saturating_add(ParityDbWeight::get().reads(2_u64)) + // Measured: `0` + // Estimated: `1489 + x * (2475 ±0)` + // Minimum execution time: 14_713_000 picoseconds. + Weight::from_parts(8_393_097, 1489) + // Standard Error: 5_367 + .saturating_add(Weight::from_parts(6_664_776, 0).saturating_mul(x.into())) + .saturating_add(ParityDbWeight::get().reads(3_u64)) .saturating_add(ParityDbWeight::get().reads((1_u64).saturating_mul(x.into()))) - .saturating_add(ParityDbWeight::get().writes(2_u64)) + .saturating_add(ParityDbWeight::get().writes(3_u64)) .saturating_add(ParityDbWeight::get().writes((1_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(x.into())) } - /// Storage: Subspace ShouldAdjustSolutionRange (r:1 w:1) - /// Proof Skipped: Subspace ShouldAdjustSolutionRange (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Subspace SolutionRanges (r:1 w:1) - /// Proof Skipped: Subspace SolutionRanges (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Subspace NextSolutionRangeOverride (r:0 w:1) - /// Proof Skipped: Subspace NextSolutionRangeOverride (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Subspace::ShouldAdjustSolutionRange` (r:1 w:1) + /// Proof: `Subspace::ShouldAdjustSolutionRange` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::SolutionRanges` (r:1 w:1) + /// Proof: `Subspace::SolutionRanges` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::NextSolutionRangeOverride` (r:0 w:1) + /// Proof: `Subspace::NextSolutionRangeOverride` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn enable_solution_range_adjustment() -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `4647` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 4647) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 8_505_000 picoseconds. + Weight::from_parts(8_696_000, 1485) .saturating_add(ParityDbWeight::get().reads(3_u64)) .saturating_add(ParityDbWeight::get().writes(4_u64)) } - /// Storage: Subspace BlockList (r:1 w:0) - /// Proof Skipped: Subspace BlockList (max_values: None, max_size: None, mode: Measured) + /// Storage: `Subspace::BlockList` (r:1 w:0) + /// Proof: `Subspace::BlockList` (`max_values`: None, `max_size`: None, mode: `Measured`) fn vote() -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `3513` - // Minimum execution time: 1_288_000_000 picoseconds. - Weight::from_parts(1_297_000_000, 3513) + // Measured: `0` + // Estimated: `3465` + // Minimum execution time: 10_116_000 picoseconds. + Weight::from_parts(10_442_000, 3465) .saturating_add(ParityDbWeight::get().reads(1_u64)) } - /// Storage: Subspace EnableRewards (r:1 w:1) - /// Proof Skipped: Subspace EnableRewards (max_values: Some(1), max_size: None, mode: Measured) - fn enable_rewards() -> Weight { + /// Storage: `Subspace::EnableRewards` (r:1 w:1) + /// Proof: `Subspace::EnableRewards` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn enable_rewards_at() -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `1533` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 1533) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 4_200_000 picoseconds. + Weight::from_parts(4_344_000, 1485) .saturating_add(ParityDbWeight::get().reads(1_u64)) .saturating_add(ParityDbWeight::get().writes(1_u64)) } - /// Storage: Subspace RootPlotPublicKey (r:1 w:0) - /// Proof Skipped: Subspace RootPlotPublicKey (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Subspace AllowAuthoringByAnyone (r:0 w:1) - /// Proof Skipped: Subspace AllowAuthoringByAnyone (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Subspace::RootPlotPublicKey` (r:1 w:0) + /// Proof: `Subspace::RootPlotPublicKey` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::AllowAuthoringByAnyone` (r:0 w:1) + /// Proof: `Subspace::AllowAuthoringByAnyone` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn enable_authoring_by_anyone() -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `3114` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_000_000, 3114) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 5_316_000 picoseconds. + Weight::from_parts(5_589_000, 1485) .saturating_add(ParityDbWeight::get().reads(2_u64)) .saturating_add(ParityDbWeight::get().writes(2_u64)) } - /// Storage: Subspace PotSlotIterations (r:1 w:0) - /// Storage: Subspace PotSlotIterationsUpdate (r:1 w:1) - /// Proof Skipped: Subspace PotSlotIterationsUpdate (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Subspace::PotSlotIterations` (r:1 w:0) + /// Proof: `Subspace::PotSlotIterations` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Subspace::PotSlotIterationsUpdate` (r:1 w:1) + /// Proof: `Subspace::PotSlotIterationsUpdate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_pot_slot_iterations() -> Weight { // Proof Size summary in bytes: - // Measured: `48` - // Estimated: `1533` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 1533) + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 5_132_000 picoseconds. + Weight::from_parts(5_251_000, 1485) .saturating_add(ParityDbWeight::get().reads(2_u64)) .saturating_add(ParityDbWeight::get().writes(1_u64)) } diff --git a/domains/pallets/messenger/src/weights.rs b/domains/pallets/messenger/src/weights.rs index 3284f7010d..273e92f64b 100644 --- a/domains/pallets/messenger/src/weights.rs +++ b/domains/pallets/messenger/src/weights.rs @@ -1,27 +1,26 @@ //! Autogenerated weights for pallet_messenger //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-06-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0 +//! DATE: 2024-09-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `mac-mini.local`, CPU: `` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `Ubuntu-2404-noble-amd64-base`, CPU: `Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: // ./target/release/subspace-node -// domain // benchmark // pallet -// --chain=dev +// --runtime=./target/release/wbuild/subspace-runtime/subspace_runtime.compact.compressed.wasm +// --genesis-builder=runtime // --steps=50 // --repeat=20 // --pallet=pallet_messenger // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./domains/pallets/messenger/src/weights.rs -// --template -// ./frame-weight-template.hbs +// --output=./weights/pallet-messenger.rs +// --template=./frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -43,8 +42,6 @@ pub trait WeightInfo { /// Weights for pallet_messenger using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: `SelfDomainId::SelfDomainId` (r:1 w:0) - /// Proof: `SelfDomainId::SelfDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::ChainAllowlist` (r:1 w:0) /// Proof: `Messenger::ChainAllowlist` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::NextChannelId` (r:1 w:1) @@ -57,46 +54,44 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Messenger::CounterForOutbox` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Messenger::Outbox` (r:1 w:1) /// Proof: `Messenger::Outbox` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Messenger::BlockMessages` (r:1 w:1) - /// Proof: `Messenger::BlockMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::MessageWeightTags` (r:1 w:1) + /// Proof: `Messenger::MessageWeightTags` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::Channels` (r:0 w:1) /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) fn initiate_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `93` + // Measured: `62` // Estimated: `9015` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(56_000_000, 9015) - .saturating_add(T::DbWeight::get().reads(8_u64)) + // Minimum execution time: 84_969_000 picoseconds. + Weight::from_parts(85_882_000, 9015) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `Messenger::Channels` (r:1 w:1) /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SelfDomainId::SelfDomainId` (r:1 w:0) - /// Proof: `SelfDomainId::SelfDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::CounterForOutbox` (r:1 w:1) /// Proof: `Messenger::CounterForOutbox` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Messenger::Outbox` (r:1 w:1) /// Proof: `Messenger::Outbox` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Messenger::BlockMessages` (r:1 w:1) - /// Proof: `Messenger::BlockMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::MessageWeightTags` (r:1 w:1) + /// Proof: `Messenger::MessageWeightTags` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn close_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `278` - // Estimated: `3743` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(22_000_000, 3743) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `250` + // Estimated: `3715` + // Minimum execution time: 34_897_000 picoseconds. + Weight::from_parts(35_649_000, 3715) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Messenger::Channels` (r:1 w:1) /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) fn do_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `248` - // Estimated: `3713` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 3713) + // Measured: `227` + // Estimated: `3692` + // Minimum execution time: 11_311_000 picoseconds. + Weight::from_parts(11_706_000, 3692) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -104,10 +99,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) fn do_close_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `248` - // Estimated: `3713` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_000_000, 3713) + // Measured: `227` + // Estimated: `3692` + // Minimum execution time: 11_114_000 picoseconds. + Weight::from_parts(11_477_000, 3692) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -115,22 +110,22 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Messenger::Inbox` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::Channels` (r:1 w:1) /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SelfDomainId::SelfDomainId` (r:1 w:0) - /// Proof: `SelfDomainId::SelfDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::InboxResponses` (r:1 w:1) /// Proof: `Messenger::InboxResponses` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Messenger::CounterForInboxResponses` (r:1 w:1) /// Proof: `Messenger::CounterForInboxResponses` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Messenger::BlockMessages` (r:1 w:1) - /// Proof: `Messenger::BlockMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::MessageWeightTags` (r:1 w:1) + /// Proof: `Messenger::MessageWeightTags` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::UpdatedChannels` (r:1 w:1) + /// Proof: `Messenger::UpdatedChannels` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn relay_message() -> Weight { // Proof Size summary in bytes: - // Measured: `378` - // Estimated: `3843` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(22_000_000, 3843) + // Measured: `346` + // Estimated: `3811` + // Minimum execution time: 36_673_000 picoseconds. + Weight::from_parts(37_070_000, 3811) .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Messenger::OutboxResponses` (r:1 w:1) /// Proof: `Messenger::OutboxResponses` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -140,21 +135,23 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Messenger::Outbox` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Messenger::CounterForOutbox` (r:1 w:1) /// Proof: `Messenger::CounterForOutbox` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Messenger::MessageWeightTags` (r:1 w:1) + /// Proof: `Messenger::MessageWeightTags` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::UpdatedChannels` (r:1 w:1) + /// Proof: `Messenger::UpdatedChannels` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn relay_message_response() -> Weight { // Proof Size summary in bytes: - // Measured: `569` - // Estimated: `4034` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 4034) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `540` + // Estimated: `4005` + // Minimum execution time: 35_566_000 picoseconds. + Weight::from_parts(36_336_000, 4005) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: `SelfDomainId::SelfDomainId` (r:1 w:0) - /// Proof: `SelfDomainId::SelfDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::ChainAllowlist` (r:1 w:0) /// Proof: `Messenger::ChainAllowlist` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::NextChannelId` (r:1 w:1) @@ -167,46 +164,44 @@ impl WeightInfo for () { /// Proof: `Messenger::CounterForOutbox` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Messenger::Outbox` (r:1 w:1) /// Proof: `Messenger::Outbox` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Messenger::BlockMessages` (r:1 w:1) - /// Proof: `Messenger::BlockMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::MessageWeightTags` (r:1 w:1) + /// Proof: `Messenger::MessageWeightTags` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::Channels` (r:0 w:1) /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) fn initiate_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `93` + // Measured: `62` // Estimated: `9015` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(56_000_000, 9015) - .saturating_add(ParityDbWeight::get().reads(8_u64)) + // Minimum execution time: 84_969_000 picoseconds. + Weight::from_parts(85_882_000, 9015) + .saturating_add(ParityDbWeight::get().reads(7_u64)) .saturating_add(ParityDbWeight::get().writes(7_u64)) } /// Storage: `Messenger::Channels` (r:1 w:1) /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SelfDomainId::SelfDomainId` (r:1 w:0) - /// Proof: `SelfDomainId::SelfDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::CounterForOutbox` (r:1 w:1) /// Proof: `Messenger::CounterForOutbox` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Messenger::Outbox` (r:1 w:1) /// Proof: `Messenger::Outbox` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Messenger::BlockMessages` (r:1 w:1) - /// Proof: `Messenger::BlockMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::MessageWeightTags` (r:1 w:1) + /// Proof: `Messenger::MessageWeightTags` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn close_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `278` - // Estimated: `3743` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(22_000_000, 3743) - .saturating_add(ParityDbWeight::get().reads(5_u64)) + // Measured: `250` + // Estimated: `3715` + // Minimum execution time: 34_897_000 picoseconds. + Weight::from_parts(35_649_000, 3715) + .saturating_add(ParityDbWeight::get().reads(4_u64)) .saturating_add(ParityDbWeight::get().writes(4_u64)) } /// Storage: `Messenger::Channels` (r:1 w:1) /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) fn do_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `248` - // Estimated: `3713` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 3713) + // Measured: `227` + // Estimated: `3692` + // Minimum execution time: 11_311_000 picoseconds. + Weight::from_parts(11_706_000, 3692) .saturating_add(ParityDbWeight::get().reads(1_u64)) .saturating_add(ParityDbWeight::get().writes(1_u64)) } @@ -214,10 +209,10 @@ impl WeightInfo for () { /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) fn do_close_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `248` - // Estimated: `3713` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_000_000, 3713) + // Measured: `227` + // Estimated: `3692` + // Minimum execution time: 11_114_000 picoseconds. + Weight::from_parts(11_477_000, 3692) .saturating_add(ParityDbWeight::get().reads(1_u64)) .saturating_add(ParityDbWeight::get().writes(1_u64)) } @@ -225,22 +220,22 @@ impl WeightInfo for () { /// Proof: `Messenger::Inbox` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::Channels` (r:1 w:1) /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SelfDomainId::SelfDomainId` (r:1 w:0) - /// Proof: `SelfDomainId::SelfDomainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Messenger::InboxResponses` (r:1 w:1) /// Proof: `Messenger::InboxResponses` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Messenger::CounterForInboxResponses` (r:1 w:1) /// Proof: `Messenger::CounterForInboxResponses` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Messenger::BlockMessages` (r:1 w:1) - /// Proof: `Messenger::BlockMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::MessageWeightTags` (r:1 w:1) + /// Proof: `Messenger::MessageWeightTags` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::UpdatedChannels` (r:1 w:1) + /// Proof: `Messenger::UpdatedChannels` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn relay_message() -> Weight { // Proof Size summary in bytes: - // Measured: `378` - // Estimated: `3843` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(22_000_000, 3843) + // Measured: `346` + // Estimated: `3811` + // Minimum execution time: 36_673_000 picoseconds. + Weight::from_parts(37_070_000, 3811) .saturating_add(ParityDbWeight::get().reads(6_u64)) - .saturating_add(ParityDbWeight::get().writes(5_u64)) + .saturating_add(ParityDbWeight::get().writes(6_u64)) } /// Storage: `Messenger::OutboxResponses` (r:1 w:1) /// Proof: `Messenger::OutboxResponses` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -250,13 +245,17 @@ impl WeightInfo for () { /// Proof: `Messenger::Outbox` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Messenger::CounterForOutbox` (r:1 w:1) /// Proof: `Messenger::CounterForOutbox` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Messenger::MessageWeightTags` (r:1 w:1) + /// Proof: `Messenger::MessageWeightTags` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::UpdatedChannels` (r:1 w:1) + /// Proof: `Messenger::UpdatedChannels` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn relay_message_response() -> Weight { // Proof Size summary in bytes: - // Measured: `569` - // Estimated: `4034` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 4034) - .saturating_add(ParityDbWeight::get().reads(4_u64)) - .saturating_add(ParityDbWeight::get().writes(4_u64)) + // Measured: `540` + // Estimated: `4005` + // Minimum execution time: 35_566_000 picoseconds. + Weight::from_parts(36_336_000, 4005) + .saturating_add(ParityDbWeight::get().reads(6_u64)) + .saturating_add(ParityDbWeight::get().writes(6_u64)) } } diff --git a/domains/pallets/transporter/src/lib.rs b/domains/pallets/transporter/src/lib.rs index 68606e8f2b..065ab1aba7 100644 --- a/domains/pallets/transporter/src/lib.rs +++ b/domains/pallets/transporter/src/lib.rs @@ -17,7 +17,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![forbid(unsafe_code)] -#![warn(rust_2018_idioms, missing_debug_implementations)] +#![warn(rust_2018_idioms)] #[cfg(feature = "runtime-benchmarks")] mod benchmarking; diff --git a/domains/pallets/transporter/src/weights.rs b/domains/pallets/transporter/src/weights.rs index 76725e82bf..f141256e91 100644 --- a/domains/pallets/transporter/src/weights.rs +++ b/domains/pallets/transporter/src/weights.rs @@ -1,27 +1,26 @@ //! Autogenerated weights for pallet_transporter //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 42.0.0 +//! DATE: 2024-09-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `local`, CPU: `` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `Ubuntu-2404-noble-amd64-base`, CPU: `Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: // ./target/release/subspace-node -// executor // benchmark // pallet -// --chain=dev +// --runtime=./target/release/wbuild/subspace-runtime/subspace_runtime.compact.compressed.wasm +// --genesis-builder=runtime // --steps=50 // --repeat=20 // --pallet=pallet_transporter // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./domains/pallets/transporter/src/weights.rs -// --template -// ./frame-weight-template.hbs +// --output=./weights/pallet-transporter.rs +// --template=./frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -38,111 +37,124 @@ pub trait WeightInfo { } /// Weights for pallet_transporter using the Substrate node and recommended hardware. -#[derive(Debug)] pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Messenger NextChannelId (r:1 w:0) - /// Proof Skipped: Messenger NextChannelId (max_values: None, max_size: None, mode: Measured) - /// Storage: Messenger Channels (r:1 w:1) - /// Proof Skipped: Messenger Channels (max_values: None, max_size: None, mode: Measured) - /// Storage: Messenger CounterForOutbox (r:1 w:1) - /// Proof: Messenger CounterForOutbox (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Messenger Outbox (r:1 w:1) - /// Proof Skipped: Messenger Outbox (max_values: None, max_size: None, mode: Measured) - /// Storage: Messenger Relayers (r:1 w:0) - /// Proof Skipped: Messenger Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Messenger NextRelayerIdx (r:1 w:1) - /// Proof Skipped: Messenger NextRelayerIdx (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Messenger RelayerMessages (r:1 w:1) - /// Proof Skipped: Messenger RelayerMessages (max_values: None, max_size: None, mode: Measured) - /// Storage: Transporter OutgoingTransfers (r:0 w:1) - /// Proof Skipped: Transporter OutgoingTransfers (max_values: None, max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Messenger::ChainAllowlist` (r:1 w:0) + /// Proof: `Messenger::ChainAllowlist` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::NextChannelId` (r:1 w:0) + /// Proof: `Messenger::NextChannelId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::Channels` (r:1 w:1) + /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::CounterForOutbox` (r:1 w:1) + /// Proof: `Messenger::CounterForOutbox` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Messenger::Outbox` (r:1 w:1) + /// Proof: `Messenger::Outbox` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::MessageWeightTags` (r:1 w:1) + /// Proof: `Messenger::MessageWeightTags` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Transporter::UnconfirmedTransfers` (r:1 w:1) + /// Proof: `Transporter::UnconfirmedTransfers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::OutboxFee` (r:0 w:1) + /// Proof: `Messenger::OutboxFee` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Transporter::OutgoingTransfers` (r:0 w:1) + /// Proof: `Transporter::OutgoingTransfers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `498` - // Estimated: `25398` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(60_000_000, 25398) + // Measured: `302` + // Estimated: `3767` + // Minimum execution time: 84_975_000 picoseconds. + Weight::from_parts(86_029_000, 3767) .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Transporter::UnconfirmedTransfers` (r:1 w:1) + /// Proof: `Transporter::UnconfirmedTransfers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn message() -> Weight { // Proof Size summary in bytes: - // Measured: `0` + // Measured: `26` // Estimated: `3593` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(10_000_000, 3593) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 13_438_000 picoseconds. + Weight::from_parts(13_671_000, 3593) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Transporter OutgoingTransfers (r:1 w:1) - /// Proof Skipped: Transporter OutgoingTransfers (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Transporter::OutgoingTransfers` (r:1 w:1) + /// Proof: `Transporter::OutgoingTransfers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Transporter::CancelledTransfers` (r:1 w:1) + /// Proof: `Transporter::CancelledTransfers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn message_response() -> Weight { // Proof Size summary in bytes: - // Measured: `244` - // Estimated: `7302` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 7302) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `212` + // Estimated: `3677` + // Minimum execution time: 20_728_000 picoseconds. + Weight::from_parts(21_281_000, 3677) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Messenger NextChannelId (r:1 w:0) - /// Proof Skipped: Messenger NextChannelId (max_values: None, max_size: None, mode: Measured) - /// Storage: Messenger Channels (r:1 w:1) - /// Proof Skipped: Messenger Channels (max_values: None, max_size: None, mode: Measured) - /// Storage: Messenger CounterForOutbox (r:1 w:1) - /// Proof: Messenger CounterForOutbox (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Messenger Outbox (r:1 w:1) - /// Proof Skipped: Messenger Outbox (max_values: None, max_size: None, mode: Measured) - /// Storage: Messenger Relayers (r:1 w:0) - /// Proof Skipped: Messenger Relayers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Messenger NextRelayerIdx (r:1 w:1) - /// Proof Skipped: Messenger NextRelayerIdx (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Messenger RelayerMessages (r:1 w:1) - /// Proof Skipped: Messenger RelayerMessages (max_values: None, max_size: None, mode: Measured) - /// Storage: Transporter OutgoingTransfers (r:0 w:1) - /// Proof Skipped: Transporter OutgoingTransfers (max_values: None, max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Messenger::ChainAllowlist` (r:1 w:0) + /// Proof: `Messenger::ChainAllowlist` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::NextChannelId` (r:1 w:0) + /// Proof: `Messenger::NextChannelId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::Channels` (r:1 w:1) + /// Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::CounterForOutbox` (r:1 w:1) + /// Proof: `Messenger::CounterForOutbox` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Messenger::Outbox` (r:1 w:1) + /// Proof: `Messenger::Outbox` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::MessageWeightTags` (r:1 w:1) + /// Proof: `Messenger::MessageWeightTags` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Transporter::UnconfirmedTransfers` (r:1 w:1) + /// Proof: `Transporter::UnconfirmedTransfers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Messenger::OutboxFee` (r:0 w:1) + /// Proof: `Messenger::OutboxFee` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Transporter::OutgoingTransfers` (r:0 w:1) + /// Proof: `Transporter::OutgoingTransfers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `498` - // Estimated: `25398` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(60_000_000, 25398) + // Measured: `302` + // Estimated: `3767` + // Minimum execution time: 84_975_000 picoseconds. + Weight::from_parts(86_029_000, 3767) .saturating_add(ParityDbWeight::get().reads(8_u64)) - .saturating_add(ParityDbWeight::get().writes(7_u64)) + .saturating_add(ParityDbWeight::get().writes(8_u64)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Transporter::UnconfirmedTransfers` (r:1 w:1) + /// Proof: `Transporter::UnconfirmedTransfers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn message() -> Weight { // Proof Size summary in bytes: - // Measured: `0` + // Measured: `26` // Estimated: `3593` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(10_000_000, 3593) - .saturating_add(ParityDbWeight::get().reads(1_u64)) + // Minimum execution time: 13_438_000 picoseconds. + Weight::from_parts(13_671_000, 3593) + .saturating_add(ParityDbWeight::get().reads(2_u64)) + .saturating_add(ParityDbWeight::get().writes(1_u64)) } - /// Storage: Transporter OutgoingTransfers (r:1 w:1) - /// Proof Skipped: Transporter OutgoingTransfers (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Transporter::OutgoingTransfers` (r:1 w:1) + /// Proof: `Transporter::OutgoingTransfers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Transporter::CancelledTransfers` (r:1 w:1) + /// Proof: `Transporter::CancelledTransfers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn message_response() -> Weight { // Proof Size summary in bytes: - // Measured: `244` - // Estimated: `7302` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 7302) - .saturating_add(ParityDbWeight::get().reads(2_u64)) - .saturating_add(ParityDbWeight::get().writes(1_u64)) + // Measured: `212` + // Estimated: `3677` + // Minimum execution time: 20_728_000 picoseconds. + Weight::from_parts(21_281_000, 3677) + .saturating_add(ParityDbWeight::get().reads(3_u64)) + .saturating_add(ParityDbWeight::get().writes(2_u64)) } }