From 177092cf911c4185841cd95dbab7d3d7bb23b978 Mon Sep 17 00:00:00 2001 From: Xiliang Chen Date: Fri, 17 Mar 2023 04:26:55 +1300 Subject: [PATCH 01/18] remove duplicated arm and fix version index (#6884) * remove duplicated arm * annotate the version index * add tests * fmt --- Cargo.lock | 2 + xcm/Cargo.toml | 2 + xcm/src/lib.rs | 105 ++++++--------------------- xcm/src/tests.rs | 183 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 207 insertions(+), 85 deletions(-) create mode 100644 xcm/src/tests.rs diff --git a/Cargo.lock b/Cargo.lock index 35e5b71541df..5fa40a3e8c75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13798,6 +13798,8 @@ version = "0.9.39" dependencies = [ "bounded-collections", "derivative", + "hex", + "hex-literal", "impl-trait-for-tuples", "log", "parity-scale-codec", diff --git a/xcm/Cargo.toml b/xcm/Cargo.toml index 73690a9a0945..0dad0400320f 100644 --- a/xcm/Cargo.toml +++ b/xcm/Cargo.toml @@ -18,6 +18,8 @@ xcm-procedural = { path = "procedural" } [dev-dependencies] sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +hex = "0.4.3" +hex-literal = "0.3.4" [features] default = ["std"] diff --git a/xcm/src/lib.rs b/xcm/src/lib.rs index 95b226e1bacf..0f919b892179 100644 --- a/xcm/src/lib.rs +++ b/xcm/src/lib.rs @@ -42,6 +42,9 @@ pub mod latest { mod double_encoded; pub use double_encoded::DoubleEncoded; +#[cfg(test)] +mod tests; + /// Maximum nesting level for XCM decoding. pub const MAX_XCM_DECODE_DEPTH: u32 = 8; @@ -157,6 +160,7 @@ pub trait TryAs { macro_rules! versioned_type { ($(#[$attr:meta])* pub enum $n:ident { + $(#[$index3:meta])+ V3($v3:ty), }) => { #[derive(Derivative, Encode, Decode, TypeInfo)] @@ -170,7 +174,7 @@ macro_rules! versioned_type { #[codec(decode_bound())] $(#[$attr])* pub enum $n { - #[codec(index = 0)] + $(#[$index3])* V3($v3), } impl $n { @@ -215,7 +219,9 @@ macro_rules! versioned_type { }; ($(#[$attr:meta])* pub enum $n:ident { + $(#[$index2:meta])+ V2($v2:ty), + $(#[$index3:meta])+ V3($v3:ty), }) => { #[derive(Derivative, Encode, Decode, TypeInfo)] @@ -229,9 +235,9 @@ macro_rules! versioned_type { #[codec(decode_bound())] $(#[$attr])* pub enum $n { - #[codec(index = 0)] + $(#[$index2])* V2($v2), - #[codec(index = 1)] + $(#[$index3])* V3($v3), } impl $n { @@ -300,93 +306,12 @@ macro_rules! versioned_type { } } }; - - ($(#[$attr:meta])* pub enum $n:ident { - V2($v2:ty), - V3($v3:ty), - }) => { - #[derive(Derivative, Encode, Decode, TypeInfo)] - #[derivative(Clone(bound = ""), Eq(bound = ""), PartialEq(bound = ""), Debug(bound = ""))] - #[codec(encode_bound())] - #[codec(decode_bound())] - $(#[$attr])* - pub enum $n { - #[codec(index = 1)] - V2($v2), - #[codec(index = 2)] - V3($v3), - } - impl $n { - pub fn try_as(&self) -> Result<&T, ()> where Self: TryAs { - >::try_as(&self) - } - } - impl TryAs<$v2> for $n { - fn try_as(&self) -> Result<&$v2, ()> { - match &self { - Self::V2(ref x) => Ok(x), - _ => Err(()), - } - } - } - impl TryAs<$v3> for $n { - fn try_as(&self) -> Result<&$v3, ()> { - match &self { - Self::V3(ref x) => Ok(x), - _ => Err(()), - } - } - } - impl IntoVersion for $n { - fn into_version(self, n: Version) -> Result { - Ok(match n { - 2 => Self::V2(self.try_into()?), - 3 => Self::V3(self.try_into()?), - _ => return Err(()), - }) - } - } - impl From<$v2> for $n { - fn from(x: $v2) -> Self { - $n::V2(x) - } - } - impl> From for $n { - fn from(x: T) -> Self { - $n::V3(x.into()) - } - } - impl TryFrom<$n> for $v2 { - type Error = (); - fn try_from(x: $n) -> Result { - use $n::*; - match x { - V2(x) => Ok(x), - V3(x) => x.try_into(), - } - } - } - impl TryFrom<$n> for $v3 { - type Error = (); - fn try_from(x: $n) -> Result { - use $n::*; - match x { - V2(x) => x.try_into(), - V3(x) => Ok(x), - } - } - } - impl MaxEncodedLen for $n { - fn max_encoded_len() -> usize { - <$v3>::max_encoded_len() - } - } - } } versioned_type! { /// A single version's `Response` value, together with its version code. pub enum VersionedAssetId { + #[codec(index = 3)] V3(v3::AssetId), } } @@ -394,7 +319,9 @@ versioned_type! { versioned_type! { /// A single version's `Response` value, together with its version code. pub enum VersionedResponse { + #[codec(index = 2)] V2(v2::Response), + #[codec(index = 3)] V3(v3::Response), } } @@ -403,7 +330,9 @@ versioned_type! { /// A single `MultiLocation` value, together with its version code. #[derive(Ord, PartialOrd)] pub enum VersionedMultiLocation { + #[codec(index = 1)] // v2 is same as v1 and therefore re-using the v1 index V2(v2::MultiLocation), + #[codec(index = 3)] V3(v3::MultiLocation), } } @@ -411,7 +340,9 @@ versioned_type! { versioned_type! { /// A single `InteriorMultiLocation` value, together with its version code. pub enum VersionedInteriorMultiLocation { + #[codec(index = 2)] // while this is same as v1::Junctions, VersionedInteriorMultiLocation is introduced in v3 V2(v2::InteriorMultiLocation), + #[codec(index = 3)] V3(v3::InteriorMultiLocation), } } @@ -419,7 +350,9 @@ versioned_type! { versioned_type! { /// A single `MultiAsset` value, together with its version code. pub enum VersionedMultiAsset { + #[codec(index = 1)] // v2 is same as v1 and therefore re-using the v1 index V2(v2::MultiAsset), + #[codec(index = 3)] V3(v3::MultiAsset), } } @@ -427,7 +360,9 @@ versioned_type! { versioned_type! { /// A single `MultiAssets` value, together with its version code. pub enum VersionedMultiAssets { + #[codec(index = 1)] // v2 is same as v1 and therefore re-using the v1 index V2(v2::MultiAssets), + #[codec(index = 3)] V3(v3::MultiAssets), } } diff --git a/xcm/src/tests.rs b/xcm/src/tests.rs new file mode 100644 index 000000000000..32326cab0333 --- /dev/null +++ b/xcm/src/tests.rs @@ -0,0 +1,183 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +use crate::*; +use alloc::vec; + +#[test] +fn encode_decode_versioned_asset_id_v3() { + let asset_id = VersionedAssetId::V3(v3::AssetId::Abstract([1; 32])); + let encoded = asset_id.encode(); + + assert_eq!( + encoded, + hex_literal::hex!("03010101010101010101010101010101010101010101010101010101010101010101"), + "encode format changed" + ); + assert_eq!(encoded[0], 3, "bad version number"); + + let decoded = VersionedAssetId::decode(&mut &encoded[..]).unwrap(); + assert_eq!(asset_id, decoded); +} + +#[test] +fn encode_decode_versioned_response_v2() { + let response = VersionedResponse::V2(v2::Response::Null); + let encoded = response.encode(); + + assert_eq!(encoded, hex_literal::hex!("0200"), "encode format changed"); + assert_eq!(encoded[0], 2, "bad version number"); + + let decoded = VersionedResponse::decode(&mut &encoded[..]).unwrap(); + assert_eq!(response, decoded); +} + +#[test] +fn encode_decode_versioned_response_v3() { + let response = VersionedResponse::V3(v3::Response::Null); + let encoded = response.encode(); + + assert_eq!(encoded, hex_literal::hex!("0300"), "encode format changed"); + assert_eq!(encoded[0], 3, "bad version number"); + + let decoded = VersionedResponse::decode(&mut &encoded[..]).unwrap(); + assert_eq!(response, decoded); +} + +#[test] +fn encode_decode_versioned_multi_location_v2() { + let location = VersionedMultiLocation::V2(v2::MultiLocation::new(0, v2::Junctions::Here)); + let encoded = location.encode(); + + assert_eq!(encoded, hex_literal::hex!("010000"), "encode format changed"); + assert_eq!(encoded[0], 1, "bad version number"); // this is introduced in v1 + + let decoded = VersionedMultiLocation::decode(&mut &encoded[..]).unwrap(); + assert_eq!(location, decoded); +} + +#[test] +fn encode_decode_versioned_multi_location_v3() { + let location = VersionedMultiLocation::V3(v3::MultiLocation::new(0, v3::Junctions::Here)); + let encoded = location.encode(); + + assert_eq!(encoded, hex_literal::hex!("030000"), "encode format changed"); + assert_eq!(encoded[0], 3, "bad version number"); + + let decoded = VersionedMultiLocation::decode(&mut &encoded[..]).unwrap(); + assert_eq!(location, decoded); +} + +#[test] +fn encode_decode_versioned_interior_multi_location_v2() { + let location = VersionedInteriorMultiLocation::V2(v2::InteriorMultiLocation::Here); + let encoded = location.encode(); + + assert_eq!(encoded, hex_literal::hex!("0200"), "encode format changed"); + assert_eq!(encoded[0], 2, "bad version number"); + + let decoded = VersionedInteriorMultiLocation::decode(&mut &encoded[..]).unwrap(); + assert_eq!(location, decoded); +} + +#[test] +fn encode_decode_versioned_interior_multi_location_v3() { + let location = VersionedInteriorMultiLocation::V3(v3::InteriorMultiLocation::Here); + let encoded = location.encode(); + + assert_eq!(encoded, hex_literal::hex!("0300"), "encode format changed"); + assert_eq!(encoded[0], 3, "bad version number"); + + let decoded = VersionedInteriorMultiLocation::decode(&mut &encoded[..]).unwrap(); + assert_eq!(location, decoded); +} + +#[test] +fn encode_decode_versioned_multi_asset_v2() { + let asset = VersionedMultiAsset::V2(v2::MultiAsset::from(((0, v2::Junctions::Here), 1))); + let encoded = asset.encode(); + + assert_eq!(encoded, hex_literal::hex!("010000000004"), "encode format changed"); + assert_eq!(encoded[0], 1, "bad version number"); + + let decoded = VersionedMultiAsset::decode(&mut &encoded[..]).unwrap(); + assert_eq!(asset, decoded); +} + +#[test] +fn encode_decode_versioned_multi_asset_v3() { + let asset = VersionedMultiAsset::V3(v3::MultiAsset::from((v3::MultiLocation::default(), 1))); + let encoded = asset.encode(); + + assert_eq!(encoded, hex_literal::hex!("030000000004"), "encode format changed"); + assert_eq!(encoded[0], 3, "bad version number"); + + let decoded = VersionedMultiAsset::decode(&mut &encoded[..]).unwrap(); + assert_eq!(asset, decoded); +} + +#[test] +fn encode_decode_versioned_multi_assets_v2() { + let assets = VersionedMultiAssets::V2(v2::MultiAssets::from(vec![v2::MultiAsset::from(( + (0, v2::Junctions::Here), + 1, + ))])); + let encoded = assets.encode(); + + assert_eq!(encoded, hex_literal::hex!("01040000000004"), "encode format changed"); + assert_eq!(encoded[0], 1, "bad version number"); + + let decoded = VersionedMultiAssets::decode(&mut &encoded[..]).unwrap(); + assert_eq!(assets, decoded); +} + +#[test] +fn encode_decode_versioned_multi_assets_v3() { + let assets = VersionedMultiAssets::V3(v3::MultiAssets::from(vec![ + (v3::MultiAsset::from((v3::MultiLocation::default(), 1))), + ])); + let encoded = assets.encode(); + + assert_eq!(encoded, hex_literal::hex!("03040000000004"), "encode format changed"); + assert_eq!(encoded[0], 3, "bad version number"); + + let decoded = VersionedMultiAssets::decode(&mut &encoded[..]).unwrap(); + assert_eq!(assets, decoded); +} + +#[test] +fn encode_decode_versioned_xcm_v2() { + let xcm = VersionedXcm::V2(v2::Xcm::<()>::new()); + let encoded = xcm.encode(); + + assert_eq!(encoded, hex_literal::hex!("0200"), "encode format changed"); + assert_eq!(encoded[0], 2, "bad version number"); + + let decoded = VersionedXcm::decode(&mut &encoded[..]).unwrap(); + assert_eq!(xcm, decoded); +} + +#[test] +fn encode_decode_versioned_xcm_v3() { + let xcm = VersionedXcm::V3(v3::Xcm::<()>::new()); + let encoded = xcm.encode(); + + assert_eq!(encoded, hex_literal::hex!("0300"), "encode format changed"); + assert_eq!(encoded[0], 3, "bad version number"); + + let decoded = VersionedXcm::decode(&mut &encoded[..]).unwrap(); + assert_eq!(xcm, decoded); +} From a23fc42edeb67ee9239919ac14e4b9b0299a284e Mon Sep 17 00:00:00 2001 From: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com> Date: Thu, 16 Mar 2023 11:56:38 -0700 Subject: [PATCH 02/18] Testing Reversion Speed on Dispute Concluded Against (#6880) * First pass adding logs * fmt * Adjustments --- node/core/chain-selection/src/tree.rs | 14 ++++++++++++++ node/core/dispute-coordinator/src/initialized.rs | 9 +++++++++ 2 files changed, 23 insertions(+) diff --git a/node/core/chain-selection/src/tree.rs b/node/core/chain-selection/src/tree.rs index 7cb2527243b1..b714cee29101 100644 --- a/node/core/chain-selection/src/tree.rs +++ b/node/core/chain-selection/src/tree.rs @@ -359,6 +359,14 @@ fn apply_ancestor_reversions( // of unviability is only heavy on the first log. for revert_number in reversions { let maybe_block_entry = load_ancestor(backend, block_hash, block_number, revert_number)?; + if let Some(block_entry) = &maybe_block_entry { + gum::trace!( + target: LOG_TARGET, + ?revert_number, + revert_hash = ?block_entry.block_hash, + "Block marked as reverted via scraped on-chain reversions" + ); + } revert_single_block_entry_if_present( backend, maybe_block_entry, @@ -380,6 +388,12 @@ pub(crate) fn apply_single_reversion( revert_hash: Hash, revert_number: BlockNumber, ) -> Result<(), Error> { + gum::trace!( + target: LOG_TARGET, + ?revert_number, + ?revert_hash, + "Block marked as reverted via ChainSelectionMessage::RevertBlocks" + ); let maybe_block_entry = backend.load_block_entry(&revert_hash)?; revert_single_block_entry_if_present( backend, diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index 2dbba5be328a..047356838ff0 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -1034,6 +1034,15 @@ impl Initialized { // will need to mark the candidate's relay parent as reverted. if import_result.is_freshly_concluded_against() { let blocks_including = self.scraper.get_blocks_including_candidate(&candidate_hash); + for (parent_block_number, parent_block_hash) in &blocks_including { + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?parent_block_number, + ?parent_block_hash, + "Dispute has just concluded against the candidate hash noted. Its parent will be marked as reverted." + ); + } if blocks_including.len() > 0 { ctx.send_message(ChainSelectionMessage::RevertBlocks(blocks_including)).await; } else { From 7cecb5439ae8d63b8aa636f69154aea235b5c5d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Thu, 16 Mar 2023 19:56:52 +0100 Subject: [PATCH 03/18] parachains-runtime: Less cloning! (#6896) * parachains-runtime: Less cloning! * Fix tests * FMT --- runtime/parachains/src/disputes.rs | 12 ++++----- runtime/parachains/src/disputes/tests.rs | 26 ++++++++++---------- runtime/parachains/src/paras_inherent/mod.rs | 15 +++++------ 3 files changed, 25 insertions(+), 28 deletions(-) diff --git a/runtime/parachains/src/disputes.rs b/runtime/parachains/src/disputes.rs index bf918c61724f..a0e4ff9e7a96 100644 --- a/runtime/parachains/src/disputes.rs +++ b/runtime/parachains/src/disputes.rs @@ -277,7 +277,7 @@ pub trait DisputesHandler { /// Handle sets of dispute statements corresponding to 0 or more candidates. /// Returns a vector of freshly created disputes. fn process_checked_multi_dispute_data( - statement_sets: CheckedMultiDisputeStatementSet, + statement_sets: &CheckedMultiDisputeStatementSet, ) -> Result, DispatchError>; /// Note that the given candidate has been included. @@ -325,7 +325,7 @@ impl DisputesHandler for () { } fn process_checked_multi_dispute_data( - _statement_sets: CheckedMultiDisputeStatementSet, + _statement_sets: &CheckedMultiDisputeStatementSet, ) -> Result, DispatchError> { Ok(Vec::new()) } @@ -379,7 +379,7 @@ where } fn process_checked_multi_dispute_data( - statement_sets: CheckedMultiDisputeStatementSet, + statement_sets: &CheckedMultiDisputeStatementSet, ) -> Result, DispatchError> { pallet::Pallet::::process_checked_multi_dispute_data(statement_sets) } @@ -983,14 +983,14 @@ impl Pallet { /// and to fail the extrinsic on error. As invalid inherents are not allowed, the dirty state /// is not committed. pub(crate) fn process_checked_multi_dispute_data( - statement_sets: CheckedMultiDisputeStatementSet, + statement_sets: &CheckedMultiDisputeStatementSet, ) -> Result, DispatchError> { let config = >::config(); let mut fresh = Vec::with_capacity(statement_sets.len()); for statement_set in statement_sets { let dispute_target = { - let statement_set: &DisputeStatementSet = statement_set.as_ref(); + let statement_set = statement_set.as_ref(); (statement_set.session, statement_set.candidate_hash) }; if Self::process_checked_dispute_data( @@ -1126,7 +1126,7 @@ impl Pallet { /// Fails if the dispute data is invalid. Returns a Boolean indicating whether the /// dispute is fresh. fn process_checked_dispute_data( - set: CheckedDisputeStatementSet, + set: &CheckedDisputeStatementSet, dispute_post_conclusion_acceptance_period: T::BlockNumber, ) -> Result { // Dispute statement sets on any dispute which concluded diff --git a/runtime/parachains/src/disputes/tests.rs b/runtime/parachains/src/disputes/tests.rs index 8e9e0097f703..b12814fd72be 100644 --- a/runtime/parachains/src/disputes/tests.rs +++ b/runtime/parachains/src/disputes/tests.rs @@ -431,7 +431,7 @@ fn test_dispute_timeout() { let stmts = filter_dispute_set(stmts); assert_ok!( - Pallet::::process_checked_multi_dispute_data(stmts), + Pallet::::process_checked_multi_dispute_data(&stmts), vec![(9, candidate_hash.clone())], ); @@ -579,7 +579,7 @@ fn test_provide_multi_dispute_is_providing() { assert_ok!( Pallet::::process_checked_multi_dispute_data( - stmts + &stmts .into_iter() .map(CheckedDisputeStatementSet::unchecked_from_unchecked) .collect() @@ -644,7 +644,7 @@ fn test_disputes_with_missing_backing_votes_are_rejected() { }]; assert!(Pallet::::process_checked_multi_dispute_data( - stmts + &stmts .into_iter() .map(CheckedDisputeStatementSet::unchecked_from_unchecked) .collect() @@ -714,7 +714,7 @@ fn test_freeze_on_note_included() { ], }]; assert!(Pallet::::process_checked_multi_dispute_data( - stmts + &stmts .into_iter() .map(CheckedDisputeStatementSet::unchecked_from_unchecked) .collect() @@ -789,7 +789,7 @@ fn test_freeze_provided_against_supermajority_for_included() { Pallet::::note_included(3, candidate_hash.clone(), 3); assert!(Pallet::::process_checked_multi_dispute_data( - stmts + &stmts .into_iter() .map(CheckedDisputeStatementSet::unchecked_from_unchecked) .collect() @@ -891,7 +891,7 @@ mod unconfirmed_disputes { let stmts = filter_dispute_set(stmts); // Not confirmed => should be filtered out - assert_ok!(Pallet::::process_checked_multi_dispute_data(stmts), vec![],); + assert_ok!(Pallet::::process_checked_multi_dispute_data(&stmts), vec![],); }); } @@ -903,7 +903,7 @@ mod unconfirmed_disputes { let stmts = vec![CheckedDisputeStatementSet::unchecked_from_unchecked(stmts)]; assert_matches!( - Pallet::::process_checked_multi_dispute_data(stmts), + Pallet::::process_checked_multi_dispute_data(&stmts), Err(DispatchError::Module(ModuleError{index: _, error: _, message})) => assert_eq!(message, Some("UnconfirmedDispute")) ); @@ -1011,7 +1011,7 @@ fn test_provide_multi_dispute_success_and_other() { let stmts = filter_dispute_set(stmts); assert_ok!( - Pallet::::process_checked_multi_dispute_data(stmts), + Pallet::::process_checked_multi_dispute_data(&stmts), vec![(3, candidate_hash.clone())], ); @@ -1076,7 +1076,7 @@ fn test_provide_multi_dispute_success_and_other() { let stmts = filter_dispute_set(stmts); assert_ok!( - Pallet::::process_checked_multi_dispute_data(stmts), + Pallet::::process_checked_multi_dispute_data(&stmts), vec![(5, candidate_hash.clone())], ); @@ -1098,7 +1098,7 @@ fn test_provide_multi_dispute_success_and_other() { )], }]; let stmts = filter_dispute_set(stmts); - assert_ok!(Pallet::::process_checked_multi_dispute_data(stmts), vec![]); + assert_ok!(Pallet::::process_checked_multi_dispute_data(&stmts), vec![]); let stmts = vec![ // 0, 4, and 5 vote against 5 @@ -1177,7 +1177,7 @@ fn test_provide_multi_dispute_success_and_other() { }, ]; let stmts = filter_dispute_set(stmts); - assert_ok!(Pallet::::process_checked_multi_dispute_data(stmts), vec![]); + assert_ok!(Pallet::::process_checked_multi_dispute_data(&stmts), vec![]); assert_eq!( Pallet::::disputes(), @@ -1386,7 +1386,7 @@ fn test_punish_post_conclusion() { let stmts = filter_dispute_set(stmts); assert_ok!( - Pallet::::process_checked_multi_dispute_data(stmts), + Pallet::::process_checked_multi_dispute_data(&stmts), vec![(session, candidate_hash)], ); @@ -1429,7 +1429,7 @@ fn test_punish_post_conclusion() { }]; let stmts = filter_dispute_set(stmts); - assert_ok!(Pallet::::process_checked_multi_dispute_data(stmts), vec![],); + assert_ok!(Pallet::::process_checked_multi_dispute_data(&stmts), vec![],); // Ensure punishment for is called assert_eq!( diff --git a/runtime/parachains/src/paras_inherent/mod.rs b/runtime/parachains/src/paras_inherent/mod.rs index db9caca49d1b..c2dff1e16487 100644 --- a/runtime/parachains/src/paras_inherent/mod.rs +++ b/runtime/parachains/src/paras_inherent/mod.rs @@ -412,8 +412,7 @@ impl Pallet { // Note that `process_checked_multi_dispute_data` will iterate and import each // dispute; so the input here must be reasonably bounded, // which is guaranteed by the checks and weight limitation above. - let _ = - T::DisputesHandler::process_checked_multi_dispute_data(checked_disputes.clone())?; + let _ = T::DisputesHandler::process_checked_multi_dispute_data(&checked_disputes)?; METRICS.on_disputes_imported(checked_disputes.len() as u64); if T::DisputesHandler::is_frozen() { @@ -625,13 +624,11 @@ impl Pallet { // we don't care about fresh or not disputes // this writes them to storage, so let's query it via those means // if this fails for whatever reason, that's ok - let _ = T::DisputesHandler::process_checked_multi_dispute_data( - checked_disputes_sets.clone(), - ) - .map_err(|e| { - log::warn!(target: LOG_TARGET, "MultiDisputesData failed to update: {:?}", e); - e - }); + let _ = T::DisputesHandler::process_checked_multi_dispute_data(&checked_disputes_sets) + .map_err(|e| { + log::warn!(target: LOG_TARGET, "MultiDisputesData failed to update: {:?}", e); + e + }); // Contains the disputes that are concluded in the current session only, // since these are the only ones that are relevant for the occupied cores From b1dbd3c6f151e01676134a576d63d281e5a386d9 Mon Sep 17 00:00:00 2001 From: Davide Galassi Date: Fri, 17 Mar 2023 08:33:50 +0100 Subject: [PATCH 04/18] Fix approval voting test (#6898) --- node/core/approval-voting/src/tests.rs | 47 +++++++++++++++----------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/node/core/approval-voting/src/tests.rs b/node/core/approval-voting/src/tests.rs index 396d945de6b2..e284b328c8f4 100644 --- a/node/core/approval-voting/src/tests.rs +++ b/node/core/approval-voting/src/tests.rs @@ -43,7 +43,7 @@ use assert_matches::assert_matches; use async_trait::async_trait; use parking_lot::Mutex; use sp_keyring::sr25519::Keyring as Sr25519Keyring; -use sp_keystore::CryptoStore; +use sp_keystore::SyncCryptoStore; use std::{ pin::Pin, sync::{ @@ -65,6 +65,8 @@ use ::test_helpers::{dummy_candidate_receipt, dummy_candidate_receipt_bad_sig}; const SLOT_DURATION_MILLIS: u64 = 5000; +const TIMEOUT: Duration = Duration::from_millis(2000); + #[derive(Clone)] struct TestSyncOracle { flag: Arc, @@ -546,7 +548,6 @@ async fn overseer_recv_with_timeout( overseer.recv().timeout(timeout).await } -const TIMEOUT: Duration = Duration::from_millis(2000); async fn overseer_signal(overseer: &mut VirtualOverseer, signal: OverseerSignal) { overseer .send(FromOrchestra::Signal(signal)) @@ -2415,25 +2416,33 @@ pub async fn handle_double_assignment_import( recover_available_data(virtual_overseer).await; fetch_validation_code(virtual_overseer).await; - let first_message = virtual_overseer.recv().await; - let second_message = virtual_overseer.recv().await; + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::ApprovalDistribution(ApprovalDistributionMessage::DistributeAssignment( + _, + c_index + )) => { + assert_eq!(candidate_index, c_index); + } + ); - for msg in vec![first_message, second_message].into_iter() { - match msg { - AllMessages::ApprovalDistribution( - ApprovalDistributionMessage::DistributeAssignment(_, c_index), - ) => { - assert_eq!(candidate_index, c_index); - }, - AllMessages::CandidateValidation( - CandidateValidationMessage::ValidateFromExhaustive(_, _, _, _, timeout, tx), - ) if timeout == PvfExecTimeoutKind::Approval => { - tx.send(Ok(ValidationResult::Valid(Default::default(), Default::default()))) - .unwrap(); - }, - _ => panic! {}, + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::CandidateValidation(CandidateValidationMessage::ValidateFromExhaustive(_, _, _, _, timeout, tx)) if timeout == PvfExecTimeoutKind::Approval => { + tx.send(Ok(ValidationResult::Valid(Default::default(), Default::default()))) + .unwrap(); } - } + ); + + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::ApprovalDistribution(ApprovalDistributionMessage::DistributeApproval(_)) + ); + + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::ApprovalDistribution(ApprovalDistributionMessage::DistributeApproval(_)) + ); // Assert that there are no more messages being sent by the subsystem assert!(overseer_recv(virtual_overseer).timeout(TIMEOUT / 2).await.is_none()); From 1f89e100f8d00aa3ca114736366025d8266718b6 Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Fri, 17 Mar 2023 11:09:21 +0100 Subject: [PATCH 05/18] update weights (#6897) * polkadot: update weights * westend: update weights * kusama: update weights * rococo: update weights --- .../constants/src/weights/block_weights.rs | 18 +- .../src/weights/extrinsic_weights.rs | 18 +- .../weights/frame_benchmarking_baseline.rs | 30 +- .../frame_election_provider_support.rs | 26 +- runtime/kusama/src/weights/frame_system.rs | 46 +-- .../kusama/src/weights/pallet_bags_list.rs | 32 +- ...allet_balances_nis_counterpart_balances.rs | 72 ++-- runtime/kusama/src/weights/pallet_bounties.rs | 118 +++---- .../src/weights/pallet_child_bounties.rs | 84 ++--- .../src/weights/pallet_collective_council.rs | 188 +++++----- .../pallet_collective_technical_committee.rs | 182 +++++----- .../src/weights/pallet_conviction_voting.rs | 80 ++--- .../kusama/src/weights/pallet_democracy.rs | 284 +++++++-------- .../pallet_election_provider_multi_phase.rs | 130 ++++--- .../src/weights/pallet_elections_phragmen.rs | 150 ++++---- .../kusama/src/weights/pallet_fast_unstake.rs | 62 ++-- runtime/kusama/src/weights/pallet_identity.rs | 256 +++++++------- .../kusama/src/weights/pallet_im_online.rs | 22 +- runtime/kusama/src/weights/pallet_indices.rs | 50 +-- .../kusama/src/weights/pallet_membership.rs | 94 ++--- runtime/kusama/src/weights/pallet_multisig.rs | 104 +++--- runtime/kusama/src/weights/pallet_nis.rs | 112 +++--- .../src/weights/pallet_nomination_pools.rs | 152 ++++----- runtime/kusama/src/weights/pallet_preimage.rs | 114 +++---- runtime/kusama/src/weights/pallet_proxy.rs | 152 +++++---- .../src/weights/pallet_ranked_collective.rs | 70 ++-- .../pallet_referenda_fellowship_referenda.rs | 298 ++++++++-------- .../src/weights/pallet_referenda_referenda.rs | 300 ++++++++-------- .../kusama/src/weights/pallet_scheduler.rs | 114 +++---- runtime/kusama/src/weights/pallet_session.rs | 22 +- runtime/kusama/src/weights/pallet_staking.rs | 320 ++++++++--------- .../kusama/src/weights/pallet_timestamp.rs | 14 +- runtime/kusama/src/weights/pallet_tips.rs | 82 ++--- runtime/kusama/src/weights/pallet_treasury.rs | 66 ++-- runtime/kusama/src/weights/pallet_utility.rs | 34 +- runtime/kusama/src/weights/pallet_vesting.rs | 146 ++++---- .../kusama/src/weights/pallet_whitelist.rs | 42 +-- runtime/kusama/src/weights/pallet_xcm.rs | 102 +++--- .../src/weights/runtime_common_auctions.rs | 40 +-- .../src/weights/runtime_common_claims.rs | 50 +-- .../src/weights/runtime_common_crowdloan.rs | 104 +++--- .../weights/runtime_common_paras_registrar.rs | 66 ++-- .../src/weights/runtime_common_slots.rs | 54 +-- .../runtime_parachains_configuration.rs | 44 +-- .../weights/runtime_parachains_disputes.rs | 6 +- .../src/weights/runtime_parachains_hrmp.rs | 122 +++---- .../weights/runtime_parachains_initializer.rs | 16 +- .../src/weights/runtime_parachains_paras.rs | 120 +++---- .../runtime_parachains_paras_inherent.rs | 52 +-- .../src/weights/runtime_parachains_ump.rs | 26 +- .../constants/src/weights/block_weights.rs | 18 +- .../src/weights/extrinsic_weights.rs | 18 +- .../weights/frame_benchmarking_baseline.rs | 30 +- .../frame_election_provider_support.rs | 26 +- runtime/polkadot/src/weights/frame_system.rs | 46 +-- .../polkadot/src/weights/pallet_bags_list.rs | 32 +- .../polkadot/src/weights/pallet_balances.rs | 72 ++-- .../polkadot/src/weights/pallet_bounties.rs | 120 +++---- .../src/weights/pallet_child_bounties.rs | 86 ++--- .../src/weights/pallet_collective_council.rs | 186 +++++----- .../pallet_collective_technical_committee.rs | 182 +++++----- .../polkadot/src/weights/pallet_democracy.rs | 284 +++++++-------- .../pallet_election_provider_multi_phase.rs | 130 +++---- .../src/weights/pallet_elections_phragmen.rs | 150 ++++---- .../src/weights/pallet_fast_unstake.rs | 62 ++-- .../polkadot/src/weights/pallet_identity.rs | 256 +++++++------- .../polkadot/src/weights/pallet_im_online.rs | 22 +- .../polkadot/src/weights/pallet_indices.rs | 50 +-- .../polkadot/src/weights/pallet_membership.rs | 94 ++--- .../polkadot/src/weights/pallet_multisig.rs | 102 +++--- .../src/weights/pallet_nomination_pools.rs | 148 ++++---- .../polkadot/src/weights/pallet_preimage.rs | 110 +++--- runtime/polkadot/src/weights/pallet_proxy.rs | 152 ++++----- .../polkadot/src/weights/pallet_scheduler.rs | 112 +++--- .../polkadot/src/weights/pallet_session.rs | 22 +- .../polkadot/src/weights/pallet_staking.rs | 318 ++++++++--------- .../polkadot/src/weights/pallet_timestamp.rs | 14 +- runtime/polkadot/src/weights/pallet_tips.rs | 82 ++--- .../polkadot/src/weights/pallet_treasury.rs | 66 ++-- .../polkadot/src/weights/pallet_utility.rs | 34 +- .../polkadot/src/weights/pallet_vesting.rs | 146 ++++---- runtime/polkadot/src/weights/pallet_xcm.rs | 110 +++--- .../src/weights/runtime_common_auctions.rs | 40 +-- .../src/weights/runtime_common_claims.rs | 50 +-- .../src/weights/runtime_common_crowdloan.rs | 104 +++--- .../weights/runtime_common_paras_registrar.rs | 68 ++-- .../src/weights/runtime_common_slots.rs | 54 +-- .../runtime_parachains_configuration.rs | 54 +-- .../weights/runtime_parachains_disputes.rs | 6 +- .../src/weights/runtime_parachains_hrmp.rs | 126 +++---- .../weights/runtime_parachains_initializer.rs | 16 +- .../src/weights/runtime_parachains_paras.rs | 120 +++---- .../runtime_parachains_paras_inherent.rs | 52 +-- .../src/weights/runtime_parachains_ump.rs | 28 +- .../constants/src/weights/block_weights.rs | 18 +- .../src/weights/extrinsic_weights.rs | 18 +- .../weights/frame_benchmarking_baseline.rs | 30 +- runtime/rococo/src/weights/frame_system.rs | 46 +-- ...allet_balances_nis_counterpart_balances.rs | 72 ++-- runtime/rococo/src/weights/pallet_bounties.rs | 50 +-- .../src/weights/pallet_child_bounties.rs | 18 +- .../src/weights/pallet_collective_council.rs | 186 +++++----- .../pallet_collective_technical_committee.rs | 190 +++++------ .../rococo/src/weights/pallet_democracy.rs | 284 +++++++-------- .../src/weights/pallet_elections_phragmen.rs | 146 ++++---- runtime/rococo/src/weights/pallet_identity.rs | 252 +++++++------- .../rococo/src/weights/pallet_im_online.rs | 22 +- runtime/rococo/src/weights/pallet_indices.rs | 50 +-- .../rococo/src/weights/pallet_membership.rs | 94 ++--- runtime/rococo/src/weights/pallet_multisig.rs | 102 +++--- runtime/rococo/src/weights/pallet_nis.rs | 112 +++--- runtime/rococo/src/weights/pallet_preimage.rs | 110 +++--- runtime/rococo/src/weights/pallet_proxy.rs | 148 ++++---- .../rococo/src/weights/pallet_scheduler.rs | 114 +++---- .../rococo/src/weights/pallet_timestamp.rs | 14 +- runtime/rococo/src/weights/pallet_tips.rs | 84 ++--- runtime/rococo/src/weights/pallet_treasury.rs | 62 ++-- runtime/rococo/src/weights/pallet_utility.rs | 34 +- runtime/rococo/src/weights/pallet_vesting.rs | 146 ++++---- runtime/rococo/src/weights/pallet_xcm.rs | 112 +++--- .../src/weights/runtime_common_auctions.rs | 40 +-- .../src/weights/runtime_common_claims.rs | 50 +-- .../src/weights/runtime_common_crowdloan.rs | 104 +++--- .../weights/runtime_common_paras_registrar.rs | 68 ++-- .../src/weights/runtime_common_slots.rs | 54 +-- .../runtime_parachains_configuration.rs | 54 +-- .../weights/runtime_parachains_disputes.rs | 6 +- .../src/weights/runtime_parachains_hrmp.rs | 126 +++---- .../weights/runtime_parachains_initializer.rs | 14 +- .../src/weights/runtime_parachains_paras.rs | 120 +++---- .../src/weights/runtime_parachains_ump.rs | 28 +- .../constants/src/weights/block_weights.rs | 18 +- .../src/weights/extrinsic_weights.rs | 18 +- .../frame_election_provider_support.rs | 26 +- runtime/westend/src/weights/frame_system.rs | 46 +-- .../westend/src/weights/pallet_bags_list.rs | 32 +- .../westend/src/weights/pallet_balances.rs | 72 ++-- .../pallet_election_provider_multi_phase.rs | 130 +++---- .../src/weights/pallet_fast_unstake.rs | 62 ++-- .../westend/src/weights/pallet_identity.rs | 256 +++++++------- .../westend/src/weights/pallet_im_online.rs | 22 +- runtime/westend/src/weights/pallet_indices.rs | 50 +-- .../westend/src/weights/pallet_multisig.rs | 104 +++--- .../src/weights/pallet_nomination_pools.rs | 152 ++++----- .../westend/src/weights/pallet_preimage.rs | 110 +++--- runtime/westend/src/weights/pallet_proxy.rs | 156 +++++---- .../westend/src/weights/pallet_scheduler.rs | 112 +++--- runtime/westend/src/weights/pallet_session.rs | 22 +- runtime/westend/src/weights/pallet_staking.rs | 322 +++++++++--------- .../westend/src/weights/pallet_timestamp.rs | 14 +- runtime/westend/src/weights/pallet_utility.rs | 34 +- runtime/westend/src/weights/pallet_vesting.rs | 146 ++++---- runtime/westend/src/weights/pallet_xcm.rs | 100 +++--- .../src/weights/runtime_common_auctions.rs | 40 +-- .../src/weights/runtime_common_crowdloan.rs | 104 +++--- .../weights/runtime_common_paras_registrar.rs | 64 ++-- .../src/weights/runtime_common_slots.rs | 54 +-- .../runtime_parachains_configuration.rs | 44 +-- .../weights/runtime_parachains_disputes.rs | 6 +- .../runtime_parachains_disputes_slashing.rs | 26 +- .../src/weights/runtime_parachains_hrmp.rs | 122 +++---- .../weights/runtime_parachains_initializer.rs | 16 +- .../src/weights/runtime_parachains_paras.rs | 122 +++---- .../runtime_parachains_paras_inherent.rs | 52 +-- .../src/weights/runtime_parachains_ump.rs | 28 +- 165 files changed, 7369 insertions(+), 7375 deletions(-) diff --git a/runtime/kusama/constants/src/weights/block_weights.rs b/runtime/kusama/constants/src/weights/block_weights.rs index 285cb24bea0f..985c8bd7fc9b 100644 --- a/runtime/kusama/constants/src/weights/block_weights.rs +++ b/runtime/kusama/constants/src/weights/block_weights.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28 (Y/M/D) +//! DATE: 2023-03-16 (Y/M/D) //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` @@ -42,17 +42,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 9_120_818, 9_607_011 - /// Average: 9_246_456 - /// Median: 9_232_819 - /// Std-Dev: 75654.75 + /// Min, Max: 6_708_387, 7_042_534 + /// Average: 6_818_965 + /// Median: 6_826_464 + /// Std-Dev: 66350.7 /// /// Percentiles nanoseconds: - /// 99th: 9_433_167 - /// 95th: 9_411_822 - /// 75th: 9_272_878 + /// 99th: 6_991_352 + /// 95th: 6_933_543 + /// 75th: 6_854_332 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(9_246_456), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_818_965), 0); } #[cfg(test)] diff --git a/runtime/kusama/constants/src/weights/extrinsic_weights.rs b/runtime/kusama/constants/src/weights/extrinsic_weights.rs index 73f68231721e..9d07e32fb26d 100644 --- a/runtime/kusama/constants/src/weights/extrinsic_weights.rs +++ b/runtime/kusama/constants/src/weights/extrinsic_weights.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28 (Y/M/D) +//! DATE: 2023-03-16 (Y/M/D) //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` @@ -42,17 +42,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 103_518, 106_907 - /// Average: 104_517 - /// Median: 104_438 - /// Std-Dev: 475.03 + /// Min, Max: 105_285, 107_713 + /// Average: 106_013 + /// Median: 105_990 + /// Std-Dev: 441.55 /// /// Percentiles nanoseconds: - /// 99th: 106_279 - /// 95th: 105_257 - /// 75th: 104_647 + /// 99th: 107_324 + /// 95th: 106_820 + /// 75th: 106_178 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(104_517), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(106_013), 0); } #[cfg(test)] diff --git a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs index b4a89de52d17..4f00c743b5b8 100644 --- a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -50,8 +50,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 169 nanoseconds. - Weight::from_parts(211_793, 0) + // Minimum execution time: 181_000 picoseconds. + Weight::from_parts(213_057, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -59,8 +59,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 172 nanoseconds. - Weight::from_parts(210_656, 0) + // Minimum execution time: 187_000 picoseconds. + Weight::from_parts(218_567, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -68,8 +68,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 173 nanoseconds. - Weight::from_parts(216_851, 0) + // Minimum execution time: 186_000 picoseconds. + Weight::from_parts(217_697, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -77,16 +77,16 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 171 nanoseconds. - Weight::from_parts(210_747, 0) + // Minimum execution time: 175_000 picoseconds. + Weight::from_parts(215_174, 0) .saturating_add(Weight::from_parts(0, 0)) } fn hashing() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 24_801_107 nanoseconds. - Weight::from_parts(25_036_984_000, 0) + // Minimum execution time: 19_355_019_000 picoseconds. + Weight::from_parts(19_438_410_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 100]`. @@ -94,10 +94,10 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 197 nanoseconds. - Weight::from_parts(220_000, 0) + // Minimum execution time: 215_000 picoseconds. + Weight::from_parts(225_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 18_400 - .saturating_add(Weight::from_parts(47_299_555, 0).saturating_mul(i.into())) + // Standard Error: 21_389 + .saturating_add(Weight::from_parts(47_593_832, 0).saturating_mul(i.into())) } } diff --git a/runtime/kusama/src/weights/frame_election_provider_support.rs b/runtime/kusama/src/weights/frame_election_provider_support.rs index 000d9b9108a8..90a8b946babc 100644 --- a/runtime/kusama/src/weights/frame_election_provider_support.rs +++ b/runtime/kusama/src/weights/frame_election_provider_support.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -52,13 +52,13 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_256_446 nanoseconds. - Weight::from_parts(6_327_881_000, 0) + // Minimum execution time: 6_408_324_000 picoseconds. + Weight::from_parts(6_485_200_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 140_664 - .saturating_add(Weight::from_parts(5_840_511, 0).saturating_mul(v.into())) - // Standard Error: 14_381_047 - .saturating_add(Weight::from_parts(1_543_872_437, 0).saturating_mul(d.into())) + // Standard Error: 141_569 + .saturating_add(Weight::from_parts(5_934_369, 0).saturating_mul(v.into())) + // Standard Error: 14_473_545 + .saturating_add(Weight::from_parts(1_546_857_142, 0).saturating_mul(d.into())) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -67,12 +67,12 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_822_640 nanoseconds. - Weight::from_parts(4_870_840_000, 0) + // Minimum execution time: 4_994_312_000 picoseconds. + Weight::from_parts(5_043_278_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 150_173 - .saturating_add(Weight::from_parts(5_687_544, 0).saturating_mul(v.into())) - // Standard Error: 15_353_175 - .saturating_add(Weight::from_parts(1_784_144_004, 0).saturating_mul(d.into())) + // Standard Error: 153_800 + .saturating_add(Weight::from_parts(5_926_584, 0).saturating_mul(v.into())) + // Standard Error: 15_724_043 + .saturating_add(Weight::from_parts(1_841_670_903, 0).saturating_mul(d.into())) } } diff --git a/runtime/kusama/src/weights/frame_system.rs b/runtime/kusama/src/weights/frame_system.rs index 88db32fabcba..d840efb1effd 100644 --- a/runtime/kusama/src/weights/frame_system.rs +++ b/runtime/kusama/src/weights/frame_system.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -50,22 +50,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_917 nanoseconds. - Weight::from_parts(1_973_000, 0) + // Minimum execution time: 2_184_000 picoseconds. + Weight::from_parts(2_232_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(370, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(374, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_274 nanoseconds. - Weight::from_parts(7_405_000, 0) + // Minimum execution time: 7_626_000 picoseconds. + Weight::from_parts(7_777_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_731, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_410, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -74,10 +74,10 @@ impl frame_system::WeightInfo for WeightInfo { fn set_heap_pages() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `495` - // Minimum execution time: 3_833 nanoseconds. - Weight::from_parts(3_995_000, 0) - .saturating_add(Weight::from_parts(0, 495)) + // Estimated: `1485` + // Minimum execution time: 4_094_000 picoseconds. + Weight::from_parts(4_332_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,11 +88,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_820 nanoseconds. - Weight::from_parts(1_857_000, 0) + // Minimum execution time: 2_142_000 picoseconds. + Weight::from_parts(2_256_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_965 - .saturating_add(Weight::from_parts(676_171, 0).saturating_mul(i.into())) + // Standard Error: 1_736 + .saturating_add(Weight::from_parts(658_559, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -102,11 +102,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_856 nanoseconds. - Weight::from_parts(1_919_000, 0) + // Minimum execution time: 2_179_000 picoseconds. + Weight::from_parts(2_226_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 850 - .saturating_add(Weight::from_parts(484_572, 0).saturating_mul(i.into())) + // Standard Error: 817 + .saturating_add(Weight::from_parts(485_258, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -116,11 +116,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `120 + p * (69 ±0)` // Estimated: `121 + p * (70 ±0)` - // Minimum execution time: 3_847 nanoseconds. - Weight::from_parts(3_930_000, 0) + // Minimum execution time: 4_109_000 picoseconds. + Weight::from_parts(4_255_000, 0) .saturating_add(Weight::from_parts(0, 121)) - // Standard Error: 1_032 - .saturating_add(Weight::from_parts(1_006_925, 0).saturating_mul(p.into())) + // Standard Error: 1_259 + .saturating_add(Weight::from_parts(1_043_188, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/kusama/src/weights/pallet_bags_list.rs b/runtime/kusama/src/weights/pallet_bags_list.rs index 0ce8778df7cd..d41dac22e662 100644 --- a/runtime/kusama/src/weights/pallet_bags_list.rs +++ b/runtime/kusama/src/weights/pallet_bags_list.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl pallet_bags_list::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn rebag_non_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `1846` - // Estimated: `19186` - // Minimum execution time: 59_681 nanoseconds. - Weight::from_parts(60_540_000, 0) - .saturating_add(Weight::from_parts(0, 19186)) + // Measured: `1654` + // Estimated: `23146` + // Minimum execution time: 60_668_000 picoseconds. + Weight::from_parts(62_285_000, 0) + .saturating_add(Weight::from_parts(0, 23146)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -73,11 +73,11 @@ impl pallet_bags_list::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn rebag_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `1740` - // Estimated: `19114` - // Minimum execution time: 58_266 nanoseconds. - Weight::from_parts(59_035_000, 0) - .saturating_add(Weight::from_parts(0, 19114)) + // Measured: `1548` + // Estimated: `23074` + // Minimum execution time: 58_418_000 picoseconds. + Weight::from_parts(59_124_000, 0) + .saturating_add(Weight::from_parts(0, 23074)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -93,11 +93,11 @@ impl pallet_bags_list::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn put_in_front_of() -> Weight { // Proof Size summary in bytes: - // Measured: `2081` - // Estimated: `25798` - // Minimum execution time: 65_043 nanoseconds. - Weight::from_parts(65_583_000, 0) - .saturating_add(Weight::from_parts(0, 25798)) + // Measured: `1857` + // Estimated: `30748` + // Minimum execution time: 64_409_000 picoseconds. + Weight::from_parts(65_566_000, 0) + .saturating_add(Weight::from_parts(0, 30748)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs b/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs index 558ea276e1fd..cdd715608a52 100644 --- a/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs +++ b/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -53,11 +53,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1887` - // Estimated: `8288` - // Minimum execution time: 52_484 nanoseconds. - Weight::from_parts(53_580_000, 0) - .saturating_add(Weight::from_parts(0, 8288)) + // Measured: `219` + // Estimated: `11258` + // Minimum execution time: 39_224_000 picoseconds. + Weight::from_parts(39_636_000, 0) + .saturating_add(Weight::from_parts(0, 11258)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -67,11 +67,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `1713` - // Estimated: `7777` - // Minimum execution time: 36_900 nanoseconds. - Weight::from_parts(37_642_000, 0) - .saturating_add(Weight::from_parts(0, 7777)) + // Measured: `217` + // Estimated: `9757` + // Minimum execution time: 27_245_000 picoseconds. + Weight::from_parts(28_139_000, 0) + .saturating_add(Weight::from_parts(0, 9757)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,11 +81,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `1363` - // Estimated: `3098` - // Minimum execution time: 24_647 nanoseconds. - Weight::from_parts(24_978_000, 0) - .saturating_add(Weight::from_parts(0, 3098)) + // Measured: `219` + // Estimated: `5078` + // Minimum execution time: 16_568_000 picoseconds. + Weight::from_parts(16_964_000, 0) + .saturating_add(Weight::from_parts(0, 5078)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -97,11 +97,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn set_balance_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `1921` - // Estimated: `5701` - // Minimum execution time: 34_307 nanoseconds. - Weight::from_parts(34_814_000, 0) - .saturating_add(Weight::from_parts(0, 5701)) + // Measured: `393` + // Estimated: `8671` + // Minimum execution time: 24_153_000 picoseconds. + Weight::from_parts(24_529_000, 0) + .saturating_add(Weight::from_parts(0, 8671)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -113,11 +113,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1883` - // Estimated: `10891` - // Minimum execution time: 50_665 nanoseconds. - Weight::from_parts(51_270_000, 0) - .saturating_add(Weight::from_parts(0, 10891)) + // Measured: `322` + // Estimated: `13861` + // Minimum execution time: 41_412_000 picoseconds. + Weight::from_parts(42_310_000, 0) + .saturating_add(Weight::from_parts(0, 13861)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -127,11 +127,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `1885` - // Estimated: `7777` - // Minimum execution time: 47_045 nanoseconds. - Weight::from_parts(47_702_000, 0) - .saturating_add(Weight::from_parts(0, 7777)) + // Measured: `217` + // Estimated: `9757` + // Minimum execution time: 35_218_000 picoseconds. + Weight::from_parts(36_321_000, 0) + .saturating_add(Weight::from_parts(0, 9757)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -139,11 +139,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `1361` - // Estimated: `2587` - // Minimum execution time: 23_366 nanoseconds. - Weight::from_parts(23_786_000, 0) - .saturating_add(Weight::from_parts(0, 2587)) + // Measured: `217` + // Estimated: `3577` + // Minimum execution time: 14_706_000 picoseconds. + Weight::from_parts(15_135_000, 0) + .saturating_add(Weight::from_parts(0, 3577)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_bounties.rs b/runtime/kusama/src/weights/pallet_bounties.rs index a7266909c1b9..bd67e5727929 100644 --- a/runtime/kusama/src/weights/pallet_bounties.rs +++ b/runtime/kusama/src/weights/pallet_bounties.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -56,13 +56,13 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// The range of component `d` is `[0, 16384]`. fn propose_bounty(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `242` - // Estimated: `3102` - // Minimum execution time: 23_613 nanoseconds. - Weight::from_parts(25_287_910, 0) - .saturating_add(Weight::from_parts(0, 3102)) + // Measured: `210` + // Estimated: `5082` + // Minimum execution time: 23_859_000 picoseconds. + Weight::from_parts(25_408_671, 0) + .saturating_add(Weight::from_parts(0, 5082)) // Standard Error: 8 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(719, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -72,11 +72,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn approve_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `334` - // Estimated: `3549` - // Minimum execution time: 10_746 nanoseconds. - Weight::from_parts(11_000_000, 0) - .saturating_add(Weight::from_parts(0, 3549)) + // Measured: `302` + // Estimated: `5529` + // Minimum execution time: 11_187_000 picoseconds. + Weight::from_parts(11_502_000, 0) + .saturating_add(Weight::from_parts(0, 5529)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -84,11 +84,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn propose_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `354` - // Estimated: `2652` - // Minimum execution time: 9_691 nanoseconds. - Weight::from_parts(9_929_000, 0) - .saturating_add(Weight::from_parts(0, 2652)) + // Measured: `322` + // Estimated: `3642` + // Minimum execution time: 9_836_000 picoseconds. + Weight::from_parts(10_094_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -98,11 +98,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn unassign_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `562` - // Estimated: `5255` - // Minimum execution time: 34_060 nanoseconds. - Weight::from_parts(34_436_000, 0) - .saturating_add(Weight::from_parts(0, 5255)) + // Measured: `498` + // Estimated: `7235` + // Minimum execution time: 34_372_000 picoseconds. + Weight::from_parts(34_747_000, 0) + .saturating_add(Weight::from_parts(0, 7235)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -112,11 +112,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn accept_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `558` - // Estimated: `5255` - // Minimum execution time: 22_544 nanoseconds. - Weight::from_parts(23_053_000, 0) - .saturating_add(Weight::from_parts(0, 5255)) + // Measured: `494` + // Estimated: `7235` + // Minimum execution time: 22_979_000 picoseconds. + Weight::from_parts(23_299_000, 0) + .saturating_add(Weight::from_parts(0, 7235)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -126,11 +126,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen) fn award_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `538` - // Estimated: `5143` - // Minimum execution time: 18_886 nanoseconds. - Weight::from_parts(19_300_000, 0) - .saturating_add(Weight::from_parts(0, 5143)) + // Measured: `506` + // Estimated: `7123` + // Minimum execution time: 19_237_000 picoseconds. + Weight::from_parts(19_629_000, 0) + .saturating_add(Weight::from_parts(0, 7123)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,11 +144,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn claim_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `966` - // Estimated: `12964` - // Minimum execution time: 75_378 nanoseconds. - Weight::from_parts(76_364_000, 0) - .saturating_add(Weight::from_parts(0, 12964)) + // Measured: `870` + // Estimated: `15934` + // Minimum execution time: 74_467_000 picoseconds. + Weight::from_parts(75_107_000, 0) + .saturating_add(Weight::from_parts(0, 15934)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -162,11 +162,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn close_bounty_proposed() -> Weight { // Proof Size summary in bytes: - // Measured: `614` - // Estimated: `7746` - // Minimum execution time: 39_206 nanoseconds. - Weight::from_parts(39_721_000, 0) - .saturating_add(Weight::from_parts(0, 7746)) + // Measured: `550` + // Estimated: `10716` + // Minimum execution time: 39_805_000 picoseconds. + Weight::from_parts(40_350_000, 0) + .saturating_add(Weight::from_parts(0, 10716)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -180,11 +180,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn close_bounty_active() -> Weight { // Proof Size summary in bytes: - // Measured: `882` - // Estimated: `10349` - // Minimum execution time: 52_829 nanoseconds. - Weight::from_parts(53_521_000, 0) - .saturating_add(Weight::from_parts(0, 10349)) + // Measured: `786` + // Estimated: `13319` + // Minimum execution time: 52_094_000 picoseconds. + Weight::from_parts(52_637_000, 0) + .saturating_add(Weight::from_parts(0, 13319)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -192,11 +192,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn extend_bounty_expiry() -> Weight { // Proof Size summary in bytes: - // Measured: `390` - // Estimated: `2652` - // Minimum execution time: 14_913 nanoseconds. - Weight::from_parts(15_100_000, 0) - .saturating_add(Weight::from_parts(0, 2652)) + // Measured: `358` + // Estimated: `3642` + // Minimum execution time: 14_785_000 picoseconds. + Weight::from_parts(15_084_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -209,13 +209,13 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 100]`. fn spend_funds(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + b * (360 ±0)` - // Estimated: `897 + b * (7858 ±0)` - // Minimum execution time: 4_300 nanoseconds. - Weight::from_parts(4_380_000, 0) - .saturating_add(Weight::from_parts(0, 897)) - // Standard Error: 17_926 - .saturating_add(Weight::from_parts(32_426_151, 0).saturating_mul(b.into())) + // Measured: `0 + b * (297 ±0)` + // Estimated: `3867 + b * (7858 ±0)` + // Minimum execution time: 4_401_000 picoseconds. + Weight::from_parts(4_483_000, 0) + .saturating_add(Weight::from_parts(0, 3867)) + // Standard Error: 14_951 + .saturating_add(Weight::from_parts(31_756_079, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/kusama/src/weights/pallet_child_bounties.rs b/runtime/kusama/src/weights/pallet_child_bounties.rs index 991f991c3410..793ace553f50 100644 --- a/runtime/kusama/src/weights/pallet_child_bounties.rs +++ b/runtime/kusama/src/weights/pallet_child_bounties.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -60,13 +60,13 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `710` - // Estimated: `10848` - // Minimum execution time: 50_470 nanoseconds. - Weight::from_parts(52_331_249, 0) - .saturating_add(Weight::from_parts(0, 10848)) + // Measured: `646` + // Estimated: `14808` + // Minimum execution time: 50_138_000 picoseconds. + Weight::from_parts(51_829_783, 0) + .saturating_add(Weight::from_parts(0, 14808)) // Standard Error: 10 - .saturating_add(Weight::from_parts(683, 0).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(705, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -78,11 +78,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `764` - // Estimated: `7775` - // Minimum execution time: 17_620 nanoseconds. - Weight::from_parts(17_884_000, 0) - .saturating_add(Weight::from_parts(0, 7775)) + // Measured: `700` + // Estimated: `10745` + // Minimum execution time: 17_630_000 picoseconds. + Weight::from_parts(18_089_000, 0) + .saturating_add(Weight::from_parts(0, 10745)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,11 +94,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `942` - // Estimated: `7875` - // Minimum execution time: 30_087 nanoseconds. - Weight::from_parts(30_599_000, 0) - .saturating_add(Weight::from_parts(0, 7875)) + // Measured: `846` + // Estimated: `10845` + // Minimum execution time: 30_082_000 picoseconds. + Weight::from_parts(30_536_000, 0) + .saturating_add(Weight::from_parts(0, 10845)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -110,11 +110,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `942` - // Estimated: `7875` - // Minimum execution time: 41_533 nanoseconds. - Weight::from_parts(42_196_000, 0) - .saturating_add(Weight::from_parts(0, 7875)) + // Measured: `846` + // Estimated: `10845` + // Minimum execution time: 42_561_000 picoseconds. + Weight::from_parts(43_263_000, 0) + .saturating_add(Weight::from_parts(0, 10845)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -124,11 +124,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `807` - // Estimated: `5272` - // Minimum execution time: 21_473 nanoseconds. - Weight::from_parts(22_029_000, 0) - .saturating_add(Weight::from_parts(0, 5272)) + // Measured: `743` + // Estimated: `7252` + // Minimum execution time: 21_717_000 picoseconds. + Weight::from_parts(22_164_000, 0) + .saturating_add(Weight::from_parts(0, 7252)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -142,11 +142,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `778` - // Estimated: `12920` - // Minimum execution time: 74_169 nanoseconds. - Weight::from_parts(74_700_000, 0) - .saturating_add(Weight::from_parts(0, 12920)) + // Measured: `682` + // Estimated: `15890` + // Minimum execution time: 72_569_000 picoseconds. + Weight::from_parts(74_474_000, 0) + .saturating_add(Weight::from_parts(0, 15890)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -164,11 +164,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1074` - // Estimated: `15472` - // Minimum execution time: 52_267 nanoseconds. - Weight::from_parts(52_826_000, 0) - .saturating_add(Weight::from_parts(0, 15472)) + // Measured: `946` + // Estimated: `20422` + // Minimum execution time: 51_947_000 picoseconds. + Weight::from_parts(52_480_000, 0) + .saturating_add(Weight::from_parts(0, 20422)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -186,11 +186,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1293` - // Estimated: `18075` - // Minimum execution time: 63_634 nanoseconds. - Weight::from_parts(64_522_000, 0) - .saturating_add(Weight::from_parts(0, 18075)) + // Measured: `1133` + // Estimated: `23025` + // Minimum execution time: 63_618_000 picoseconds. + Weight::from_parts(64_227_000, 0) + .saturating_add(Weight::from_parts(0, 23025)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/kusama/src/weights/pallet_collective_council.rs b/runtime/kusama/src/weights/pallet_collective_council.rs index 2fd6befa20c5..82169403d440 100644 --- a/runtime/kusama/src/weights/pallet_collective_council.rs +++ b/runtime/kusama/src/weights/pallet_collective_council.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -61,21 +61,21 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)` - // Estimated: `16322 + m * (7809 ±16) + p * (10238 ±16)` - // Minimum execution time: 16_904 nanoseconds. - Weight::from_parts(17_214_000, 0) - .saturating_add(Weight::from_parts(0, 16322)) - // Standard Error: 47_361 - .saturating_add(Weight::from_parts(5_256_277, 0).saturating_mul(m.into())) - // Standard Error: 47_361 - .saturating_add(Weight::from_parts(8_009_631, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` + // Estimated: `19164 + m * (7799 ±17) + p * (10110 ±17)` + // Minimum execution time: 17_032_000 picoseconds. + Weight::from_parts(17_263_000, 0) + .saturating_add(Weight::from_parts(0, 19164)) + // Standard Error: 51_363 + .saturating_add(Weight::from_parts(5_779_193, 0).saturating_mul(m.into())) + // Standard Error: 51_363 + .saturating_add(Weight::from_parts(8_434_866, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7809).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10238).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 7799).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -85,15 +85,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `168 + m * (32 ±0)` - // Estimated: `664 + m * (32 ±0)` - // Minimum execution time: 15_332 nanoseconds. - Weight::from_parts(14_449_763, 0) - .saturating_add(Weight::from_parts(0, 664)) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_763, 0).saturating_mul(b.into())) - // Standard Error: 194 - .saturating_add(Weight::from_parts(14_894, 0).saturating_mul(m.into())) + // Measured: `136 + m * (32 ±0)` + // Estimated: `1622 + m * (32 ±0)` + // Minimum execution time: 15_686_000 picoseconds. + Weight::from_parts(15_185_500, 0) + .saturating_add(Weight::from_parts(0, 1622)) + // Standard Error: 26 + .saturating_add(Weight::from_parts(1_363, 0).saturating_mul(b.into())) + // Standard Error: 277 + .saturating_add(Weight::from_parts(15_720, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -107,15 +107,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `168 + m * (32 ±0)` - // Estimated: `3308 + m * (64 ±0)` - // Minimum execution time: 17_885 nanoseconds. - Weight::from_parts(17_047_265, 0) - .saturating_add(Weight::from_parts(0, 3308)) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_432, 0).saturating_mul(b.into())) - // Standard Error: 212 - .saturating_add(Weight::from_parts(24_204, 0).saturating_mul(m.into())) + // Measured: `136 + m * (32 ±0)` + // Estimated: `5224 + m * (64 ±0)` + // Minimum execution time: 18_314_000 picoseconds. + Weight::from_parts(17_659_522, 0) + .saturating_add(Weight::from_parts(0, 5224)) + // Standard Error: 22 + .saturating_add(Weight::from_parts(1_153, 0).saturating_mul(b.into())) + // Standard Error: 237 + .saturating_add(Weight::from_parts(25_439, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } @@ -137,17 +137,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `490 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `6025 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 23_932 nanoseconds. - Weight::from_parts(25_045_483, 0) - .saturating_add(Weight::from_parts(0, 6025)) + // Measured: `426 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `9685 + m * (165 ±0) + p * (180 ±0)` + // Minimum execution time: 23_916_000 picoseconds. + Weight::from_parts(25_192_989, 0) + .saturating_add(Weight::from_parts(0, 9685)) // Standard Error: 50 - .saturating_add(Weight::from_parts(2_502, 0).saturating_mul(b.into())) - // Standard Error: 525 - .saturating_add(Weight::from_parts(16_887, 0).saturating_mul(m.into())) - // Standard Error: 518 - .saturating_add(Weight::from_parts(116_253, 0).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(2_327, 0).saturating_mul(b.into())) + // Standard Error: 528 + .saturating_add(Weight::from_parts(17_763, 0).saturating_mul(m.into())) + // Standard Error: 522 + .saturating_add(Weight::from_parts(116_903, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) @@ -161,13 +161,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `940 + m * (64 ±0)` - // Estimated: `4848 + m * (128 ±0)` - // Minimum execution time: 21_328 nanoseconds. - Weight::from_parts(22_066_229, 0) - .saturating_add(Weight::from_parts(0, 4848)) - // Standard Error: 239 - .saturating_add(Weight::from_parts(40_102, 0).saturating_mul(m.into())) + // Measured: `875 + m * (64 ±0)` + // Estimated: `6698 + m * (128 ±0)` + // Minimum execution time: 21_641_000 picoseconds. + Weight::from_parts(22_373_888, 0) + .saturating_add(Weight::from_parts(0, 6698)) + // Standard Error: 299 + .saturating_add(Weight::from_parts(41_168, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) @@ -186,15 +186,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `560 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `5629 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 26_232 nanoseconds. - Weight::from_parts(27_666_505, 0) - .saturating_add(Weight::from_parts(0, 5629)) - // Standard Error: 832 - .saturating_add(Weight::from_parts(10_187, 0).saturating_mul(m.into())) - // Standard Error: 811 - .saturating_add(Weight::from_parts(139_912, 0).saturating_mul(p.into())) + // Measured: `464 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `8211 + m * (260 ±0) + p * (144 ±0)` + // Minimum execution time: 26_158_000 picoseconds. + Weight::from_parts(27_675_242, 0) + .saturating_add(Weight::from_parts(0, 8211)) + // Standard Error: 845 + .saturating_add(Weight::from_parts(10_799, 0).saturating_mul(m.into())) + // Standard Error: 824 + .saturating_add(Weight::from_parts(141_199, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) @@ -216,17 +216,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `896 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `8900 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 37_308 nanoseconds. - Weight::from_parts(40_963_204, 0) - .saturating_add(Weight::from_parts(0, 8900)) - // Standard Error: 69 - .saturating_add(Weight::from_parts(1_632, 0).saturating_mul(b.into())) - // Standard Error: 730 - .saturating_add(Weight::from_parts(14_355, 0).saturating_mul(m.into())) - // Standard Error: 712 - .saturating_add(Weight::from_parts(130_424, 0).saturating_mul(p.into())) + // Measured: `766 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `12372 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` + // Minimum execution time: 37_601_000 picoseconds. + Weight::from_parts(41_302_278, 0) + .saturating_add(Weight::from_parts(0, 12372)) + // Standard Error: 67 + .saturating_add(Weight::from_parts(1_608, 0).saturating_mul(b.into())) + // Standard Error: 716 + .saturating_add(Weight::from_parts(14_628, 0).saturating_mul(m.into())) + // Standard Error: 698 + .saturating_add(Weight::from_parts(129_997, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) @@ -249,15 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `580 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `6765 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 29_350 nanoseconds. - Weight::from_parts(30_743_848, 0) - .saturating_add(Weight::from_parts(0, 6765)) - // Standard Error: 876 - .saturating_add(Weight::from_parts(30_695, 0).saturating_mul(m.into())) - // Standard Error: 854 - .saturating_add(Weight::from_parts(131_831, 0).saturating_mul(p.into())) + // Measured: `484 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `10240 + m * (325 ±0) + p * (180 ±0)` + // Minimum execution time: 29_185_000 picoseconds. + Weight::from_parts(30_594_183, 0) + .saturating_add(Weight::from_parts(0, 10240)) + // Standard Error: 865 + .saturating_add(Weight::from_parts(30_165, 0).saturating_mul(m.into())) + // Standard Error: 844 + .saturating_add(Weight::from_parts(131_623, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) @@ -281,17 +281,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `916 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `10235 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 43_292 nanoseconds. - Weight::from_parts(43_554_895, 0) - .saturating_add(Weight::from_parts(0, 10235)) - // Standard Error: 62 - .saturating_add(Weight::from_parts(1_824, 0).saturating_mul(b.into())) - // Standard Error: 661 - .saturating_add(Weight::from_parts(16_285, 0).saturating_mul(m.into())) - // Standard Error: 644 - .saturating_add(Weight::from_parts(133_173, 0).saturating_mul(p.into())) + // Measured: `786 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `14575 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` + // Minimum execution time: 43_157_000 picoseconds. + Weight::from_parts(43_691_874, 0) + .saturating_add(Weight::from_parts(0, 14575)) + // Standard Error: 61 + .saturating_add(Weight::from_parts(1_862, 0).saturating_mul(b.into())) + // Standard Error: 654 + .saturating_add(Weight::from_parts(17_183, 0).saturating_mul(m.into())) + // Standard Error: 638 + .saturating_add(Weight::from_parts(133_193, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) @@ -308,13 +308,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `325 + p * (32 ±0)` - // Estimated: `1470 + p * (96 ±0)` - // Minimum execution time: 14_588 nanoseconds. - Weight::from_parts(16_453_268, 0) - .saturating_add(Weight::from_parts(0, 1470)) - // Standard Error: 438 - .saturating_add(Weight::from_parts(107_110, 0).saturating_mul(p.into())) + // Measured: `293 + p * (32 ±0)` + // Estimated: `2364 + p * (96 ±0)` + // Minimum execution time: 14_666_000 picoseconds. + Weight::from_parts(16_623_386, 0) + .saturating_add(Weight::from_parts(0, 2364)) + // Standard Error: 430 + .saturating_add(Weight::from_parts(111_461, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) diff --git a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs index 2f829c8c29d1..531cde3877d4 100644 --- a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -61,21 +61,21 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)` - // Estimated: `16478 + m * (7809 ±16) + p * (10238 ±16)` - // Minimum execution time: 17_598 nanoseconds. - Weight::from_parts(17_945_000, 0) - .saturating_add(Weight::from_parts(0, 16478)) - // Standard Error: 47_017 - .saturating_add(Weight::from_parts(5_222_125, 0).saturating_mul(m.into())) - // Standard Error: 47_017 - .saturating_add(Weight::from_parts(8_124_374, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` + // Estimated: `19320 + m * (7799 ±16) + p * (10110 ±16)` + // Minimum execution time: 17_755_000 picoseconds. + Weight::from_parts(18_022_000, 0) + .saturating_add(Weight::from_parts(0, 19320)) + // Standard Error: 48_475 + .saturating_add(Weight::from_parts(5_505_299, 0).saturating_mul(m.into())) + // Standard Error: 48_475 + .saturating_add(Weight::from_parts(8_260_850, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7809).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10238).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 7799).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -85,15 +85,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `207 + m * (32 ±0)` - // Estimated: `703 + m * (32 ±0)` - // Minimum execution time: 16_201 nanoseconds. - Weight::from_parts(15_118_138, 0) - .saturating_add(Weight::from_parts(0, 703)) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_744, 0).saturating_mul(b.into())) - // Standard Error: 202 - .saturating_add(Weight::from_parts(15_267, 0).saturating_mul(m.into())) + // Measured: `175 + m * (32 ±0)` + // Estimated: `1661 + m * (32 ±0)` + // Minimum execution time: 16_765_000 picoseconds. + Weight::from_parts(15_653_912, 0) + .saturating_add(Weight::from_parts(0, 1661)) + // Standard Error: 25 + .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(b.into())) + // Standard Error: 261 + .saturating_add(Weight::from_parts(17_896, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -107,15 +107,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `207 + m * (32 ±0)` - // Estimated: `3386 + m * (64 ±0)` - // Minimum execution time: 18_645 nanoseconds. - Weight::from_parts(17_701_946, 0) - .saturating_add(Weight::from_parts(0, 3386)) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_507, 0).saturating_mul(b.into())) - // Standard Error: 192 - .saturating_add(Weight::from_parts(20_679, 0).saturating_mul(m.into())) + // Measured: `175 + m * (32 ±0)` + // Estimated: `5302 + m * (64 ±0)` + // Minimum execution time: 19_194_000 picoseconds. + Weight::from_parts(18_366_867, 0) + .saturating_add(Weight::from_parts(0, 5302)) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_342, 0).saturating_mul(b.into())) + // Standard Error: 200 + .saturating_add(Weight::from_parts(22_738, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } @@ -137,17 +137,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `529 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `6220 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 24_768 nanoseconds. - Weight::from_parts(25_762_588, 0) - .saturating_add(Weight::from_parts(0, 6220)) + // Measured: `465 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `9880 + m * (165 ±0) + p * (180 ±0)` + // Minimum execution time: 24_958_000 picoseconds. + Weight::from_parts(25_925_520, 0) + .saturating_add(Weight::from_parts(0, 9880)) // Standard Error: 54 - .saturating_add(Weight::from_parts(2_615, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(2_430, 0).saturating_mul(b.into())) // Standard Error: 570 - .saturating_add(Weight::from_parts(18_024, 0).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(17_303, 0).saturating_mul(m.into())) // Standard Error: 563 - .saturating_add(Weight::from_parts(118_711, 0).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(119_736, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) @@ -161,13 +161,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `979 + m * (64 ±0)` - // Estimated: `4926 + m * (128 ±0)` - // Minimum execution time: 22_202 nanoseconds. - Weight::from_parts(22_927_853, 0) - .saturating_add(Weight::from_parts(0, 4926)) - // Standard Error: 263 - .saturating_add(Weight::from_parts(39_561, 0).saturating_mul(m.into())) + // Measured: `914 + m * (64 ±0)` + // Estimated: `6776 + m * (128 ±0)` + // Minimum execution time: 22_620_000 picoseconds. + Weight::from_parts(23_356_968, 0) + .saturating_add(Weight::from_parts(0, 6776)) + // Standard Error: 273 + .saturating_add(Weight::from_parts(40_919, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) @@ -186,15 +186,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `599 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `5785 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 27_288 nanoseconds. - Weight::from_parts(28_966_982, 0) - .saturating_add(Weight::from_parts(0, 5785)) - // Standard Error: 837 - .saturating_add(Weight::from_parts(25_731, 0).saturating_mul(m.into())) - // Standard Error: 816 - .saturating_add(Weight::from_parts(130_049, 0).saturating_mul(p.into())) + // Measured: `503 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `8367 + m * (260 ±0) + p * (144 ±0)` + // Minimum execution time: 27_667_000 picoseconds. + Weight::from_parts(29_094_490, 0) + .saturating_add(Weight::from_parts(0, 8367)) + // Standard Error: 842 + .saturating_add(Weight::from_parts(25_691, 0).saturating_mul(m.into())) + // Standard Error: 821 + .saturating_add(Weight::from_parts(133_244, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) @@ -216,17 +216,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `935 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `9056 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 41_320 nanoseconds. - Weight::from_parts(42_052_397, 0) - .saturating_add(Weight::from_parts(0, 9056)) - // Standard Error: 58 - .saturating_add(Weight::from_parts(1_517, 0).saturating_mul(b.into())) - // Standard Error: 616 - .saturating_add(Weight::from_parts(15_616, 0).saturating_mul(m.into())) - // Standard Error: 601 - .saturating_add(Weight::from_parts(129_809, 0).saturating_mul(p.into())) + // Measured: `805 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `12528 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` + // Minimum execution time: 41_678_000 picoseconds. + Weight::from_parts(42_218_269, 0) + .saturating_add(Weight::from_parts(0, 12528)) + // Standard Error: 59 + .saturating_add(Weight::from_parts(1_661, 0).saturating_mul(b.into())) + // Standard Error: 624 + .saturating_add(Weight::from_parts(16_946, 0).saturating_mul(m.into())) + // Standard Error: 608 + .saturating_add(Weight::from_parts(129_170, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) @@ -249,15 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `619 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `6960 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 30_441 nanoseconds. - Weight::from_parts(33_053_449, 0) - .saturating_add(Weight::from_parts(0, 6960)) - // Standard Error: 545 - .saturating_add(Weight::from_parts(28_062, 0).saturating_mul(m.into())) + // Measured: `523 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `10435 + m * (325 ±0) + p * (180 ±0)` + // Minimum execution time: 30_447_000 picoseconds. + Weight::from_parts(32_661_910, 0) + .saturating_add(Weight::from_parts(0, 10435)) // Standard Error: 531 - .saturating_add(Weight::from_parts(118_196, 0).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(29_960, 0).saturating_mul(m.into())) + // Standard Error: 517 + .saturating_add(Weight::from_parts(120_475, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) @@ -281,17 +281,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `955 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `10430 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 44_117 nanoseconds. - Weight::from_parts(44_764_424, 0) - .saturating_add(Weight::from_parts(0, 10430)) - // Standard Error: 58 - .saturating_add(Weight::from_parts(1_714, 0).saturating_mul(b.into())) - // Standard Error: 622 - .saturating_add(Weight::from_parts(17_011, 0).saturating_mul(m.into())) - // Standard Error: 607 - .saturating_add(Weight::from_parts(132_627, 0).saturating_mul(p.into())) + // Measured: `825 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `14770 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` + // Minimum execution time: 44_068_000 picoseconds. + Weight::from_parts(44_673_420, 0) + .saturating_add(Weight::from_parts(0, 14770)) + // Standard Error: 59 + .saturating_add(Weight::from_parts(1_779, 0).saturating_mul(b.into())) + // Standard Error: 625 + .saturating_add(Weight::from_parts(17_794, 0).saturating_mul(m.into())) + // Standard Error: 609 + .saturating_add(Weight::from_parts(134_062, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) @@ -308,13 +308,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `364 + p * (32 ±0)` - // Estimated: `1587 + p * (96 ±0)` - // Minimum execution time: 15_308 nanoseconds. - Weight::from_parts(17_038_386, 0) - .saturating_add(Weight::from_parts(0, 1587)) - // Standard Error: 420 - .saturating_add(Weight::from_parts(108_431, 0).saturating_mul(p.into())) + // Measured: `332 + p * (32 ±0)` + // Estimated: `2481 + p * (96 ±0)` + // Minimum execution time: 15_528_000 picoseconds. + Weight::from_parts(17_434_864, 0) + .saturating_add(Weight::from_parts(0, 2481)) + // Standard Error: 405 + .saturating_add(Weight::from_parts(111_909, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) diff --git a/runtime/kusama/src/weights/pallet_conviction_voting.rs b/runtime/kusama/src/weights/pallet_conviction_voting.rs index b127b709dbf4..81d1d61051ff 100644 --- a/runtime/kusama/src/weights/pallet_conviction_voting.rs +++ b/runtime/kusama/src/weights/pallet_conviction_voting.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_conviction_voting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -57,11 +57,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `13540` - // Estimated: `81125` - // Minimum execution time: 110_244 nanoseconds. - Weight::from_parts(112_779_000, 0) - .saturating_add(Weight::from_parts(0, 81125)) + // Measured: `13445` + // Estimated: `86075` + // Minimum execution time: 111_359_000 picoseconds. + Weight::from_parts(115_021_000, 0) + .saturating_add(Weight::from_parts(0, 86075)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -77,11 +77,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `14292` - // Estimated: `122563` - // Minimum execution time: 168_802 nanoseconds. - Weight::from_parts(172_963_000, 0) - .saturating_add(Weight::from_parts(0, 122563)) + // Measured: `14166` + // Estimated: `127513` + // Minimum execution time: 171_272_000 picoseconds. + Weight::from_parts(175_200_000, 0) + .saturating_add(Weight::from_parts(0, 127513)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -93,11 +93,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn remove_vote() -> Weight { // Proof Size summary in bytes: - // Measured: `14012` - // Estimated: `116003` - // Minimum execution time: 149_473 nanoseconds. - Weight::from_parts(152_584_000, 0) - .saturating_add(Weight::from_parts(0, 116003)) + // Measured: `13918` + // Estimated: `118973` + // Minimum execution time: 149_987_000 picoseconds. + Weight::from_parts(152_677_000, 0) + .saturating_add(Weight::from_parts(0, 118973)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -107,11 +107,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn remove_other_vote() -> Weight { // Proof Size summary in bytes: - // Measured: `13067` - // Estimated: `33127` - // Minimum execution time: 59_104 nanoseconds. - Weight::from_parts(59_959_000, 0) - .saturating_add(Weight::from_parts(0, 33127)) + // Measured: `13004` + // Estimated: `35107` + // Minimum execution time: 60_514_000 picoseconds. + Weight::from_parts(62_286_000, 0) + .saturating_add(Weight::from_parts(0, 35107)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -128,13 +128,13 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// The range of component `r` is `[0, 512]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `29734 + r * (397 ±0)` - // Estimated: `148868 + r * (3411 ±0)` - // Minimum execution time: 50_204 nanoseconds. - Weight::from_parts(1_560_629_085, 0) - .saturating_add(Weight::from_parts(0, 148868)) - // Standard Error: 135_758 - .saturating_add(Weight::from_parts(37_491_165, 0).saturating_mul(r.into())) + // Measured: `29640 + r * (365 ±0)` + // Estimated: `153818 + r * (3411 ±0)` + // Minimum execution time: 52_412_000 picoseconds. + Weight::from_parts(1_574_668_129, 0) + .saturating_add(Weight::from_parts(0, 153818)) + // Standard Error: 136_001 + .saturating_add(Weight::from_parts(37_269_909, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -150,13 +150,13 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// The range of component `r` is `[0, 512]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `29650 + r * (397 ±0)` - // Estimated: `142308 + r * (3411 ±0)` - // Minimum execution time: 33_539 nanoseconds. - Weight::from_parts(1_538_822_528, 0) - .saturating_add(Weight::from_parts(0, 142308)) - // Standard Error: 135_125 - .saturating_add(Weight::from_parts(37_655_169, 0).saturating_mul(r.into())) + // Measured: `29555 + r * (365 ±0)` + // Estimated: `145278 + r * (3411 ±0)` + // Minimum execution time: 35_901_000 picoseconds. + Weight::from_parts(1_534_534_801, 0) + .saturating_add(Weight::from_parts(0, 145278)) + // Standard Error: 135_205 + .saturating_add(Weight::from_parts(37_478_595, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -171,11 +171,11 @@ impl pallet_conviction_voting::WeightInfo for WeightInf /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `12312` - // Estimated: `36276` - // Minimum execution time: 67_359 nanoseconds. - Weight::from_parts(69_826_000, 0) - .saturating_add(Weight::from_parts(0, 36276)) + // Measured: `12217` + // Estimated: `39246` + // Minimum execution time: 71_968_000 picoseconds. + Weight::from_parts(74_104_000, 0) + .saturating_add(Weight::from_parts(0, 39246)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/kusama/src/weights/pallet_democracy.rs b/runtime/kusama/src/weights/pallet_democracy.rs index a97633f26f47..d6f08ba76e9d 100644 --- a/runtime/kusama/src/weights/pallet_democracy.rs +++ b/runtime/kusama/src/weights/pallet_democracy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4831` - // Estimated: `23409` - // Minimum execution time: 34_876 nanoseconds. - Weight::from_parts(35_375_000, 0) - .saturating_add(Weight::from_parts(0, 23409)) + // Measured: `4768` + // Estimated: `26379` + // Minimum execution time: 35_098_000 picoseconds. + Weight::from_parts(35_696_000, 0) + .saturating_add(Weight::from_parts(0, 26379)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -67,11 +67,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3587` - // Estimated: `5705` - // Minimum execution time: 31_982 nanoseconds. - Weight::from_parts(32_412_000, 0) - .saturating_add(Weight::from_parts(0, 5705)) + // Measured: `3523` + // Estimated: `6695` + // Minimum execution time: 32_218_000 picoseconds. + Weight::from_parts(32_458_000, 0) + .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,11 +83,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3532` - // Estimated: `12720` - // Minimum execution time: 46_525 nanoseconds. - Weight::from_parts(46_812_000, 0) - .saturating_add(Weight::from_parts(0, 12720)) + // Measured: `3437` + // Estimated: `15690` + // Minimum execution time: 46_641_000 picoseconds. + Weight::from_parts(47_324_000, 0) + .saturating_add(Weight::from_parts(0, 15690)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -99,11 +99,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3554` - // Estimated: `12720` - // Minimum execution time: 46_269 nanoseconds. - Weight::from_parts(46_629_000, 0) - .saturating_add(Weight::from_parts(0, 12720)) + // Measured: `3459` + // Estimated: `15690` + // Minimum execution time: 47_172_000 picoseconds. + Weight::from_parts(47_732_000, 0) + .saturating_add(Weight::from_parts(0, 15690)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -115,11 +115,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `365` - // Estimated: `7712` - // Minimum execution time: 25_015 nanoseconds. - Weight::from_parts(25_351_000, 0) - .saturating_add(Weight::from_parts(0, 7712)) + // Measured: `333` + // Estimated: `10682` + // Minimum execution time: 25_744_000 picoseconds. + Weight::from_parts(26_226_000, 0) + .saturating_add(Weight::from_parts(0, 10682)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -139,11 +139,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `6003` - // Estimated: `36392` - // Minimum execution time: 90_150 nanoseconds. - Weight::from_parts(91_058_000, 0) - .saturating_add(Weight::from_parts(0, 36392)) + // Measured: `5877` + // Estimated: `42332` + // Minimum execution time: 88_365_000 picoseconds. + Weight::from_parts(90_080_000, 0) + .saturating_add(Weight::from_parts(0, 42332)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -153,11 +153,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3415` - // Estimated: `6340` - // Minimum execution time: 12_616 nanoseconds. - Weight::from_parts(12_812_000, 0) - .saturating_add(Weight::from_parts(0, 6340)) + // Measured: `3383` + // Estimated: `8320` + // Minimum execution time: 12_868_000 picoseconds. + Weight::from_parts(13_178_000, 0) + .saturating_add(Weight::from_parts(0, 8320)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -167,8 +167,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_172 nanoseconds. - Weight::from_parts(3_295_000, 0) + // Minimum execution time: 3_714_000 picoseconds. + Weight::from_parts(3_895_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,8 +178,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_117 nanoseconds. - Weight::from_parts(3_288_000, 0) + // Minimum execution time: 3_565_000 picoseconds. + Weight::from_parts(3_831_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -194,10 +194,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `3654` - // Minimum execution time: 26_675 nanoseconds. - Weight::from_parts(27_369_000, 0) - .saturating_add(Weight::from_parts(0, 3654)) + // Estimated: `6624` + // Minimum execution time: 26_453_000 picoseconds. + Weight::from_parts(26_938_000, 0) + .saturating_add(Weight::from_parts(0, 6624)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -209,11 +209,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3518` - // Estimated: `8868` - // Minimum execution time: 31_174 nanoseconds. - Weight::from_parts(31_517_000, 0) - .saturating_add(Weight::from_parts(0, 8868)) + // Measured: `3486` + // Estimated: `11838` + // Minimum execution time: 30_869_000 picoseconds. + Weight::from_parts(31_397_000, 0) + .saturating_add(Weight::from_parts(0, 11838)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,11 +227,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `5882` - // Estimated: `28033` - // Minimum execution time: 73_218 nanoseconds. - Weight::from_parts(74_394_000, 0) - .saturating_add(Weight::from_parts(0, 28033)) + // Measured: `5788` + // Estimated: `31993` + // Minimum execution time: 72_692_000 picoseconds. + Weight::from_parts(73_692_000, 0) + .saturating_add(Weight::from_parts(0, 31993)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -242,10 +242,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` - // Estimated: `2528` - // Minimum execution time: 18_468 nanoseconds. - Weight::from_parts(18_870_000, 0) - .saturating_add(Weight::from_parts(0, 2528)) + // Estimated: `3518` + // Minimum execution time: 19_506_000 picoseconds. + Weight::from_parts(19_823_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -258,13 +258,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + r * (117 ±0)` - // Estimated: `998 + r * (2676 ±0)` - // Minimum execution time: 6_237 nanoseconds. - Weight::from_parts(9_788_030, 0) - .saturating_add(Weight::from_parts(0, 998)) - // Standard Error: 5_493 - .saturating_add(Weight::from_parts(2_774_064, 0).saturating_mul(r.into())) + // Measured: `211 + r * (86 ±0)` + // Estimated: `3968 + r * (2676 ±0)` + // Minimum execution time: 6_019_000 picoseconds. + Weight::from_parts(9_632_674, 0) + .saturating_add(Weight::from_parts(0, 3968)) + // Standard Error: 6_651 + .saturating_add(Weight::from_parts(2_769_264, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -285,13 +285,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + r * (117 ±0)` - // Estimated: `19318 + r * (2676 ±0)` - // Minimum execution time: 9_370 nanoseconds. - Weight::from_parts(12_551_319, 0) - .saturating_add(Weight::from_parts(0, 19318)) - // Standard Error: 5_735 - .saturating_add(Weight::from_parts(2_771_452, 0).saturating_mul(r.into())) + // Measured: `211 + r * (86 ±0)` + // Estimated: `25258 + r * (2676 ±0)` + // Minimum execution time: 9_143_000 picoseconds. + Weight::from_parts(12_247_629, 0) + .saturating_add(Weight::from_parts(0, 25258)) + // Standard Error: 6_077 + .saturating_add(Weight::from_parts(2_764_547, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -306,13 +306,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `925 + r * (139 ±0)` - // Estimated: `22584 + r * (2676 ±0)` - // Minimum execution time: 39_375 nanoseconds. - Weight::from_parts(42_351_696, 0) - .saturating_add(Weight::from_parts(0, 22584)) - // Standard Error: 7_527 - .saturating_add(Weight::from_parts(3_880_547, 0).saturating_mul(r.into())) + // Measured: `797 + r * (108 ±0)` + // Estimated: `25554 + r * (2676 ±0)` + // Minimum execution time: 41_153_000 picoseconds. + Weight::from_parts(42_787_487, 0) + .saturating_add(Weight::from_parts(0, 25554)) + // Standard Error: 7_883 + .saturating_add(Weight::from_parts(3_862_521, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -326,13 +326,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `524 + r * (139 ±0)` - // Estimated: `12540 + r * (2676 ±0)` - // Minimum execution time: 20_672 nanoseconds. - Weight::from_parts(22_405_117, 0) - .saturating_add(Weight::from_parts(0, 12540)) - // Standard Error: 7_623 - .saturating_add(Weight::from_parts(3_830_380, 0).saturating_mul(r.into())) + // Measured: `460 + r * (108 ±0)` + // Estimated: `14520 + r * (2676 ±0)` + // Minimum execution time: 20_767_000 picoseconds. + Weight::from_parts(21_768_239, 0) + .saturating_add(Weight::from_parts(0, 14520)) + // Standard Error: 9_791 + .saturating_add(Weight::from_parts(3_862_103, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -345,8 +345,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_083 nanoseconds. - Weight::from_parts(3_242_000, 0) + // Minimum execution time: 3_663_000 picoseconds. + Weight::from_parts(3_798_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -359,13 +359,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `594` - // Estimated: `12647` - // Minimum execution time: 20_374 nanoseconds. - Weight::from_parts(25_944_613, 0) - .saturating_add(Weight::from_parts(0, 12647)) - // Standard Error: 1_258 - .saturating_add(Weight::from_parts(19_696, 0).saturating_mul(r.into())) + // Measured: `530` + // Estimated: `15617` + // Minimum execution time: 19_923_000 picoseconds. + Weight::from_parts(25_945_279, 0) + .saturating_add(Weight::from_parts(0, 15617)) + // Standard Error: 1_366 + .saturating_add(Weight::from_parts(22_003, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -378,13 +378,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `595 + r * (22 ±0)` - // Estimated: `12647` - // Minimum execution time: 24_535 nanoseconds. - Weight::from_parts(25_495_740, 0) - .saturating_add(Weight::from_parts(0, 12647)) - // Standard Error: 551 - .saturating_add(Weight::from_parts(60_441, 0).saturating_mul(r.into())) + // Measured: `531 + r * (22 ±0)` + // Estimated: `15617` + // Minimum execution time: 24_393_000 picoseconds. + Weight::from_parts(25_690_593, 0) + .saturating_add(Weight::from_parts(0, 15617)) + // Standard Error: 553 + .saturating_add(Weight::from_parts(59_042, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -395,13 +395,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `758 + r * (26 ±0)` - // Estimated: `8946` - // Minimum execution time: 14_979 nanoseconds. - Weight::from_parts(17_266_413, 0) - .saturating_add(Weight::from_parts(0, 8946)) - // Standard Error: 1_973 - .saturating_add(Weight::from_parts(87_619, 0).saturating_mul(r.into())) + // Measured: `695 + r * (26 ±0)` + // Estimated: `10926` + // Minimum execution time: 15_551_000 picoseconds. + Weight::from_parts(17_809_948, 0) + .saturating_add(Weight::from_parts(0, 10926)) + // Standard Error: 1_907 + .saturating_add(Weight::from_parts(86_496, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -412,13 +412,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `758 + r * (26 ±0)` - // Estimated: `8946` - // Minimum execution time: 15_169 nanoseconds. - Weight::from_parts(17_559_094, 0) - .saturating_add(Weight::from_parts(0, 8946)) - // Standard Error: 2_076 - .saturating_add(Weight::from_parts(88_471, 0).saturating_mul(r.into())) + // Measured: `695 + r * (26 ±0)` + // Estimated: `10926` + // Minimum execution time: 16_027_000 picoseconds. + Weight::from_parts(17_860_077, 0) + .saturating_add(Weight::from_parts(0, 10926)) + // Standard Error: 1_950 + .saturating_add(Weight::from_parts(87_722, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -431,10 +431,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `323` - // Estimated: `3193` - // Minimum execution time: 17_984 nanoseconds. - Weight::from_parts(18_599_000, 0) - .saturating_add(Weight::from_parts(0, 3193)) + // Estimated: `5173` + // Minimum execution time: 17_551_000 picoseconds. + Weight::from_parts(17_776_000, 0) + .saturating_add(Weight::from_parts(0, 5173)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -445,10 +445,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `3155` - // Minimum execution time: 16_277 nanoseconds. - Weight::from_parts(16_581_000, 0) - .saturating_add(Weight::from_parts(0, 3155)) + // Estimated: `5135` + // Minimum execution time: 16_020_000 picoseconds. + Weight::from_parts(16_477_000, 0) + .saturating_add(Weight::from_parts(0, 5135)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -460,11 +460,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4886` - // Estimated: `19763` - // Minimum execution time: 33_325 nanoseconds. - Weight::from_parts(33_908_000, 0) - .saturating_add(Weight::from_parts(0, 19763)) + // Measured: `4855` + // Estimated: `21743` + // Minimum execution time: 33_144_000 picoseconds. + Weight::from_parts(33_457_000, 0) + .saturating_add(Weight::from_parts(0, 21743)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -474,11 +474,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4820` - // Estimated: `19725` - // Minimum execution time: 30_899 nanoseconds. - Weight::from_parts(31_309_000, 0) - .saturating_add(Weight::from_parts(0, 19725)) + // Measured: `4789` + // Estimated: `21705` + // Minimum execution time: 31_022_000 picoseconds. + Weight::from_parts(31_534_000, 0) + .saturating_add(Weight::from_parts(0, 21705)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -489,10 +489,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 14_007 nanoseconds. - Weight::from_parts(14_342_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 14_512_000 picoseconds. + Weight::from_parts(14_769_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -503,10 +503,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` - // Estimated: `5204` - // Minimum execution time: 17_978 nanoseconds. - Weight::from_parts(18_262_000, 0) - .saturating_add(Weight::from_parts(0, 5204)) + // Estimated: `7184` + // Minimum execution time: 17_966_000 picoseconds. + Weight::from_parts(18_270_000, 0) + .saturating_add(Weight::from_parts(0, 7184)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs index afd49dc7327f..ff0caff5982c 100644 --- a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -64,10 +64,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_nothing() -> Weight { // Proof Size summary in bytes: // Measured: `1027` - // Estimated: `7016` - // Minimum execution time: 21_449 nanoseconds. - Weight::from_parts(22_362_000, 0) - .saturating_add(Weight::from_parts(0, 7016)) + // Estimated: `14936` + // Minimum execution time: 21_024_000 picoseconds. + Weight::from_parts(21_697_000, 0) + .saturating_add(Weight::from_parts(0, 14936)) .saturating_add(T::DbWeight::get().reads(8)) } /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) @@ -77,10 +77,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_open_signed() -> Weight { // Proof Size summary in bytes: // Measured: `148` - // Estimated: `1286` - // Minimum execution time: 12_547 nanoseconds. - Weight::from_parts(13_335_000, 0) - .saturating_add(Weight::from_parts(0, 1286)) + // Estimated: `3266` + // Minimum execution time: 13_251_000 picoseconds. + Weight::from_parts(13_556_000, 0) + .saturating_add(Weight::from_parts(0, 3266)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,10 +91,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_open_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `148` - // Estimated: `1286` - // Minimum execution time: 14_056 nanoseconds. - Weight::from_parts(14_550_000, 0) - .saturating_add(Weight::from_parts(0, 1286)) + // Estimated: `3266` + // Minimum execution time: 14_586_000 picoseconds. + Weight::from_parts(14_932_000, 0) + .saturating_add(Weight::from_parts(0, 3266)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,11 +104,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured) fn finalize_signed_phase_accept_solution() -> Weight { // Proof Size summary in bytes: - // Measured: `206` - // Estimated: `2809` - // Minimum execution time: 24_655 nanoseconds. - Weight::from_parts(25_009_000, 0) - .saturating_add(Weight::from_parts(0, 2809)) + // Measured: `174` + // Estimated: `3767` + // Minimum execution time: 24_044_000 picoseconds. + Weight::from_parts(24_456_000, 0) + .saturating_add(Weight::from_parts(0, 3767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,11 +116,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn finalize_signed_phase_reject_solution() -> Weight { // Proof Size summary in bytes: - // Measured: `206` - // Estimated: `2603` - // Minimum execution time: 16_964 nanoseconds. - Weight::from_parts(17_298_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 16_778_000 picoseconds. + Weight::from_parts(17_098_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -136,11 +136,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 671_539 nanoseconds. - Weight::from_parts(690_128_000, 0) + // Minimum execution time: 658_110_000 picoseconds. + Weight::from_parts(673_151_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_403 - .saturating_add(Weight::from_parts(390_939, 0).saturating_mul(v.into())) + // Standard Error: 3_369 + .saturating_add(Weight::from_parts(392_624, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -167,13 +167,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn elect_queued(a: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `931 + a * (1152 ±0) + d * (47 ±0)` - // Estimated: `14232 + a * (10368 ±0) + d * (432 ±0)` - // Minimum execution time: 365_109 nanoseconds. - Weight::from_parts(378_817_000, 0) - .saturating_add(Weight::from_parts(0, 14232)) - // Standard Error: 9_758 - .saturating_add(Weight::from_parts(577_521, 0).saturating_mul(a.into())) + // Measured: `900 + a * (1152 ±0) + d * (47 ±0)` + // Estimated: `21873 + a * (10368 ±0) + d * (432 ±0)` + // Minimum execution time: 374_177_000 picoseconds. + Weight::from_parts(383_707_000, 0) + .saturating_add(Weight::from_parts(0, 21873)) + // Standard Error: 8_930 + .saturating_add(Weight::from_parts(575_485, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(Weight::from_parts(0, 10368).saturating_mul(a.into())) @@ -193,11 +193,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured) fn submit() -> Weight { // Proof Size summary in bytes: - // Measured: `1270` - // Estimated: `8841` - // Minimum execution time: 44_760 nanoseconds. - Weight::from_parts(45_281_000, 0) - .saturating_add(Weight::from_parts(0, 8841)) + // Measured: `1238` + // Estimated: `13631` + // Minimum execution time: 45_426_000 picoseconds. + Weight::from_parts(46_000_000, 0) + .saturating_add(Weight::from_parts(0, 13631)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -211,55 +211,53 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) - /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) + /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `285 + v * (809 ±0) + t * (32 ±0)` - // Estimated: `5460 + v * (5663 ±0) + t * (224 ±0)` - // Minimum execution time: 7_221_400 nanoseconds. - Weight::from_parts(7_322_097_000, 0) - .saturating_add(Weight::from_parts(0, 5460)) - // Standard Error: 27_267 - .saturating_add(Weight::from_parts(41_662, 0).saturating_mul(v.into())) - // Standard Error: 80_803 - .saturating_add(Weight::from_parts(6_916_813, 0).saturating_mul(a.into())) + // Measured: `253 + v * (809 ±0) + t * (32 ±0)` + // Estimated: `12166 + v * (5663 ±0) + t * (224 ±0)` + // Minimum execution time: 7_353_352_000 picoseconds. + Weight::from_parts(7_409_425_000, 0) + .saturating_add(Weight::from_parts(0, 12166)) + // Standard Error: 24_654 + .saturating_add(Weight::from_parts(9_966, 0).saturating_mul(v.into())) + // Standard Error: 73_060 + .saturating_add(Weight::from_parts(7_603_657, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 5663).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) } - /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) - /// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) - /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) + /// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) + /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { + fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + v * (809 ±0) + t * (32 ±0)` - // Estimated: `3020 + v * (3236 ±0) + t * (128 ±0)` - // Minimum execution time: 6_056_695 nanoseconds. - Weight::from_parts(126_880_199, 0) - .saturating_add(Weight::from_parts(0, 3020)) - // Standard Error: 17_213 - .saturating_add(Weight::from_parts(877_536, 0).saturating_mul(v.into())) - // Standard Error: 57_299 - .saturating_add(Weight::from_parts(8_302_939, 0).saturating_mul(a.into())) - // Standard Error: 85_881 - .saturating_add(Weight::from_parts(1_570_237, 0).saturating_mul(d.into())) + // Measured: `228 + v * (809 ±0) + t * (32 ±0)` + // Estimated: `6852 + v * (3236 ±0) + t * (128 ±0)` + // Minimum execution time: 6_174_792_000 picoseconds. + Weight::from_parts(6_244_237_000, 0) + .saturating_add(Weight::from_parts(0, 6852)) + // Standard Error: 21_322 + .saturating_add(Weight::from_parts(142_059, 0).saturating_mul(v.into())) + // Standard Error: 63_186 + .saturating_add(Weight::from_parts(5_948_175, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(Weight::from_parts(0, 3236).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 128).saturating_mul(t.into())) diff --git a/runtime/kusama/src/weights/pallet_elections_phragmen.rs b/runtime/kusama/src/weights/pallet_elections_phragmen.rs index 27b77ce75c1e..350cf90e2d70 100644 --- a/runtime/kusama/src/weights/pallet_elections_phragmen.rs +++ b/runtime/kusama/src/weights/pallet_elections_phragmen.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -58,13 +58,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `499 + v * (80 ±0)` - // Estimated: `9726 + v * (320 ±0)` - // Minimum execution time: 26_970 nanoseconds. - Weight::from_parts(27_998_740, 0) - .saturating_add(Weight::from_parts(0, 9726)) - // Standard Error: 5_062 - .saturating_add(Weight::from_parts(138_034, 0).saturating_mul(v.into())) + // Measured: `403 + v * (80 ±0)` + // Estimated: `14292 + v * (320 ±0)` + // Minimum execution time: 27_353_000 picoseconds. + Weight::from_parts(28_103_445, 0) + .saturating_add(Weight::from_parts(0, 14292)) + // Standard Error: 4_556 + .saturating_add(Weight::from_parts(117_766, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) @@ -82,13 +82,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `467 + v * (80 ±0)` - // Estimated: `9598 + v * (320 ±0)` - // Minimum execution time: 37_220 nanoseconds. - Weight::from_parts(37_898_566, 0) - .saturating_add(Weight::from_parts(0, 9598)) - // Standard Error: 6_174 - .saturating_add(Weight::from_parts(130_031, 0).saturating_mul(v.into())) + // Measured: `371 + v * (80 ±0)` + // Estimated: `14164 + v * (320 ±0)` + // Minimum execution time: 36_885_000 picoseconds. + Weight::from_parts(37_769_975, 0) + .saturating_add(Weight::from_parts(0, 14164)) + // Standard Error: 6_586 + .saturating_add(Weight::from_parts(123_567, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) @@ -106,13 +106,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `499 + v * (80 ±0)` - // Estimated: `9726 + v * (320 ±0)` - // Minimum execution time: 36_984 nanoseconds. - Weight::from_parts(37_727_688, 0) - .saturating_add(Weight::from_parts(0, 9726)) - // Standard Error: 5_281 - .saturating_add(Weight::from_parts(155_470, 0).saturating_mul(v.into())) + // Measured: `403 + v * (80 ±0)` + // Estimated: `14292 + v * (320 ±0)` + // Minimum execution time: 36_610_000 picoseconds. + Weight::from_parts(37_524_808, 0) + .saturating_add(Weight::from_parts(0, 14292)) + // Standard Error: 6_164 + .saturating_add(Weight::from_parts(147_944, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) @@ -123,11 +123,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: - // Measured: `989` - // Estimated: `7238` - // Minimum execution time: 33_417 nanoseconds. - Weight::from_parts(33_890_000, 0) - .saturating_add(Weight::from_parts(0, 7238)) + // Measured: `925` + // Estimated: `9154` + // Minimum execution time: 33_052_000 picoseconds. + Weight::from_parts(33_677_000, 0) + .saturating_add(Weight::from_parts(0, 9154)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -140,13 +140,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 1000]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2839 + c * (48 ±0)` - // Estimated: `9996 + c * (144 ±0)` - // Minimum execution time: 31_809 nanoseconds. - Weight::from_parts(24_804_007, 0) - .saturating_add(Weight::from_parts(0, 9996)) - // Standard Error: 896 - .saturating_add(Weight::from_parts(80_259, 0).saturating_mul(c.into())) + // Measured: `2712 + c * (48 ±0)` + // Estimated: `12585 + c * (144 ±0)` + // Minimum execution time: 32_163_000 picoseconds. + Weight::from_parts(24_757_419, 0) + .saturating_add(Weight::from_parts(0, 12585)) + // Standard Error: 902 + .saturating_add(Weight::from_parts(79_765, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 144).saturating_mul(c.into())) @@ -156,13 +156,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 1000]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348 + c * (48 ±0)` - // Estimated: `830 + c * (48 ±0)` - // Minimum execution time: 24_845 nanoseconds. - Weight::from_parts(17_884_636, 0) - .saturating_add(Weight::from_parts(0, 830)) - // Standard Error: 887 - .saturating_add(Weight::from_parts(58_586, 0).saturating_mul(c.into())) + // Measured: `284 + c * (48 ±0)` + // Estimated: `1756 + c * (48 ±0)` + // Minimum execution time: 24_805_000 picoseconds. + Weight::from_parts(17_940_635, 0) + .saturating_add(Weight::from_parts(0, 1756)) + // Standard Error: 888 + .saturating_add(Weight::from_parts(59_369, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -179,11 +179,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `3113` - // Estimated: `17545` - // Minimum execution time: 43_134 nanoseconds. - Weight::from_parts(44_525_000, 0) - .saturating_add(Weight::from_parts(0, 17545)) + // Measured: `2986` + // Estimated: `20870` + // Minimum execution time: 42_908_000 picoseconds. + Weight::from_parts(43_409_000, 0) + .saturating_add(Weight::from_parts(0, 20870)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -191,11 +191,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: - // Measured: `1776` - // Estimated: `2271` - // Minimum execution time: 27_323 nanoseconds. - Weight::from_parts(27_861_000, 0) - .saturating_add(Weight::from_parts(0, 2271)) + // Measured: `1681` + // Estimated: `3166` + // Minimum execution time: 27_419_000 picoseconds. + Weight::from_parts(27_912_000, 0) + .saturating_add(Weight::from_parts(0, 3166)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -205,7 +205,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000_000 nanoseconds. + // Minimum execution time: 2_000_000_000_000 picoseconds. Weight::from_parts(2_000_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -223,11 +223,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `3113` - // Estimated: `20148` - // Minimum execution time: 58_918 nanoseconds. - Weight::from_parts(59_322_000, 0) - .saturating_add(Weight::from_parts(0, 20148)) + // Measured: `2986` + // Estimated: `24463` + // Minimum execution time: 57_465_000 picoseconds. + Weight::from_parts(58_107_000, 0) + .saturating_add(Weight::from_parts(0, 24463)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -247,17 +247,17 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `d` is `[0, 5000]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `35989 + v * (872 ±0)` - // Estimated: `149016 + v * (12340 ±0)` - // Minimum execution time: 338_562_744 nanoseconds. - Weight::from_parts(339_541_438_000, 0) - .saturating_add(Weight::from_parts(0, 149016)) - // Standard Error: 289_739 - .saturating_add(Weight::from_parts(41_932_708, 0).saturating_mul(v.into())) + // Measured: `35989 + v * (808 ±0)` + // Estimated: `154956 + v * (12084 ±0)` + // Minimum execution time: 319_677_473_000 picoseconds. + Weight::from_parts(320_382_361_000, 0) + .saturating_add(Weight::from_parts(0, 154956)) + // Standard Error: 270_292 + .saturating_add(Weight::from_parts(38_671_603, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 12340).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 12084).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -282,21 +282,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[10000, 160000]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (639 ±0) + e * (28 ±0)` - // Estimated: `5334911 + v * (5714 ±4) + e * (123 ±0) + c * (2560 ±0)` - // Minimum execution time: 34_066_705 nanoseconds. - Weight::from_parts(34_200_781_000, 0) - .saturating_add(Weight::from_parts(0, 5334911)) - // Standard Error: 509_361 - .saturating_add(Weight::from_parts(43_123_929, 0).saturating_mul(v.into())) - // Standard Error: 32_687 - .saturating_add(Weight::from_parts(2_179_162, 0).saturating_mul(e.into())) + // Measured: `0 + v * (607 ±0) + e * (28 ±0)` + // Estimated: `4839313 + v * (5481 ±4) + e * (123 ±0) + c * (2560 ±0)` + // Minimum execution time: 30_795_431_000 picoseconds. + Weight::from_parts(30_861_700_000, 0) + .saturating_add(Weight::from_parts(0, 4839313)) + // Standard Error: 482_348 + .saturating_add(Weight::from_parts(37_626_560, 0).saturating_mul(v.into())) + // Standard Error: 30_954 + .saturating_add(Weight::from_parts(2_016_889, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(265)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5714).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 5481).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 123).saturating_mul(e.into())) .saturating_add(Weight::from_parts(0, 2560).saturating_mul(c.into())) } diff --git a/runtime/kusama/src/weights/pallet_fast_unstake.rs b/runtime/kusama/src/weights/pallet_fast_unstake.rs index 8d6e657336e1..733a7138d666 100644 --- a/runtime/kusama/src/weights/pallet_fast_unstake.rs +++ b/runtime/kusama/src/weights/pallet_fast_unstake.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_fast_unstake` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -76,18 +76,18 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// The range of component `b` is `[1, 64]`. fn on_idle_unstake(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1348 + b * (375 ±0)` - // Estimated: `8805 + b * (17962 ±0)` - // Minimum execution time: 77_064 nanoseconds. - Weight::from_parts(35_939_138, 0) - .saturating_add(Weight::from_parts(0, 8805)) - // Standard Error: 51_777 - .saturating_add(Weight::from_parts(41_379_142, 0).saturating_mul(b.into())) + // Measured: `1316 + b * (343 ±0)` + // Estimated: `20621 + b * (17898 ±0)` + // Minimum execution time: 76_169_000 picoseconds. + Weight::from_parts(42_721_141, 0) + .saturating_add(Weight::from_parts(0, 20621)) + // Standard Error: 49_311 + .saturating_add(Weight::from_parts(41_420_931, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 17962).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 17898).saturating_mul(b.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) /// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -107,19 +107,19 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// The range of component `b` is `[1, 64]`. fn on_idle_check(v: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1516 + v * (18519 ±0) + b * (48 ±0)` - // Estimated: `11390 + v * (39515 ±0) + b * (98 ±0)` - // Minimum execution time: 1_753_651 nanoseconds. - Weight::from_parts(1_768_190_000, 0) - .saturating_add(Weight::from_parts(0, 11390)) - // Standard Error: 17_419_764 - .saturating_add(Weight::from_parts(557_480_020, 0).saturating_mul(v.into())) - // Standard Error: 69_698_458 - .saturating_add(Weight::from_parts(2_177_348_847, 0).saturating_mul(b.into())) + // Measured: `1484 + v * (18487 ±0) + b * (48 ±0)` + // Estimated: `18256 + v * (39451 ±0) + b * (98 ±0)` + // Minimum execution time: 1_663_692_000 picoseconds. + Weight::from_parts(1_670_772_000, 0) + .saturating_add(Weight::from_parts(0, 18256)) + // Standard Error: 15_299_028 + .saturating_add(Weight::from_parts(489_545_566, 0).saturating_mul(v.into())) + // Standard Error: 61_213_154 + .saturating_add(Weight::from_parts(1_926_696_821, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 39515).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 39451).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 98).saturating_mul(b.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) @@ -152,11 +152,11 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn register_fast_unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `2026` - // Estimated: `29594` - // Minimum execution time: 111_029 nanoseconds. - Weight::from_parts(113_755_000, 0) - .saturating_add(Weight::from_parts(0, 29594)) + // Measured: `1898` + // Estimated: `43454` + // Minimum execution time: 111_662_000 picoseconds. + Weight::from_parts(112_581_000, 0) + .saturating_add(Weight::from_parts(0, 43454)) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -172,11 +172,11 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn deregister() -> Weight { // Proof Size summary in bytes: - // Measured: `1220` - // Estimated: `10781` - // Minimum execution time: 41_214 nanoseconds. - Weight::from_parts(41_497_000, 0) - .saturating_add(Weight::from_parts(0, 10781)) + // Measured: `1156` + // Estimated: `15731` + // Minimum execution time: 40_644_000 picoseconds. + Weight::from_parts(41_516_000, 0) + .saturating_add(Weight::from_parts(0, 15731)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -186,8 +186,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_443 nanoseconds. - Weight::from_parts(2_586_000, 0) + // Minimum execution time: 2_901_000 picoseconds. + Weight::from_parts(3_026_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_identity.rs b/runtime/kusama/src/weights/pallet_identity.rs index b35a863543e9..ba3bf22f16a5 100644 --- a/runtime/kusama/src/weights/pallet_identity.rs +++ b/runtime/kusama/src/weights/pallet_identity.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `64 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 11_208 nanoseconds. - Weight::from_parts(12_047_997, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_920 - .saturating_add(Weight::from_parts(101_894, 0).saturating_mul(r.into())) + // Measured: `32 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 11_971_000 picoseconds. + Weight::from_parts(12_647_916, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_923 + .saturating_add(Weight::from_parts(117_079, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -66,15 +66,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `474 + r * (5 ±0)` - // Estimated: `10013` - // Minimum execution time: 28_542 nanoseconds. - Weight::from_parts(28_963_355, 0) - .saturating_add(Weight::from_parts(0, 10013)) - // Standard Error: 3_727 - .saturating_add(Weight::from_parts(27_685, 0).saturating_mul(r.into())) - // Standard Error: 727 - .saturating_add(Weight::from_parts(443_762, 0).saturating_mul(x.into())) + // Measured: `442 + r * (5 ±0)` + // Estimated: `11003` + // Minimum execution time: 29_280_000 picoseconds. + Weight::from_parts(30_187_924, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 4_084 + .saturating_add(Weight::from_parts(6_401, 0).saturating_mul(r.into())) + // Standard Error: 796 + .saturating_add(Weight::from_parts(440_407, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,12 +88,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `101` - // Estimated: `15746 + s * (2589 ±0)` - // Minimum execution time: 8_887 nanoseconds. - Weight::from_parts(22_611_966, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 4_429 - .saturating_add(Weight::from_parts(2_875_857, 0).saturating_mul(s.into())) + // Estimated: `18716 + s * (2589 ±0)` + // Minimum execution time: 9_217_000 picoseconds. + Weight::from_parts(22_366_407, 0) + .saturating_add(Weight::from_parts(0, 18716)) + // Standard Error: 5_217 + .saturating_add(Weight::from_parts(2_681_153, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -109,13 +109,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `226 + p * (32 ±0)` - // Estimated: `15746` - // Minimum execution time: 8_636 nanoseconds. - Weight::from_parts(21_370_550, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 3_629 - .saturating_add(Weight::from_parts(1_141_607, 0).saturating_mul(p.into())) + // Measured: `194 + p * (32 ±0)` + // Estimated: `17726` + // Minimum execution time: 9_562_000 picoseconds. + Weight::from_parts(22_267_810, 0) + .saturating_add(Weight::from_parts(0, 17726)) + // Standard Error: 3_161 + .saturating_add(Weight::from_parts(1_068_419, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -131,17 +131,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `15746` - // Minimum execution time: 48_957 nanoseconds. - Weight::from_parts(26_306_252, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 8_739 - .saturating_add(Weight::from_parts(93_355, 0).saturating_mul(r.into())) - // Standard Error: 1_706 - .saturating_add(Weight::from_parts(1_112_902, 0).saturating_mul(s.into())) - // Standard Error: 1_706 - .saturating_add(Weight::from_parts(237_971, 0).saturating_mul(x.into())) + // Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `17726` + // Minimum execution time: 49_724_000 picoseconds. + Weight::from_parts(28_433_827, 0) + .saturating_add(Weight::from_parts(0, 17726)) + // Standard Error: 7_197 + .saturating_add(Weight::from_parts(45_635, 0).saturating_mul(r.into())) + // Standard Error: 1_405 + .saturating_add(Weight::from_parts(1_055_850, 0).saturating_mul(s.into())) + // Standard Error: 1_405 + .saturating_add(Weight::from_parts(236_616, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -154,15 +154,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `431 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11649` - // Minimum execution time: 29_466 nanoseconds. - Weight::from_parts(28_311_470, 0) - .saturating_add(Weight::from_parts(0, 11649)) - // Standard Error: 4_744 - .saturating_add(Weight::from_parts(105_338, 0).saturating_mul(r.into())) - // Standard Error: 925 - .saturating_add(Weight::from_parts(469_280, 0).saturating_mul(x.into())) + // Measured: `367 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `13629` + // Minimum execution time: 30_181_000 picoseconds. + Weight::from_parts(30_036_356, 0) + .saturating_add(Weight::from_parts(0, 13629)) + // Standard Error: 3_733 + .saturating_add(Weight::from_parts(61_015, 0).saturating_mul(r.into())) + // Standard Error: 728 + .saturating_add(Weight::from_parts(464_610, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -172,15 +172,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `430 + x * (66 ±0)` - // Estimated: `10013` - // Minimum execution time: 25_996 nanoseconds. - Weight::from_parts(26_141_469, 0) - .saturating_add(Weight::from_parts(0, 10013)) - // Standard Error: 4_115 - .saturating_add(Weight::from_parts(61_929, 0).saturating_mul(r.into())) - // Standard Error: 802 - .saturating_add(Weight::from_parts(466_025, 0).saturating_mul(x.into())) + // Measured: `398 + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 27_256_000 picoseconds. + Weight::from_parts(27_361_959, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 4_547 + .saturating_add(Weight::from_parts(40_254, 0).saturating_mul(r.into())) + // Standard Error: 887 + .saturating_add(Weight::from_parts(464_938, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,13 +189,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 6_761 nanoseconds. - Weight::from_parts(7_438_431, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_286 - .saturating_add(Weight::from_parts(96_779, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_479_000 picoseconds. + Weight::from_parts(7_959_876, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_565 + .saturating_add(Weight::from_parts(91_853, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,13 +204,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_065 nanoseconds. - Weight::from_parts(7_761_081, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_405 - .saturating_add(Weight::from_parts(89_580, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_750_000 picoseconds. + Weight::from_parts(8_097_434, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_227 + .saturating_add(Weight::from_parts(88_314, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,13 +219,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_029 nanoseconds. - Weight::from_parts(7_489_478, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_273 - .saturating_add(Weight::from_parts(87_142, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_686_000 picoseconds. + Weight::from_parts(8_176_717, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_152 + .saturating_add(Weight::from_parts(80_559, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -237,15 +237,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `509 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11649` - // Minimum execution time: 22_672 nanoseconds. - Weight::from_parts(21_800_147, 0) - .saturating_add(Weight::from_parts(0, 11649)) - // Standard Error: 5_387 - .saturating_add(Weight::from_parts(103_911, 0).saturating_mul(r.into())) - // Standard Error: 996 - .saturating_add(Weight::from_parts(775_383, 0).saturating_mul(x.into())) + // Measured: `445 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `13629` + // Minimum execution time: 22_923_000 picoseconds. + Weight::from_parts(22_446_926, 0) + .saturating_add(Weight::from_parts(0, 13629)) + // Standard Error: 6_242 + .saturating_add(Weight::from_parts(93_223, 0).saturating_mul(r.into())) + // Standard Error: 1_155 + .saturating_add(Weight::from_parts(734_993, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -262,17 +262,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `772 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `18349` - // Minimum execution time: 62_398 nanoseconds. - Weight::from_parts(41_403_376, 0) - .saturating_add(Weight::from_parts(0, 18349)) - // Standard Error: 18_828 - .saturating_add(Weight::from_parts(63_353, 0).saturating_mul(r.into())) - // Standard Error: 3_676 - .saturating_add(Weight::from_parts(1_132_017, 0).saturating_mul(s.into())) - // Standard Error: 3_676 - .saturating_add(Weight::from_parts(228_527, 0).saturating_mul(x.into())) + // Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `21319` + // Minimum execution time: 63_424_000 picoseconds. + Weight::from_parts(43_509_592, 0) + .saturating_add(Weight::from_parts(0, 21319)) + // Standard Error: 6_118 + .saturating_add(Weight::from_parts(34_163, 0).saturating_mul(r.into())) + // Standard Error: 1_194 + .saturating_add(Weight::from_parts(1_058_669, 0).saturating_mul(s.into())) + // Standard Error: 1_194 + .saturating_add(Weight::from_parts(226_324, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -286,13 +286,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `507 + s * (36 ±0)` - // Estimated: `18335` - // Minimum execution time: 25_876 nanoseconds. - Weight::from_parts(30_818_769, 0) - .saturating_add(Weight::from_parts(0, 18335)) - // Standard Error: 1_458 - .saturating_add(Weight::from_parts(63_175, 0).saturating_mul(s.into())) + // Measured: `475 + s * (36 ±0)` + // Estimated: `21305` + // Minimum execution time: 27_057_000 picoseconds. + Weight::from_parts(31_676_569, 0) + .saturating_add(Weight::from_parts(0, 21305)) + // Standard Error: 1_426 + .saturating_add(Weight::from_parts(59_355, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -303,13 +303,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `623 + s * (3 ±0)` - // Estimated: `12602` - // Minimum execution time: 12_517 nanoseconds. - Weight::from_parts(14_411_360, 0) - .saturating_add(Weight::from_parts(0, 12602)) - // Standard Error: 615 - .saturating_add(Weight::from_parts(17_345, 0).saturating_mul(s.into())) + // Measured: `591 + s * (3 ±0)` + // Estimated: `14582` + // Minimum execution time: 12_795_000 picoseconds. + Weight::from_parts(15_135_109, 0) + .saturating_add(Weight::from_parts(0, 14582)) + // Standard Error: 629 + .saturating_add(Weight::from_parts(16_556, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -322,13 +322,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `702 + s * (35 ±0)` - // Estimated: `18335` - // Minimum execution time: 29_382 nanoseconds. - Weight::from_parts(35_419_886, 0) - .saturating_add(Weight::from_parts(0, 18335)) - // Standard Error: 1_530 - .saturating_add(Weight::from_parts(49_937, 0).saturating_mul(s.into())) + // Measured: `638 + s * (35 ±0)` + // Estimated: `21305` + // Minimum execution time: 30_174_000 picoseconds. + Weight::from_parts(36_094_454, 0) + .saturating_add(Weight::from_parts(0, 21305)) + // Standard Error: 1_570 + .saturating_add(Weight::from_parts(50_442, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -339,13 +339,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `628 + s * (37 ±0)` - // Estimated: `8322` - // Minimum execution time: 18_595 nanoseconds. - Weight::from_parts(21_047_083, 0) - .saturating_add(Weight::from_parts(0, 8322)) - // Standard Error: 986 - .saturating_add(Weight::from_parts(56_196, 0).saturating_mul(s.into())) + // Measured: `564 + s * (37 ±0)` + // Estimated: `10302` + // Minimum execution time: 19_729_000 picoseconds. + Weight::from_parts(22_325_410, 0) + .saturating_add(Weight::from_parts(0, 10302)) + // Standard Error: 975 + .saturating_add(Weight::from_parts(52_068, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/kusama/src/weights/pallet_im_online.rs b/runtime/kusama/src/weights/pallet_im_online.rs index 2012ba795d0f..99740b15876f 100644 --- a/runtime/kusama/src/weights/pallet_im_online.rs +++ b/runtime/kusama/src/weights/pallet_im_online.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -59,18 +59,18 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `425 + k * (32 ±0)` - // Estimated: `10345844 + k * (64 ±0) + e * (25 ±0)` - // Minimum execution time: 91_845 nanoseconds. - Weight::from_parts(72_883_222, 0) - .saturating_add(Weight::from_parts(0, 10345844)) - // Standard Error: 391 - .saturating_add(Weight::from_parts(24_923, 0).saturating_mul(k.into())) - // Standard Error: 3_945 - .saturating_add(Weight::from_parts(391_176, 0).saturating_mul(e.into())) + // Measured: `361 + k * (32 ±0)` + // Estimated: `10349676 + e * (35 ±0) + k * (64 ±0)` + // Minimum execution time: 91_159_000 picoseconds. + Weight::from_parts(74_157_856, 0) + .saturating_add(Weight::from_parts(0, 10349676)) + // Standard Error: 275 + .saturating_add(Weight::from_parts(20_308, 0).saturating_mul(k.into())) + // Standard Error: 2_777 + .saturating_add(Weight::from_parts(387_445, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) .saturating_add(Weight::from_parts(0, 64).saturating_mul(k.into())) - .saturating_add(Weight::from_parts(0, 25).saturating_mul(e.into())) } } diff --git a/runtime/kusama/src/weights/pallet_indices.rs b/runtime/kusama/src/weights/pallet_indices.rs index 013fb8d65326..ab055603f0bf 100644 --- a/runtime/kusama/src/weights/pallet_indices.rs +++ b/runtime/kusama/src/weights/pallet_indices.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -50,10 +50,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `142` - // Estimated: `2544` - // Minimum execution time: 19_772 nanoseconds. - Weight::from_parts(20_141_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Estimated: `3534` + // Minimum execution time: 19_717_000 picoseconds. + Weight::from_parts(19_973_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,11 +63,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `5147` - // Minimum execution time: 26_307 nanoseconds. - Weight::from_parts(26_715_000, 0) - .saturating_add(Weight::from_parts(0, 5147)) + // Measured: `341` + // Estimated: `7127` + // Minimum execution time: 25_883_000 picoseconds. + Weight::from_parts(26_341_000, 0) + .saturating_add(Weight::from_parts(0, 7127)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn free() -> Weight { // Proof Size summary in bytes: - // Measured: `270` - // Estimated: `2544` - // Minimum execution time: 21_317 nanoseconds. - Weight::from_parts(21_752_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Measured: `238` + // Estimated: `3534` + // Minimum execution time: 20_994_000 picoseconds. + Weight::from_parts(21_545_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,11 +89,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `5147` - // Minimum execution time: 22_949 nanoseconds. - Weight::from_parts(23_602_000, 0) - .saturating_add(Weight::from_parts(0, 5147)) + // Measured: `341` + // Estimated: `7127` + // Minimum execution time: 23_512_000 picoseconds. + Weight::from_parts(23_892_000, 0) + .saturating_add(Weight::from_parts(0, 7127)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -101,11 +101,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `270` - // Estimated: `2544` - // Minimum execution time: 23_291 nanoseconds. - Weight::from_parts(23_680_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Measured: `238` + // Estimated: `3534` + // Minimum execution time: 23_144_000 picoseconds. + Weight::from_parts(23_511_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_membership.rs b/runtime/kusama/src/weights/pallet_membership.rs index b1aa079e8939..8d141aa72a75 100644 --- a/runtime/kusama/src/weights/pallet_membership.rs +++ b/runtime/kusama/src/weights/pallet_membership.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -56,13 +56,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `272 + m * (64 ±0)` - // Estimated: `5005 + m * (192 ±0)` - // Minimum execution time: 15_868 nanoseconds. - Weight::from_parts(16_735_956, 0) - .saturating_add(Weight::from_parts(0, 5005)) - // Standard Error: 405 - .saturating_add(Weight::from_parts(34_427, 0).saturating_mul(m.into())) + // Measured: `208 + m * (64 ±0)` + // Estimated: `6793 + m * (192 ±0)` + // Minimum execution time: 15_847_000 picoseconds. + Weight::from_parts(16_597_325, 0) + .saturating_add(Weight::from_parts(0, 6793)) + // Standard Error: 411 + .saturating_add(Weight::from_parts(35_801, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -80,13 +80,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `376 + m * (64 ±0)` - // Estimated: `5844 + m * (192 ±0)` - // Minimum execution time: 18_310 nanoseconds. - Weight::from_parts(20_244_850, 0) - .saturating_add(Weight::from_parts(0, 5844)) - // Standard Error: 1_013 - .saturating_add(Weight::from_parts(24_485, 0).saturating_mul(m.into())) + // Measured: `312 + m * (64 ±0)` + // Estimated: `8622 + m * (192 ±0)` + // Minimum execution time: 18_412_000 picoseconds. + Weight::from_parts(19_251_698, 0) + .saturating_add(Weight::from_parts(0, 8622)) + // Standard Error: 474 + .saturating_add(Weight::from_parts(32_206, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -104,13 +104,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `376 + m * (64 ±0)` - // Estimated: `5844 + m * (192 ±0)` - // Minimum execution time: 18_288 nanoseconds. - Weight::from_parts(19_678_526, 0) - .saturating_add(Weight::from_parts(0, 5844)) - // Standard Error: 638 - .saturating_add(Weight::from_parts(46_969, 0).saturating_mul(m.into())) + // Measured: `312 + m * (64 ±0)` + // Estimated: `8622 + m * (192 ±0)` + // Minimum execution time: 18_502_000 picoseconds. + Weight::from_parts(19_583_888, 0) + .saturating_add(Weight::from_parts(0, 8622)) + // Standard Error: 619 + .saturating_add(Weight::from_parts(44_408, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -128,13 +128,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `376 + m * (64 ±0)` - // Estimated: `5844 + m * (192 ±0)` - // Minimum execution time: 18_134 nanoseconds. - Weight::from_parts(19_888_809, 0) - .saturating_add(Weight::from_parts(0, 5844)) - // Standard Error: 941 - .saturating_add(Weight::from_parts(159_905, 0).saturating_mul(m.into())) + // Measured: `312 + m * (64 ±0)` + // Estimated: `8622 + m * (192 ±0)` + // Minimum execution time: 18_088_000 picoseconds. + Weight::from_parts(19_292_324, 0) + .saturating_add(Weight::from_parts(0, 8622)) + // Standard Error: 759 + .saturating_add(Weight::from_parts(162_348, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -152,13 +152,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `376 + m * (64 ±0)` - // Estimated: `5844 + m * (192 ±0)` - // Minimum execution time: 19_561 nanoseconds. - Weight::from_parts(21_279_630, 0) - .saturating_add(Weight::from_parts(0, 5844)) - // Standard Error: 1_831 - .saturating_add(Weight::from_parts(40_904, 0).saturating_mul(m.into())) + // Measured: `312 + m * (64 ±0)` + // Estimated: `8622 + m * (192 ±0)` + // Minimum execution time: 19_134_000 picoseconds. + Weight::from_parts(20_242_466, 0) + .saturating_add(Weight::from_parts(0, 8622)) + // Standard Error: 962 + .saturating_add(Weight::from_parts(47_779, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -172,13 +172,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `64 + m * (32 ±0)` - // Estimated: `3761 + m * (32 ±0)` - // Minimum execution time: 6_834 nanoseconds. - Weight::from_parts(7_209_545, 0) - .saturating_add(Weight::from_parts(0, 3761)) - // Standard Error: 141 - .saturating_add(Weight::from_parts(11_608, 0).saturating_mul(m.into())) + // Measured: `32 + m * (32 ±0)` + // Estimated: `4719 + m * (32 ±0)` + // Minimum execution time: 6_726_000 picoseconds. + Weight::from_parts(6_966_055, 0) + .saturating_add(Weight::from_parts(0, 4719)) + // Standard Error: 255 + .saturating_add(Weight::from_parts(13_950, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -192,11 +192,11 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_026 nanoseconds. - Weight::from_parts(3_222_361, 0) + // Minimum execution time: 3_010_000 picoseconds. + Weight::from_parts(3_196_429, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 76 - .saturating_add(Weight::from_parts(409, 0).saturating_mul(m.into())) + // Standard Error: 78 + .saturating_add(Weight::from_parts(471, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/kusama/src/weights/pallet_multisig.rs b/runtime/kusama/src/weights/pallet_multisig.rs index 9ba671a1f0eb..beeca8d260da 100644 --- a/runtime/kusama/src/weights/pallet_multisig.rs +++ b/runtime/kusama/src/weights/pallet_multisig.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -50,11 +50,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_812 nanoseconds. - Weight::from_parts(12_396_153, 0) + // Minimum execution time: 11_823_000 picoseconds. + Weight::from_parts(12_266_007, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(494, 0).saturating_mul(z.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(498, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -62,15 +62,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `352 + s * (2 ±0)` - // Estimated: `5821` - // Minimum execution time: 36_403 nanoseconds. - Weight::from_parts(31_104_250, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 608 - .saturating_add(Weight::from_parts(65_369, 0).saturating_mul(s.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_470, 0).saturating_mul(z.into())) + // Measured: `301 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 36_427_000 picoseconds. + Weight::from_parts(31_400_908, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 650 + .saturating_add(Weight::from_parts(54_330, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_198, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,15 +80,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `5821` - // Minimum execution time: 26_859 nanoseconds. - Weight::from_parts(20_829_361, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 424 - .saturating_add(Weight::from_parts(66_072, 0).saturating_mul(s.into())) + // Measured: `320` + // Estimated: `6811` + // Minimum execution time: 26_513_000 picoseconds. + Weight::from_parts(21_729_726, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 412 + .saturating_add(Weight::from_parts(54_766, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_507, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,15 +100,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `489 + s * (33 ±0)` - // Estimated: `8424` - // Minimum execution time: 44_285 nanoseconds. - Weight::from_parts(33_858_965, 0) - .saturating_add(Weight::from_parts(0, 8424)) - // Standard Error: 1_025 - .saturating_add(Weight::from_parts(106_136, 0).saturating_mul(s.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_572, 0).saturating_mul(z.into())) + // Measured: `426 + s * (33 ±0)` + // Estimated: `10404` + // Minimum execution time: 44_380_000 picoseconds. + Weight::from_parts(35_396_612, 0) + .saturating_add(Weight::from_parts(0, 10404)) + // Standard Error: 1_363 + .saturating_add(Weight::from_parts(95_216, 0).saturating_mul(s.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_264, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,13 +117,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `359 + s * (2 ±0)` - // Estimated: `5821` - // Minimum execution time: 27_007 nanoseconds. - Weight::from_parts(28_799_460, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 727 - .saturating_add(Weight::from_parts(73_421, 0).saturating_mul(s.into())) + // Measured: `301 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 27_881_000 picoseconds. + Weight::from_parts(29_392_537, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 647 + .saturating_add(Weight::from_parts(63_287, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -132,13 +132,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `5821` - // Minimum execution time: 18_213 nanoseconds. - Weight::from_parts(19_335_417, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 547 - .saturating_add(Weight::from_parts(70_081, 0).saturating_mul(s.into())) + // Measured: `320` + // Estimated: `6811` + // Minimum execution time: 18_831_000 picoseconds. + Weight::from_parts(20_022_948, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 709 + .saturating_add(Weight::from_parts(57_318, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -147,13 +147,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `555 + s * (1 ±0)` - // Estimated: `5821` - // Minimum execution time: 28_536 nanoseconds. - Weight::from_parts(30_528_975, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 1_817 - .saturating_add(Weight::from_parts(100_832, 0).saturating_mul(s.into())) + // Measured: `492 + s * (1 ±0)` + // Estimated: `6811` + // Minimum execution time: 29_105_000 picoseconds. + Weight::from_parts(30_739_462, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 1_473 + .saturating_add(Weight::from_parts(90_499, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_nis.rs b/runtime/kusama/src/weights/pallet_nis.rs index b8b6a1c48125..700e681f0399 100644 --- a/runtime/kusama/src/weights/pallet_nis.rs +++ b/runtime/kusama/src/weights/pallet_nis.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_nis` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -54,13 +54,13 @@ impl pallet_nis::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 999]`. fn place_bid(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `10279 + l * (48 ±0)` - // Estimated: `64718` - // Minimum execution time: 30_301 nanoseconds. - Weight::from_parts(33_466_240, 0) - .saturating_add(Weight::from_parts(0, 64718)) - // Standard Error: 738 - .saturating_add(Weight::from_parts(72_743, 0).saturating_mul(l.into())) + // Measured: `10216 + l * (48 ±0)` + // Estimated: `67688` + // Minimum execution time: 29_879_000 picoseconds. + Weight::from_parts(32_953_670, 0) + .saturating_add(Weight::from_parts(0, 67688)) + // Standard Error: 715 + .saturating_add(Weight::from_parts(71_838, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -72,11 +72,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen) fn place_bid_max() -> Weight { // Proof Size summary in bytes: - // Measured: `58281` - // Estimated: `64718` - // Minimum execution time: 107_161 nanoseconds. - Weight::from_parts(108_832_000, 0) - .saturating_add(Weight::from_parts(0, 64718)) + // Measured: `58218` + // Estimated: `67688` + // Minimum execution time: 107_169_000 picoseconds. + Weight::from_parts(108_661_000, 0) + .saturating_add(Weight::from_parts(0, 67688)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -89,13 +89,13 @@ impl pallet_nis::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 1000]`. fn retract_bid(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `10279 + l * (48 ±0)` - // Estimated: `64718` - // Minimum execution time: 38_181 nanoseconds. - Weight::from_parts(34_136_859, 0) - .saturating_add(Weight::from_parts(0, 64718)) - // Standard Error: 722 - .saturating_add(Weight::from_parts(59_626, 0).saturating_mul(l.into())) + // Measured: `10216 + l * (48 ±0)` + // Estimated: `67688` + // Minimum execution time: 37_765_000 picoseconds. + Weight::from_parts(34_128_234, 0) + .saturating_add(Weight::from_parts(0, 67688)) + // Standard Error: 714 + .saturating_add(Weight::from_parts(59_820, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -105,11 +105,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn fund_deficit() -> Weight { // Proof Size summary in bytes: - // Measured: `256` - // Estimated: `3138` - // Minimum execution time: 34_258 nanoseconds. - Weight::from_parts(34_506_000, 0) - .saturating_add(Weight::from_parts(0, 3138)) + // Measured: `225` + // Estimated: `5118` + // Minimum execution time: 34_474_000 picoseconds. + Weight::from_parts(35_247_000, 0) + .saturating_add(Weight::from_parts(0, 5118)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -123,11 +123,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) fn thaw_private() -> Weight { // Proof Size summary in bytes: - // Measured: `457` - // Estimated: `9418` - // Minimum execution time: 49_523 nanoseconds. - Weight::from_parts(49_848_000, 0) - .saturating_add(Weight::from_parts(0, 9418)) + // Measured: `394` + // Estimated: `13378` + // Minimum execution time: 50_476_000 picoseconds. + Weight::from_parts(51_300_000, 0) + .saturating_add(Weight::from_parts(0, 13378)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -143,11 +143,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn thaw_communal() -> Weight { // Proof Size summary in bytes: - // Measured: `698` - // Estimated: `8792` - // Minimum execution time: 65_591 nanoseconds. - Weight::from_parts(66_211_000, 0) - .saturating_add(Weight::from_parts(0, 8792)) + // Measured: `604` + // Estimated: `13742` + // Minimum execution time: 63_964_000 picoseconds. + Weight::from_parts(64_804_000, 0) + .saturating_add(Weight::from_parts(0, 13742)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -165,11 +165,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) fn privatize() -> Weight { // Proof Size summary in bytes: - // Measured: `760` - // Estimated: `12516` - // Minimum execution time: 74_274 nanoseconds. - Weight::from_parts(75_181_000, 0) - .saturating_add(Weight::from_parts(0, 12516)) + // Measured: `666` + // Estimated: `18456` + // Minimum execution time: 74_135_000 picoseconds. + Weight::from_parts(74_896_000, 0) + .saturating_add(Weight::from_parts(0, 18456)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -187,11 +187,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn communify() -> Weight { // Proof Size summary in bytes: - // Measured: `539` - // Estimated: `12516` - // Minimum execution time: 68_837 nanoseconds. - Weight::from_parts(69_316_000, 0) - .saturating_add(Weight::from_parts(0, 12516)) + // Measured: `476` + // Estimated: `18456` + // Minimum execution time: 68_354_000 picoseconds. + Weight::from_parts(68_984_000, 0) + .saturating_add(Weight::from_parts(0, 18456)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -203,11 +203,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(10002), added: 10497, mode: MaxEncodedLen) fn process_queues() -> Weight { // Proof Size summary in bytes: - // Measured: `10689` - // Estimated: `13635` - // Minimum execution time: 24_779 nanoseconds. - Weight::from_parts(25_172_000, 0) - .saturating_add(Weight::from_parts(0, 13635)) + // Measured: `10658` + // Estimated: `16605` + // Minimum execution time: 24_500_000 picoseconds. + Weight::from_parts(24_920_000, 0) + .saturating_add(Weight::from_parts(0, 16605)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -216,10 +216,10 @@ impl pallet_nis::WeightInfo for WeightInfo { fn process_queue() -> Weight { // Proof Size summary in bytes: // Measured: `76` - // Estimated: `50497` - // Minimum execution time: 4_104 nanoseconds. - Weight::from_parts(4_252_000, 0) - .saturating_add(Weight::from_parts(0, 50497)) + // Estimated: `51487` + // Minimum execution time: 4_089_000 picoseconds. + Weight::from_parts(4_222_000, 0) + .saturating_add(Weight::from_parts(0, 51487)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -229,8 +229,8 @@ impl pallet_nis::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_710 nanoseconds. - Weight::from_parts(6_907_000, 0) + // Minimum execution time: 7_020_000 picoseconds. + Weight::from_parts(7_177_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_nomination_pools.rs b/runtime/kusama/src/weights/pallet_nomination_pools.rs index 5bf5914995f1..5465ec8517fd 100644 --- a/runtime/kusama/src/weights/pallet_nomination_pools.rs +++ b/runtime/kusama/src/weights/pallet_nomination_pools.rs @@ -16,24 +16,22 @@ //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=pallet_nomination_pools // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=pallet_nomination_pools -// --chain=kusama-dev // --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -77,10 +75,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn join() -> Weight { // Proof Size summary in bytes: - // Measured: `3578` + // Measured: `3229` // Estimated: `52915` - // Minimum execution time: 155_563_000 picoseconds. - Weight::from_parts(156_968_000, 0) + // Minimum execution time: 151_704_000 picoseconds. + Weight::from_parts(152_600_000, 0) .saturating_add(Weight::from_parts(0, 52915)) .saturating_add(T::DbWeight::get().reads(18)) .saturating_add(T::DbWeight::get().writes(12)) @@ -107,10 +105,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn bond_extra_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `3620` + // Measured: `3239` // Estimated: `49550` - // Minimum execution time: 153_086_000 picoseconds. - Weight::from_parts(154_699_000, 0) + // Minimum execution time: 148_678_000 picoseconds. + Weight::from_parts(149_465_000, 0) .saturating_add(Weight::from_parts(0, 49550)) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(12)) @@ -139,10 +137,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn bond_extra_other() -> Weight { // Proof Size summary in bytes: - // Measured: `3685` + // Measured: `3304` // Estimated: `53056` - // Minimum execution time: 172_493_000 picoseconds. - Weight::from_parts(173_786_000, 0) + // Minimum execution time: 167_308_000 picoseconds. + Weight::from_parts(168_397_000, 0) .saturating_add(Weight::from_parts(0, 53056)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(13)) @@ -161,10 +159,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim_payout() -> Weight { // Proof Size summary in bytes: - // Measured: `1331` + // Measured: `1171` // Estimated: `20012` - // Minimum execution time: 60_276_000 picoseconds. - Weight::from_parts(60_972_000, 0) + // Minimum execution time: 59_323_000 picoseconds. + Weight::from_parts(60_079_000, 0) .saturating_add(Weight::from_parts(0, 20012)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -201,10 +199,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools CounterForSubPoolsStorage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `3856` + // Measured: `3506` // Estimated: `60367` - // Minimum execution time: 156_830_000 picoseconds. - Weight::from_parts(158_198_000, 0) + // Minimum execution time: 154_517_000 picoseconds. + Weight::from_parts(155_646_000, 0) .saturating_add(Weight::from_parts(0, 60367)) .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().writes(13)) @@ -222,13 +220,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1704` + // Measured: `1608` // Estimated: `18031` - // Minimum execution time: 53_206_000 picoseconds. - Weight::from_parts(54_391_455, 0) + // Minimum execution time: 51_685_000 picoseconds. + Weight::from_parts(53_213_550, 0) .saturating_add(Weight::from_parts(0, 18031)) - // Standard Error: 2_654 - .saturating_add(Weight::from_parts(10_172, 0).saturating_mul(s.into())) + // Standard Error: 701 + .saturating_add(Weight::from_parts(4_700, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -253,13 +251,15 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Storage: NominationPools ClaimPermissions (r:0 w:1) /// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_update(_s: u32, ) -> Weight { + fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2228` + // Measured: `2036` // Estimated: `31957` - // Minimum execution time: 102_755_000 picoseconds. - Weight::from_parts(107_719_238, 0) + // Minimum execution time: 100_044_000 picoseconds. + Weight::from_parts(101_993_618, 0) .saturating_add(Weight::from_parts(0, 31957)) + // Standard Error: 1_667 + .saturating_add(Weight::from_parts(9_469, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -308,13 +308,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2618` - // Estimated: `65189` - // Minimum execution time: 161_317_000 picoseconds. - Weight::from_parts(164_663_249, 0) - .saturating_add(Weight::from_parts(0, 65189)) - // Standard Error: 25_821 - .saturating_add(Weight::from_parts(58_147, 0).saturating_mul(s.into())) + // Measured: `2394` + // Estimated: `64965` + // Minimum execution time: 156_926_000 picoseconds. + Weight::from_parts(160_051_616, 0) + .saturating_add(Weight::from_parts(0, 64965)) + // Standard Error: 2_567 + .saturating_add(Weight::from_parts(2_730, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(18)) } @@ -362,10 +362,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1254` + // Measured: `1222` // Estimated: `51890` - // Minimum execution time: 141_784_000 picoseconds. - Weight::from_parts(142_683_000, 0) + // Minimum execution time: 141_512_000 picoseconds. + Weight::from_parts(144_032_000, 0) .saturating_add(Weight::from_parts(0, 51890)) .saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().writes(15)) @@ -397,13 +397,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 24]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1838` + // Measured: `1774` // Estimated: `34190 + n * (2520 ±0)` - // Minimum execution time: 65_561_000 picoseconds. - Weight::from_parts(68_033_566, 0) + // Minimum execution time: 64_626_000 picoseconds. + Weight::from_parts(65_512_036, 0) .saturating_add(Weight::from_parts(0, 34190)) - // Standard Error: 41_874 - .saturating_add(Weight::from_parts(1_249_632, 0).saturating_mul(n.into())) + // Standard Error: 5_786 + .saturating_add(Weight::from_parts(1_267_907, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -417,10 +417,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) fn set_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1427` + // Measured: `1363` // Estimated: `11778` - // Minimum execution time: 36_008_000 picoseconds. - Weight::from_parts(36_665_000, 0) + // Minimum execution time: 35_798_000 picoseconds. + Weight::from_parts(36_332_000, 0) .saturating_add(Weight::from_parts(0, 11778)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -434,13 +434,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `563` + // Measured: `531` // Estimated: `8909` - // Minimum execution time: 14_479_000 picoseconds. - Weight::from_parts(15_744_317, 0) + // Minimum execution time: 14_231_000 picoseconds. + Weight::from_parts(14_847_059, 0) .saturating_add(Weight::from_parts(0, 8909)) - // Standard Error: 1_213 - .saturating_add(Weight::from_parts(2_309, 0).saturating_mul(n.into())) + // Standard Error: 119 + .saturating_add(Weight::from_parts(821, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -460,8 +460,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_288_000 picoseconds. - Weight::from_parts(6_550_000, 0) + // Minimum execution time: 6_309_000 picoseconds. + Weight::from_parts(6_500_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -469,10 +469,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen) fn update_roles() -> Weight { // Proof Size summary in bytes: - // Measured: `563` + // Measured: `531` // Estimated: `3685` - // Minimum execution time: 20_297_000 picoseconds. - Weight::from_parts(20_698_000, 0) + // Minimum execution time: 19_545_000 picoseconds. + Weight::from_parts(19_873_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -497,10 +497,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `2065` + // Measured: `1937` // Estimated: `29711` - // Minimum execution time: 64_288_000 picoseconds. - Weight::from_parts(65_089_000, 0) + // Minimum execution time: 63_108_000 picoseconds. + Weight::from_parts(63_740_000, 0) .saturating_add(Weight::from_parts(0, 29711)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) @@ -515,10 +515,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `866` + // Measured: `770` // Estimated: `12324` - // Minimum execution time: 32_180_000 picoseconds. - Weight::from_parts(32_637_000, 0) + // Minimum execution time: 31_534_000 picoseconds. + Weight::from_parts(31_923_000, 0) .saturating_add(Weight::from_parts(0, 12324)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -527,10 +527,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen) fn set_commission_max() -> Weight { // Proof Size summary in bytes: - // Measured: `603` + // Measured: `571` // Estimated: `3685` - // Minimum execution time: 18_814_000 picoseconds. - Weight::from_parts(19_221_000, 0) + // Minimum execution time: 18_914_000 picoseconds. + Weight::from_parts(19_482_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -539,10 +539,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen) fn set_commission_change_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `563` + // Measured: `531` // Estimated: `3685` - // Minimum execution time: 19_641_000 picoseconds. - Weight::from_parts(29_789_000, 0) + // Minimum execution time: 19_606_000 picoseconds. + Weight::from_parts(20_215_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -555,8 +555,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `542` // Estimated: `7688` - // Minimum execution time: 14_819_000 picoseconds. - Weight::from_parts(21_194_000, 0) + // Minimum execution time: 14_577_000 picoseconds. + Weight::from_parts(15_134_000, 0) .saturating_add(Weight::from_parts(0, 7688)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -571,10 +571,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `1096` + // Measured: `968` // Estimated: `12324` - // Minimum execution time: 47_609_000 picoseconds. - Weight::from_parts(48_694_000, 0) + // Minimum execution time: 46_208_000 picoseconds. + Weight::from_parts(47_514_000, 0) .saturating_add(Weight::from_parts(0, 12324)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/kusama/src/weights/pallet_preimage.rs b/runtime/kusama/src/weights/pallet_preimage.rs index 79436e25df01..c7b72da38301 100644 --- a/runtime/kusama/src/weights/pallet_preimage.rs +++ b/runtime/kusama/src/weights/pallet_preimage.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -52,13 +52,13 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `175` - // Estimated: `2566` - // Minimum execution time: 24_429 nanoseconds. - Weight::from_parts(24_682_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `143` + // Estimated: `3556` + // Minimum execution time: 24_877_000 picoseconds. + Weight::from_parts(25_117_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_296, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_971, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -70,12 +70,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 15_628 nanoseconds. - Weight::from_parts(15_810_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(2_307, 0).saturating_mul(s.into())) + // Estimated: `3556` + // Minimum execution time: 15_956_000 picoseconds. + Weight::from_parts(16_228_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_971, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,12 +87,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 14_422 nanoseconds. - Weight::from_parts(14_639_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(2_310, 0).saturating_mul(s.into())) + // Estimated: `3556` + // Minimum execution time: 15_423_000 picoseconds. + Weight::from_parts(15_623_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_971, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -102,11 +102,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `353` - // Estimated: `2566` - // Minimum execution time: 32_172 nanoseconds. - Weight::from_parts(33_400_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `289` + // Estimated: `3556` + // Minimum execution time: 32_025_000 picoseconds. + Weight::from_parts(33_010_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,10 +117,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 20_366 nanoseconds. - Weight::from_parts(21_337_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 20_745_000 picoseconds. + Weight::from_parts(22_025_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,11 +128,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `220` - // Estimated: `2566` - // Minimum execution time: 18_373 nanoseconds. - Weight::from_parts(19_178_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `188` + // Estimated: `3556` + // Minimum execution time: 18_566_000 picoseconds. + Weight::from_parts(19_645_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -141,10 +141,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 10_863 nanoseconds. - Weight::from_parts(11_528_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 11_425_000 picoseconds. + Weight::from_parts(11_921_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -153,10 +153,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `42` - // Estimated: `2566` - // Minimum execution time: 12_532 nanoseconds. - Weight::from_parts(13_374_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 12_917_000 picoseconds. + Weight::from_parts(13_742_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -165,10 +165,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 7_507 nanoseconds. - Weight::from_parts(7_822_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 7_930_000 picoseconds. + Weight::from_parts(8_153_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,10 +179,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 18_373 nanoseconds. - Weight::from_parts(19_743_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 19_533_000 picoseconds. + Weight::from_parts(20_256_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -191,10 +191,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 7_479 nanoseconds. - Weight::from_parts(7_718_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 7_840_000 picoseconds. + Weight::from_parts(8_014_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,10 +203,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 7_490 nanoseconds. - Weight::from_parts(7_696_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 7_650_000 picoseconds. + Weight::from_parts(8_032_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_proxy.rs b/runtime/kusama/src/weights/pallet_proxy.rs index b3c65f6696f3..82021d6afa87 100644 --- a/runtime/kusama/src/weights/pallet_proxy.rs +++ b/runtime/kusama/src/weights/pallet_proxy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 14_615 nanoseconds. - Weight::from_parts(15_386_698, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_787 - .saturating_add(Weight::from_parts(43_011, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 15_572_000 picoseconds. + Weight::from_parts(16_351_854, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_347 + .saturating_add(Weight::from_parts(32_817, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -69,15 +69,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `650 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `11027` - // Minimum execution time: 36_035 nanoseconds. - Weight::from_parts(36_959_447, 0) - .saturating_add(Weight::from_parts(0, 11027)) - // Standard Error: 1_990 - .saturating_add(Weight::from_parts(139_528, 0).saturating_mul(a.into())) - // Standard Error: 2_057 - .saturating_add(Weight::from_parts(21_985, 0).saturating_mul(p.into())) + // Measured: `554 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `13997` + // Minimum execution time: 37_457_000 picoseconds. + Weight::from_parts(38_031_782, 0) + .saturating_add(Weight::from_parts(0, 13997)) + // Standard Error: 2_230 + .saturating_add(Weight::from_parts(131_439, 0).saturating_mul(a.into())) + // Standard Error: 2_304 + .saturating_add(Weight::from_parts(13_344, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,15 +87,17 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, _p: u32, ) -> Weight { + fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + a * (68 ±0)` - // Estimated: `7311` - // Minimum execution time: 20_524 nanoseconds. - Weight::from_parts(22_062_026, 0) - .saturating_add(Weight::from_parts(0, 7311)) - // Standard Error: 1_358 - .saturating_add(Weight::from_parts(140_509, 0).saturating_mul(a.into())) + // Measured: `469 + a * (68 ±0)` + // Estimated: `9291` + // Minimum execution time: 20_991_000 picoseconds. + Weight::from_parts(22_051_333, 0) + .saturating_add(Weight::from_parts(0, 9291)) + // Standard Error: 1_299 + .saturating_add(Weight::from_parts(167_423, 0).saturating_mul(a.into())) + // Standard Error: 1_342 + .saturating_add(Weight::from_parts(2_821, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,13 +109,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + a * (68 ±0)` - // Estimated: `7311` - // Minimum execution time: 20_653 nanoseconds. - Weight::from_parts(21_980_503, 0) - .saturating_add(Weight::from_parts(0, 7311)) - // Standard Error: 1_413 - .saturating_add(Weight::from_parts(140_088, 0).saturating_mul(a.into())) + // Measured: `469 + a * (68 ±0)` + // Estimated: `9291` + // Minimum execution time: 21_151_000 picoseconds. + Weight::from_parts(22_318_114, 0) + .saturating_add(Weight::from_parts(0, 9291)) + // Standard Error: 1_227 + .saturating_add(Weight::from_parts(141_706, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -127,15 +129,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `582 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `11027` - // Minimum execution time: 28_971 nanoseconds. - Weight::from_parts(33_226_962, 0) - .saturating_add(Weight::from_parts(0, 11027)) - // Standard Error: 3_142 - .saturating_add(Weight::from_parts(144_218, 0).saturating_mul(a.into())) - // Standard Error: 3_247 - .saturating_add(Weight::from_parts(20_427, 0).saturating_mul(p.into())) + // Measured: `486 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `13997` + // Minimum execution time: 29_255_000 picoseconds. + Weight::from_parts(32_863_289, 0) + .saturating_add(Weight::from_parts(0, 13997)) + // Standard Error: 2_687 + .saturating_add(Weight::from_parts(151_159, 0).saturating_mul(a.into())) + // Standard Error: 2_776 + .saturating_add(Weight::from_parts(24_689, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -144,13 +146,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 22_068 nanoseconds. - Weight::from_parts(22_996_882, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_701 - .saturating_add(Weight::from_parts(53_958, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 22_317_000 picoseconds. + Weight::from_parts(23_302_699, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_487 + .saturating_add(Weight::from_parts(44_269, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -159,13 +161,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 21_470 nanoseconds. - Weight::from_parts(22_582_951, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_831 - .saturating_add(Weight::from_parts(66_607, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 21_653_000 picoseconds. + Weight::from_parts(23_148_802, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 2_032 + .saturating_add(Weight::from_parts(62_340, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,13 +176,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 17_398 nanoseconds. - Weight::from_parts(18_475_576, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_719 - .saturating_add(Weight::from_parts(13_465, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 17_749_000 picoseconds. + Weight::from_parts(18_674_923, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 2_450 + .saturating_add(Weight::from_parts(26_630, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,12 +192,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239` - // Estimated: `3716` - // Minimum execution time: 23_766 nanoseconds. - Weight::from_parts(24_670_874, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 3_266 - .saturating_add(Weight::from_parts(11_835, 0).saturating_mul(p.into())) + // Estimated: `4706` + // Minimum execution time: 24_229_000 picoseconds. + Weight::from_parts(25_116_004, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_528 + .saturating_add(Weight::from_parts(8_119, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,13 +206,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `296 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 18_402 nanoseconds. - Weight::from_parts(19_432_290, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 2_064 - .saturating_add(Weight::from_parts(27_007, 0).saturating_mul(p.into())) + // Measured: `264 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 18_787_000 picoseconds. + Weight::from_parts(19_605_766, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_159 + .saturating_add(Weight::from_parts(30_136, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_ranked_collective.rs b/runtime/kusama/src/weights/pallet_ranked_collective.rs index db82beec719f..875457dd9ec0 100644 --- a/runtime/kusama/src/weights/pallet_ranked_collective.rs +++ b/runtime/kusama/src/weights/pallet_ranked_collective.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_ranked_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -56,10 +56,10 @@ impl pallet_ranked_collective::WeightInfo for WeightInf fn add_member() -> Weight { // Proof Size summary in bytes: // Measured: `76` - // Estimated: `5006` - // Minimum execution time: 16_268 nanoseconds. - Weight::from_parts(16_687_000, 0) - .saturating_add(Weight::from_parts(0, 5006)) + // Estimated: `6986` + // Minimum execution time: 17_330_000 picoseconds. + Weight::from_parts(18_056_000, 0) + .saturating_add(Weight::from_parts(0, 6986)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -75,12 +75,12 @@ impl pallet_ranked_collective::WeightInfo for WeightInf fn remove_member(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `550 + r * (281 ±0)` - // Estimated: `10064 + r * (7547 ±0)` - // Minimum execution time: 26_704 nanoseconds. - Weight::from_parts(31_276_838, 0) - .saturating_add(Weight::from_parts(0, 10064)) - // Standard Error: 27_858 - .saturating_add(Weight::from_parts(11_495_748, 0).saturating_mul(r.into())) + // Estimated: `14024 + r * (7547 ±0)` + // Minimum execution time: 27_803_000 picoseconds. + Weight::from_parts(32_948_051, 0) + .saturating_add(Weight::from_parts(0, 14024)) + // Standard Error: 34_857 + .saturating_add(Weight::from_parts(11_563_940, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -99,12 +99,12 @@ impl pallet_ranked_collective::WeightInfo for WeightInf fn promote_member(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + r * (17 ±0)` - // Estimated: `5006` - // Minimum execution time: 18_832 nanoseconds. - Weight::from_parts(19_732_179, 0) - .saturating_add(Weight::from_parts(0, 5006)) - // Standard Error: 4_824 - .saturating_add(Weight::from_parts(306_796, 0).saturating_mul(r.into())) + // Estimated: `6986` + // Minimum execution time: 19_310_000 picoseconds. + Weight::from_parts(20_134_066, 0) + .saturating_add(Weight::from_parts(0, 6986)) + // Standard Error: 3_943 + .saturating_add(Weight::from_parts(316_477, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -120,12 +120,12 @@ impl pallet_ranked_collective::WeightInfo for WeightInf fn demote_member(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `566 + r * (72 ±0)` - // Estimated: `10064` - // Minimum execution time: 26_654 nanoseconds. - Weight::from_parts(31_282_870, 0) - .saturating_add(Weight::from_parts(0, 10064)) - // Standard Error: 27_881 - .saturating_add(Weight::from_parts(756_040, 0).saturating_mul(r.into())) + // Estimated: `14024` + // Minimum execution time: 27_232_000 picoseconds. + Weight::from_parts(31_561_050, 0) + .saturating_add(Weight::from_parts(0, 14024)) + // Standard Error: 26_545 + .saturating_add(Weight::from_parts(771_800, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -139,11 +139,11 @@ impl pallet_ranked_collective::WeightInfo for WeightInf /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn vote() -> Weight { // Proof Size summary in bytes: - // Measured: `704` - // Estimated: `91308` - // Minimum execution time: 49_853 nanoseconds. - Weight::from_parts(50_469_000, 0) - .saturating_add(Weight::from_parts(0, 91308)) + // Measured: `672` + // Estimated: `95268` + // Minimum execution time: 51_056_000 picoseconds. + Weight::from_parts(51_866_000, 0) + .saturating_add(Weight::from_parts(0, 95268)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -156,13 +156,13 @@ impl pallet_ranked_collective::WeightInfo for WeightInf /// The range of component `n` is `[0, 100]`. fn cleanup_poll(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `500 + n * (50 ±0)` - // Estimated: `5964 + n * (2540 ±0)` - // Minimum execution time: 14_618 nanoseconds. - Weight::from_parts(17_728_262, 0) - .saturating_add(Weight::from_parts(0, 5964)) - // Standard Error: 1_481 - .saturating_add(Weight::from_parts(917_792, 0).saturating_mul(n.into())) + // Measured: `468 + n * (50 ±0)` + // Estimated: `8934 + n * (2540 ±0)` + // Minimum execution time: 14_635_000 picoseconds. + Weight::from_parts(18_272_905, 0) + .saturating_add(Weight::from_parts(0, 8934)) + // Standard Error: 1_276 + .saturating_add(Weight::from_parts(935_824, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) diff --git a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs index 2856acd259b4..afffafaa3598 100644 --- a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs +++ b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_referenda` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -56,10 +56,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { fn submit() -> Weight { // Proof Size summary in bytes: // Measured: `361` - // Estimated: `44454` - // Minimum execution time: 28_830 nanoseconds. - Weight::from_parts(29_377_000, 0) - .saturating_add(Weight::from_parts(0, 44454)) + // Estimated: `47424` + // Minimum execution time: 30_081_000 picoseconds. + Weight::from_parts(30_508_000, 0) + .saturating_add(Weight::from_parts(0, 47424)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -69,11 +69,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn place_decision_deposit_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `502` - // Estimated: `86251` - // Minimum execution time: 47_815 nanoseconds. - Weight::from_parts(48_387_000, 0) - .saturating_add(Weight::from_parts(0, 86251)) + // Measured: `438` + // Estimated: `88231` + // Minimum execution time: 49_779_000 picoseconds. + Weight::from_parts(50_298_000, 0) + .saturating_add(Weight::from_parts(0, 88231)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -85,11 +85,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen) fn place_decision_deposit_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `1975` - // Estimated: `9151` - // Minimum execution time: 62_881 nanoseconds. - Weight::from_parts(64_964_000, 0) - .saturating_add(Weight::from_parts(0, 9151)) + // Measured: `1879` + // Estimated: `12121` + // Minimum execution time: 64_167_000 picoseconds. + Weight::from_parts(66_457_000, 0) + .saturating_add(Weight::from_parts(0, 12121)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -101,11 +101,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen) fn place_decision_deposit_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `2016` - // Estimated: `9151` - // Minimum execution time: 61_746 nanoseconds. - Weight::from_parts(63_673_000, 0) - .saturating_add(Weight::from_parts(0, 9151)) + // Measured: `1920` + // Estimated: `12121` + // Minimum execution time: 64_004_000 picoseconds. + Weight::from_parts(66_024_000, 0) + .saturating_add(Weight::from_parts(0, 12121)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -119,11 +119,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn place_decision_deposit_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `872` - // Estimated: `91229` - // Minimum execution time: 120_917 nanoseconds. - Weight::from_parts(124_944_000, 0) - .saturating_add(Weight::from_parts(0, 91229)) + // Measured: `808` + // Estimated: `95189` + // Minimum execution time: 121_186_000 picoseconds. + Weight::from_parts(128_218_000, 0) + .saturating_add(Weight::from_parts(0, 95189)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -135,11 +135,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) fn place_decision_deposit_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `644` - // Estimated: `8353` - // Minimum execution time: 40_448 nanoseconds. - Weight::from_parts(41_118_000, 0) - .saturating_add(Weight::from_parts(0, 8353)) + // Measured: `580` + // Estimated: `11323` + // Minimum execution time: 41_770_000 picoseconds. + Weight::from_parts(42_309_000, 0) + .saturating_add(Weight::from_parts(0, 11323)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -147,11 +147,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen) fn refund_decision_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `415` - // Estimated: `3375` - // Minimum execution time: 25_651 nanoseconds. - Weight::from_parts(26_290_000, 0) - .saturating_add(Weight::from_parts(0, 3375)) + // Measured: `351` + // Estimated: `4365` + // Minimum execution time: 26_740_000 picoseconds. + Weight::from_parts(27_508_000, 0) + .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -159,11 +159,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen) fn refund_submission_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `233` - // Estimated: `3375` - // Minimum execution time: 14_723 nanoseconds. - Weight::from_parts(15_085_000, 0) - .saturating_add(Weight::from_parts(0, 3375)) + // Measured: `201` + // Estimated: `4365` + // Minimum execution time: 15_428_000 picoseconds. + Weight::from_parts(15_672_000, 0) + .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -173,11 +173,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `415` - // Estimated: `86251` - // Minimum execution time: 36_823 nanoseconds. - Weight::from_parts(37_213_000, 0) - .saturating_add(Weight::from_parts(0, 86251)) + // Measured: `383` + // Estimated: `88231` + // Minimum execution time: 38_278_000 picoseconds. + Weight::from_parts(38_779_000, 0) + .saturating_add(Weight::from_parts(0, 88231)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -189,11 +189,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn kill() -> Weight { // Proof Size summary in bytes: - // Measured: `548` - // Estimated: `88778` - // Minimum execution time: 67_448 nanoseconds. - Weight::from_parts(68_149_000, 0) - .saturating_add(Weight::from_parts(0, 88778)) + // Measured: `484` + // Estimated: `91748` + // Minimum execution time: 70_052_000 picoseconds. + Weight::from_parts(71_709_000, 0) + .saturating_add(Weight::from_parts(0, 91748)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -204,10 +204,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { fn one_fewer_deciding_queue_empty() -> Weight { // Proof Size summary in bytes: // Measured: `174` - // Estimated: `5776` - // Minimum execution time: 9_582 nanoseconds. - Weight::from_parts(9_956_000, 0) - .saturating_add(Weight::from_parts(0, 5776)) + // Estimated: `7756` + // Minimum execution time: 10_103_000 picoseconds. + Weight::from_parts(10_288_000, 0) + .saturating_add(Weight::from_parts(0, 7756)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -221,11 +221,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn one_fewer_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `3147` - // Estimated: `92027` - // Minimum execution time: 133_463 nanoseconds. - Weight::from_parts(136_045_000, 0) - .saturating_add(Weight::from_parts(0, 92027)) + // Measured: `3052` + // Estimated: `95987` + // Minimum execution time: 134_978_000 picoseconds. + Weight::from_parts(137_992_000, 0) + .saturating_add(Weight::from_parts(0, 95987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -239,11 +239,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn one_fewer_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `3147` - // Estimated: `92027` - // Minimum execution time: 134_597 nanoseconds. - Weight::from_parts(137_825_000, 0) - .saturating_add(Weight::from_parts(0, 92027)) + // Measured: `3052` + // Estimated: `95987` + // Minimum execution time: 136_814_000 picoseconds. + Weight::from_parts(139_254_000, 0) + .saturating_add(Weight::from_parts(0, 95987)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -255,11 +255,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_requeued_insertion() -> Weight { // Proof Size summary in bytes: - // Measured: `2790` - // Estimated: `48100` - // Minimum execution time: 71_976 nanoseconds. - Weight::from_parts(74_636_000, 0) - .saturating_add(Weight::from_parts(0, 48100)) + // Measured: `2695` + // Estimated: `51070` + // Minimum execution time: 72_954_000 picoseconds. + Weight::from_parts(75_645_000, 0) + .saturating_add(Weight::from_parts(0, 51070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -271,11 +271,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_requeued_slide() -> Weight { // Proof Size summary in bytes: - // Measured: `2757` - // Estimated: `48100` - // Minimum execution time: 72_500 nanoseconds. - Weight::from_parts(73_910_000, 0) - .saturating_add(Weight::from_parts(0, 48100)) + // Measured: `2662` + // Estimated: `51070` + // Minimum execution time: 72_505_000 picoseconds. + Weight::from_parts(74_867_000, 0) + .saturating_add(Weight::from_parts(0, 51070)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -289,11 +289,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `2773` - // Estimated: `50589` - // Minimum execution time: 75_313 nanoseconds. - Weight::from_parts(77_536_000, 0) - .saturating_add(Weight::from_parts(0, 50589)) + // Measured: `2678` + // Estimated: `54549` + // Minimum execution time: 76_277_000 picoseconds. + Weight::from_parts(77_687_000, 0) + .saturating_add(Weight::from_parts(0, 54549)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -307,11 +307,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `2814` - // Estimated: `50589` - // Minimum execution time: 74_099 nanoseconds. - Weight::from_parts(77_098_000, 0) - .saturating_add(Weight::from_parts(0, 50589)) + // Measured: `2719` + // Estimated: `54549` + // Minimum execution time: 76_078_000 picoseconds. + Weight::from_parts(78_067_000, 0) + .saturating_add(Weight::from_parts(0, 54549)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -321,11 +321,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_no_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `367` - // Estimated: `44813` - // Minimum execution time: 25_113 nanoseconds. - Weight::from_parts(26_134_000, 0) - .saturating_add(Weight::from_parts(0, 44813)) + // Measured: `335` + // Estimated: `46793` + // Minimum execution time: 26_265_000 picoseconds. + Weight::from_parts(26_673_000, 0) + .saturating_add(Weight::from_parts(0, 46793)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -335,11 +335,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `415` - // Estimated: `44813` - // Minimum execution time: 25_567 nanoseconds. - Weight::from_parts(26_072_000, 0) - .saturating_add(Weight::from_parts(0, 44813)) + // Measured: `383` + // Estimated: `46793` + // Minimum execution time: 26_405_000 picoseconds. + Weight::from_parts(26_889_000, 0) + .saturating_add(Weight::from_parts(0, 46793)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -347,11 +347,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen) fn nudge_referendum_timed_out() -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3375` - // Minimum execution time: 17_031 nanoseconds. - Weight::from_parts(17_652_000, 0) - .saturating_add(Weight::from_parts(0, 3375)) + // Measured: `242` + // Estimated: `4365` + // Minimum execution time: 17_372_000 picoseconds. + Weight::from_parts(17_889_000, 0) + .saturating_add(Weight::from_parts(0, 4365)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -365,11 +365,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `650` - // Estimated: `49791` - // Minimum execution time: 37_418 nanoseconds. - Weight::from_parts(38_186_000, 0) - .saturating_add(Weight::from_parts(0, 49791)) + // Measured: `618` + // Estimated: `53751` + // Minimum execution time: 38_271_000 picoseconds. + Weight::from_parts(38_831_000, 0) + .saturating_add(Weight::from_parts(0, 53751)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -383,11 +383,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `785` - // Estimated: `49791` - // Minimum execution time: 62_637 nanoseconds. - Weight::from_parts(64_215_000, 0) - .saturating_add(Weight::from_parts(0, 49791)) + // Measured: `753` + // Estimated: `53751` + // Minimum execution time: 64_433_000 picoseconds. + Weight::from_parts(66_200_000, 0) + .saturating_add(Weight::from_parts(0, 53751)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -399,11 +399,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `836` - // Estimated: `47302` - // Minimum execution time: 87_588 nanoseconds. - Weight::from_parts(93_346_000, 0) - .saturating_add(Weight::from_parts(0, 47302)) + // Measured: `804` + // Estimated: `50272` + // Minimum execution time: 88_210_000 picoseconds. + Weight::from_parts(92_275_000, 0) + .saturating_add(Weight::from_parts(0, 50272)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -415,11 +415,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_end_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `821` - // Estimated: `47302` - // Minimum execution time: 77_577 nanoseconds. - Weight::from_parts(94_688_000, 0) - .saturating_add(Weight::from_parts(0, 47302)) + // Measured: `789` + // Estimated: `50272` + // Minimum execution time: 89_249_000 picoseconds. + Weight::from_parts(93_124_000, 0) + .saturating_add(Weight::from_parts(0, 50272)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -431,11 +431,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_continue_not_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `836` - // Estimated: `47302` - // Minimum execution time: 84_376 nanoseconds. - Weight::from_parts(88_018_000, 0) - .saturating_add(Weight::from_parts(0, 47302)) + // Measured: `804` + // Estimated: `50272` + // Minimum execution time: 83_355_000 picoseconds. + Weight::from_parts(89_702_000, 0) + .saturating_add(Weight::from_parts(0, 50272)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -447,11 +447,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_continue_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `842` - // Estimated: `47302` - // Minimum execution time: 57_022 nanoseconds. - Weight::from_parts(59_312_000, 0) - .saturating_add(Weight::from_parts(0, 47302)) + // Measured: `810` + // Estimated: `50272` + // Minimum execution time: 58_227_000 picoseconds. + Weight::from_parts(59_994_000, 0) + .saturating_add(Weight::from_parts(0, 50272)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -465,11 +465,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn nudge_referendum_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `842` - // Estimated: `91263` - // Minimum execution time: 91_098 nanoseconds. - Weight::from_parts(107_166_000, 0) - .saturating_add(Weight::from_parts(0, 91263)) + // Measured: `810` + // Estimated: `95223` + // Minimum execution time: 104_526_000 picoseconds. + Weight::from_parts(110_892_000, 0) + .saturating_add(Weight::from_parts(0, 95223)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -481,11 +481,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_rejected() -> Weight { // Proof Size summary in bytes: - // Measured: `838` - // Estimated: `47302` - // Minimum execution time: 87_108 nanoseconds. - Weight::from_parts(91_155_000, 0) - .saturating_add(Weight::from_parts(0, 47302)) + // Measured: `806` + // Estimated: `50272` + // Minimum execution time: 75_050_000 picoseconds. + Weight::from_parts(91_115_000, 0) + .saturating_add(Weight::from_parts(0, 50272)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -497,11 +497,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn set_some_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `418` - // Estimated: `5941` - // Minimum execution time: 20_058 nanoseconds. - Weight::from_parts(20_892_000, 0) - .saturating_add(Weight::from_parts(0, 5941)) + // Measured: `386` + // Estimated: `7921` + // Minimum execution time: 20_846_000 picoseconds. + Weight::from_parts(21_275_000, 0) + .saturating_add(Weight::from_parts(0, 7921)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -511,11 +511,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `5902` - // Minimum execution time: 17_952 nanoseconds. - Weight::from_parts(18_420_000, 0) - .saturating_add(Weight::from_parts(0, 5902)) + // Measured: `319` + // Estimated: `7882` + // Minimum execution time: 18_521_000 picoseconds. + Weight::from_parts(18_978_000, 0) + .saturating_add(Weight::from_parts(0, 7882)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_referenda_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_referenda.rs index bbe5ab3b5169..01d221d0b3f8 100644 --- a/runtime/kusama/src/weights/pallet_referenda_referenda.rs +++ b/runtime/kusama/src/weights/pallet_referenda_referenda.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_referenda` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -53,11 +53,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn submit() -> Weight { // Proof Size summary in bytes: - // Measured: `217` - // Estimated: `41937` - // Minimum execution time: 33_992 nanoseconds. - Weight::from_parts(34_842_000, 0) - .saturating_add(Weight::from_parts(0, 41937)) + // Measured: `185` + // Estimated: `43917` + // Minimum execution time: 35_637_000 picoseconds. + Weight::from_parts(36_388_000, 0) + .saturating_add(Weight::from_parts(0, 43917)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -67,11 +67,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn place_decision_deposit_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `502` - // Estimated: `86287` - // Minimum execution time: 47_618 nanoseconds. - Weight::from_parts(48_754_000, 0) - .saturating_add(Weight::from_parts(0, 86287)) + // Measured: `438` + // Estimated: `88267` + // Minimum execution time: 49_103_000 picoseconds. + Weight::from_parts(50_573_000, 0) + .saturating_add(Weight::from_parts(0, 88267)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -83,11 +83,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) fn place_decision_deposit_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3130` - // Estimated: `10387` - // Minimum execution time: 44_050 nanoseconds. - Weight::from_parts(44_614_000, 0) - .saturating_add(Weight::from_parts(0, 10387)) + // Measured: `3034` + // Estimated: `13357` + // Minimum execution time: 44_797_000 picoseconds. + Weight::from_parts(45_606_000, 0) + .saturating_add(Weight::from_parts(0, 13357)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,11 +99,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) fn place_decision_deposit_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3150` - // Estimated: `10387` - // Minimum execution time: 43_401 nanoseconds. - Weight::from_parts(44_556_000, 0) - .saturating_add(Weight::from_parts(0, 10387)) + // Measured: `3054` + // Estimated: `13357` + // Minimum execution time: 44_300_000 picoseconds. + Weight::from_parts(45_215_000, 0) + .saturating_add(Weight::from_parts(0, 13357)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,11 +117,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn place_decision_deposit_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `502` - // Estimated: `89287` - // Minimum execution time: 62_461 nanoseconds. - Weight::from_parts(64_118_000, 0) - .saturating_add(Weight::from_parts(0, 89287)) + // Measured: `438` + // Estimated: `93247` + // Minimum execution time: 64_058_000 picoseconds. + Weight::from_parts(66_457_000, 0) + .saturating_add(Weight::from_parts(0, 93247)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -133,11 +133,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn place_decision_deposit_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `409` - // Estimated: `6411` - // Minimum execution time: 37_581 nanoseconds. - Weight::from_parts(38_393_000, 0) - .saturating_add(Weight::from_parts(0, 6411)) + // Measured: `345` + // Estimated: `9381` + // Minimum execution time: 39_214_000 picoseconds. + Weight::from_parts(40_199_000, 0) + .saturating_add(Weight::from_parts(0, 9381)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -145,11 +145,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn refund_decision_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `342` - // Estimated: `3411` - // Minimum execution time: 24_947 nanoseconds. - Weight::from_parts(25_513_000, 0) - .saturating_add(Weight::from_parts(0, 3411)) + // Measured: `278` + // Estimated: `4401` + // Minimum execution time: 25_633_000 picoseconds. + Weight::from_parts(26_200_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,11 +157,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn refund_submission_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `332` - // Estimated: `3411` - // Minimum execution time: 24_809 nanoseconds. - Weight::from_parts(25_549_000, 0) - .saturating_add(Weight::from_parts(0, 3411)) + // Measured: `268` + // Estimated: `4401` + // Minimum execution time: 25_887_000 picoseconds. + Weight::from_parts(26_428_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -171,11 +171,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `378` - // Estimated: `86287` - // Minimum execution time: 36_573 nanoseconds. - Weight::from_parts(36_932_000, 0) - .saturating_add(Weight::from_parts(0, 86287)) + // Measured: `346` + // Estimated: `88267` + // Minimum execution time: 37_627_000 picoseconds. + Weight::from_parts(38_185_000, 0) + .saturating_add(Weight::from_parts(0, 88267)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -187,11 +187,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn kill() -> Weight { // Proof Size summary in bytes: - // Measured: `683` - // Estimated: `88814` - // Minimum execution time: 88_072 nanoseconds. - Weight::from_parts(90_843_000, 0) - .saturating_add(Weight::from_parts(0, 88814)) + // Measured: `587` + // Estimated: `91784` + // Minimum execution time: 92_363_000 picoseconds. + Weight::from_parts(93_288_000, 0) + .saturating_add(Weight::from_parts(0, 91784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -202,10 +202,10 @@ impl pallet_referenda::WeightInfo for WeightInfo { fn one_fewer_deciding_queue_empty() -> Weight { // Proof Size summary in bytes: // Measured: `101` - // Estimated: `6976` - // Minimum execution time: 8_905 nanoseconds. - Weight::from_parts(9_237_000, 0) - .saturating_add(Weight::from_parts(0, 6976)) + // Estimated: `8956` + // Minimum execution time: 9_171_000 picoseconds. + Weight::from_parts(9_545_000, 0) + .saturating_add(Weight::from_parts(0, 8956)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,11 +219,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn one_fewer_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `3899` - // Estimated: `91285` - // Minimum execution time: 105_652 nanoseconds. - Weight::from_parts(106_507_000, 0) - .saturating_add(Weight::from_parts(0, 91285)) + // Measured: `3804` + // Estimated: `95245` + // Minimum execution time: 107_076_000 picoseconds. + Weight::from_parts(107_863_000, 0) + .saturating_add(Weight::from_parts(0, 95245)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -237,11 +237,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn one_fewer_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `3899` - // Estimated: `91285` - // Minimum execution time: 107_053 nanoseconds. - Weight::from_parts(107_873_000, 0) - .saturating_add(Weight::from_parts(0, 91285)) + // Measured: `3804` + // Estimated: `95245` + // Minimum execution time: 108_656_000 picoseconds. + Weight::from_parts(109_588_000, 0) + .saturating_add(Weight::from_parts(0, 95245)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -253,11 +253,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_requeued_insertion() -> Weight { // Proof Size summary in bytes: - // Measured: `3917` - // Estimated: `49336` - // Minimum execution time: 56_133 nanoseconds. - Weight::from_parts(56_736_000, 0) - .saturating_add(Weight::from_parts(0, 49336)) + // Measured: `3822` + // Estimated: `52306` + // Minimum execution time: 56_686_000 picoseconds. + Weight::from_parts(57_215_000, 0) + .saturating_add(Weight::from_parts(0, 52306)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -269,11 +269,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_requeued_slide() -> Weight { // Proof Size summary in bytes: - // Measured: `3917` - // Estimated: `49336` - // Minimum execution time: 55_954 nanoseconds. - Weight::from_parts(56_831_000, 0) - .saturating_add(Weight::from_parts(0, 49336)) + // Measured: `3822` + // Estimated: `52306` + // Minimum execution time: 56_533_000 picoseconds. + Weight::from_parts(57_130_000, 0) + .saturating_add(Weight::from_parts(0, 52306)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -287,11 +287,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3891` - // Estimated: `51825` - // Minimum execution time: 58_128 nanoseconds. - Weight::from_parts(58_927_000, 0) - .saturating_add(Weight::from_parts(0, 51825)) + // Measured: `3796` + // Estimated: `55785` + // Minimum execution time: 58_599_000 picoseconds. + Weight::from_parts(59_180_000, 0) + .saturating_add(Weight::from_parts(0, 55785)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -305,11 +305,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3911` - // Estimated: `51825` - // Minimum execution time: 58_211 nanoseconds. - Weight::from_parts(58_820_000, 0) - .saturating_add(Weight::from_parts(0, 51825)) + // Measured: `3816` + // Estimated: `55785` + // Minimum execution time: 58_664_000 picoseconds. + Weight::from_parts(59_215_000, 0) + .saturating_add(Weight::from_parts(0, 55785)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -319,11 +319,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_no_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `330` - // Estimated: `44849` - // Minimum execution time: 24_585 nanoseconds. - Weight::from_parts(26_129_000, 0) - .saturating_add(Weight::from_parts(0, 44849)) + // Measured: `298` + // Estimated: `46829` + // Minimum execution time: 25_040_000 picoseconds. + Weight::from_parts(25_512_000, 0) + .saturating_add(Weight::from_parts(0, 46829)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -333,11 +333,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `378` - // Estimated: `44849` - // Minimum execution time: 24_829 nanoseconds. - Weight::from_parts(25_450_000, 0) - .saturating_add(Weight::from_parts(0, 44849)) + // Measured: `346` + // Estimated: `46829` + // Minimum execution time: 25_143_000 picoseconds. + Weight::from_parts(26_027_000, 0) + .saturating_add(Weight::from_parts(0, 46829)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -345,11 +345,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) fn nudge_referendum_timed_out() -> Weight { // Proof Size summary in bytes: - // Measured: `237` - // Estimated: `3411` - // Minimum execution time: 16_118 nanoseconds. - Weight::from_parts(16_729_000, 0) - .saturating_add(Weight::from_parts(0, 3411)) + // Measured: `205` + // Estimated: `4401` + // Minimum execution time: 16_580_000 picoseconds. + Weight::from_parts(17_305_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -363,11 +363,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `378` - // Estimated: `47849` - // Minimum execution time: 34_301 nanoseconds. - Weight::from_parts(35_098_000, 0) - .saturating_add(Weight::from_parts(0, 47849)) + // Measured: `346` + // Estimated: `51809` + // Minimum execution time: 35_384_000 picoseconds. + Weight::from_parts(35_850_000, 0) + .saturating_add(Weight::from_parts(0, 51809)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -381,11 +381,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `378` - // Estimated: `47849` - // Minimum execution time: 36_144 nanoseconds. - Weight::from_parts(36_775_000, 0) - .saturating_add(Weight::from_parts(0, 47849)) + // Measured: `346` + // Estimated: `51809` + // Minimum execution time: 37_799_000 picoseconds. + Weight::from_parts(38_672_000, 0) + .saturating_add(Weight::from_parts(0, 51809)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -397,11 +397,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_begin_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `431` - // Estimated: `45360` - // Minimum execution time: 30_294 nanoseconds. - Weight::from_parts(31_064_000, 0) - .saturating_add(Weight::from_parts(0, 45360)) + // Measured: `399` + // Estimated: `48330` + // Minimum execution time: 31_282_000 picoseconds. + Weight::from_parts(31_812_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -413,11 +413,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_end_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `414` - // Estimated: `45360` - // Minimum execution time: 31_241 nanoseconds. - Weight::from_parts(31_992_000, 0) - .saturating_add(Weight::from_parts(0, 45360)) + // Measured: `382` + // Estimated: `48330` + // Minimum execution time: 32_692_000 picoseconds. + Weight::from_parts(33_118_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -429,11 +429,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_continue_not_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `431` - // Estimated: `45360` - // Minimum execution time: 28_194 nanoseconds. - Weight::from_parts(28_755_000, 0) - .saturating_add(Weight::from_parts(0, 45360)) + // Measured: `399` + // Estimated: `48330` + // Minimum execution time: 29_825_000 picoseconds. + Weight::from_parts(30_210_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -445,11 +445,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_continue_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `435` - // Estimated: `45360` - // Minimum execution time: 27_360 nanoseconds. - Weight::from_parts(27_877_000, 0) - .saturating_add(Weight::from_parts(0, 45360)) + // Measured: `403` + // Estimated: `48330` + // Minimum execution time: 28_156_000 picoseconds. + Weight::from_parts(28_686_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -463,11 +463,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) fn nudge_referendum_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `435` - // Estimated: `89321` - // Minimum execution time: 42_316 nanoseconds. - Weight::from_parts(43_105_000, 0) - .saturating_add(Weight::from_parts(0, 89321)) + // Measured: `403` + // Estimated: `93281` + // Minimum execution time: 44_274_000 picoseconds. + Weight::from_parts(44_748_000, 0) + .saturating_add(Weight::from_parts(0, 93281)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -479,11 +479,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) fn nudge_referendum_rejected() -> Weight { // Proof Size summary in bytes: - // Measured: `431` - // Estimated: `45360` - // Minimum execution time: 30_466 nanoseconds. - Weight::from_parts(30_913_000, 0) - .saturating_add(Weight::from_parts(0, 45360)) + // Measured: `399` + // Estimated: `48330` + // Minimum execution time: 31_654_000 picoseconds. + Weight::from_parts(32_198_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -495,11 +495,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn set_some_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `381` - // Estimated: `5977` - // Minimum execution time: 19_202 nanoseconds. - Weight::from_parts(20_161_000, 0) - .saturating_add(Weight::from_parts(0, 5977)) + // Measured: `349` + // Estimated: `7957` + // Minimum execution time: 20_050_000 picoseconds. + Weight::from_parts(20_684_000, 0) + .saturating_add(Weight::from_parts(0, 7957)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -509,11 +509,11 @@ impl pallet_referenda::WeightInfo for WeightInfo { /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `314` - // Estimated: `5938` - // Minimum execution time: 16_831 nanoseconds. - Weight::from_parts(17_434_000, 0) - .saturating_add(Weight::from_parts(0, 5938)) + // Measured: `282` + // Estimated: `7918` + // Minimum execution time: 17_427_000 picoseconds. + Weight::from_parts(17_920_000, 0) + .saturating_add(Weight::from_parts(0, 7918)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_scheduler.rs b/runtime/kusama/src/weights/pallet_scheduler.rs index aadde11c5f1d..7f053c36d997 100644 --- a/runtime/kusama/src/weights/pallet_scheduler.rs +++ b/runtime/kusama/src/weights/pallet_scheduler.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -50,10 +50,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `69` - // Estimated: `499` - // Minimum execution time: 4_006 nanoseconds. - Weight::from_parts(4_138_000, 0) - .saturating_add(Weight::from_parts(0, 499)) + // Estimated: `1489` + // Minimum execution time: 3_952_000 picoseconds. + Weight::from_parts(4_041_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,13 +62,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 3_594 nanoseconds. - Weight::from_parts(6_761_828, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 2_059 - .saturating_add(Weight::from_parts(748_372, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 3_546_000 picoseconds. + Weight::from_parts(6_896_089, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_110 + .saturating_add(Weight::from_parts(751_504, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,8 +76,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_590 nanoseconds. - Weight::from_parts(5_750_000, 0) + // Minimum execution time: 5_524_000 picoseconds. + Weight::from_parts(5_697_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -87,13 +87,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + s * (1 ±0)` - // Estimated: `5252 + s * (1 ±0)` - // Minimum execution time: 18_802 nanoseconds. - Weight::from_parts(18_921_000, 0) - .saturating_add(Weight::from_parts(0, 5252)) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(s.into())) + // Measured: `179 + s * (1 ±0)` + // Estimated: `7200 + s * (1 ±0)` + // Minimum execution time: 18_739_000 picoseconds. + Weight::from_parts(18_916_000, 0) + .saturating_add(Weight::from_parts(0, 7200)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_168, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -104,8 +104,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_123 nanoseconds. - Weight::from_parts(7_367_000, 0) + // Minimum execution time: 7_343_000 picoseconds. + Weight::from_parts(7_519_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,24 +113,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_602 nanoseconds. - Weight::from_parts(5_698_000, 0) + // Minimum execution time: 5_531_000 picoseconds. + Weight::from_parts(5_699_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_474 nanoseconds. - Weight::from_parts(2_548_000, 0) + // Minimum execution time: 2_918_000 picoseconds. + Weight::from_parts(3_037_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_426 nanoseconds. - Weight::from_parts(2_498_000, 0) + // Minimum execution time: 2_941_000 picoseconds. + Weight::from_parts(3_034_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -138,13 +138,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 13_226 nanoseconds. - Weight::from_parts(16_332_006, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 2_602 - .saturating_add(Weight::from_parts(746_554, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 14_269_000 picoseconds. + Weight::from_parts(17_390_869, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_065 + .saturating_add(Weight::from_parts(738_805, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -155,13 +155,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 16_987 nanoseconds. - Weight::from_parts(17_076_132, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 2_072 - .saturating_add(Weight::from_parts(1_314_099, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 18_261_000 picoseconds. + Weight::from_parts(17_908_720, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_214 + .saturating_add(Weight::from_parts(1_318_747, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -172,13 +172,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `325 + s * (185 ±0)` - // Estimated: `43961` - // Minimum execution time: 16_114 nanoseconds. - Weight::from_parts(20_473_856, 0) - .saturating_add(Weight::from_parts(0, 43961)) - // Standard Error: 3_322 - .saturating_add(Weight::from_parts(776_525, 0).saturating_mul(s.into())) + // Measured: `293 + s * (185 ±0)` + // Estimated: `45941` + // Minimum execution time: 16_924_000 picoseconds. + Weight::from_parts(21_290_922, 0) + .saturating_add(Weight::from_parts(0, 45941)) + // Standard Error: 3_117 + .saturating_add(Weight::from_parts(771_166, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -189,13 +189,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `351 + s * (185 ±0)` - // Estimated: `43961` - // Minimum execution time: 18_404 nanoseconds. - Weight::from_parts(19_488_174, 0) - .saturating_add(Weight::from_parts(0, 43961)) - // Standard Error: 2_853 - .saturating_add(Weight::from_parts(1_338_942, 0).saturating_mul(s.into())) + // Measured: `319 + s * (185 ±0)` + // Estimated: `45941` + // Minimum execution time: 19_236_000 picoseconds. + Weight::from_parts(19_949_783, 0) + .saturating_add(Weight::from_parts(0, 45941)) + // Standard Error: 2_288 + .saturating_add(Weight::from_parts(1_338_921, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/kusama/src/weights/pallet_session.rs b/runtime/kusama/src/weights/pallet_session.rs index d8c1cc26095f..07ccac674c6a 100644 --- a/runtime/kusama/src/weights/pallet_session.rs +++ b/runtime/kusama/src/weights/pallet_session.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -53,11 +53,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `2147` - // Estimated: `25185` - // Minimum execution time: 51_574 nanoseconds. - Weight::from_parts(52_463_000, 0) - .saturating_add(Weight::from_parts(0, 25185)) + // Measured: `2083` + // Estimated: `28027` + // Minimum execution time: 51_544_000 picoseconds. + Weight::from_parts(52_127_000, 0) + .saturating_add(Weight::from_parts(0, 28027)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -69,11 +69,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `2043` - // Estimated: `10127` - // Minimum execution time: 37_193 nanoseconds. - Weight::from_parts(37_931_000, 0) - .saturating_add(Weight::from_parts(0, 10127)) + // Measured: `1947` + // Estimated: `11915` + // Minimum execution time: 37_019_000 picoseconds. + Weight::from_parts(37_594_000, 0) + .saturating_add(Weight::from_parts(0, 11915)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/kusama/src/weights/pallet_staking.rs b/runtime/kusama/src/weights/pallet_staking.rs index bae60b9d2856..e55261b68bfc 100644 --- a/runtime/kusama/src/weights/pallet_staking.rs +++ b/runtime/kusama/src/weights/pallet_staking.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -57,11 +57,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `1012` - // Estimated: `10386` - // Minimum execution time: 44_827 nanoseconds. - Weight::from_parts(45_309_000, 0) - .saturating_add(Weight::from_parts(0, 10386)) + // Measured: `980` + // Estimated: `14346` + // Minimum execution time: 44_042_000 picoseconds. + Weight::from_parts(44_821_000, 0) + .saturating_add(Weight::from_parts(0, 14346)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -77,11 +77,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn bond_extra() -> Weight { // Proof Size summary in bytes: - // Measured: `2179` - // Estimated: `22888` - // Minimum execution time: 81_836 nanoseconds. - Weight::from_parts(82_905_000, 0) - .saturating_add(Weight::from_parts(0, 22888)) + // Measured: `1955` + // Estimated: `27838` + // Minimum execution time: 81_755_000 picoseconds. + Weight::from_parts(83_690_000, 0) + .saturating_add(Weight::from_parts(0, 27838)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -105,11 +105,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `2390` - // Estimated: `29790` - // Minimum execution time: 89_566 nanoseconds. - Weight::from_parts(90_530_000, 0) - .saturating_add(Weight::from_parts(0, 29790)) + // Measured: `2166` + // Estimated: `38700` + // Minimum execution time: 90_019_000 picoseconds. + Weight::from_parts(90_803_000, 0) + .saturating_add(Weight::from_parts(0, 38700)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -124,13 +124,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1008` - // Estimated: `10442` - // Minimum execution time: 36_097 nanoseconds. - Weight::from_parts(37_091_545, 0) - .saturating_add(Weight::from_parts(0, 10442)) - // Standard Error: 607 - .saturating_add(Weight::from_parts(15_576, 0).saturating_mul(s.into())) + // Measured: `944` + // Estimated: `14402` + // Minimum execution time: 35_822_000 picoseconds. + Weight::from_parts(37_107_548, 0) + .saturating_add(Weight::from_parts(0, 14402)) + // Standard Error: 688 + .saturating_add(Weight::from_parts(9_909, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -165,13 +165,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2409 + s * (4 ±0)` - // Estimated: `32482 + s * (4 ±0)` - // Minimum execution time: 78_221 nanoseconds. - Weight::from_parts(83_701_233, 0) - .saturating_add(Weight::from_parts(0, 32482)) - // Standard Error: 2_659 - .saturating_add(Weight::from_parts(1_196_861, 0).saturating_mul(s.into())) + // Measured: `2217 + s * (4 ±0)` + // Estimated: `44178 + s * (4 ±0)` + // Minimum execution time: 77_649_000 picoseconds. + Weight::from_parts(82_955_230, 0) + .saturating_add(Weight::from_parts(0, 44178)) + // Standard Error: 3_559 + .saturating_add(Weight::from_parts(1_141_606, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -201,11 +201,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CounterForValidators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn validate() -> Weight { // Proof Size summary in bytes: - // Measured: `1373` - // Estimated: `19615` - // Minimum execution time: 55_530 nanoseconds. - Weight::from_parts(56_209_000, 0) - .saturating_add(Weight::from_parts(0, 19615)) + // Measured: `1341` + // Estimated: `30505` + // Minimum execution time: 54_722_000 picoseconds. + Weight::from_parts(55_742_000, 0) + .saturating_add(Weight::from_parts(0, 30505)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -216,13 +216,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1338 + k * (855 ±0)` - // Estimated: `3566 + k * (3289 ±0)` - // Minimum execution time: 29_457 nanoseconds. - Weight::from_parts(23_700_522, 0) - .saturating_add(Weight::from_parts(0, 3566)) - // Standard Error: 12_111 - .saturating_add(Weight::from_parts(8_187_143, 0).saturating_mul(k.into())) + // Measured: `1306 + k * (823 ±0)` + // Estimated: `5546 + k * (3289 ±0)` + // Minimum execution time: 29_931_000 picoseconds. + Weight::from_parts(25_215_408, 0) + .saturating_add(Weight::from_parts(0, 5546)) + // Standard Error: 10_792 + .saturating_add(Weight::from_parts(8_187_563, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -253,13 +253,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 24]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2003 + n * (89 ±0)` - // Estimated: `22244 + n * (2520 ±0)` - // Minimum execution time: 64_134 nanoseconds. - Weight::from_parts(65_154_921, 0) - .saturating_add(Weight::from_parts(0, 22244)) - // Standard Error: 13_547 - .saturating_add(Weight::from_parts(2_946_599, 0).saturating_mul(n.into())) + // Measured: `1907 + n * (89 ±0)` + // Estimated: `33134 + n * (2520 ±0)` + // Minimum execution time: 63_671_000 picoseconds. + Weight::from_parts(64_987_721, 0) + .saturating_add(Weight::from_parts(0, 33134)) + // Standard Error: 14_470 + .saturating_add(Weight::from_parts(2_913_561, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -281,11 +281,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `1799` - // Estimated: `18188` - // Minimum execution time: 58_419 nanoseconds. - Weight::from_parts(58_950_000, 0) - .saturating_add(Weight::from_parts(0, 18188)) + // Measured: `1671` + // Estimated: `25118` + // Minimum execution time: 56_988_000 picoseconds. + Weight::from_parts(57_495_000, 0) + .saturating_add(Weight::from_parts(0, 25118)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -295,11 +295,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn set_payee() -> Weight { // Proof Size summary in bytes: - // Measured: `767` - // Estimated: `3566` - // Minimum execution time: 13_899 nanoseconds. - Weight::from_parts(14_585_000, 0) - .saturating_add(Weight::from_parts(0, 3566)) + // Measured: `735` + // Estimated: `4556` + // Minimum execution time: 13_932_000 picoseconds. + Weight::from_parts(14_197_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -309,11 +309,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) fn set_controller() -> Weight { // Proof Size summary in bytes: - // Measured: `866` - // Estimated: `9679` - // Minimum execution time: 21_075 nanoseconds. - Weight::from_parts(21_355_000, 0) - .saturating_add(Weight::from_parts(0, 9679)) + // Measured: `834` + // Estimated: `11659` + // Minimum execution time: 21_186_000 picoseconds. + Weight::from_parts(21_542_000, 0) + .saturating_add(Weight::from_parts(0, 11659)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -323,8 +323,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_624 nanoseconds. - Weight::from_parts(2_786_000, 0) + // Minimum execution time: 3_260_000 picoseconds. + Weight::from_parts(3_420_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -334,8 +334,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_010 nanoseconds. - Weight::from_parts(11_302_000, 0) + // Minimum execution time: 11_605_000 picoseconds. + Weight::from_parts(11_826_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -345,8 +345,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_495 nanoseconds. - Weight::from_parts(10_888_000, 0) + // Minimum execution time: 11_310_000 picoseconds. + Weight::from_parts(11_876_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,8 +356,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_878 nanoseconds. - Weight::from_parts(11_314_000, 0) + // Minimum execution time: 11_317_000 picoseconds. + Weight::from_parts(11_715_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -368,11 +368,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_887 nanoseconds. - Weight::from_parts(3_053_614, 0) + // Minimum execution time: 3_408_000 picoseconds. + Weight::from_parts(3_727_318, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 30 - .saturating_add(Weight::from_parts(10_691, 0).saturating_mul(v.into())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(10_437, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Staking Bonded (r:1 w:1) @@ -404,13 +404,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2107 + s * (4 ±0)` - // Estimated: `28115 + s * (4 ±0)` - // Minimum execution time: 70_968 nanoseconds. - Weight::from_parts(75_668_172, 0) - .saturating_add(Weight::from_parts(0, 28115)) - // Standard Error: 3_888 - .saturating_add(Weight::from_parts(1_173_892, 0).saturating_mul(s.into())) + // Measured: `1947 + s * (4 ±0)` + // Estimated: `37863 + s * (4 ±0)` + // Minimum execution time: 72_106_000 picoseconds. + Weight::from_parts(75_001_032, 0) + .saturating_add(Weight::from_parts(0, 37863)) + // Standard Error: 2_494 + .saturating_add(Weight::from_parts(1_173_131, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -421,13 +421,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `66604` - // Estimated: `69079` - // Minimum execution time: 114_586 nanoseconds. - Weight::from_parts(830_663_472, 0) - .saturating_add(Weight::from_parts(0, 69079)) - // Standard Error: 51_554 - .saturating_add(Weight::from_parts(4_320_930, 0).saturating_mul(s.into())) + // Measured: `66572` + // Estimated: `70037` + // Minimum execution time: 115_672_000 picoseconds. + Weight::from_parts(926_225_061, 0) + .saturating_add(Weight::from_parts(0, 70037)) + // Standard Error: 58_775 + .saturating_add(Weight::from_parts(4_947_596, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -452,13 +452,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 512]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `34303 + n * (149 ±0)` - // Estimated: `79842 + n * (8024 ±1)` - // Minimum execution time: 84_700 nanoseconds. - Weight::from_parts(80_513_026, 0) - .saturating_add(Weight::from_parts(0, 79842)) - // Standard Error: 15_407 - .saturating_add(Weight::from_parts(27_854_181, 0).saturating_mul(n.into())) + // Measured: `34175 + n * (149 ±0)` + // Estimated: `88502 + n * (8024 ±0)` + // Minimum execution time: 86_392_000 picoseconds. + Weight::from_parts(78_682_975, 0) + .saturating_add(Weight::from_parts(0, 88502)) + // Standard Error: 14_557 + .saturating_add(Weight::from_parts(27_491_494, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -488,18 +488,18 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `62042 + n * (474 ±0)` - // Estimated: `131052 + n * (16034 ±0)` - // Minimum execution time: 105_084 nanoseconds. - Weight::from_parts(51_347_015, 0) - .saturating_add(Weight::from_parts(0, 131052)) - // Standard Error: 48_370 - .saturating_add(Weight::from_parts(40_348_874, 0).saturating_mul(n.into())) + // Measured: `61914 + n * (410 ±0)` + // Estimated: `140702 + n * (15906 ±3)` + // Minimum execution time: 103_991_000 picoseconds. + Weight::from_parts(80_018_960, 0) + .saturating_add(Weight::from_parts(0, 140702)) + // Standard Error: 20_611 + .saturating_add(Weight::from_parts(39_332_370, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 16034).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 15906).saturating_mul(n.into())) } /// Storage: Staking Ledger (r:1 w:1) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) @@ -516,13 +516,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2180 + l * (5 ±0)` - // Estimated: `25491` - // Minimum execution time: 81_058 nanoseconds. - Weight::from_parts(82_232_827, 0) - .saturating_add(Weight::from_parts(0, 25491)) - // Standard Error: 6_083 - .saturating_add(Weight::from_parts(97_408, 0).saturating_mul(l.into())) + // Measured: `1956 + l * (5 ±0)` + // Estimated: `31431` + // Minimum execution time: 80_158_000 picoseconds. + Weight::from_parts(82_003_260, 0) + .saturating_add(Weight::from_parts(0, 31431)) + // Standard Error: 3_750 + .saturating_add(Weight::from_parts(38_417, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -555,13 +555,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2409 + s * (4 ±0)` - // Estimated: `31989 + s * (4 ±0)` - // Minimum execution time: 83_594 nanoseconds. - Weight::from_parts(85_394_580, 0) - .saturating_add(Weight::from_parts(0, 31989)) - // Standard Error: 2_216 - .saturating_add(Weight::from_parts(1_152_305, 0).saturating_mul(s.into())) + // Measured: `2217 + s * (4 ±0)` + // Estimated: `42694 + s * (4 ±0)` + // Minimum execution time: 83_082_000 picoseconds. + Weight::from_parts(84_388_993, 0) + .saturating_add(Weight::from_parts(0, 42694)) + // Standard Error: 1_929 + .saturating_add(Weight::from_parts(1_134_719, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -607,22 +607,22 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (3656 ±0) + n * (810 ±0)` - // Estimated: `441556 + v * (16995 ±0) + n * (13191 ±0)` - // Minimum execution time: 494_448 nanoseconds. - Weight::from_parts(497_850_000, 0) - .saturating_add(Weight::from_parts(0, 441556)) - // Standard Error: 1_877_946 - .saturating_add(Weight::from_parts(60_221_703, 0).saturating_mul(v.into())) - // Standard Error: 187_127 - .saturating_add(Weight::from_parts(16_161_800, 0).saturating_mul(n.into())) + // Measured: `0 + v * (3592 ±0) + n * (714 ±0)` + // Estimated: `452092 + v * (16951 ±0) + n * (13007 ±0)` + // Minimum execution time: 472_916_000 picoseconds. + Weight::from_parts(475_850_000, 0) + .saturating_add(Weight::from_parts(0, 452092)) + // Standard Error: 1_827_919 + .saturating_add(Weight::from_parts(59_004_651, 0).saturating_mul(v.into())) + // Standard Error: 182_142 + .saturating_add(Weight::from_parts(16_220_659, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(173)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 16995).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 13191).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 16951).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 13007).saturating_mul(n.into())) } /// Storage: VoterList CounterForListNodes (r:1 w:0) /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -646,15 +646,15 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3101 + v * (453 ±0) + n * (1257 ±0)` - // Estimated: `425504 + v * (14551 ±0) + n * (12031 ±0)` - // Minimum execution time: 31_297_872 nanoseconds. - Weight::from_parts(31_410_990_000, 0) - .saturating_add(Weight::from_parts(0, 425504)) - // Standard Error: 344_870 - .saturating_add(Weight::from_parts(4_716_231, 0).saturating_mul(v.into())) - // Standard Error: 344_870 - .saturating_add(Weight::from_parts(3_250_756, 0).saturating_mul(n.into())) + // Measured: `3069 + v * (389 ±0) + n * (1161 ±0)` + // Estimated: `433424 + v * (14551 ±0) + n * (12031 ±0)` + // Minimum execution time: 31_166_092_000 picoseconds. + Weight::from_parts(31_458_183_000, 0) + .saturating_add(Weight::from_parts(0, 433424)) + // Standard Error: 343_946 + .saturating_add(Weight::from_parts(4_656_629, 0).saturating_mul(v.into())) + // Standard Error: 343_946 + .saturating_add(Weight::from_parts(3_128_879, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(168)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) @@ -672,12 +672,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_targets(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `917 + v * (50 ±0)` - // Estimated: `3562 + v * (2520 ±0)` - // Minimum execution time: 3_903_963 nanoseconds. - Weight::from_parts(48_632_315, 0) - .saturating_add(Weight::from_parts(0, 3562)) - // Standard Error: 21_723 - .saturating_add(Weight::from_parts(7_872_443, 0).saturating_mul(v.into())) + // Estimated: `6532 + v * (2520 ±0)` + // Minimum execution time: 2_231_177_000 picoseconds. + Weight::from_parts(61_363_363, 0) + .saturating_add(Weight::from_parts(0, 6532)) + // Standard Error: 10_349 + .saturating_add(Weight::from_parts(4_459_825, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -699,8 +699,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_184 nanoseconds. - Weight::from_parts(6_506_000, 0) + // Minimum execution time: 6_719_000 picoseconds. + Weight::from_parts(6_905_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -720,8 +720,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_703 nanoseconds. - Weight::from_parts(5_937_000, 0) + // Minimum execution time: 6_100_000 picoseconds. + Weight::from_parts(6_295_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -747,11 +747,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn chill_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1954` - // Estimated: `19694` - // Minimum execution time: 68_958 nanoseconds. - Weight::from_parts(71_763_000, 0) - .saturating_add(Weight::from_parts(0, 19694)) + // Measured: `1794` + // Estimated: `29594` + // Minimum execution time: 69_172_000 picoseconds. + Weight::from_parts(69_612_000, 0) + .saturating_add(Weight::from_parts(0, 29594)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -762,10 +762,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_apply_min_commission() -> Weight { // Proof Size summary in bytes: // Measured: `627` - // Estimated: `3019` - // Minimum execution time: 13_086 nanoseconds. - Weight::from_parts(13_390_000, 0) - .saturating_add(Weight::from_parts(0, 3019)) + // Estimated: `4999` + // Minimum execution time: 12_861_000 picoseconds. + Weight::from_parts(13_158_000, 0) + .saturating_add(Weight::from_parts(0, 4999)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -775,8 +775,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_986 nanoseconds. - Weight::from_parts(3_166_000, 0) + // Minimum execution time: 3_483_000 picoseconds. + Weight::from_parts(3_619_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/pallet_timestamp.rs b/runtime/kusama/src/weights/pallet_timestamp.rs index 1576866ee9da..6700eb6e0434 100644 --- a/runtime/kusama/src/weights/pallet_timestamp.rs +++ b/runtime/kusama/src/weights/pallet_timestamp.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -52,10 +52,10 @@ impl pallet_timestamp::WeightInfo for WeightInfo { fn set() -> Weight { // Proof Size summary in bytes: // Measured: `345` - // Estimated: `1006` - // Minimum execution time: 9_092 nanoseconds. - Weight::from_parts(9_434_000, 0) - .saturating_add(Weight::from_parts(0, 1006)) + // Estimated: `2986` + // Minimum execution time: 9_159_000 picoseconds. + Weight::from_parts(9_663_000, 0) + .saturating_add(Weight::from_parts(0, 2986)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 3_824 nanoseconds. - Weight::from_parts(4_092_000, 0) + // Minimum execution time: 3_803_000 picoseconds. + Weight::from_parts(4_007_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/kusama/src/weights/pallet_tips.rs b/runtime/kusama/src/weights/pallet_tips.rs index 6d172a62437c..09c965970c6b 100644 --- a/runtime/kusama/src/weights/pallet_tips.rs +++ b/runtime/kusama/src/weights/pallet_tips.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -53,12 +53,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `4958` - // Minimum execution time: 23_488 nanoseconds. - Weight::from_parts(24_665_855, 0) - .saturating_add(Weight::from_parts(0, 4958)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_783, 0).saturating_mul(r.into())) + // Estimated: `6938` + // Minimum execution time: 23_689_000 picoseconds. + Weight::from_parts(24_837_709, 0) + .saturating_add(Weight::from_parts(0, 6938)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_449, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -68,11 +68,11 @@ impl pallet_tips::WeightInfo for WeightInfo { /// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured) fn retract_tip() -> Weight { // Proof Size summary in bytes: - // Measured: `253` - // Estimated: `2981` - // Minimum execution time: 22_395 nanoseconds. - Weight::from_parts(22_770_000, 0) - .saturating_add(Weight::from_parts(0, 2981)) + // Measured: `221` + // Estimated: `3907` + // Minimum execution time: 23_163_000 picoseconds. + Weight::from_parts(23_386_000, 0) + .saturating_add(Weight::from_parts(0, 3907)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -86,15 +86,15 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 19]`. fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `140 + t * (64 ±0)` - // Estimated: `3390 + t * (192 ±0)` - // Minimum execution time: 18_654 nanoseconds. - Weight::from_parts(17_571_965, 0) - .saturating_add(Weight::from_parts(0, 3390)) + // Measured: `108 + t * (64 ±0)` + // Estimated: `5274 + t * (192 ±0)` + // Minimum execution time: 18_945_000 picoseconds. + Weight::from_parts(17_578_665, 0) + .saturating_add(Weight::from_parts(0, 5274)) // Standard Error: 6 - .saturating_add(Weight::from_parts(1_637, 0).saturating_mul(r.into())) - // Standard Error: 5_499 - .saturating_add(Weight::from_parts(150_704, 0).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(1_320, 0).saturating_mul(r.into())) + // Standard Error: 5_480 + .saturating_add(Weight::from_parts(154_765, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(t.into())) @@ -106,13 +106,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 19]`. fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `393 + t * (112 ±0)` - // Estimated: `3756 + t * (224 ±0)` - // Minimum execution time: 14_469 nanoseconds. - Weight::from_parts(14_934_101, 0) - .saturating_add(Weight::from_parts(0, 3756)) - // Standard Error: 2_197 - .saturating_add(Weight::from_parts(117_732, 0).saturating_mul(t.into())) + // Measured: `329 + t * (112 ±0)` + // Estimated: `5608 + t * (224 ±0)` + // Minimum execution time: 14_212_000 picoseconds. + Weight::from_parts(14_717_871, 0) + .saturating_add(Weight::from_parts(0, 5608)) + // Standard Error: 1_305 + .saturating_add(Weight::from_parts(135_786, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) @@ -128,13 +128,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 19]`. fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `432 + t * (112 ±0)` - // Estimated: `6842 + t * (336 ±0)` - // Minimum execution time: 42_637 nanoseconds. - Weight::from_parts(44_262_019, 0) - .saturating_add(Weight::from_parts(0, 6842)) - // Standard Error: 4_339 - .saturating_add(Weight::from_parts(78_341, 0).saturating_mul(t.into())) + // Measured: `368 + t * (112 ±0)` + // Estimated: `9620 + t * (336 ±0)` + // Minimum execution time: 41_550_000 picoseconds. + Weight::from_parts(43_011_989, 0) + .saturating_add(Weight::from_parts(0, 9620)) + // Standard Error: 5_482 + .saturating_add(Weight::from_parts(120_085, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 336).saturating_mul(t.into())) @@ -146,13 +146,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 19]`. fn slash_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `301` - // Estimated: `3077` - // Minimum execution time: 13_886 nanoseconds. - Weight::from_parts(14_462_519, 0) - .saturating_add(Weight::from_parts(0, 3077)) - // Standard Error: 1_255 - .saturating_add(Weight::from_parts(11_929, 0).saturating_mul(t.into())) + // Measured: `269` + // Estimated: `4003` + // Minimum execution time: 13_897_000 picoseconds. + Weight::from_parts(14_435_129, 0) + .saturating_add(Weight::from_parts(0, 4003)) + // Standard Error: 1_409 + .saturating_add(Weight::from_parts(9_959, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/kusama/src/weights/pallet_treasury.rs b/runtime/kusama/src/weights/pallet_treasury.rs index 15506d92a597..fce1d9dfca21 100644 --- a/runtime/kusama/src/weights/pallet_treasury.rs +++ b/runtime/kusama/src/weights/pallet_treasury.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -54,10 +54,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { // Proof Size summary in bytes: // Measured: `6` - // Estimated: `1396` - // Minimum execution time: 13_881 nanoseconds. - Weight::from_parts(14_237_000, 0) - .saturating_add(Weight::from_parts(0, 1396)) + // Estimated: `3376` + // Minimum execution time: 14_516_000 picoseconds. + Weight::from_parts(14_898_000, 0) + .saturating_add(Weight::from_parts(0, 3376)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -67,11 +67,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) fn propose_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `499` - // Minimum execution time: 21_869 nanoseconds. - Weight::from_parts(22_183_000, 0) - .saturating_add(Weight::from_parts(0, 499)) + // Measured: `107` + // Estimated: `1489` + // Minimum execution time: 21_971_000 picoseconds. + Weight::from_parts(22_591_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,11 +81,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn reject_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `329` - // Estimated: `5186` - // Minimum execution time: 33_504 nanoseconds. - Weight::from_parts(33_878_000, 0) - .saturating_add(Weight::from_parts(0, 5186)) + // Measured: `265` + // Estimated: `7166` + // Minimum execution time: 34_087_000 picoseconds. + Weight::from_parts(34_367_000, 0) + .saturating_add(Weight::from_parts(0, 7166)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,13 +96,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `464 + p * (8 ±0)` - // Estimated: `3480` - // Minimum execution time: 8_838 nanoseconds. - Weight::from_parts(11_773_473, 0) - .saturating_add(Weight::from_parts(0, 3480)) - // Standard Error: 941 - .saturating_add(Weight::from_parts(28_796, 0).saturating_mul(p.into())) + // Measured: `433 + p * (8 ±0)` + // Estimated: `5460` + // Minimum execution time: 9_511_000 picoseconds. + Weight::from_parts(12_247_904, 0) + .saturating_add(Weight::from_parts(0, 5460)) + // Standard Error: 903 + .saturating_add(Weight::from_parts(28_147, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -111,10 +111,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `897` - // Minimum execution time: 6_498 nanoseconds. - Weight::from_parts(6_835_000, 0) - .saturating_add(Weight::from_parts(0, 897)) + // Estimated: `1887` + // Minimum execution time: 6_948_000 picoseconds. + Weight::from_parts(7_162_000, 0) + .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -133,13 +133,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `326 + p * (314 ±0)` - // Estimated: `5419 + p * (7789 ±0)` - // Minimum execution time: 58_221 nanoseconds. - Weight::from_parts(63_372_444, 0) - .saturating_add(Weight::from_parts(0, 5419)) - // Standard Error: 28_649 - .saturating_add(Weight::from_parts(31_595_141, 0).saturating_mul(p.into())) + // Measured: `297 + p * (251 ±0)` + // Estimated: `11359 + p * (7789 ±0)` + // Minimum execution time: 57_179_000 picoseconds. + Weight::from_parts(61_547_634, 0) + .saturating_add(Weight::from_parts(0, 11359)) + // Standard Error: 30_382 + .saturating_add(Weight::from_parts(32_012_031, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(5)) diff --git a/runtime/kusama/src/weights/pallet_utility.rs b/runtime/kusama/src/weights/pallet_utility.rs index 646661dfe82e..bb05a8990de6 100644 --- a/runtime/kusama/src/weights/pallet_utility.rs +++ b/runtime/kusama/src/weights/pallet_utility.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -50,18 +50,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_633 nanoseconds. - Weight::from_parts(7_706_624, 0) + // Minimum execution time: 7_159_000 picoseconds. + Weight::from_parts(13_044_055, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 6_035 - .saturating_add(Weight::from_parts(4_305_964, 0).saturating_mul(c.into())) + // Standard Error: 2_765 + .saturating_add(Weight::from_parts(4_553_907, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_846 nanoseconds. - Weight::from_parts(4_946_000, 0) + // Minimum execution time: 5_562_000 picoseconds. + Weight::from_parts(5_752_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -69,18 +69,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_675 nanoseconds. - Weight::from_parts(8_813_699, 0) + // Minimum execution time: 6_939_000 picoseconds. + Weight::from_parts(16_867_349, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_532 - .saturating_add(Weight::from_parts(4_554_769, 0).saturating_mul(c.into())) + // Standard Error: 3_809 + .saturating_add(Weight::from_parts(4_848_850, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_735 nanoseconds. - Weight::from_parts(9_040_000, 0) + // Minimum execution time: 9_243_000 picoseconds. + Weight::from_parts(9_507_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -88,10 +88,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_618 nanoseconds. - Weight::from_parts(9_806_530, 0) + // Minimum execution time: 6_958_000 picoseconds. + Weight::from_parts(14_931_896, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_278 - .saturating_add(Weight::from_parts(4_289_286, 0).saturating_mul(c.into())) + // Standard Error: 3_015 + .saturating_add(Weight::from_parts(4_565_357, 0).saturating_mul(c.into())) } } diff --git a/runtime/kusama/src/weights/pallet_vesting.rs b/runtime/kusama/src/weights/pallet_vesting.rs index a5657eabc2ee..5fab7491f1f4 100644 --- a/runtime/kusama/src/weights/pallet_vesting.rs +++ b/runtime/kusama/src/weights/pallet_vesting.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -53,15 +53,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `377 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `7306` - // Minimum execution time: 29_284 nanoseconds. - Weight::from_parts(28_694_538, 0) - .saturating_add(Weight::from_parts(0, 7306)) - // Standard Error: 853 - .saturating_add(Weight::from_parts(38_182, 0).saturating_mul(l.into())) - // Standard Error: 1_518 - .saturating_add(Weight::from_parts(67_325, 0).saturating_mul(s.into())) + // Measured: `314 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `9286` + // Minimum execution time: 29_916_000 picoseconds. + Weight::from_parts(29_339_698, 0) + .saturating_add(Weight::from_parts(0, 9286)) + // Standard Error: 908 + .saturating_add(Weight::from_parts(42_085, 0).saturating_mul(l.into())) + // Standard Error: 1_617 + .saturating_add(Weight::from_parts(59_635, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -73,15 +73,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `377 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `7306` - // Minimum execution time: 28_737 nanoseconds. - Weight::from_parts(28_400_491, 0) - .saturating_add(Weight::from_parts(0, 7306)) - // Standard Error: 848 - .saturating_add(Weight::from_parts(33_813, 0).saturating_mul(l.into())) - // Standard Error: 1_510 - .saturating_add(Weight::from_parts(44_049, 0).saturating_mul(s.into())) + // Measured: `314 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `9286` + // Minimum execution time: 28_994_000 picoseconds. + Weight::from_parts(28_920_073, 0) + .saturating_add(Weight::from_parts(0, 9286)) + // Standard Error: 945 + .saturating_add(Weight::from_parts(36_459, 0).saturating_mul(l.into())) + // Standard Error: 1_682 + .saturating_add(Weight::from_parts(47_574, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,15 +95,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `512 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 31_249 nanoseconds. - Weight::from_parts(30_167_020, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 910 - .saturating_add(Weight::from_parts(48_520, 0).saturating_mul(l.into())) - // Standard Error: 1_619 - .saturating_add(Weight::from_parts(72_796, 0).saturating_mul(s.into())) + // Measured: `417 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 31_776_000 picoseconds. + Weight::from_parts(31_051_512, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 1_014 + .saturating_add(Weight::from_parts(45_683, 0).saturating_mul(l.into())) + // Standard Error: 1_805 + .saturating_add(Weight::from_parts(68_567, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -117,15 +117,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `512 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 30_530 nanoseconds. - Weight::from_parts(31_068_619, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 2_695 - .saturating_add(Weight::from_parts(21_604, 0).saturating_mul(l.into())) - // Standard Error: 4_796 - .saturating_add(Weight::from_parts(41_979, 0).saturating_mul(s.into())) + // Measured: `417 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 31_198_000 picoseconds. + Weight::from_parts(30_371_234, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 1_053 + .saturating_add(Weight::from_parts(46_897, 0).saturating_mul(l.into())) + // Standard Error: 1_874 + .saturating_add(Weight::from_parts(56_085, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -139,15 +139,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `583 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 49_659 nanoseconds. - Weight::from_parts(50_352_533, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 1_564 - .saturating_add(Weight::from_parts(34_227, 0).saturating_mul(l.into())) - // Standard Error: 2_782 - .saturating_add(Weight::from_parts(34_427, 0).saturating_mul(s.into())) + // Measured: `488 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 50_336_000 picoseconds. + Weight::from_parts(50_095_582, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 1_723 + .saturating_add(Weight::from_parts(36_719, 0).saturating_mul(l.into())) + // Standard Error: 3_065 + .saturating_add(Weight::from_parts(53_956, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -161,15 +161,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `718 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12512` - // Minimum execution time: 51_196 nanoseconds. - Weight::from_parts(51_640_999, 0) - .saturating_add(Weight::from_parts(0, 12512)) - // Standard Error: 1_401 - .saturating_add(Weight::from_parts(36_695, 0).saturating_mul(l.into())) - // Standard Error: 2_493 - .saturating_add(Weight::from_parts(40_204, 0).saturating_mul(s.into())) + // Measured: `591 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `15482` + // Minimum execution time: 51_785_000 picoseconds. + Weight::from_parts(51_785_937, 0) + .saturating_add(Weight::from_parts(0, 15482)) + // Standard Error: 1_668 + .saturating_add(Weight::from_parts(37_557, 0).saturating_mul(l.into())) + // Standard Error: 2_968 + .saturating_add(Weight::from_parts(56_009, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -183,15 +183,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `510 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 32_352 nanoseconds. - Weight::from_parts(31_837_824, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 921 - .saturating_add(Weight::from_parts(40_526, 0).saturating_mul(l.into())) - // Standard Error: 1_702 - .saturating_add(Weight::from_parts(59_295, 0).saturating_mul(s.into())) + // Measured: `415 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 32_591_000 picoseconds. + Weight::from_parts(32_031_830, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 873 + .saturating_add(Weight::from_parts(42_198, 0).saturating_mul(l.into())) + // Standard Error: 1_613 + .saturating_add(Weight::from_parts(61_400, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -205,15 +205,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `510 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 32_523 nanoseconds. - Weight::from_parts(31_708_207, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 848 - .saturating_add(Weight::from_parts(42_347, 0).saturating_mul(l.into())) - // Standard Error: 1_566 - .saturating_add(Weight::from_parts(64_993, 0).saturating_mul(s.into())) + // Measured: `415 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 32_180_000 picoseconds. + Weight::from_parts(32_258_692, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 940 + .saturating_add(Weight::from_parts(38_939, 0).saturating_mul(l.into())) + // Standard Error: 1_736 + .saturating_add(Weight::from_parts(58_252, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/kusama/src/weights/pallet_whitelist.rs b/runtime/kusama/src/weights/pallet_whitelist.rs index 27cde42a3849..f6826d521d00 100644 --- a/runtime/kusama/src/weights/pallet_whitelist.rs +++ b/runtime/kusama/src/weights/pallet_whitelist.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_whitelist` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -52,10 +52,10 @@ impl pallet_whitelist::WeightInfo for WeightInfo { fn whitelist_call() -> Weight { // Proof Size summary in bytes: // Measured: `151` - // Estimated: `5081` - // Minimum execution time: 19_057 nanoseconds. - Weight::from_parts(19_276_000, 0) - .saturating_add(Weight::from_parts(0, 5081)) + // Estimated: `7061` + // Minimum execution time: 19_424_000 picoseconds. + Weight::from_parts(19_701_000, 0) + .saturating_add(Weight::from_parts(0, 7061)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,10 +66,10 @@ impl pallet_whitelist::WeightInfo for WeightInfo { fn remove_whitelisted_call() -> Weight { // Proof Size summary in bytes: // Measured: `280` - // Estimated: `5081` - // Minimum execution time: 17_283 nanoseconds. - Weight::from_parts(17_617_000, 0) - .saturating_add(Weight::from_parts(0, 5081)) + // Estimated: `7061` + // Minimum execution time: 17_225_000 picoseconds. + Weight::from_parts(18_022_000, 0) + .saturating_add(Weight::from_parts(0, 7061)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,13 +82,13 @@ impl pallet_whitelist::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 4194294]`. fn dispatch_whitelisted_call(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `388 + n * (1 ±0)` - // Estimated: `7941 + n * (1 ±0)` - // Minimum execution time: 28_589 nanoseconds. - Weight::from_parts(28_824_000, 0) - .saturating_add(Weight::from_parts(0, 7941)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_175, 0).saturating_mul(n.into())) + // Measured: `356 + n * (1 ±0)` + // Estimated: `10881 + n * (1 ±0)` + // Minimum execution time: 29_224_000 picoseconds. + Weight::from_parts(29_514_000, 0) + .saturating_add(Weight::from_parts(0, 10881)) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_195, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -101,12 +101,12 @@ impl pallet_whitelist::WeightInfo for WeightInfo { fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `280` - // Estimated: `5081` - // Minimum execution time: 21_200 nanoseconds. - Weight::from_parts(22_063_035, 0) - .saturating_add(Weight::from_parts(0, 5081)) + // Estimated: `7061` + // Minimum execution time: 21_796_000 picoseconds. + Weight::from_parts(22_483_999, 0) + .saturating_add(Weight::from_parts(0, 7061)) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_534, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_227, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/kusama/src/weights/pallet_xcm.rs b/runtime/kusama/src/weights/pallet_xcm.rs index 3665b886c9f6..0f2eb1eb4731 100644 --- a/runtime/kusama/src/weights/pallet_xcm.rs +++ b/runtime/kusama/src/weights/pallet_xcm.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -58,10 +58,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn send() -> Weight { // Proof Size summary in bytes: // Measured: `211` - // Estimated: `9470` - // Minimum execution time: 32_654 nanoseconds. - Weight::from_parts(33_637_000, 0) - .saturating_add(Weight::from_parts(0, 9470)) + // Estimated: `14420` + // Minimum execution time: 32_211_000 picoseconds. + Weight::from_parts(32_864_000, 0) + .saturating_add(Weight::from_parts(0, 14420)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -69,24 +69,24 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 20_880 nanoseconds. - Weight::from_parts(21_414_000, 0) + // Minimum execution time: 21_186_000 picoseconds. + Weight::from_parts(21_501_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 20_092 nanoseconds. - Weight::from_parts(20_469_000, 0) + // Minimum execution time: 20_009_000 picoseconds. + Weight::from_parts(20_431_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_530 nanoseconds. - Weight::from_parts(9_860_000, 0) + // Minimum execution time: 10_031_000 picoseconds. + Weight::from_parts(10_350_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: XcmPallet SupportedVersion (r:0 w:1) @@ -95,8 +95,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_614 nanoseconds. - Weight::from_parts(9_843_000, 0) + // Minimum execution time: 10_202_000 picoseconds. + Weight::from_parts(10_401_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -106,8 +106,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_572 nanoseconds. - Weight::from_parts(2_799_000, 0) + // Minimum execution time: 3_042_000 picoseconds. + Weight::from_parts(3_161_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -130,10 +130,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `211` - // Estimated: `13073` - // Minimum execution time: 36_553 nanoseconds. - Weight::from_parts(37_631_000, 0) - .saturating_add(Weight::from_parts(0, 13073)) + // Estimated: `20003` + // Minimum execution time: 37_152_000 picoseconds. + Weight::from_parts(37_637_000, 0) + .saturating_add(Weight::from_parts(0, 20003)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -154,10 +154,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `483` - // Estimated: `14271` - // Minimum execution time: 39_477 nanoseconds. - Weight::from_parts(40_134_000, 0) - .saturating_add(Weight::from_parts(0, 14271)) + // Estimated: `20211` + // Minimum execution time: 40_068_000 picoseconds. + Weight::from_parts(40_408_000, 0) + .saturating_add(Weight::from_parts(0, 20211)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -166,10 +166,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `229` - // Estimated: `10129` - // Minimum execution time: 16_354 nanoseconds. - Weight::from_parts(16_766_000, 0) - .saturating_add(Weight::from_parts(0, 10129)) + // Estimated: `11119` + // Minimum execution time: 16_679_000 picoseconds. + Weight::from_parts(17_372_000, 0) + .saturating_add(Weight::from_parts(0, 11119)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -178,10 +178,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: // Measured: `233` - // Estimated: `10133` - // Minimum execution time: 16_054 nanoseconds. - Weight::from_parts(16_663_000, 0) - .saturating_add(Weight::from_parts(0, 10133)) + // Estimated: `11123` + // Minimum execution time: 17_113_000 picoseconds. + Weight::from_parts(17_539_000, 0) + .saturating_add(Weight::from_parts(0, 11123)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -190,10 +190,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn already_notified_target() -> Weight { // Proof Size summary in bytes: // Measured: `243` - // Estimated: `12618` - // Minimum execution time: 18_607 nanoseconds. - Weight::from_parts(19_085_000, 0) - .saturating_add(Weight::from_parts(0, 12618)) + // Estimated: `13608` + // Minimum execution time: 17_831_000 picoseconds. + Weight::from_parts(18_222_000, 0) + .saturating_add(Weight::from_parts(0, 13608)) .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: XcmPallet VersionNotifyTargets (r:2 w:1) @@ -211,10 +211,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_current_targets() -> Weight { // Proof Size summary in bytes: // Measured: `281` - // Estimated: `15051` - // Minimum execution time: 33_703 nanoseconds. - Weight::from_parts(34_331_000, 0) - .saturating_add(Weight::from_parts(0, 15051)) + // Estimated: `20991` + // Minimum execution time: 34_239_000 picoseconds. + Weight::from_parts(34_714_000, 0) + .saturating_add(Weight::from_parts(0, 20991)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -223,10 +223,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: // Measured: `272` - // Estimated: `7697` - // Minimum execution time: 8_596 nanoseconds. - Weight::from_parts(8_843_000, 0) - .saturating_add(Weight::from_parts(0, 7697)) + // Estimated: `8687` + // Minimum execution time: 9_813_000 picoseconds. + Weight::from_parts(10_050_000, 0) + .saturating_add(Weight::from_parts(0, 8687)) .saturating_add(T::DbWeight::get().reads(3)) } /// Storage: XcmPallet VersionNotifyTargets (r:4 w:2) @@ -234,10 +234,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: // Measured: `240` - // Estimated: `10140` - // Minimum execution time: 16_717 nanoseconds. - Weight::from_parts(17_265_000, 0) - .saturating_add(Weight::from_parts(0, 10140)) + // Estimated: `11130` + // Minimum execution time: 17_449_000 picoseconds. + Weight::from_parts(17_898_000, 0) + .saturating_add(Weight::from_parts(0, 11130)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -256,10 +256,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: // Measured: `285` - // Estimated: `20025` - // Minimum execution time: 40_617 nanoseconds. - Weight::from_parts(41_066_000, 0) - .saturating_add(Weight::from_parts(0, 20025)) + // Estimated: `25965` + // Minimum execution time: 41_651_000 picoseconds. + Weight::from_parts(42_184_000, 0) + .saturating_add(Weight::from_parts(0, 25965)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } diff --git a/runtime/kusama/src/weights/runtime_common_auctions.rs b/runtime/kusama/src/weights/runtime_common_auctions.rs index c683ebf8ea45..95c4e4c18d80 100644 --- a/runtime/kusama/src/weights/runtime_common_auctions.rs +++ b/runtime/kusama/src/weights/runtime_common_auctions.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -52,10 +52,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn new_auction() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `1002` - // Minimum execution time: 12_101 nanoseconds. - Weight::from_parts(12_656_000, 0) - .saturating_add(Weight::from_parts(0, 1002)) + // Estimated: `2982` + // Minimum execution time: 11_993_000 picoseconds. + Weight::from_parts(12_236_000, 0) + .saturating_add(Weight::from_parts(0, 2982)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn bid() -> Weight { // Proof Size summary in bytes: - // Measured: `725` - // Estimated: `19470` - // Minimum execution time: 69_639 nanoseconds. - Weight::from_parts(73_490_000, 0) - .saturating_add(Weight::from_parts(0, 19470)) + // Measured: `661` + // Estimated: `26272` + // Minimum execution time: 67_297_000 picoseconds. + Weight::from_parts(69_648_000, 0) + .saturating_add(Weight::from_parts(0, 26272)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -109,11 +109,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `7060445` - // Estimated: `51339005` - // Minimum execution time: 15_963_666 nanoseconds. - Weight::from_parts(16_480_261_000, 0) - .saturating_add(Weight::from_parts(0, 51339005)) + // Measured: `6947662` + // Estimated: `50786970` + // Minimum execution time: 6_214_250_000 picoseconds. + Weight::from_parts(6_357_890_000, 0) + .saturating_add(Weight::from_parts(0, 50786970)) .saturating_add(T::DbWeight::get().reads(3688)) .saturating_add(T::DbWeight::get().writes(3683)) } @@ -127,11 +127,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn cancel_auction() -> Weight { // Proof Size summary in bytes: - // Measured: `178884` - // Estimated: `16009503` - // Minimum execution time: 4_924_110 nanoseconds. - Weight::from_parts(5_008_960_000, 0) - .saturating_add(Weight::from_parts(0, 16009503)) + // Measured: `177732` + // Estimated: `16012473` + // Minimum execution time: 4_808_798_000 picoseconds. + Weight::from_parts(4_914_429_000, 0) + .saturating_add(Weight::from_parts(0, 16012473)) .saturating_add(T::DbWeight::get().reads(3673)) .saturating_add(T::DbWeight::get().writes(3673)) } diff --git a/runtime/kusama/src/weights/runtime_common_claims.rs b/runtime/kusama/src/weights/runtime_common_claims.rs index 5ae7478bee1a..f0a29f3bd639 100644 --- a/runtime/kusama/src/weights/runtime_common_claims.rs +++ b/runtime/kusama/src/weights/runtime_common_claims.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -61,11 +61,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `652` - // Estimated: `20437` - // Minimum execution time: 145_850 nanoseconds. - Weight::from_parts(160_914_000, 0) - .saturating_add(Weight::from_parts(0, 20437)) + // Measured: `620` + // Estimated: `27239` + // Minimum execution time: 145_654_000 picoseconds. + Weight::from_parts(148_989_000, 0) + .saturating_add(Weight::from_parts(0, 27239)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -80,10 +80,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< fn mint_claim() -> Weight { // Proof Size summary in bytes: // Measured: `216` - // Estimated: `1359` - // Minimum execution time: 10_201 nanoseconds. - Weight::from_parts(10_728_000, 0) - .saturating_add(Weight::from_parts(0, 1359)) + // Estimated: `2349` + // Minimum execution time: 10_889_000 picoseconds. + Weight::from_parts(11_366_000, 0) + .saturating_add(Weight::from_parts(0, 2349)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -103,11 +103,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn claim_attest() -> Weight { // Proof Size summary in bytes: - // Measured: `652` - // Estimated: `20437` - // Minimum execution time: 147_863 nanoseconds. - Weight::from_parts(166_266_000, 0) - .saturating_add(Weight::from_parts(0, 20437)) + // Measured: `620` + // Estimated: `27239` + // Minimum execution time: 149_604_000 picoseconds. + Weight::from_parts(157_491_000, 0) + .saturating_add(Weight::from_parts(0, 27239)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -129,11 +129,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn attest() -> Weight { // Proof Size summary in bytes: - // Measured: `726` - // Estimated: `23934` - // Minimum execution time: 68_241 nanoseconds. - Weight::from_parts(76_038_000, 0) - .saturating_add(Weight::from_parts(0, 23934)) + // Measured: `694` + // Estimated: `31694` + // Minimum execution time: 69_342_000 picoseconds. + Weight::from_parts(75_572_000, 0) + .saturating_add(Weight::from_parts(0, 31694)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -147,11 +147,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured) fn move_claim() -> Weight { // Proof Size summary in bytes: - // Measured: `472` - // Estimated: `11788` - // Minimum execution time: 20_763 nanoseconds. - Weight::from_parts(22_172_000, 0) - .saturating_add(Weight::from_parts(0, 11788)) + // Measured: `440` + // Estimated: `15620` + // Minimum execution time: 21_552_000 picoseconds. + Weight::from_parts(21_994_000, 0) + .saturating_add(Weight::from_parts(0, 15620)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/kusama/src/weights/runtime_common_crowdloan.rs b/runtime/kusama/src/weights/runtime_common_crowdloan.rs index d3dc610885dc..63a83902b2d8 100644 --- a/runtime/kusama/src/weights/runtime_common_crowdloan.rs +++ b/runtime/kusama/src/weights/runtime_common_crowdloan.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `395` - // Estimated: `9500` - // Minimum execution time: 40_192 nanoseconds. - Weight::from_parts(41_187_000, 0) - .saturating_add(Weight::from_parts(0, 9500)) + // Measured: `363` + // Estimated: `13332` + // Minimum execution time: 38_745_000 picoseconds. + Weight::from_parts(39_628_000, 0) + .saturating_add(Weight::from_parts(0, 13332)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,11 +81,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn contribute() -> Weight { // Proof Size summary in bytes: - // Measured: `407` - // Estimated: `14067` - // Minimum execution time: 116_221 nanoseconds. - Weight::from_parts(117_343_000, 0) - .saturating_add(Weight::from_parts(0, 14067)) + // Measured: `375` + // Estimated: `21827` + // Minimum execution time: 116_800_000 picoseconds. + Weight::from_parts(118_160_000, 0) + .saturating_add(Weight::from_parts(0, 21827)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -99,11 +99,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1) fn withdraw() -> Weight { // Proof Size summary in bytes: - // Measured: `786` - // Estimated: `12239` - // Minimum execution time: 57_468 nanoseconds. - Weight::from_parts(59_575_000, 0) - .saturating_add(Weight::from_parts(0, 12239)) + // Measured: `690` + // Estimated: `16007` + // Minimum execution time: 56_476_000 picoseconds. + Weight::from_parts(57_072_000, 0) + .saturating_add(Weight::from_parts(0, 16007)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -112,18 +112,18 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `191 + k * (221 ±0)` - // Estimated: `196 + k * (221 ±0)` - // Minimum execution time: 49_068 nanoseconds. - Weight::from_parts(55_770_000, 0) - .saturating_add(Weight::from_parts(0, 196)) - // Standard Error: 13_586 - .saturating_add(Weight::from_parts(24_044_082, 0).saturating_mul(k.into())) + // Measured: `127 + k * (189 ±0)` + // Estimated: `134 + k * (189 ±0)` + // Minimum execution time: 41_098_000 picoseconds. + Weight::from_parts(54_551_000, 0) + .saturating_add(Weight::from_parts(0, 134)) + // Standard Error: 14_010 + .saturating_add(Weight::from_parts(22_470_363, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into()))) - .saturating_add(Weight::from_parts(0, 221).saturating_mul(k.into())) + .saturating_add(Weight::from_parts(0, 189).saturating_mul(k.into())) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -131,11 +131,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn dissolve() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `5517` - // Minimum execution time: 31_003 nanoseconds. - Weight::from_parts(31_638_000, 0) - .saturating_add(Weight::from_parts(0, 5517)) + // Measured: `375` + // Estimated: `7433` + // Minimum execution time: 29_931_000 picoseconds. + Weight::from_parts(31_008_000, 0) + .saturating_add(Weight::from_parts(0, 7433)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -143,11 +143,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) fn edit() -> Weight { // Proof Size summary in bytes: - // Measured: `267` - // Estimated: `2742` - // Minimum execution time: 17_207 nanoseconds. - Weight::from_parts(17_984_000, 0) - .saturating_add(Weight::from_parts(0, 2742)) + // Measured: `235` + // Estimated: `3700` + // Minimum execution time: 18_038_000 picoseconds. + Weight::from_parts(18_767_000, 0) + .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,11 +157,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn add_memo() -> Weight { // Proof Size summary in bytes: - // Measured: `444` - // Estimated: `5838` - // Minimum execution time: 24_934 nanoseconds. - Weight::from_parts(25_688_000, 0) - .saturating_add(Weight::from_parts(0, 5838)) + // Measured: `412` + // Estimated: `7754` + // Minimum execution time: 24_982_000 picoseconds. + Weight::from_parts(25_704_000, 0) + .saturating_add(Weight::from_parts(0, 7754)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -171,11 +171,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured) fn poke() -> Weight { // Proof Size summary in bytes: - // Measured: `271` - // Estimated: `3512` - // Minimum execution time: 17_182 nanoseconds. - Weight::from_parts(17_434_000, 0) - .saturating_add(Weight::from_parts(0, 3512)) + // Measured: `239` + // Estimated: `5428` + // Minimum execution time: 17_226_000 picoseconds. + Weight::from_parts(17_899_000, 0) + .saturating_add(Weight::from_parts(0, 5428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -202,17 +202,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `157 + n * (420 ±0)` - // Estimated: `7142 + n * (14663 ±0)` - // Minimum execution time: 112_026 nanoseconds. - Weight::from_parts(113_282_000, 0) - .saturating_add(Weight::from_parts(0, 7142)) - // Standard Error: 52_566 - .saturating_add(Weight::from_parts(49_787_483, 0).saturating_mul(n.into())) + // Measured: `130 + n * (356 ±0)` + // Estimated: `16917 + n * (14348 ±0)` + // Minimum execution time: 108_411_000 picoseconds. + Weight::from_parts(109_758_000, 0) + .saturating_add(Weight::from_parts(0, 16917)) + // Standard Error: 51_868 + .saturating_add(Weight::from_parts(48_608_412, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 14663).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 14348).saturating_mul(n.into())) } } diff --git a/runtime/kusama/src/weights/runtime_common_paras_registrar.rs b/runtime/kusama/src/weights/runtime_common_paras_registrar.rs index 68de0a066b55..19ee348b8468 100644 --- a/runtime/kusama/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/kusama/src/weights/runtime_common_paras_registrar.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -54,10 +54,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn reserve() -> Weight { // Proof Size summary in bytes: // Measured: `70` - // Estimated: `5655` - // Minimum execution time: 24_974 nanoseconds. - Weight::from_parts(25_915_000, 0) - .saturating_add(Weight::from_parts(0, 5655)) + // Estimated: `8625` + // Minimum execution time: 24_916_000 picoseconds. + Weight::from_parts(25_518_000, 0) + .saturating_add(Weight::from_parts(0, 8625)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,11 +81,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `302` - // Estimated: `18063` - // Minimum execution time: 7_300_136 nanoseconds. - Weight::from_parts(7_429_498_000, 0) - .saturating_add(Weight::from_parts(0, 18063)) + // Measured: `270` + // Estimated: `24705` + // Minimum execution time: 6_318_888_000 picoseconds. + Weight::from_parts(6_402_988_000, 0) + .saturating_add(Weight::from_parts(0, 24705)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -110,10 +110,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn force_register() -> Weight { // Proof Size summary in bytes: // Measured: `160` - // Estimated: `16785` - // Minimum execution time: 7_300_715 nanoseconds. - Weight::from_parts(7_412_926_000, 0) - .saturating_add(Weight::from_parts(0, 16785)) + // Estimated: `23715` + // Minimum execution time: 6_283_567_000 picoseconds. + Weight::from_parts(6_439_879_000, 0) + .saturating_add(Weight::from_parts(0, 23715)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -131,11 +131,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Registrar PendingSwap (max_values: None, max_size: None, mode: Measured) fn deregister() -> Weight { // Proof Size summary in bytes: - // Measured: `467` - // Estimated: `13197` - // Minimum execution time: 39_974 nanoseconds. - Weight::from_parts(40_522_000, 0) - .saturating_add(Weight::from_parts(0, 13197)) + // Measured: `435` + // Estimated: `17955` + // Minimum execution time: 40_641_000 picoseconds. + Weight::from_parts(41_347_000, 0) + .saturating_add(Weight::from_parts(0, 17955)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -155,11 +155,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) fn swap() -> Weight { // Proof Size summary in bytes: - // Measured: `707` - // Estimated: `27719` - // Minimum execution time: 47_771 nanoseconds. - Weight::from_parts(48_623_000, 0) - .saturating_add(Weight::from_parts(0, 27719)) + // Measured: `676` + // Estimated: `34432` + // Minimum execution time: 46_671_000 picoseconds. + Weight::from_parts(47_756_000, 0) + .saturating_add(Weight::from_parts(0, 34432)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -187,12 +187,12 @@ impl runtime_common::paras_registrar::WeightInfo for We fn schedule_code_upgrade(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `16615` - // Minimum execution time: 38_081 nanoseconds. - Weight::from_parts(38_483_000, 0) - .saturating_add(Weight::from_parts(0, 16615)) + // Estimated: `25525` + // Minimum execution time: 38_256_000 picoseconds. + Weight::from_parts(38_387_000, 0) + .saturating_add(Weight::from_parts(0, 25525)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_291, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_973, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -203,11 +203,11 @@ impl runtime_common::paras_registrar::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_520 nanoseconds. - Weight::from_parts(8_722_000, 0) + // Minimum execution time: 9_081_000 picoseconds. + Weight::from_parts(9_232_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(872, 0).saturating_mul(b.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(870, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/kusama/src/weights/runtime_common_slots.rs b/runtime/kusama/src/weights/runtime_common_slots.rs index 46eb7d4a804e..99670e0d6d9c 100644 --- a/runtime/kusama/src/weights/runtime_common_slots.rs +++ b/runtime/kusama/src/weights/runtime_common_slots.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -51,11 +51,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `252` - // Estimated: `5330` - // Minimum execution time: 26_022 nanoseconds. - Weight::from_parts(26_365_000, 0) - .saturating_add(Weight::from_parts(0, 5330)) + // Measured: `220` + // Estimated: `7278` + // Minimum execution time: 25_623_000 picoseconds. + Weight::from_parts(26_120_000, 0) + .saturating_add(Weight::from_parts(0, 7278)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,23 +75,23 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `41 + c * (47 ±0) + t * (370 ±0)` - // Estimated: `269050 + t * (7960 ±1) + c * (1073 ±0)` - // Minimum execution time: 646_989 nanoseconds. - Weight::from_parts(658_001_000, 0) - .saturating_add(Weight::from_parts(0, 269050)) - // Standard Error: 84_792 - .saturating_add(Weight::from_parts(2_638_558, 0).saturating_mul(c.into())) - // Standard Error: 84_792 - .saturating_add(Weight::from_parts(13_930_138, 0).saturating_mul(t.into())) + // Measured: `9 + c * (47 ±0) + t * (308 ±0)` + // Estimated: `7999 + c * (2781 ±0) + t * (9308 ±0)` + // Minimum execution time: 630_879_000 picoseconds. + Weight::from_parts(638_193_000, 0) + .saturating_add(Weight::from_parts(0, 7999)) + // Standard Error: 81_763 + .saturating_add(Weight::from_parts(2_702_321, 0).saturating_mul(c.into())) + // Standard Error: 81_763 + .saturating_add(Weight::from_parts(11_634_633, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 7960).saturating_mul(t.into())) - .saturating_add(Weight::from_parts(0, 1073).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2781).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 9308).saturating_mul(t.into())) } /// Storage: Slots Leases (r:1 w:1) /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) @@ -99,11 +99,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `2980` - // Estimated: `26279` - // Minimum execution time: 97_608 nanoseconds. - Weight::from_parts(98_942_000, 0) - .saturating_add(Weight::from_parts(0, 26279)) + // Measured: `2692` + // Estimated: `27971` + // Minimum execution time: 96_214_000 picoseconds. + Weight::from_parts(97_599_000, 0) + .saturating_add(Weight::from_parts(0, 27971)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -119,11 +119,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `644` - // Estimated: `13615` - // Minimum execution time: 29_440 nanoseconds. - Weight::from_parts(30_225_000, 0) - .saturating_add(Weight::from_parts(0, 13615)) + // Measured: `580` + // Estimated: `18245` + // Minimum execution time: 29_910_000 picoseconds. + Weight::from_parts(30_542_000, 0) + .saturating_add(Weight::from_parts(0, 18245)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_configuration.rs b/runtime/kusama/src/weights/runtime_parachains_configuration.rs index d4f160f04df5..8b2aa12d2d20 100644 --- a/runtime/kusama/src/weights/runtime_parachains_configuration.rs +++ b/runtime/kusama/src/weights/runtime_parachains_configuration.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -54,10 +54,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `1755` - // Minimum execution time: 8_866 nanoseconds. - Weight::from_parts(9_215_000, 0) - .saturating_add(Weight::from_parts(0, 1755)) + // Estimated: `4725` + // Minimum execution time: 8_970_000 picoseconds. + Weight::from_parts(9_143_000, 0) + .saturating_add(Weight::from_parts(0, 4725)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -70,10 +70,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `1755` - // Minimum execution time: 8_694 nanoseconds. - Weight::from_parts(8_901_000, 0) - .saturating_add(Weight::from_parts(0, 1755)) + // Estimated: `4725` + // Minimum execution time: 9_192_000 picoseconds. + Weight::from_parts(9_475_000, 0) + .saturating_add(Weight::from_parts(0, 4725)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -86,10 +86,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_option_u32() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `1755` - // Minimum execution time: 8_853 nanoseconds. - Weight::from_parts(9_206_000, 0) - .saturating_add(Weight::from_parts(0, 1755)) + // Estimated: `4725` + // Minimum execution time: 9_259_000 picoseconds. + Weight::from_parts(9_499_000, 0) + .saturating_add(Weight::from_parts(0, 4725)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -102,10 +102,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `1755` - // Minimum execution time: 9_064 nanoseconds. - Weight::from_parts(9_352_000, 0) - .saturating_add(Weight::from_parts(0, 1755)) + // Estimated: `4725` + // Minimum execution time: 9_323_000 picoseconds. + Weight::from_parts(9_697_000, 0) + .saturating_add(Weight::from_parts(0, 4725)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -115,7 +115,7 @@ impl runtime_parachains::configuration::WeightInfo for // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000_000 nanoseconds. + // Minimum execution time: 2_000_000_000_000 picoseconds. Weight::from_parts(2_000_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -128,10 +128,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_balance() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `1755` - // Minimum execution time: 8_889 nanoseconds. - Weight::from_parts(9_119_000, 0) - .saturating_add(Weight::from_parts(0, 1755)) + // Estimated: `4725` + // Minimum execution time: 9_270_000 picoseconds. + Weight::from_parts(9_527_000, 0) + .saturating_add(Weight::from_parts(0, 4725)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_disputes.rs b/runtime/kusama/src/weights/runtime_parachains_disputes.rs index b1150567d61a..a0b34263b63b 100644 --- a/runtime/kusama/src/weights/runtime_parachains_disputes.rs +++ b/runtime/kusama/src/weights/runtime_parachains_disputes.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -51,8 +51,8 @@ impl runtime_parachains::disputes::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_638 nanoseconds. - Weight::from_parts(2_772_000, 0) + // Minimum execution time: 2_908_000 picoseconds. + Weight::from_parts(3_045_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs index e8c5831d3643..3d47da0d913e 100644 --- a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -64,10 +64,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_init_open_channel() -> Weight { // Proof Size summary in bytes: // Measured: `350` - // Estimated: `23095` - // Minimum execution time: 36_383 nanoseconds. - Weight::from_parts(36_895_000, 0) - .saturating_add(Weight::from_parts(0, 23095)) + // Estimated: `31015` + // Minimum execution time: 36_600_000 picoseconds. + Weight::from_parts(37_059_000, 0) + .saturating_add(Weight::from_parts(0, 31015)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -85,11 +85,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_accept_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `614` - // Estimated: `18534` - // Minimum execution time: 40_186 nanoseconds. - Weight::from_parts(40_737_000, 0) - .saturating_add(Weight::from_parts(0, 18534)) + // Measured: `582` + // Estimated: `24282` + // Minimum execution time: 39_338_000 picoseconds. + Weight::from_parts(39_683_000, 0) + .saturating_add(Weight::from_parts(0, 24282)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -105,11 +105,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_close_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `485` - // Estimated: `12820` - // Minimum execution time: 32_975 nanoseconds. - Weight::from_parts(33_408_000, 0) - .saturating_add(Weight::from_parts(0, 12820)) + // Measured: `453` + // Estimated: `17610` + // Minimum execution time: 33_003_000 picoseconds. + Weight::from_parts(33_497_000, 0) + .saturating_add(Weight::from_parts(0, 17610)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -129,23 +129,23 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `254 + i * (131 ±0) + e * (131 ±0)` - // Estimated: `6354 + i * (5742 ±0) + e * (5736 ±0)` - // Minimum execution time: 1_091_994 nanoseconds. - Weight::from_parts(1_099_440_000, 0) - .saturating_add(Weight::from_parts(0, 6354)) - // Standard Error: 97_686 - .saturating_add(Weight::from_parts(3_182_463, 0).saturating_mul(i.into())) - // Standard Error: 97_686 - .saturating_add(Weight::from_parts(3_246_407, 0).saturating_mul(e.into())) + // Measured: `197 + i * (100 ±0) + e * (100 ±0)` + // Estimated: `9084 + i * (5550 ±0) + e * (5550 ±0)` + // Minimum execution time: 1_069_168_000 picoseconds. + Weight::from_parts(1_080_360_000, 0) + .saturating_add(Weight::from_parts(0, 9084)) + // Standard Error: 96_878 + .saturating_add(Weight::from_parts(3_125_436, 0).saturating_mul(i.into())) + // Standard Error: 96_878 + .saturating_add(Weight::from_parts(3_120_319, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5742).saturating_mul(i.into())) - .saturating_add(Weight::from_parts(0, 5736).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 5550).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(0, 5550).saturating_mul(e.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -166,18 +166,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `466 + c * (166 ±0)` - // Estimated: `4116 + c * (18661 ±0)` - // Minimum execution time: 6_712 nanoseconds. - Weight::from_parts(1_408_797, 0) - .saturating_add(Weight::from_parts(0, 4116)) - // Standard Error: 24_094 - .saturating_add(Weight::from_parts(19_186_351, 0).saturating_mul(c.into())) + // Measured: `425 + c * (136 ±0)` + // Estimated: `10753 + c * (18413 ±0)` + // Minimum execution time: 7_019_000 picoseconds. + Weight::from_parts(3_329_027, 0) + .saturating_add(Weight::from_parts(0, 10753)) + // Standard Error: 19_293 + .saturating_add(Weight::from_parts(18_922_500, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 18661).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 18413).saturating_mul(c.into())) } /// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -194,18 +194,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `307 + c * (155 ±0)` - // Estimated: `2232 + c * (8361 ±0)` - // Minimum execution time: 5_264 nanoseconds. - Weight::from_parts(1_997_547, 0) - .saturating_add(Weight::from_parts(0, 2232)) - // Standard Error: 14_409 - .saturating_add(Weight::from_parts(11_657_375, 0).saturating_mul(c.into())) + // Measured: `268 + c * (124 ±0)` + // Estimated: `5973 + c * (8175 ±0)` + // Minimum execution time: 5_563_000 picoseconds. + Weight::from_parts(3_789_883, 0) + .saturating_add(Weight::from_parts(0, 5973)) + // Standard Error: 14_257 + .saturating_add(Weight::from_parts(11_414_412, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 8361).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 8175).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -216,13 +216,13 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1022 + c * (13 ±0)` - // Estimated: `7911 + c * (45 ±0)` - // Minimum execution time: 20_462 nanoseconds. - Weight::from_parts(25_144_372, 0) - .saturating_add(Weight::from_parts(0, 7911)) - // Standard Error: 1_510 - .saturating_add(Weight::from_parts(83_458, 0).saturating_mul(c.into())) + // Measured: `959 + c * (13 ±0)` + // Estimated: `10704 + c * (45 ±0)` + // Minimum execution time: 20_994_000 picoseconds. + Weight::from_parts(25_773_807, 0) + .saturating_add(Weight::from_parts(0, 10704)) + // Standard Error: 1_554 + .saturating_add(Weight::from_parts(79_758, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(c.into())) @@ -234,18 +234,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn clean_open_channel_requests(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `217 + c * (94 ±0)` - // Estimated: `912 + c * (2664 ±0)` - // Minimum execution time: 4_436 nanoseconds. - Weight::from_parts(5_662_805, 0) - .saturating_add(Weight::from_parts(0, 912)) - // Standard Error: 3_022 - .saturating_add(Weight::from_parts(3_031_495, 0).saturating_mul(c.into())) + // Measured: `176 + c * (63 ±0)` + // Estimated: `2821 + c * (2602 ±0)` + // Minimum execution time: 4_414_000 picoseconds. + Weight::from_parts(4_215_377, 0) + .saturating_add(Weight::from_parts(0, 2821)) + // Standard Error: 3_931 + .saturating_add(Weight::from_parts(3_107_864, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2664).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2602).saturating_mul(c.into())) } /// Storage: Paras ParaLifecycles (r:2 w:0) /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) @@ -270,10 +270,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_open_hrmp_channel() -> Weight { // Proof Size summary in bytes: // Measured: `350` - // Estimated: `33695` - // Minimum execution time: 50_914 nanoseconds. - Weight::from_parts(51_428_000, 0) - .saturating_add(Weight::from_parts(0, 33695)) + // Estimated: `43595` + // Minimum execution time: 51_336_000 picoseconds. + Weight::from_parts(51_833_000, 0) + .saturating_add(Weight::from_parts(0, 43595)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_initializer.rs b/runtime/kusama/src/weights/runtime_parachains_initializer.rs index 1aa0f3a55242..c49364c816fc 100644 --- a/runtime/kusama/src/weights/runtime_parachains_initializer.rs +++ b/runtime/kusama/src/weights/runtime_parachains_initializer.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl runtime_parachains::initializer::WeightInfo for We /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `28 + d * (11 ±0)` - // Estimated: `519 + d * (11 ±0)` - // Minimum execution time: 3_560 nanoseconds. - Weight::from_parts(5_887_979, 0) - .saturating_add(Weight::from_parts(0, 519)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_319, 0).saturating_mul(d.into())) + // Measured: `0 + d * (11 ±0)` + // Estimated: `1480 + d * (11 ±0)` + // Minimum execution time: 3_910_000 picoseconds. + Weight::from_parts(6_817_637, 0) + .saturating_add(Weight::from_parts(0, 1480)) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_287, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 11).saturating_mul(d.into())) diff --git a/runtime/kusama/src/weights/runtime_parachains_paras.rs b/runtime/kusama/src/weights/runtime_parachains_paras.rs index 05cf4cbe1b03..48ee66b8f4f4 100644 --- a/runtime/kusama/src/weights/runtime_parachains_paras.rs +++ b/runtime/kusama/src/weights/runtime_parachains_paras.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -60,13 +60,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_set_current_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8341` - // Estimated: `57966` - // Minimum execution time: 31_317 nanoseconds. - Weight::from_parts(31_503_000, 0) - .saturating_add(Weight::from_parts(0, 57966)) + // Measured: `8309` + // Estimated: `61734` + // Minimum execution time: 31_689_000 picoseconds. + Weight::from_parts(32_304_000, 0) + .saturating_add(Weight::from_parts(0, 61734)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_279, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_953, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -77,8 +77,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_831 nanoseconds. - Weight::from_parts(8_002_000, 0) + // Minimum execution time: 8_257_000 picoseconds. + Weight::from_parts(8_433_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 .saturating_add(Weight::from_parts(868, 0).saturating_mul(s.into())) @@ -107,13 +107,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16526` - // Estimated: `179120` - // Minimum execution time: 55_648 nanoseconds. - Weight::from_parts(56_107_000, 0) - .saturating_add(Weight::from_parts(0, 179120)) + // Measured: `16462` + // Estimated: `186400` + // Minimum execution time: 56_247_000 picoseconds. + Weight::from_parts(56_549_000, 0) + .saturating_add(Weight::from_parts(0, 186400)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_296, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_984, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -127,12 +127,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `95` - // Estimated: `2760` - // Minimum execution time: 13_071 nanoseconds. - Weight::from_parts(13_190_000, 0) - .saturating_add(Weight::from_parts(0, 2760)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(878, 0).saturating_mul(s.into())) + // Estimated: `3750` + // Minimum execution time: 13_546_000 picoseconds. + Weight::from_parts(13_706_000, 0) + .saturating_add(Weight::from_parts(0, 3750)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(860, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -142,11 +142,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured) fn force_queue_action() -> Weight { // Proof Size summary in bytes: - // Measured: `4283` - // Estimated: `11536` - // Minimum execution time: 18_691 nanoseconds. - Weight::from_parts(19_280_000, 0) - .saturating_add(Weight::from_parts(0, 11536)) + // Measured: `4251` + // Estimated: `13452` + // Minimum execution time: 18_545_000 picoseconds. + Weight::from_parts(19_736_000, 0) + .saturating_add(Weight::from_parts(0, 13452)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -158,12 +158,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `5006` - // Minimum execution time: 7_511 nanoseconds. - Weight::from_parts(7_655_000, 0) - .saturating_add(Weight::from_parts(0, 5006)) + // Estimated: `6986` + // Minimum execution time: 7_917_000 picoseconds. + Weight::from_parts(8_117_000, 0) + .saturating_add(Weight::from_parts(0, 6986)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_287, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_970, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,10 +174,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn poke_unused_validation_code() -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `2531` - // Minimum execution time: 5_296 nanoseconds. - Weight::from_parts(5_509_000, 0) - .saturating_add(Weight::from_parts(0, 2531)) + // Estimated: `3521` + // Minimum execution time: 5_680_000 picoseconds. + Weight::from_parts(5_933_000, 0) + .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,11 +189,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement() -> Weight { // Proof Size summary in bytes: - // Measured: `26709` - // Estimated: `83592` - // Minimum execution time: 89_411 nanoseconds. - Weight::from_parts(91_895_000, 0) - .saturating_add(Weight::from_parts(0, 83592)) + // Measured: `26645` + // Estimated: `86370` + // Minimum execution time: 88_543_000 picoseconds. + Weight::from_parts(90_632_000, 0) + .saturating_add(Weight::from_parts(0, 86370)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -213,11 +213,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `27295` - // Estimated: `196015` - // Minimum execution time: 765_910 nanoseconds. - Weight::from_parts(773_712_000, 0) - .saturating_add(Weight::from_parts(0, 196015)) + // Measured: `27199` + // Estimated: `201283` + // Minimum execution time: 766_572_000 picoseconds. + Weight::from_parts(775_372_000, 0) + .saturating_add(Weight::from_parts(0, 201283)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(104)) } @@ -229,11 +229,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `27241` - // Estimated: `85188` - // Minimum execution time: 87_552 nanoseconds. - Weight::from_parts(88_965_000, 0) - .saturating_add(Weight::from_parts(0, 85188)) + // Measured: `27177` + // Estimated: `87966` + // Minimum execution time: 87_380_000 picoseconds. + Weight::from_parts(88_804_000, 0) + .saturating_add(Weight::from_parts(0, 87966)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -249,11 +249,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `26763` - // Estimated: `140250` - // Minimum execution time: 604_799 nanoseconds. - Weight::from_parts(610_863_000, 0) - .saturating_add(Weight::from_parts(0, 140250)) + // Measured: `26667` + // Estimated: `144720` + // Minimum execution time: 599_249_000 picoseconds. + Weight::from_parts(607_707_000, 0) + .saturating_add(Weight::from_parts(0, 144720)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -265,11 +265,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `26709` - // Estimated: `83592` - // Minimum execution time: 86_958 nanoseconds. - Weight::from_parts(88_167_000, 0) - .saturating_add(Weight::from_parts(0, 83592)) + // Measured: `26645` + // Estimated: `86370` + // Minimum execution time: 87_013_000 picoseconds. + Weight::from_parts(88_543_000, 0) + .saturating_add(Weight::from_parts(0, 86370)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs b/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs index 3baa22020db5..c4742da4e5cb 100644 --- a/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -110,16 +110,16 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `51031` - // Estimated: `1464637 + v * (16 ±0)` - // Minimum execution time: 785_876 nanoseconds. - Weight::from_parts(327_456_238, 0) - .saturating_add(Weight::from_parts(0, 1464637)) - // Standard Error: 29_464 - .saturating_add(Weight::from_parts(48_608_353, 0).saturating_mul(v.into())) + // Measured: `50748` + // Estimated: `1483464 + v * (23 ±0)` + // Minimum execution time: 769_729_000 picoseconds. + Weight::from_parts(297_815_591, 0) + .saturating_add(Weight::from_parts(0, 1483464)) + // Standard Error: 29_486 + .saturating_add(Weight::from_parts(48_796_195, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(28)) .saturating_add(T::DbWeight::get().writes(16)) - .saturating_add(Weight::from_parts(0, 16).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 23).saturating_mul(v.into())) } /// Storage: ParaInherent Included (r:1 w:1) /// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured) @@ -183,11 +183,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured) fn enter_bitfields() -> Weight { // Proof Size summary in bytes: - // Measured: `42834` - // Estimated: `1187286` - // Minimum execution time: 339_953 nanoseconds. - Weight::from_parts(352_857_000, 0) - .saturating_add(Weight::from_parts(0, 1187286)) + // Measured: `42582` + // Estimated: `1205232` + // Minimum execution time: 328_321_000 picoseconds. + Weight::from_parts(342_358_000, 0) + .saturating_add(Weight::from_parts(0, 1205232)) .saturating_add(T::DbWeight::get().reads(26)) .saturating_add(T::DbWeight::get().writes(17)) } @@ -256,13 +256,13 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `42865` - // Estimated: `1238413` - // Minimum execution time: 5_649_970 nanoseconds. - Weight::from_parts(916_094_354, 0) - .saturating_add(Weight::from_parts(0, 1238413)) - // Standard Error: 48_367 - .saturating_add(Weight::from_parts(47_832_056, 0).saturating_mul(v.into())) + // Measured: `42613` + // Estimated: `1258087` + // Minimum execution time: 5_578_743_000 picoseconds. + Weight::from_parts(810_980_132, 0) + .saturating_add(Weight::from_parts(0, 1258087)) + // Standard Error: 53_608 + .saturating_add(Weight::from_parts(48_048_855, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(29)) .saturating_add(T::DbWeight::get().writes(16)) } @@ -334,11 +334,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured) fn enter_backed_candidate_code_upgrade() -> Weight { // Proof Size summary in bytes: - // Measured: `42892` - // Estimated: `1329903` - // Minimum execution time: 37_725_815 nanoseconds. - Weight::from_parts(38_030_579_000, 0) - .saturating_add(Weight::from_parts(0, 1329903)) + // Measured: `42640` + // Estimated: `1351053` + // Minimum execution time: 32_728_672_000 picoseconds. + Weight::from_parts(32_934_819_000, 0) + .saturating_add(Weight::from_parts(0, 1351053)) .saturating_add(T::DbWeight::get().reads(31)) .saturating_add(T::DbWeight::get().writes(16)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_ump.rs b/runtime/kusama/src/weights/runtime_parachains_ump.rs index 8be590353fcd..fe9baf7e3a43 100644 --- a/runtime/kusama/src/weights/runtime_parachains_ump.rs +++ b/runtime/kusama/src/weights/runtime_parachains_ump.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 @@ -50,11 +50,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_075 nanoseconds. - Weight::from_parts(6_138_000, 0) + // Minimum execution time: 5_924_000 picoseconds. + Weight::from_parts(6_060_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 8 - .saturating_add(Weight::from_parts(1_723, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_396, 0).saturating_mul(s.into())) } /// Storage: Ump NeedsDispatch (r:1 w:1) /// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured) @@ -66,11 +66,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo /// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured) fn clean_ump_after_outgoing() -> Weight { // Proof Size summary in bytes: - // Measured: `272` - // Estimated: `2078` - // Minimum execution time: 9_509 nanoseconds. - Weight::from_parts(9_782_000, 0) - .saturating_add(Weight::from_parts(0, 2078)) + // Measured: `240` + // Estimated: `3930` + // Minimum execution time: 9_662_000 picoseconds. + Weight::from_parts(9_886_000, 0) + .saturating_add(Weight::from_parts(0, 3930)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -81,10 +81,10 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn service_overweight() -> Weight { // Proof Size summary in bytes: // Measured: `257` - // Estimated: `3231` - // Minimum execution time: 23_623 nanoseconds. - Weight::from_parts(23_932_000, 0) - .saturating_add(Weight::from_parts(0, 3231)) + // Estimated: `5211` + // Minimum execution time: 23_481_000 picoseconds. + Weight::from_parts(23_896_000, 0) + .saturating_add(Weight::from_parts(0, 5211)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/polkadot/constants/src/weights/block_weights.rs b/runtime/polkadot/constants/src/weights/block_weights.rs index d23d06bae66a..e7cfbc093b31 100644 --- a/runtime/polkadot/constants/src/weights/block_weights.rs +++ b/runtime/polkadot/constants/src/weights/block_weights.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28 (Y/M/D) +//! DATE: 2023-03-16 (Y/M/D) //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` @@ -42,17 +42,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 8_039_822, 8_316_101 - /// Average: 8_148_664 - /// Median: 8_150_951 - /// Std-Dev: 60376.49 + /// Min, Max: 5_934_436, 6_171_262 + /// Average: 6_010_063 + /// Median: 6_003_352 + /// Std-Dev: 49111.71 /// /// Percentiles nanoseconds: - /// 99th: 8_308_143 - /// 95th: 8_253_981 - /// 75th: 8_177_759 + /// 99th: 6_158_194 + /// 95th: 6_093_234 + /// 75th: 6_031_680 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(8_148_664), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_010_063), 0); } #[cfg(test)] diff --git a/runtime/polkadot/constants/src/weights/extrinsic_weights.rs b/runtime/polkadot/constants/src/weights/extrinsic_weights.rs index 9c385221053d..a9b401433e16 100644 --- a/runtime/polkadot/constants/src/weights/extrinsic_weights.rs +++ b/runtime/polkadot/constants/src/weights/extrinsic_weights.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28 (Y/M/D) +//! DATE: 2023-03-16 (Y/M/D) //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` @@ -42,17 +42,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 106_370, 108_817 - /// Average: 107_284 - /// Median: 107_211 - /// Std-Dev: 420.86 + /// Min, Max: 103_764, 105_485 + /// Average: 104_371 + /// Median: 104_324 + /// Std-Dev: 336.27 /// /// Percentiles nanoseconds: - /// 99th: 108_588 - /// 95th: 108_172 - /// 75th: 107_386 + /// 99th: 105_475 + /// 95th: 105_028 + /// 75th: 104_509 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(107_284), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(104_371), 0); } #[cfg(test)] diff --git a/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs b/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs index 877f8a56353f..36907c2f5131 100644 --- a/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,8 +50,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 155 nanoseconds. - Weight::from_parts(187_651, 0) + // Minimum execution time: 158_000 picoseconds. + Weight::from_parts(190_632, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -59,8 +59,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 152 nanoseconds. - Weight::from_parts(184_344, 0) + // Minimum execution time: 149_000 picoseconds. + Weight::from_parts(183_147, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -68,8 +68,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 160 nanoseconds. - Weight::from_parts(192_980, 0) + // Minimum execution time: 155_000 picoseconds. + Weight::from_parts(184_117, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -77,16 +77,16 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 145 nanoseconds. - Weight::from_parts(181_370, 0) + // Minimum execution time: 147_000 picoseconds. + Weight::from_parts(184_827, 0) .saturating_add(Weight::from_parts(0, 0)) } fn hashing() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 23_129_025 nanoseconds. - Weight::from_parts(23_238_640_000, 0) + // Minimum execution time: 19_094_522_000 picoseconds. + Weight::from_parts(19_201_969_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 100]`. @@ -94,10 +94,10 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 167 nanoseconds. - Weight::from_parts(191_000, 0) + // Minimum execution time: 183_000 picoseconds. + Weight::from_parts(208_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 18_668 - .saturating_add(Weight::from_parts(47_265_180, 0).saturating_mul(i.into())) + // Standard Error: 15_974 + .saturating_add(Weight::from_parts(47_488_580, 0).saturating_mul(i.into())) } } diff --git a/runtime/polkadot/src/weights/frame_election_provider_support.rs b/runtime/polkadot/src/weights/frame_election_provider_support.rs index e8a811634525..7b1fff037087 100644 --- a/runtime/polkadot/src/weights/frame_election_provider_support.rs +++ b/runtime/polkadot/src/weights/frame_election_provider_support.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -52,13 +52,13 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_484_074 nanoseconds. - Weight::from_parts(6_556_949_000, 0) + // Minimum execution time: 6_461_495_000 picoseconds. + Weight::from_parts(6_559_532_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 142_632 - .saturating_add(Weight::from_parts(5_989_659, 0).saturating_mul(v.into())) - // Standard Error: 14_582_196 - .saturating_add(Weight::from_parts(1_553_194_007, 0).saturating_mul(d.into())) + // Standard Error: 142_541 + .saturating_add(Weight::from_parts(6_026_166, 0).saturating_mul(v.into())) + // Standard Error: 14_572_924 + .saturating_add(Weight::from_parts(1_559_650_434, 0).saturating_mul(d.into())) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -67,12 +67,12 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_046_356 nanoseconds. - Weight::from_parts(5_095_703_000, 0) + // Minimum execution time: 4_996_008_000 picoseconds. + Weight::from_parts(5_104_368_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 153_538 - .saturating_add(Weight::from_parts(5_889_022, 0).saturating_mul(v.into())) - // Standard Error: 15_697_272 - .saturating_add(Weight::from_parts(1_818_022_290, 0).saturating_mul(d.into())) + // Standard Error: 152_240 + .saturating_add(Weight::from_parts(5_826_469, 0).saturating_mul(v.into())) + // Standard Error: 15_564_500 + .saturating_add(Weight::from_parts(1_803_039_187, 0).saturating_mul(d.into())) } } diff --git a/runtime/polkadot/src/weights/frame_system.rs b/runtime/polkadot/src/weights/frame_system.rs index 833cad7608f7..4468743c437b 100644 --- a/runtime/polkadot/src/weights/frame_system.rs +++ b/runtime/polkadot/src/weights/frame_system.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,22 +50,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_795 nanoseconds. - Weight::from_parts(1_909_000, 0) + // Minimum execution time: 2_225_000 picoseconds. + Weight::from_parts(2_343_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(416, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(370, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_339 nanoseconds. - Weight::from_parts(7_457_000, 0) + // Minimum execution time: 7_417_000 picoseconds. + Weight::from_parts(7_525_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_774, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_411, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -74,10 +74,10 @@ impl frame_system::WeightInfo for WeightInfo { fn set_heap_pages() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `495` - // Minimum execution time: 3_784 nanoseconds. - Weight::from_parts(3_964_000, 0) - .saturating_add(Weight::from_parts(0, 495)) + // Estimated: `1485` + // Minimum execution time: 4_238_000 picoseconds. + Weight::from_parts(4_478_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,11 +88,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_750 nanoseconds. - Weight::from_parts(1_774_000, 0) + // Minimum execution time: 2_260_000 picoseconds. + Weight::from_parts(2_344_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_902 - .saturating_add(Weight::from_parts(669_814, 0).saturating_mul(i.into())) + // Standard Error: 2_023 + .saturating_add(Weight::from_parts(676_025, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -102,11 +102,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_825 nanoseconds. - Weight::from_parts(1_870_000, 0) + // Minimum execution time: 2_290_000 picoseconds. + Weight::from_parts(2_373_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 781 - .saturating_add(Weight::from_parts(487_859, 0).saturating_mul(i.into())) + // Standard Error: 810 + .saturating_add(Weight::from_parts(483_622, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -116,11 +116,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `131 + p * (69 ±0)` // Estimated: `117 + p * (70 ±0)` - // Minimum execution time: 3_690 nanoseconds. - Weight::from_parts(3_781_000, 0) + // Minimum execution time: 4_077_000 picoseconds. + Weight::from_parts(4_180_000, 0) .saturating_add(Weight::from_parts(0, 117)) - // Standard Error: 1_112 - .saturating_add(Weight::from_parts(1_004_411, 0).saturating_mul(p.into())) + // Standard Error: 1_286 + .saturating_add(Weight::from_parts(1_029_769, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/polkadot/src/weights/pallet_bags_list.rs b/runtime/polkadot/src/weights/pallet_bags_list.rs index 2c705f9da149..d158aded4a1d 100644 --- a/runtime/polkadot/src/weights/pallet_bags_list.rs +++ b/runtime/polkadot/src/weights/pallet_bags_list.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl pallet_bags_list::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn rebag_non_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `1814` - // Estimated: `19186` - // Minimum execution time: 62_489 nanoseconds. - Weight::from_parts(63_129_000, 0) - .saturating_add(Weight::from_parts(0, 19186)) + // Measured: `1622` + // Estimated: `23146` + // Minimum execution time: 60_552_000 picoseconds. + Weight::from_parts(61_264_000, 0) + .saturating_add(Weight::from_parts(0, 23146)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -73,11 +73,11 @@ impl pallet_bags_list::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn rebag_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `1708` - // Estimated: `19114` - // Minimum execution time: 59_148 nanoseconds. - Weight::from_parts(60_804_000, 0) - .saturating_add(Weight::from_parts(0, 19114)) + // Measured: `1516` + // Estimated: `23074` + // Minimum execution time: 58_936_000 picoseconds. + Weight::from_parts(59_923_000, 0) + .saturating_add(Weight::from_parts(0, 23074)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -93,11 +93,11 @@ impl pallet_bags_list::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn put_in_front_of() -> Weight { // Proof Size summary in bytes: - // Measured: `2051` - // Estimated: `25798` - // Minimum execution time: 65_861 nanoseconds. - Weight::from_parts(66_504_000, 0) - .saturating_add(Weight::from_parts(0, 25798)) + // Measured: `1827` + // Estimated: `30748` + // Minimum execution time: 65_307_000 picoseconds. + Weight::from_parts(66_157_000, 0) + .saturating_add(Weight::from_parts(0, 30748)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/polkadot/src/weights/pallet_balances.rs b/runtime/polkadot/src/weights/pallet_balances.rs index a784567aad68..7b4d22eb0da4 100644 --- a/runtime/polkadot/src/weights/pallet_balances.rs +++ b/runtime/polkadot/src/weights/pallet_balances.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -49,11 +49,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1822` - // Estimated: `2603` - // Minimum execution time: 50_301 nanoseconds. - Weight::from_parts(50_887_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 34_794_000 picoseconds. + Weight::from_parts(35_502_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -61,11 +61,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `1639` - // Estimated: `2603` - // Minimum execution time: 38_604 nanoseconds. - Weight::from_parts(39_223_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 25_963_000 picoseconds. + Weight::from_parts(26_389_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -73,11 +73,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `1856` - // Estimated: `2603` - // Minimum execution time: 27_662 nanoseconds. - Weight::from_parts(28_376_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 17_005_000 picoseconds. + Weight::from_parts(17_328_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -85,11 +85,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `1856` - // Estimated: `2603` - // Minimum execution time: 31_553 nanoseconds. - Weight::from_parts(32_254_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 19_965_000 picoseconds. + Weight::from_parts(20_298_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -97,11 +97,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1818` - // Estimated: `5206` - // Minimum execution time: 51_621 nanoseconds. - Weight::from_parts(52_169_000, 0) - .saturating_add(Weight::from_parts(0, 5206)) + // Measured: `103` + // Estimated: `6196` + // Minimum execution time: 37_765_000 picoseconds. + Weight::from_parts(38_304_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -109,11 +109,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `1639` - // Estimated: `2603` - // Minimum execution time: 44_970 nanoseconds. - Weight::from_parts(45_504_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 32_096_000 picoseconds. + Weight::from_parts(32_499_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -121,11 +121,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `1673` - // Estimated: `2603` - // Minimum execution time: 24_641 nanoseconds. - Weight::from_parts(26_464_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 16_592_000 picoseconds. + Weight::from_parts(16_882_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_bounties.rs b/runtime/polkadot/src/weights/pallet_bounties.rs index 6fdc177b0f8d..367038fee79d 100644 --- a/runtime/polkadot/src/weights/pallet_bounties.rs +++ b/runtime/polkadot/src/weights/pallet_bounties.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -56,13 +56,13 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// The range of component `d` is `[0, 16384]`. fn propose_bounty(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `175` - // Estimated: `3102` - // Minimum execution time: 25_384 nanoseconds. - Weight::from_parts(26_855_698, 0) - .saturating_add(Weight::from_parts(0, 3102)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(759, 0).saturating_mul(d.into())) + // Measured: `143` + // Estimated: `5082` + // Minimum execution time: 25_262_000 picoseconds. + Weight::from_parts(26_509_529, 0) + .saturating_add(Weight::from_parts(0, 5082)) + // Standard Error: 9 + .saturating_add(Weight::from_parts(742, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -72,11 +72,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) fn approve_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `267` - // Estimated: `3549` - // Minimum execution time: 12_031 nanoseconds. - Weight::from_parts(12_313_000, 0) - .saturating_add(Weight::from_parts(0, 3549)) + // Measured: `235` + // Estimated: `5529` + // Minimum execution time: 12_338_000 picoseconds. + Weight::from_parts(12_658_000, 0) + .saturating_add(Weight::from_parts(0, 5529)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -84,11 +84,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn propose_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `287` - // Estimated: `2652` - // Minimum execution time: 10_431 nanoseconds. - Weight::from_parts(10_741_000, 0) - .saturating_add(Weight::from_parts(0, 2652)) + // Measured: `255` + // Estimated: `3642` + // Minimum execution time: 10_929_000 picoseconds. + Weight::from_parts(11_084_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -98,11 +98,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn unassign_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `495` - // Estimated: `5255` - // Minimum execution time: 35_648 nanoseconds. - Weight::from_parts(36_567_000, 0) - .saturating_add(Weight::from_parts(0, 5255)) + // Measured: `431` + // Estimated: `7235` + // Minimum execution time: 34_597_000 picoseconds. + Weight::from_parts(35_211_000, 0) + .saturating_add(Weight::from_parts(0, 7235)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -112,11 +112,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn accept_curator() -> Weight { // Proof Size summary in bytes: - // Measured: `491` - // Estimated: `5255` - // Minimum execution time: 23_997 nanoseconds. - Weight::from_parts(24_334_000, 0) - .saturating_add(Weight::from_parts(0, 5255)) + // Measured: `427` + // Estimated: `7235` + // Minimum execution time: 23_681_000 picoseconds. + Weight::from_parts(23_957_000, 0) + .saturating_add(Weight::from_parts(0, 7235)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -126,11 +126,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen) fn award_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `5143` - // Minimum execution time: 20_452 nanoseconds. - Weight::from_parts(20_827_000, 0) - .saturating_add(Weight::from_parts(0, 5143)) + // Measured: `405` + // Estimated: `7123` + // Minimum execution time: 20_088_000 picoseconds. + Weight::from_parts(20_361_000, 0) + .saturating_add(Weight::from_parts(0, 7123)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,11 +144,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn claim_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `865` - // Estimated: `12964` - // Minimum execution time: 76_289 nanoseconds. - Weight::from_parts(77_242_000, 0) - .saturating_add(Weight::from_parts(0, 12964)) + // Measured: `769` + // Estimated: `15934` + // Minimum execution time: 73_246_000 picoseconds. + Weight::from_parts(73_967_000, 0) + .saturating_add(Weight::from_parts(0, 15934)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -162,11 +162,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn close_bounty_proposed() -> Weight { // Proof Size summary in bytes: - // Measured: `513` - // Estimated: `7746` - // Minimum execution time: 42_076 nanoseconds. - Weight::from_parts(42_491_000, 0) - .saturating_add(Weight::from_parts(0, 7746)) + // Measured: `449` + // Estimated: `10716` + // Minimum execution time: 40_039_000 picoseconds. + Weight::from_parts(40_570_000, 0) + .saturating_add(Weight::from_parts(0, 10716)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -180,11 +180,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn close_bounty_active() -> Weight { // Proof Size summary in bytes: - // Measured: `781` - // Estimated: `10349` - // Minimum execution time: 51_981 nanoseconds. - Weight::from_parts(52_413_000, 0) - .saturating_add(Weight::from_parts(0, 10349)) + // Measured: `685` + // Estimated: `13319` + // Minimum execution time: 50_308_000 picoseconds. + Weight::from_parts(50_840_000, 0) + .saturating_add(Weight::from_parts(0, 13319)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -192,11 +192,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen) fn extend_bounty_expiry() -> Weight { // Proof Size summary in bytes: - // Measured: `323` - // Estimated: `2652` - // Minimum execution time: 15_555 nanoseconds. - Weight::from_parts(15_946_000, 0) - .saturating_add(Weight::from_parts(0, 2652)) + // Measured: `291` + // Estimated: `3642` + // Minimum execution time: 16_032_000 picoseconds. + Weight::from_parts(16_338_000, 0) + .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -209,13 +209,13 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 100]`. fn spend_funds(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + b * (360 ±0)` - // Estimated: `897 + b * (7858 ±0)` - // Minimum execution time: 5_282 nanoseconds. - Weight::from_parts(1_893_501, 0) - .saturating_add(Weight::from_parts(0, 897)) - // Standard Error: 29_881 - .saturating_add(Weight::from_parts(34_151_121, 0).saturating_mul(b.into())) + // Measured: `0 + b * (297 ±0)` + // Estimated: `3867 + b * (7858 ±0)` + // Minimum execution time: 5_108_000 picoseconds. + Weight::from_parts(3_020_045, 0) + .saturating_add(Weight::from_parts(0, 3867)) + // Standard Error: 25_988 + .saturating_add(Weight::from_parts(32_112_772, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/polkadot/src/weights/pallet_child_bounties.rs b/runtime/polkadot/src/weights/pallet_child_bounties.rs index 263a8186adb6..0d3478f05e05 100644 --- a/runtime/polkadot/src/weights/pallet_child_bounties.rs +++ b/runtime/polkadot/src/weights/pallet_child_bounties.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -60,13 +60,13 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `609` - // Estimated: `10848` - // Minimum execution time: 52_822 nanoseconds. - Weight::from_parts(53_830_173, 0) - .saturating_add(Weight::from_parts(0, 10848)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(816, 0).saturating_mul(d.into())) + // Measured: `545` + // Estimated: `14808` + // Minimum execution time: 52_447_000 picoseconds. + Weight::from_parts(53_492_922, 0) + .saturating_add(Weight::from_parts(0, 14808)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(779, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -78,11 +78,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `663` - // Estimated: `7775` - // Minimum execution time: 20_288 nanoseconds. - Weight::from_parts(20_516_000, 0) - .saturating_add(Weight::from_parts(0, 7775)) + // Measured: `599` + // Estimated: `10745` + // Minimum execution time: 19_504_000 picoseconds. + Weight::from_parts(19_910_000, 0) + .saturating_add(Weight::from_parts(0, 10745)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,11 +94,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `841` - // Estimated: `7875` - // Minimum execution time: 28_881 nanoseconds. - Weight::from_parts(29_223_000, 0) - .saturating_add(Weight::from_parts(0, 7875)) + // Measured: `745` + // Estimated: `10845` + // Minimum execution time: 29_052_000 picoseconds. + Weight::from_parts(29_973_000, 0) + .saturating_add(Weight::from_parts(0, 10845)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -110,11 +110,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `841` - // Estimated: `7875` - // Minimum execution time: 41_165 nanoseconds. - Weight::from_parts(41_719_000, 0) - .saturating_add(Weight::from_parts(0, 7875)) + // Measured: `745` + // Estimated: `10845` + // Minimum execution time: 42_227_000 picoseconds. + Weight::from_parts(42_694_000, 0) + .saturating_add(Weight::from_parts(0, 10845)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -124,11 +124,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `706` - // Estimated: `5272` - // Minimum execution time: 22_428 nanoseconds. - Weight::from_parts(22_898_000, 0) - .saturating_add(Weight::from_parts(0, 5272)) + // Measured: `642` + // Estimated: `7252` + // Minimum execution time: 23_566_000 picoseconds. + Weight::from_parts(23_897_000, 0) + .saturating_add(Weight::from_parts(0, 7252)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -142,11 +142,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `744` - // Estimated: `12920` - // Minimum execution time: 72_832 nanoseconds. - Weight::from_parts(73_776_000, 0) - .saturating_add(Weight::from_parts(0, 12920)) + // Measured: `648` + // Estimated: `15890` + // Minimum execution time: 72_733_000 picoseconds. + Weight::from_parts(73_416_000, 0) + .saturating_add(Weight::from_parts(0, 15890)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -164,11 +164,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `973` - // Estimated: `15472` - // Minimum execution time: 55_400 nanoseconds. - Weight::from_parts(55_912_000, 0) - .saturating_add(Weight::from_parts(0, 15472)) + // Measured: `845` + // Estimated: `20422` + // Minimum execution time: 54_864_000 picoseconds. + Weight::from_parts(55_882_000, 0) + .saturating_add(Weight::from_parts(0, 20422)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -186,11 +186,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `1192` - // Estimated: `18075` - // Minimum execution time: 67_548 nanoseconds. - Weight::from_parts(69_397_000, 0) - .saturating_add(Weight::from_parts(0, 18075)) + // Measured: `1032` + // Estimated: `23025` + // Minimum execution time: 67_151_000 picoseconds. + Weight::from_parts(69_136_000, 0) + .saturating_add(Weight::from_parts(0, 23025)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/polkadot/src/weights/pallet_collective_council.rs b/runtime/polkadot/src/weights/pallet_collective_council.rs index 580253a08d40..ef197afccdb8 100644 --- a/runtime/polkadot/src/weights/pallet_collective_council.rs +++ b/runtime/polkadot/src/weights/pallet_collective_council.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -61,21 +61,21 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)` - // Estimated: `16054 + m * (7809 ±16) + p * (10238 ±16)` - // Minimum execution time: 17_913 nanoseconds. - Weight::from_parts(18_394_000, 0) - .saturating_add(Weight::from_parts(0, 16054)) - // Standard Error: 50_650 - .saturating_add(Weight::from_parts(5_723_694, 0).saturating_mul(m.into())) - // Standard Error: 50_650 - .saturating_add(Weight::from_parts(8_485_753, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` + // Estimated: `18896 + m * (7799 ±16) + p * (10110 ±16)` + // Minimum execution time: 17_820_000 picoseconds. + Weight::from_parts(18_219_000, 0) + .saturating_add(Weight::from_parts(0, 18896)) + // Standard Error: 48_401 + .saturating_add(Weight::from_parts(5_493_956, 0).saturating_mul(m.into())) + // Standard Error: 48_401 + .saturating_add(Weight::from_parts(8_150_853, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7809).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10238).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 7799).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -85,15 +85,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `101 + m * (32 ±0)` - // Estimated: `597 + m * (32 ±0)` - // Minimum execution time: 16_774 nanoseconds. - Weight::from_parts(16_193_749, 0) - .saturating_add(Weight::from_parts(0, 597)) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_790, 0).saturating_mul(b.into())) - // Standard Error: 213 - .saturating_add(Weight::from_parts(14_817, 0).saturating_mul(m.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `1555 + m * (32 ±0)` + // Minimum execution time: 17_042_000 picoseconds. + Weight::from_parts(16_520_155, 0) + .saturating_add(Weight::from_parts(0, 1555)) + // Standard Error: 21 + .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(b.into())) + // Standard Error: 216 + .saturating_add(Weight::from_parts(12_870, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -107,15 +107,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `101 + m * (32 ±0)` - // Estimated: `3174 + m * (64 ±0)` - // Minimum execution time: 19_209 nanoseconds. - Weight::from_parts(18_354_237, 0) - .saturating_add(Weight::from_parts(0, 3174)) - // Standard Error: 23 - .saturating_add(Weight::from_parts(1_734, 0).saturating_mul(b.into())) - // Standard Error: 240 - .saturating_add(Weight::from_parts(26_264, 0).saturating_mul(m.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `5090 + m * (64 ±0)` + // Minimum execution time: 19_125_000 picoseconds. + Weight::from_parts(18_749_458, 0) + .saturating_add(Weight::from_parts(0, 5090)) + // Standard Error: 25 + .saturating_add(Weight::from_parts(1_302, 0).saturating_mul(b.into())) + // Standard Error: 263 + .saturating_add(Weight::from_parts(24_311, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } @@ -137,17 +137,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `423 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `5690 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 25_763 nanoseconds. - Weight::from_parts(26_388_122, 0) - .saturating_add(Weight::from_parts(0, 5690)) - // Standard Error: 50 - .saturating_add(Weight::from_parts(2_746, 0).saturating_mul(b.into())) - // Standard Error: 523 - .saturating_add(Weight::from_parts(19_574, 0).saturating_mul(m.into())) - // Standard Error: 516 - .saturating_add(Weight::from_parts(123_629, 0).saturating_mul(p.into())) + // Measured: `359 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `9350 + m * (165 ±0) + p * (180 ±0)` + // Minimum execution time: 25_157_000 picoseconds. + Weight::from_parts(26_028_507, 0) + .saturating_add(Weight::from_parts(0, 9350)) + // Standard Error: 67 + .saturating_add(Weight::from_parts(2_641, 0).saturating_mul(b.into())) + // Standard Error: 702 + .saturating_add(Weight::from_parts(22_874, 0).saturating_mul(m.into())) + // Standard Error: 693 + .saturating_add(Weight::from_parts(123_906, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) @@ -161,13 +161,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `873 + m * (64 ±0)` - // Estimated: `4714 + m * (128 ±0)` - // Minimum execution time: 22_830 nanoseconds. - Weight::from_parts(23_632_337, 0) - .saturating_add(Weight::from_parts(0, 4714)) - // Standard Error: 310 - .saturating_add(Weight::from_parts(43_607, 0).saturating_mul(m.into())) + // Measured: `808 + m * (64 ±0)` + // Estimated: `6564 + m * (128 ±0)` + // Minimum execution time: 23_052_000 picoseconds. + Weight::from_parts(23_596_517, 0) + .saturating_add(Weight::from_parts(0, 6564)) + // Standard Error: 250 + .saturating_add(Weight::from_parts(42_598, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) @@ -186,15 +186,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `493 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `5361 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 28_031 nanoseconds. - Weight::from_parts(28_174_563, 0) - .saturating_add(Weight::from_parts(0, 5361)) - // Standard Error: 860 - .saturating_add(Weight::from_parts(29_198, 0).saturating_mul(m.into())) - // Standard Error: 839 - .saturating_add(Weight::from_parts(123_119, 0).saturating_mul(p.into())) + // Measured: `397 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `7943 + m * (260 ±0) + p * (144 ±0)` + // Minimum execution time: 27_491_000 picoseconds. + Weight::from_parts(28_878_451, 0) + .saturating_add(Weight::from_parts(0, 7943)) + // Standard Error: 447 + .saturating_add(Weight::from_parts(21_894, 0).saturating_mul(m.into())) + // Standard Error: 436 + .saturating_add(Weight::from_parts(118_300, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) @@ -216,15 +216,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `829 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `8632 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 39_531 nanoseconds. - Weight::from_parts(42_121_105, 0) - .saturating_add(Weight::from_parts(0, 8632)) - // Standard Error: 132 - .saturating_add(Weight::from_parts(1_767, 0).saturating_mul(b.into())) - // Standard Error: 1_361 - .saturating_add(Weight::from_parts(151_993, 0).saturating_mul(p.into())) + // Measured: `699 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `12104 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` + // Minimum execution time: 39_287_000 picoseconds. + Weight::from_parts(41_543_082, 0) + .saturating_add(Weight::from_parts(0, 12104)) + // Standard Error: 124 + .saturating_add(Weight::from_parts(1_923, 0).saturating_mul(b.into())) + // Standard Error: 1_284 + .saturating_add(Weight::from_parts(150_705, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) @@ -247,15 +247,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `513 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `6430 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 30_738 nanoseconds. - Weight::from_parts(31_359_687, 0) - .saturating_add(Weight::from_parts(0, 6430)) - // Standard Error: 445 - .saturating_add(Weight::from_parts(27_105, 0).saturating_mul(m.into())) - // Standard Error: 434 - .saturating_add(Weight::from_parts(119_167, 0).saturating_mul(p.into())) + // Measured: `417 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `9905 + m * (325 ±0) + p * (180 ±0)` + // Minimum execution time: 30_432_000 picoseconds. + Weight::from_parts(31_244_588, 0) + .saturating_add(Weight::from_parts(0, 9905)) + // Standard Error: 475 + .saturating_add(Weight::from_parts(26_841, 0).saturating_mul(m.into())) + // Standard Error: 463 + .saturating_add(Weight::from_parts(120_485, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) @@ -279,17 +279,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `849 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `9900 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 41_645 nanoseconds. - Weight::from_parts(43_504_215, 0) - .saturating_add(Weight::from_parts(0, 9900)) - // Standard Error: 87 - .saturating_add(Weight::from_parts(2_337, 0).saturating_mul(b.into())) - // Standard Error: 928 - .saturating_add(Weight::from_parts(21_553, 0).saturating_mul(m.into())) - // Standard Error: 905 - .saturating_add(Weight::from_parts(148_246, 0).saturating_mul(p.into())) + // Measured: `719 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `14240 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` + // Minimum execution time: 41_584_000 picoseconds. + Weight::from_parts(43_042_536, 0) + .saturating_add(Weight::from_parts(0, 14240)) + // Standard Error: 119 + .saturating_add(Weight::from_parts(2_545, 0).saturating_mul(b.into())) + // Standard Error: 1_258 + .saturating_add(Weight::from_parts(19_845, 0).saturating_mul(m.into())) + // Standard Error: 1_226 + .saturating_add(Weight::from_parts(147_526, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) @@ -306,13 +306,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `258 + p * (32 ±0)` - // Estimated: `1269 + p * (96 ±0)` - // Minimum execution time: 15_758 nanoseconds. - Weight::from_parts(17_993_925, 0) - .saturating_add(Weight::from_parts(0, 1269)) - // Standard Error: 504 - .saturating_add(Weight::from_parts(111_766, 0).saturating_mul(p.into())) + // Measured: `226 + p * (32 ±0)` + // Estimated: `2163 + p * (96 ±0)` + // Minimum execution time: 15_659_000 picoseconds. + Weight::from_parts(17_913_587, 0) + .saturating_add(Weight::from_parts(0, 2163)) + // Standard Error: 479 + .saturating_add(Weight::from_parts(114_567, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) diff --git a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs index 097f5971442a..e63dd15e44c3 100644 --- a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -61,21 +61,21 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)` - // Estimated: `16342 + m * (7809 ±17) + p * (10238 ±17)` - // Minimum execution time: 18_766 nanoseconds. - Weight::from_parts(19_022_000, 0) - .saturating_add(Weight::from_parts(0, 16342)) - // Standard Error: 51_092 - .saturating_add(Weight::from_parts(5_695_526, 0).saturating_mul(m.into())) - // Standard Error: 51_092 - .saturating_add(Weight::from_parts(8_512_445, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` + // Estimated: `19184 + m * (7799 ±17) + p * (10110 ±17)` + // Minimum execution time: 18_644_000 picoseconds. + Weight::from_parts(19_096_000, 0) + .saturating_add(Weight::from_parts(0, 19184)) + // Standard Error: 48_031 + .saturating_add(Weight::from_parts(5_411_514, 0).saturating_mul(m.into())) + // Standard Error: 48_031 + .saturating_add(Weight::from_parts(8_184_551, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7809).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10238).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 7799).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -85,15 +85,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `173 + m * (32 ±0)` - // Estimated: `669 + m * (32 ±0)` - // Minimum execution time: 17_538 nanoseconds. - Weight::from_parts(16_973_296, 0) - .saturating_add(Weight::from_parts(0, 669)) + // Measured: `141 + m * (32 ±0)` + // Estimated: `1627 + m * (32 ±0)` + // Minimum execution time: 17_826_000 picoseconds. + Weight::from_parts(17_349_193, 0) + .saturating_add(Weight::from_parts(0, 1627)) // Standard Error: 19 - .saturating_add(Weight::from_parts(1_747, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(b.into())) // Standard Error: 198 - .saturating_add(Weight::from_parts(12_393, 0).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(11_554, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -107,15 +107,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `173 + m * (32 ±0)` - // Estimated: `3318 + m * (64 ±0)` - // Minimum execution time: 20_246 nanoseconds. - Weight::from_parts(19_210_911, 0) - .saturating_add(Weight::from_parts(0, 3318)) + // Measured: `141 + m * (32 ±0)` + // Estimated: `5234 + m * (64 ±0)` + // Minimum execution time: 19_874_000 picoseconds. + Weight::from_parts(19_367_499, 0) + .saturating_add(Weight::from_parts(0, 5234)) // Standard Error: 20 - .saturating_add(Weight::from_parts(1_695, 0).saturating_mul(b.into())) - // Standard Error: 216 - .saturating_add(Weight::from_parts(22_896, 0).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(1_340, 0).saturating_mul(b.into())) + // Standard Error: 215 + .saturating_add(Weight::from_parts(24_272, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } @@ -137,17 +137,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `495 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `6050 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 26_490 nanoseconds. - Weight::from_parts(27_228_922, 0) - .saturating_add(Weight::from_parts(0, 6050)) - // Standard Error: 49 - .saturating_add(Weight::from_parts(2_669, 0).saturating_mul(b.into())) - // Standard Error: 518 - .saturating_add(Weight::from_parts(18_371, 0).saturating_mul(m.into())) - // Standard Error: 512 - .saturating_add(Weight::from_parts(124_547, 0).saturating_mul(p.into())) + // Measured: `431 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `9710 + m * (165 ±0) + p * (180 ±0)` + // Minimum execution time: 25_910_000 picoseconds. + Weight::from_parts(27_064_580, 0) + .saturating_add(Weight::from_parts(0, 9710)) + // Standard Error: 69 + .saturating_add(Weight::from_parts(2_555, 0).saturating_mul(b.into())) + // Standard Error: 724 + .saturating_add(Weight::from_parts(22_302, 0).saturating_mul(m.into())) + // Standard Error: 715 + .saturating_add(Weight::from_parts(123_419, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) @@ -161,13 +161,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `945 + m * (64 ±0)` - // Estimated: `4858 + m * (128 ±0)` - // Minimum execution time: 23_895 nanoseconds. - Weight::from_parts(24_537_170, 0) - .saturating_add(Weight::from_parts(0, 4858)) - // Standard Error: 283 - .saturating_add(Weight::from_parts(44_346, 0).saturating_mul(m.into())) + // Measured: `880 + m * (64 ±0)` + // Estimated: `6708 + m * (128 ±0)` + // Minimum execution time: 23_818_000 picoseconds. + Weight::from_parts(24_388_603, 0) + .saturating_add(Weight::from_parts(0, 6708)) + // Standard Error: 242 + .saturating_add(Weight::from_parts(42_675, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) @@ -186,15 +186,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `565 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `5649 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 28_841 nanoseconds. - Weight::from_parts(29_289_017, 0) - .saturating_add(Weight::from_parts(0, 5649)) - // Standard Error: 519 - .saturating_add(Weight::from_parts(26_360, 0).saturating_mul(m.into())) - // Standard Error: 506 - .saturating_add(Weight::from_parts(121_543, 0).saturating_mul(p.into())) + // Measured: `469 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `8231 + m * (260 ±0) + p * (144 ±0)` + // Minimum execution time: 28_872_000 picoseconds. + Weight::from_parts(29_893_129, 0) + .saturating_add(Weight::from_parts(0, 8231)) + // Standard Error: 400 + .saturating_add(Weight::from_parts(19_918, 0).saturating_mul(m.into())) + // Standard Error: 390 + .saturating_add(Weight::from_parts(117_102, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) @@ -216,17 +216,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `901 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `8920 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 40_558 nanoseconds. - Weight::from_parts(41_766_739, 0) - .saturating_add(Weight::from_parts(0, 8920)) - // Standard Error: 84 - .saturating_add(Weight::from_parts(2_174, 0).saturating_mul(b.into())) - // Standard Error: 896 - .saturating_add(Weight::from_parts(21_637, 0).saturating_mul(m.into())) + // Measured: `771 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `12392 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` + // Minimum execution time: 40_305_000 picoseconds. + Weight::from_parts(41_411_443, 0) + .saturating_add(Weight::from_parts(0, 12392)) + // Standard Error: 82 + .saturating_add(Weight::from_parts(2_252, 0).saturating_mul(b.into())) // Standard Error: 873 - .saturating_add(Weight::from_parts(147_008, 0).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(22_533, 0).saturating_mul(m.into())) + // Standard Error: 851 + .saturating_add(Weight::from_parts(146_263, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) @@ -249,15 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `585 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `6790 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 31_691 nanoseconds. - Weight::from_parts(32_313_064, 0) - .saturating_add(Weight::from_parts(0, 6790)) - // Standard Error: 412 - .saturating_add(Weight::from_parts(26_215, 0).saturating_mul(m.into())) - // Standard Error: 402 - .saturating_add(Weight::from_parts(120_349, 0).saturating_mul(p.into())) + // Measured: `489 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `10265 + m * (325 ±0) + p * (180 ±0)` + // Minimum execution time: 31_636_000 picoseconds. + Weight::from_parts(32_125_817, 0) + .saturating_add(Weight::from_parts(0, 10265)) + // Standard Error: 411 + .saturating_add(Weight::from_parts(26_426, 0).saturating_mul(m.into())) + // Standard Error: 401 + .saturating_add(Weight::from_parts(119_480, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) @@ -281,17 +281,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `921 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `10260 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 42_982 nanoseconds. - Weight::from_parts(44_535_219, 0) - .saturating_add(Weight::from_parts(0, 10260)) - // Standard Error: 83 - .saturating_add(Weight::from_parts(2_086, 0).saturating_mul(b.into())) - // Standard Error: 877 - .saturating_add(Weight::from_parts(21_836, 0).saturating_mul(m.into())) - // Standard Error: 855 - .saturating_add(Weight::from_parts(149_280, 0).saturating_mul(p.into())) + // Measured: `791 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `14600 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` + // Minimum execution time: 42_654_000 picoseconds. + Weight::from_parts(44_062_315, 0) + .saturating_add(Weight::from_parts(0, 14600)) + // Standard Error: 88 + .saturating_add(Weight::from_parts(2_419, 0).saturating_mul(b.into())) + // Standard Error: 937 + .saturating_add(Weight::from_parts(22_044, 0).saturating_mul(m.into())) + // Standard Error: 914 + .saturating_add(Weight::from_parts(147_245, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) @@ -308,13 +308,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `330 + p * (32 ±0)` - // Estimated: `1485 + p * (96 ±0)` - // Minimum execution time: 16_623 nanoseconds. - Weight::from_parts(18_510_338, 0) - .saturating_add(Weight::from_parts(0, 1485)) - // Standard Error: 454 - .saturating_add(Weight::from_parts(113_600, 0).saturating_mul(p.into())) + // Measured: `298 + p * (32 ±0)` + // Estimated: `2379 + p * (96 ±0)` + // Minimum execution time: 16_475_000 picoseconds. + Weight::from_parts(18_514_104, 0) + .saturating_add(Weight::from_parts(0, 2379)) + // Standard Error: 444 + .saturating_add(Weight::from_parts(113_460, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) diff --git a/runtime/polkadot/src/weights/pallet_democracy.rs b/runtime/polkadot/src/weights/pallet_democracy.rs index f00cc1680aa5..0f43cfbc6e1e 100644 --- a/runtime/polkadot/src/weights/pallet_democracy.rs +++ b/runtime/polkadot/src/weights/pallet_democracy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4831` - // Estimated: `23409` - // Minimum execution time: 36_274 nanoseconds. - Weight::from_parts(36_815_000, 0) - .saturating_add(Weight::from_parts(0, 23409)) + // Measured: `4768` + // Estimated: `26379` + // Minimum execution time: 35_995_000 picoseconds. + Weight::from_parts(36_596_000, 0) + .saturating_add(Weight::from_parts(0, 26379)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -67,11 +67,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3587` - // Estimated: `5705` - // Minimum execution time: 33_036 nanoseconds. - Weight::from_parts(33_555_000, 0) - .saturating_add(Weight::from_parts(0, 5705)) + // Measured: `3523` + // Estimated: `6695` + // Minimum execution time: 32_995_000 picoseconds. + Weight::from_parts(33_410_000, 0) + .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,11 +83,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3532` - // Estimated: `12720` - // Minimum execution time: 46_200 nanoseconds. - Weight::from_parts(46_691_000, 0) - .saturating_add(Weight::from_parts(0, 12720)) + // Measured: `3437` + // Estimated: `15690` + // Minimum execution time: 45_737_000 picoseconds. + Weight::from_parts(46_407_000, 0) + .saturating_add(Weight::from_parts(0, 15690)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -99,11 +99,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3554` - // Estimated: `12720` - // Minimum execution time: 46_159 nanoseconds. - Weight::from_parts(46_507_000, 0) - .saturating_add(Weight::from_parts(0, 12720)) + // Measured: `3459` + // Estimated: `15690` + // Minimum execution time: 45_778_000 picoseconds. + Weight::from_parts(46_562_000, 0) + .saturating_add(Weight::from_parts(0, 15690)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -115,11 +115,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `365` - // Estimated: `7712` - // Minimum execution time: 26_963 nanoseconds. - Weight::from_parts(27_872_000, 0) - .saturating_add(Weight::from_parts(0, 7712)) + // Measured: `333` + // Estimated: `10682` + // Minimum execution time: 26_843_000 picoseconds. + Weight::from_parts(27_340_000, 0) + .saturating_add(Weight::from_parts(0, 10682)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -139,11 +139,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `6003` - // Estimated: `36392` - // Minimum execution time: 92_685 nanoseconds. - Weight::from_parts(93_626_000, 0) - .saturating_add(Weight::from_parts(0, 36392)) + // Measured: `5877` + // Estimated: `42332` + // Minimum execution time: 91_058_000 picoseconds. + Weight::from_parts(92_054_000, 0) + .saturating_add(Weight::from_parts(0, 42332)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -153,11 +153,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3415` - // Estimated: `6340` - // Minimum execution time: 14_198 nanoseconds. - Weight::from_parts(14_642_000, 0) - .saturating_add(Weight::from_parts(0, 6340)) + // Measured: `3383` + // Estimated: `8320` + // Minimum execution time: 14_510_000 picoseconds. + Weight::from_parts(14_851_000, 0) + .saturating_add(Weight::from_parts(0, 8320)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -167,8 +167,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_853 nanoseconds. - Weight::from_parts(4_020_000, 0) + // Minimum execution time: 3_821_000 picoseconds. + Weight::from_parts(3_953_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,8 +178,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_685 nanoseconds. - Weight::from_parts(3_906_000, 0) + // Minimum execution time: 3_810_000 picoseconds. + Weight::from_parts(4_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -194,10 +194,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `3654` - // Minimum execution time: 28_475 nanoseconds. - Weight::from_parts(28_950_000, 0) - .saturating_add(Weight::from_parts(0, 3654)) + // Estimated: `6624` + // Minimum execution time: 28_588_000 picoseconds. + Weight::from_parts(28_898_000, 0) + .saturating_add(Weight::from_parts(0, 6624)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -209,11 +209,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3518` - // Estimated: `8868` - // Minimum execution time: 33_318 nanoseconds. - Weight::from_parts(33_996_000, 0) - .saturating_add(Weight::from_parts(0, 8868)) + // Measured: `3486` + // Estimated: `11838` + // Minimum execution time: 32_436_000 picoseconds. + Weight::from_parts(33_152_000, 0) + .saturating_add(Weight::from_parts(0, 11838)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,11 +227,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `5882` - // Estimated: `28033` - // Minimum execution time: 75_841 nanoseconds. - Weight::from_parts(76_687_000, 0) - .saturating_add(Weight::from_parts(0, 28033)) + // Measured: `5788` + // Estimated: `31993` + // Minimum execution time: 74_058_000 picoseconds. + Weight::from_parts(74_899_000, 0) + .saturating_add(Weight::from_parts(0, 31993)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -242,10 +242,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` - // Estimated: `2528` - // Minimum execution time: 20_201 nanoseconds. - Weight::from_parts(20_686_000, 0) - .saturating_add(Weight::from_parts(0, 2528)) + // Estimated: `3518` + // Minimum execution time: 20_941_000 picoseconds. + Weight::from_parts(21_170_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -258,13 +258,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + r * (117 ±0)` - // Estimated: `998 + r * (2676 ±0)` - // Minimum execution time: 7_464 nanoseconds. - Weight::from_parts(9_990_560, 0) - .saturating_add(Weight::from_parts(0, 998)) - // Standard Error: 5_811 - .saturating_add(Weight::from_parts(2_791_595, 0).saturating_mul(r.into())) + // Measured: `211 + r * (86 ±0)` + // Estimated: `3968 + r * (2676 ±0)` + // Minimum execution time: 7_576_000 picoseconds. + Weight::from_parts(10_905_204, 0) + .saturating_add(Weight::from_parts(0, 3968)) + // Standard Error: 5_941 + .saturating_add(Weight::from_parts(2_777_934, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -285,13 +285,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + r * (117 ±0)` - // Estimated: `19318 + r * (2676 ±0)` - // Minimum execution time: 9_831 nanoseconds. - Weight::from_parts(13_727_388, 0) - .saturating_add(Weight::from_parts(0, 19318)) - // Standard Error: 5_875 - .saturating_add(Weight::from_parts(2_769_840, 0).saturating_mul(r.into())) + // Measured: `211 + r * (86 ±0)` + // Estimated: `25258 + r * (2676 ±0)` + // Minimum execution time: 10_210_000 picoseconds. + Weight::from_parts(13_910_729, 0) + .saturating_add(Weight::from_parts(0, 25258)) + // Standard Error: 6_423 + .saturating_add(Weight::from_parts(2_761_401, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -306,13 +306,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `925 + r * (139 ±0)` - // Estimated: `22584 + r * (2676 ±0)` - // Minimum execution time: 39_341 nanoseconds. - Weight::from_parts(43_711_147, 0) - .saturating_add(Weight::from_parts(0, 22584)) - // Standard Error: 8_917 - .saturating_add(Weight::from_parts(3_902_039, 0).saturating_mul(r.into())) + // Measured: `797 + r * (108 ±0)` + // Estimated: `25554 + r * (2676 ±0)` + // Minimum execution time: 37_937_000 picoseconds. + Weight::from_parts(44_274_336, 0) + .saturating_add(Weight::from_parts(0, 25554)) + // Standard Error: 8_387 + .saturating_add(Weight::from_parts(3_862_699, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -326,13 +326,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `524 + r * (139 ±0)` - // Estimated: `12540 + r * (2676 ±0)` - // Minimum execution time: 21_863 nanoseconds. - Weight::from_parts(24_086_661, 0) - .saturating_add(Weight::from_parts(0, 12540)) - // Standard Error: 6_125 - .saturating_add(Weight::from_parts(3_868_954, 0).saturating_mul(r.into())) + // Measured: `460 + r * (108 ±0)` + // Estimated: `14520 + r * (2676 ±0)` + // Minimum execution time: 22_361_000 picoseconds. + Weight::from_parts(24_134_202, 0) + .saturating_add(Weight::from_parts(0, 14520)) + // Standard Error: 6_969 + .saturating_add(Weight::from_parts(3_846_011, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -345,8 +345,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_222 nanoseconds. - Weight::from_parts(3_403_000, 0) + // Minimum execution time: 3_782_000 picoseconds. + Weight::from_parts(3_868_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -359,13 +359,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `594` - // Estimated: `12647` - // Minimum execution time: 21_776 nanoseconds. - Weight::from_parts(27_468_612, 0) - .saturating_add(Weight::from_parts(0, 12647)) - // Standard Error: 1_284 - .saturating_add(Weight::from_parts(22_061, 0).saturating_mul(r.into())) + // Measured: `530` + // Estimated: `15617` + // Minimum execution time: 21_323_000 picoseconds. + Weight::from_parts(27_548_550, 0) + .saturating_add(Weight::from_parts(0, 15617)) + // Standard Error: 1_419 + .saturating_add(Weight::from_parts(24_395, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -378,13 +378,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `595 + r * (22 ±0)` - // Estimated: `12647` - // Minimum execution time: 26_013 nanoseconds. - Weight::from_parts(27_057_379, 0) - .saturating_add(Weight::from_parts(0, 12647)) - // Standard Error: 553 - .saturating_add(Weight::from_parts(65_983, 0).saturating_mul(r.into())) + // Measured: `531 + r * (22 ±0)` + // Estimated: `15617` + // Minimum execution time: 26_187_000 picoseconds. + Weight::from_parts(27_578_108, 0) + .saturating_add(Weight::from_parts(0, 15617)) + // Standard Error: 870 + .saturating_add(Weight::from_parts(58_838, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -395,13 +395,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `758 + r * (26 ±0)` - // Estimated: `8946` - // Minimum execution time: 16_233 nanoseconds. - Weight::from_parts(19_066_378, 0) - .saturating_add(Weight::from_parts(0, 8946)) - // Standard Error: 948 - .saturating_add(Weight::from_parts(76_609, 0).saturating_mul(r.into())) + // Measured: `695 + r * (26 ±0)` + // Estimated: `10926` + // Minimum execution time: 16_831_000 picoseconds. + Weight::from_parts(19_565_991, 0) + .saturating_add(Weight::from_parts(0, 10926)) + // Standard Error: 965 + .saturating_add(Weight::from_parts(72_692, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -412,13 +412,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `758 + r * (26 ±0)` - // Estimated: `8946` - // Minimum execution time: 16_824 nanoseconds. - Weight::from_parts(19_125_896, 0) - .saturating_add(Weight::from_parts(0, 8946)) - // Standard Error: 1_009 - .saturating_add(Weight::from_parts(75_921, 0).saturating_mul(r.into())) + // Measured: `695 + r * (26 ±0)` + // Estimated: `10926` + // Minimum execution time: 16_944_000 picoseconds. + Weight::from_parts(19_671_811, 0) + .saturating_add(Weight::from_parts(0, 10926)) + // Standard Error: 1_115 + .saturating_add(Weight::from_parts(72_729, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -431,10 +431,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `323` - // Estimated: `3193` - // Minimum execution time: 18_945 nanoseconds. - Weight::from_parts(19_439_000, 0) - .saturating_add(Weight::from_parts(0, 3193)) + // Estimated: `5173` + // Minimum execution time: 18_995_000 picoseconds. + Weight::from_parts(19_232_000, 0) + .saturating_add(Weight::from_parts(0, 5173)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -445,10 +445,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `3155` - // Minimum execution time: 17_978 nanoseconds. - Weight::from_parts(18_271_000, 0) - .saturating_add(Weight::from_parts(0, 3155)) + // Estimated: `5135` + // Minimum execution time: 17_966_000 picoseconds. + Weight::from_parts(18_263_000, 0) + .saturating_add(Weight::from_parts(0, 5135)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -460,11 +460,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4886` - // Estimated: `19763` - // Minimum execution time: 33_654 nanoseconds. - Weight::from_parts(34_056_000, 0) - .saturating_add(Weight::from_parts(0, 19763)) + // Measured: `4855` + // Estimated: `21743` + // Minimum execution time: 33_659_000 picoseconds. + Weight::from_parts(34_589_000, 0) + .saturating_add(Weight::from_parts(0, 21743)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -474,11 +474,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4820` - // Estimated: `19725` - // Minimum execution time: 31_879 nanoseconds. - Weight::from_parts(32_297_000, 0) - .saturating_add(Weight::from_parts(0, 19725)) + // Measured: `4789` + // Estimated: `21705` + // Minimum execution time: 31_710_000 picoseconds. + Weight::from_parts(32_122_000, 0) + .saturating_add(Weight::from_parts(0, 21705)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -489,10 +489,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 15_166 nanoseconds. - Weight::from_parts(15_391_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 15_214_000 picoseconds. + Weight::from_parts(15_612_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -503,10 +503,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` - // Estimated: `5204` - // Minimum execution time: 19_417 nanoseconds. - Weight::from_parts(19_739_000, 0) - .saturating_add(Weight::from_parts(0, 5204)) + // Estimated: `7184` + // Minimum execution time: 19_174_000 picoseconds. + Weight::from_parts(19_496_000, 0) + .saturating_add(Weight::from_parts(0, 7184)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs index 9ac1a7702ae4..cbb8a0a4d241 100644 --- a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -64,10 +64,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_nothing() -> Weight { // Proof Size summary in bytes: // Measured: `993` - // Estimated: `6982` - // Minimum execution time: 19_584 nanoseconds. - Weight::from_parts(20_005_000, 0) - .saturating_add(Weight::from_parts(0, 6982)) + // Estimated: `14902` + // Minimum execution time: 19_024_000 picoseconds. + Weight::from_parts(19_546_000, 0) + .saturating_add(Weight::from_parts(0, 14902)) .saturating_add(T::DbWeight::get().reads(8)) } /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) @@ -77,10 +77,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_open_signed() -> Weight { // Proof Size summary in bytes: // Measured: `114` - // Estimated: `1218` - // Minimum execution time: 13_857 nanoseconds. - Weight::from_parts(14_104_000, 0) - .saturating_add(Weight::from_parts(0, 1218)) + // Estimated: `3198` + // Minimum execution time: 13_699_000 picoseconds. + Weight::from_parts(14_176_000, 0) + .saturating_add(Weight::from_parts(0, 3198)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,10 +91,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_open_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `114` - // Estimated: `1218` - // Minimum execution time: 15_347 nanoseconds. - Weight::from_parts(15_771_000, 0) - .saturating_add(Weight::from_parts(0, 1218)) + // Estimated: `3198` + // Minimum execution time: 14_996_000 picoseconds. + Weight::from_parts(15_624_000, 0) + .saturating_add(Weight::from_parts(0, 3198)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,11 +104,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured) fn finalize_signed_phase_accept_solution() -> Weight { // Proof Size summary in bytes: - // Measured: `206` - // Estimated: `2809` - // Minimum execution time: 26_315 nanoseconds. - Weight::from_parts(26_931_000, 0) - .saturating_add(Weight::from_parts(0, 2809)) + // Measured: `174` + // Estimated: `3767` + // Minimum execution time: 25_910_000 picoseconds. + Weight::from_parts(26_289_000, 0) + .saturating_add(Weight::from_parts(0, 3767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,11 +116,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn finalize_signed_phase_reject_solution() -> Weight { // Proof Size summary in bytes: - // Measured: `206` - // Estimated: `2603` - // Minimum execution time: 18_524 nanoseconds. - Weight::from_parts(18_829_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 18_278_000 picoseconds. + Weight::from_parts(18_696_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -136,11 +136,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 453_935 nanoseconds. - Weight::from_parts(468_681_000, 0) + // Minimum execution time: 455_749_000 picoseconds. + Weight::from_parts(466_785_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_604 - .saturating_add(Weight::from_parts(271_046, 0).saturating_mul(v.into())) + // Standard Error: 2_640 + .saturating_add(Weight::from_parts(275_187, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -167,15 +167,15 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn elect_queued(a: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `369 + a * (768 ±0) + d * (48 ±0)` - // Estimated: `10092 + a * (6912 ±0) + d * (441 ±0)` - // Minimum execution time: 289_345 nanoseconds. - Weight::from_parts(73_555_210, 0) - .saturating_add(Weight::from_parts(0, 10092)) - // Standard Error: 4_786 - .saturating_add(Weight::from_parts(335_868, 0).saturating_mul(a.into())) - // Standard Error: 7_174 - .saturating_add(Weight::from_parts(163_779, 0).saturating_mul(d.into())) + // Measured: `338 + a * (768 ±0) + d * (48 ±0)` + // Estimated: `17733 + a * (6912 ±0) + d * (441 ±0)` + // Minimum execution time: 280_203_000 picoseconds. + Weight::from_parts(61_749_844, 0) + .saturating_add(Weight::from_parts(0, 17733)) + // Standard Error: 3_480 + .saturating_add(Weight::from_parts(338_220, 0).saturating_mul(a.into())) + // Standard Error: 5_217 + .saturating_add(Weight::from_parts(183_924, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(Weight::from_parts(0, 6912).saturating_mul(a.into())) @@ -195,11 +195,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured) fn submit() -> Weight { // Proof Size summary in bytes: - // Measured: `1236` - // Estimated: `8671` - // Minimum execution time: 43_960 nanoseconds. - Weight::from_parts(44_574_000, 0) - .saturating_add(Weight::from_parts(0, 8671)) + // Measured: `1204` + // Estimated: `13461` + // Minimum execution time: 43_181_000 picoseconds. + Weight::from_parts(43_965_000, 0) + .saturating_add(Weight::from_parts(0, 13461)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -213,53 +213,53 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) - /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) + /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `251 + v * (553 ±0) + t * (32 ±0)` - // Estimated: `5222 + v * (3871 ±0) + t * (224 ±0)` - // Minimum execution time: 5_167_319 nanoseconds. - Weight::from_parts(5_178_240_000, 0) - .saturating_add(Weight::from_parts(0, 5222)) - // Standard Error: 15_890 - .saturating_add(Weight::from_parts(84_855, 0).saturating_mul(v.into())) - // Standard Error: 47_089 - .saturating_add(Weight::from_parts(4_978_618, 0).saturating_mul(a.into())) + // Measured: `219 + v * (553 ±0) + t * (32 ±0)` + // Estimated: `11928 + v * (3871 ±0) + t * (224 ±0)` + // Minimum execution time: 4_961_255_000 picoseconds. + Weight::from_parts(5_003_449_000, 0) + .saturating_add(Weight::from_parts(0, 11928)) + // Standard Error: 15_941 + .saturating_add(Weight::from_parts(133_470, 0).saturating_mul(v.into())) + // Standard Error: 47_240 + .saturating_add(Weight::from_parts(4_540_957, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 3871).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) } - /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) - /// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) - /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) + /// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) + /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `226 + v * (553 ±0) + t * (32 ±0)` - // Estimated: `2884 + v * (2212 ±0) + t * (128 ±0)` - // Minimum execution time: 4_351_373 nanoseconds. - Weight::from_parts(4_374_601_000, 0) - .saturating_add(Weight::from_parts(0, 2884)) - // Standard Error: 13_786 - .saturating_add(Weight::from_parts(192_502, 0).saturating_mul(v.into())) - // Standard Error: 40_854 - .saturating_add(Weight::from_parts(3_698_526, 0).saturating_mul(a.into())) + // Measured: `194 + v * (553 ±0) + t * (32 ±0)` + // Estimated: `6716 + v * (2212 ±0) + t * (128 ±0)` + // Minimum execution time: 4_175_951_000 picoseconds. + Weight::from_parts(4_226_821_000, 0) + .saturating_add(Weight::from_parts(0, 6716)) + // Standard Error: 14_164 + .saturating_add(Weight::from_parts(215_721, 0).saturating_mul(v.into())) + // Standard Error: 41_974 + .saturating_add(Weight::from_parts(3_398_124, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(Weight::from_parts(0, 2212).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 128).saturating_mul(t.into())) diff --git a/runtime/polkadot/src/weights/pallet_elections_phragmen.rs b/runtime/polkadot/src/weights/pallet_elections_phragmen.rs index ada64126d1c7..72b6ec066f43 100644 --- a/runtime/polkadot/src/weights/pallet_elections_phragmen.rs +++ b/runtime/polkadot/src/weights/pallet_elections_phragmen.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -58,13 +58,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `465 + v * (80 ±0)` - // Estimated: `9590 + v * (320 ±0)` - // Minimum execution time: 27_938 nanoseconds. - Weight::from_parts(29_100_110, 0) - .saturating_add(Weight::from_parts(0, 9590)) - // Standard Error: 6_600 - .saturating_add(Weight::from_parts(157_595, 0).saturating_mul(v.into())) + // Measured: `369 + v * (80 ±0)` + // Estimated: `14156 + v * (320 ±0)` + // Minimum execution time: 27_615_000 picoseconds. + Weight::from_parts(28_827_632, 0) + .saturating_add(Weight::from_parts(0, 14156)) + // Standard Error: 3_451 + .saturating_add(Weight::from_parts(107_080, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) @@ -82,13 +82,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `433 + v * (80 ±0)` - // Estimated: `9462 + v * (320 ±0)` - // Minimum execution time: 38_534 nanoseconds. - Weight::from_parts(39_643_343, 0) - .saturating_add(Weight::from_parts(0, 9462)) - // Standard Error: 9_959 - .saturating_add(Weight::from_parts(126_648, 0).saturating_mul(v.into())) + // Measured: `337 + v * (80 ±0)` + // Estimated: `14028 + v * (320 ±0)` + // Minimum execution time: 37_710_000 picoseconds. + Weight::from_parts(38_651_629, 0) + .saturating_add(Weight::from_parts(0, 14028)) + // Standard Error: 4_935 + .saturating_add(Weight::from_parts(113_765, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) @@ -106,13 +106,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `465 + v * (80 ±0)` - // Estimated: `9590 + v * (320 ±0)` - // Minimum execution time: 38_040 nanoseconds. - Weight::from_parts(39_536_618, 0) - .saturating_add(Weight::from_parts(0, 9590)) - // Standard Error: 11_329 - .saturating_add(Weight::from_parts(149_545, 0).saturating_mul(v.into())) + // Measured: `369 + v * (80 ±0)` + // Estimated: `14156 + v * (320 ±0)` + // Minimum execution time: 37_662_000 picoseconds. + Weight::from_parts(38_662_833, 0) + .saturating_add(Weight::from_parts(0, 14156)) + // Standard Error: 8_944 + .saturating_add(Weight::from_parts(139_712, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) @@ -123,11 +123,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: - // Measured: `955` - // Estimated: `7204` - // Minimum execution time: 33_834 nanoseconds. - Weight::from_parts(34_319_000, 0) - .saturating_add(Weight::from_parts(0, 7204)) + // Measured: `891` + // Estimated: `9120` + // Minimum execution time: 33_356_000 picoseconds. + Weight::from_parts(33_639_000, 0) + .saturating_add(Weight::from_parts(0, 9120)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -140,13 +140,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 1000]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2485 + c * (48 ±0)` - // Estimated: `8934 + c * (144 ±0)` - // Minimum execution time: 29_549 nanoseconds. - Weight::from_parts(22_842_922, 0) - .saturating_add(Weight::from_parts(0, 8934)) - // Standard Error: 850 - .saturating_add(Weight::from_parts(86_966, 0).saturating_mul(c.into())) + // Measured: `2358 + c * (48 ±0)` + // Estimated: `11523 + c * (144 ±0)` + // Minimum execution time: 29_250_000 picoseconds. + Weight::from_parts(22_589_367, 0) + .saturating_add(Weight::from_parts(0, 11523)) + // Standard Error: 847 + .saturating_add(Weight::from_parts(82_413, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 144).saturating_mul(c.into())) @@ -156,13 +156,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 1000]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `314 + c * (48 ±0)` - // Estimated: `796 + c * (48 ±0)` - // Minimum execution time: 24_951 nanoseconds. - Weight::from_parts(18_393_117, 0) - .saturating_add(Weight::from_parts(0, 796)) - // Standard Error: 887 - .saturating_add(Weight::from_parts(58_381, 0).saturating_mul(c.into())) + // Measured: `250 + c * (48 ±0)` + // Estimated: `1722 + c * (48 ±0)` + // Minimum execution time: 25_177_000 picoseconds. + Weight::from_parts(18_210_201, 0) + .saturating_add(Weight::from_parts(0, 1722)) + // Standard Error: 859 + .saturating_add(Weight::from_parts(58_205, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -179,11 +179,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `2692` - // Estimated: `15440` - // Minimum execution time: 42_947 nanoseconds. - Weight::from_parts(43_654_000, 0) - .saturating_add(Weight::from_parts(0, 15440)) + // Measured: `2565` + // Estimated: `18765` + // Minimum execution time: 42_428_000 picoseconds. + Weight::from_parts(42_849_000, 0) + .saturating_add(Weight::from_parts(0, 18765)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -191,11 +191,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: - // Measured: `1806` - // Estimated: `2301` - // Minimum execution time: 27_864 nanoseconds. - Weight::from_parts(28_247_000, 0) - .saturating_add(Weight::from_parts(0, 2301)) + // Measured: `1711` + // Estimated: `3196` + // Minimum execution time: 27_668_000 picoseconds. + Weight::from_parts(27_980_000, 0) + .saturating_add(Weight::from_parts(0, 3196)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -205,7 +205,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000_000 nanoseconds. + // Minimum execution time: 2_000_000_000_000 picoseconds. Weight::from_parts(2_000_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -223,11 +223,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `2692` - // Estimated: `18043` - // Minimum execution time: 58_914 nanoseconds. - Weight::from_parts(60_596_000, 0) - .saturating_add(Weight::from_parts(0, 18043)) + // Measured: `2565` + // Estimated: `22358` + // Minimum execution time: 57_202_000 picoseconds. + Weight::from_parts(57_795_000, 0) + .saturating_add(Weight::from_parts(0, 22358)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -247,17 +247,17 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `d` is `[0, 5000]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `36028 + v * (872 ±0)` - // Estimated: `149172 + v * (12340 ±0)` - // Minimum execution time: 339_754_864 nanoseconds. - Weight::from_parts(340_507_844_000, 0) - .saturating_add(Weight::from_parts(0, 149172)) - // Standard Error: 288_237 - .saturating_add(Weight::from_parts(41_595_186, 0).saturating_mul(v.into())) + // Measured: `36028 + v * (808 ±0)` + // Estimated: `155112 + v * (12084 ±0)` + // Minimum execution time: 319_698_615_000 picoseconds. + Weight::from_parts(320_299_987_000, 0) + .saturating_add(Weight::from_parts(0, 155112)) + // Standard Error: 274_596 + .saturating_add(Weight::from_parts(39_406_540, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 12340).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 12084).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -282,22 +282,22 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[10000, 160000]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (639 ±0) + e * (28 ±0)` - // Estimated: `5352462 + c * (2560 ±0) + v * (5714 ±4) + e * (123 ±0)` - // Minimum execution time: 35_362_437 nanoseconds. - Weight::from_parts(35_569_288_000, 0) - .saturating_add(Weight::from_parts(0, 5352462)) - // Standard Error: 456_165 - .saturating_add(Weight::from_parts(40_481_430, 0).saturating_mul(v.into())) - // Standard Error: 29_273 - .saturating_add(Weight::from_parts(2_019_337, 0).saturating_mul(e.into())) + // Measured: `0 + v * (607 ±0) + e * (28 ±0)` + // Estimated: `4855584 + c * (2560 ±0) + v * (5481 ±4) + e * (123 ±0)` + // Minimum execution time: 30_930_541_000 picoseconds. + Weight::from_parts(31_074_438_000, 0) + .saturating_add(Weight::from_parts(0, 4855584)) + // Standard Error: 416_181 + .saturating_add(Weight::from_parts(34_309_870, 0).saturating_mul(v.into())) + // Standard Error: 26_707 + .saturating_add(Weight::from_parts(1_798_568, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(269)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2560).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 5714).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 5481).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 123).saturating_mul(e.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_fast_unstake.rs b/runtime/polkadot/src/weights/pallet_fast_unstake.rs index fb0a3a37cd46..6f6da08f72e2 100644 --- a/runtime/polkadot/src/weights/pallet_fast_unstake.rs +++ b/runtime/polkadot/src/weights/pallet_fast_unstake.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_fast_unstake` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -76,18 +76,18 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// The range of component `b` is `[1, 16]`. fn on_idle_unstake(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1127 + b * (391 ±0)` - // Estimated: `6126 + b * (17736 ±0)` - // Minimum execution time: 78_437 nanoseconds. - Weight::from_parts(41_049_087, 0) - .saturating_add(Weight::from_parts(0, 6126)) - // Standard Error: 70_691 - .saturating_add(Weight::from_parts(42_011_037, 0).saturating_mul(b.into())) + // Measured: `1095 + b * (359 ±0)` + // Estimated: `17942 + b * (17672 ±0)` + // Minimum execution time: 80_046_000 picoseconds. + Weight::from_parts(43_037_656, 0) + .saturating_add(Weight::from_parts(0, 17942)) + // Standard Error: 49_179 + .saturating_add(Weight::from_parts(41_341_471, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 17736).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 17672).saturating_mul(b.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) /// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -107,19 +107,19 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// The range of component `b` is `[1, 16]`. fn on_idle_check(v: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1481 + v * (19543 ±0) + b * (48 ±0)` - // Estimated: `9009 + v * (41563 ±0) + b * (104 ±0)` - // Minimum execution time: 697_307 nanoseconds. - Weight::from_parts(698_793_000, 0) - .saturating_add(Weight::from_parts(0, 9009)) - // Standard Error: 6_876_720 - .saturating_add(Weight::from_parts(229_912_763, 0).saturating_mul(v.into())) - // Standard Error: 110_350_707 - .saturating_add(Weight::from_parts(3_429_229_662, 0).saturating_mul(b.into())) + // Measured: `1449 + v * (19511 ±0) + b * (48 ±0)` + // Estimated: `15875 + v * (41499 ±0) + b * (104 ±0)` + // Minimum execution time: 648_541_000 picoseconds. + Weight::from_parts(652_000_000, 0) + .saturating_add(Weight::from_parts(0, 15875)) + // Standard Error: 6_037_607 + .saturating_add(Weight::from_parts(201_709_996, 0).saturating_mul(v.into())) + // Standard Error: 96_885_464 + .saturating_add(Weight::from_parts(3_028_782_383, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 41563).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 41499).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 104).saturating_mul(b.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) @@ -152,11 +152,11 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn register_fast_unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `2117` - // Estimated: `29662` - // Minimum execution time: 118_076 nanoseconds. - Weight::from_parts(119_160_000, 0) - .saturating_add(Weight::from_parts(0, 29662)) + // Measured: `1957` + // Estimated: `43522` + // Minimum execution time: 121_666_000 picoseconds. + Weight::from_parts(123_110_000, 0) + .saturating_add(Weight::from_parts(0, 43522)) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(10)) } @@ -172,11 +172,11 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn deregister() -> Weight { // Proof Size summary in bytes: - // Measured: `1220` - // Estimated: `8476` - // Minimum execution time: 41_749 nanoseconds. - Weight::from_parts(42_129_000, 0) - .saturating_add(Weight::from_parts(0, 8476)) + // Measured: `1156` + // Estimated: `13426` + // Minimum execution time: 41_996_000 picoseconds. + Weight::from_parts(42_645_000, 0) + .saturating_add(Weight::from_parts(0, 13426)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -186,8 +186,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_839 nanoseconds. - Weight::from_parts(2_959_000, 0) + // Minimum execution time: 2_921_000 picoseconds. + Weight::from_parts(3_077_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_identity.rs b/runtime/polkadot/src/weights/pallet_identity.rs index d2843824ea44..5ce738a57ade 100644 --- a/runtime/polkadot/src/weights/pallet_identity.rs +++ b/runtime/polkadot/src/weights/pallet_identity.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `64 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 12_682 nanoseconds. - Weight::from_parts(13_076_717, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_382 - .saturating_add(Weight::from_parts(89_437, 0).saturating_mul(r.into())) + // Measured: `32 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 12_470_000 picoseconds. + Weight::from_parts(13_063_945, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_718 + .saturating_add(Weight::from_parts(95_484, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -66,15 +66,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `474 + r * (5 ±0)` - // Estimated: `10013` - // Minimum execution time: 29_982 nanoseconds. - Weight::from_parts(29_717_407, 0) - .saturating_add(Weight::from_parts(0, 10013)) - // Standard Error: 4_183 - .saturating_add(Weight::from_parts(57_038, 0).saturating_mul(r.into())) - // Standard Error: 816 - .saturating_add(Weight::from_parts(456_393, 0).saturating_mul(x.into())) + // Measured: `442 + r * (5 ±0)` + // Estimated: `11003` + // Minimum execution time: 28_961_000 picoseconds. + Weight::from_parts(29_773_203, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 4_460 + .saturating_add(Weight::from_parts(25_994, 0).saturating_mul(r.into())) + // Standard Error: 870 + .saturating_add(Weight::from_parts(437_384, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,12 +88,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `101` - // Estimated: `15746 + s * (2589 ±0)` - // Minimum execution time: 9_055 nanoseconds. - Weight::from_parts(22_730_335, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 4_382 - .saturating_add(Weight::from_parts(2_905_181, 0).saturating_mul(s.into())) + // Estimated: `18716 + s * (2589 ±0)` + // Minimum execution time: 9_352_000 picoseconds. + Weight::from_parts(22_292_854, 0) + .saturating_add(Weight::from_parts(0, 18716)) + // Standard Error: 4_294 + .saturating_add(Weight::from_parts(2_670_872, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -109,13 +109,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `226 + p * (32 ±0)` - // Estimated: `15746` - // Minimum execution time: 8_851 nanoseconds. - Weight::from_parts(21_922_814, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 4_280 - .saturating_add(Weight::from_parts(1_155_221, 0).saturating_mul(p.into())) + // Measured: `194 + p * (32 ±0)` + // Estimated: `17726` + // Minimum execution time: 9_254_000 picoseconds. + Weight::from_parts(20_870_949, 0) + .saturating_add(Weight::from_parts(0, 17726)) + // Standard Error: 5_192 + .saturating_add(Weight::from_parts(1_121_454, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -129,19 +129,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { + fn clear_identity(_r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `15746` - // Minimum execution time: 50_824 nanoseconds. - Weight::from_parts(30_149_529, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 5_159 - .saturating_add(Weight::from_parts(4_837, 0).saturating_mul(r.into())) - // Standard Error: 1_007 - .saturating_add(Weight::from_parts(1_105_370, 0).saturating_mul(s.into())) - // Standard Error: 1_007 - .saturating_add(Weight::from_parts(234_248, 0).saturating_mul(x.into())) + // Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `17726` + // Minimum execution time: 48_861_000 picoseconds. + Weight::from_parts(32_332_715, 0) + .saturating_add(Weight::from_parts(0, 17726)) + // Standard Error: 1_421 + .saturating_add(Weight::from_parts(1_064_012, 0).saturating_mul(s.into())) + // Standard Error: 1_421 + .saturating_add(Weight::from_parts(220_265, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -154,15 +152,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `431 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11649` - // Minimum execution time: 30_853 nanoseconds. - Weight::from_parts(29_526_216, 0) - .saturating_add(Weight::from_parts(0, 11649)) - // Standard Error: 4_586 - .saturating_add(Weight::from_parts(135_813, 0).saturating_mul(r.into())) - // Standard Error: 894 - .saturating_add(Weight::from_parts(481_439, 0).saturating_mul(x.into())) + // Measured: `367 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `13629` + // Minimum execution time: 29_801_000 picoseconds. + Weight::from_parts(29_358_951, 0) + .saturating_add(Weight::from_parts(0, 13629)) + // Standard Error: 6_124 + .saturating_add(Weight::from_parts(86_133, 0).saturating_mul(r.into())) + // Standard Error: 1_195 + .saturating_add(Weight::from_parts(462_787, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -172,15 +170,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `430 + x * (66 ±0)` - // Estimated: `10013` - // Minimum execution time: 27_424 nanoseconds. - Weight::from_parts(26_944_307, 0) - .saturating_add(Weight::from_parts(0, 10013)) - // Standard Error: 4_245 - .saturating_add(Weight::from_parts(78_592, 0).saturating_mul(r.into())) - // Standard Error: 828 - .saturating_add(Weight::from_parts(474_345, 0).saturating_mul(x.into())) + // Measured: `398 + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 26_938_000 picoseconds. + Weight::from_parts(26_481_062, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 4_040 + .saturating_add(Weight::from_parts(74_333, 0).saturating_mul(r.into())) + // Standard Error: 788 + .saturating_add(Weight::from_parts(455_392, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,13 +187,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_641 nanoseconds. - Weight::from_parts(7_977_418, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_439 - .saturating_add(Weight::from_parts(70_951, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 8_173_000 picoseconds. + Weight::from_parts(8_620_743, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 2_076 + .saturating_add(Weight::from_parts(66_988, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,13 +202,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_046 nanoseconds. - Weight::from_parts(7_698_895, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_555 - .saturating_add(Weight::from_parts(90_524, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_708_000 picoseconds. + Weight::from_parts(8_371_148, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_487 + .saturating_add(Weight::from_parts(85_715, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,13 +217,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_213 nanoseconds. - Weight::from_parts(7_839_570, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_489 - .saturating_add(Weight::from_parts(90_081, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_461_000 picoseconds. + Weight::from_parts(8_095_682, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_224 + .saturating_add(Weight::from_parts(91_512, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -237,15 +235,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `509 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11649` - // Minimum execution time: 23_745 nanoseconds. - Weight::from_parts(23_813_603, 0) - .saturating_add(Weight::from_parts(0, 11649)) - // Standard Error: 5_539 - .saturating_add(Weight::from_parts(60_572, 0).saturating_mul(r.into())) - // Standard Error: 1_024 - .saturating_add(Weight::from_parts(767_514, 0).saturating_mul(x.into())) + // Measured: `445 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `13629` + // Minimum execution time: 23_237_000 picoseconds. + Weight::from_parts(23_148_356, 0) + .saturating_add(Weight::from_parts(0, 13629)) + // Standard Error: 7_034 + .saturating_add(Weight::from_parts(60_384, 0).saturating_mul(r.into())) + // Standard Error: 1_301 + .saturating_add(Weight::from_parts(729_280, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -262,17 +260,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `772 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `18349` - // Minimum execution time: 64_265 nanoseconds. - Weight::from_parts(44_251_564, 0) - .saturating_add(Weight::from_parts(0, 18349)) - // Standard Error: 8_578 - .saturating_add(Weight::from_parts(21_520, 0).saturating_mul(r.into())) - // Standard Error: 1_675 - .saturating_add(Weight::from_parts(1_132_823, 0).saturating_mul(s.into())) - // Standard Error: 1_675 - .saturating_add(Weight::from_parts(230_601, 0).saturating_mul(x.into())) + // Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `21319` + // Minimum execution time: 62_305_000 picoseconds. + Weight::from_parts(43_824_574, 0) + .saturating_add(Weight::from_parts(0, 21319)) + // Standard Error: 6_762 + .saturating_add(Weight::from_parts(7_783, 0).saturating_mul(r.into())) + // Standard Error: 1_320 + .saturating_add(Weight::from_parts(1_084_810, 0).saturating_mul(s.into())) + // Standard Error: 1_320 + .saturating_add(Weight::from_parts(220_283, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -286,13 +284,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `507 + s * (36 ±0)` - // Estimated: `18335` - // Minimum execution time: 26_517 nanoseconds. - Weight::from_parts(32_015_136, 0) - .saturating_add(Weight::from_parts(0, 18335)) - // Standard Error: 1_554 - .saturating_add(Weight::from_parts(63_492, 0).saturating_mul(s.into())) + // Measured: `475 + s * (36 ±0)` + // Estimated: `21305` + // Minimum execution time: 26_054_000 picoseconds. + Weight::from_parts(31_294_326, 0) + .saturating_add(Weight::from_parts(0, 21305)) + // Standard Error: 1_490 + .saturating_add(Weight::from_parts(63_859, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -303,13 +301,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `623 + s * (3 ±0)` - // Estimated: `12602` - // Minimum execution time: 12_348 nanoseconds. - Weight::from_parts(14_657_120, 0) - .saturating_add(Weight::from_parts(0, 12602)) - // Standard Error: 688 - .saturating_add(Weight::from_parts(16_667, 0).saturating_mul(s.into())) + // Measured: `591 + s * (3 ±0)` + // Estimated: `14582` + // Minimum execution time: 13_124_000 picoseconds. + Weight::from_parts(14_998_347, 0) + .saturating_add(Weight::from_parts(0, 14582)) + // Standard Error: 662 + .saturating_add(Weight::from_parts(18_822, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -322,13 +320,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `702 + s * (35 ±0)` - // Estimated: `18335` - // Minimum execution time: 30_951 nanoseconds. - Weight::from_parts(33_549_692, 0) - .saturating_add(Weight::from_parts(0, 18335)) - // Standard Error: 984 - .saturating_add(Weight::from_parts(53_468, 0).saturating_mul(s.into())) + // Measured: `638 + s * (35 ±0)` + // Estimated: `21305` + // Minimum execution time: 29_801_000 picoseconds. + Weight::from_parts(33_494_677, 0) + .saturating_add(Weight::from_parts(0, 21305)) + // Standard Error: 1_121 + .saturating_add(Weight::from_parts(48_657, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -339,13 +337,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `628 + s * (37 ±0)` - // Estimated: `8322` - // Minimum execution time: 20_829 nanoseconds. - Weight::from_parts(23_002_413, 0) - .saturating_add(Weight::from_parts(0, 8322)) - // Standard Error: 993 - .saturating_add(Weight::from_parts(57_051, 0).saturating_mul(s.into())) + // Measured: `564 + s * (37 ±0)` + // Estimated: `10302` + // Minimum execution time: 20_091_000 picoseconds. + Weight::from_parts(22_990_717, 0) + .saturating_add(Weight::from_parts(0, 10302)) + // Standard Error: 1_053 + .saturating_add(Weight::from_parts(53_947, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/polkadot/src/weights/pallet_im_online.rs b/runtime/polkadot/src/weights/pallet_im_online.rs index 48ebf239b5e5..f152c52b25e7 100644 --- a/runtime/polkadot/src/weights/pallet_im_online.rs +++ b/runtime/polkadot/src/weights/pallet_im_online.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -59,18 +59,18 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `425 + k * (32 ±0)` - // Estimated: `10345844 + k * (64 ±0) + e * (25 ±0)` - // Minimum execution time: 97_067 nanoseconds. - Weight::from_parts(75_734_166, 0) - .saturating_add(Weight::from_parts(0, 10345844)) - // Standard Error: 372 - .saturating_add(Weight::from_parts(24_977, 0).saturating_mul(k.into())) - // Standard Error: 3_752 - .saturating_add(Weight::from_parts(369_341, 0).saturating_mul(e.into())) + // Measured: `361 + k * (32 ±0)` + // Estimated: `10349676 + e * (35 ±0) + k * (64 ±0)` + // Minimum execution time: 93_081_000 picoseconds. + Weight::from_parts(73_987_584, 0) + .saturating_add(Weight::from_parts(0, 10349676)) + // Standard Error: 265 + .saturating_add(Weight::from_parts(23_186, 0).saturating_mul(k.into())) + // Standard Error: 2_677 + .saturating_add(Weight::from_parts(385_390, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) .saturating_add(Weight::from_parts(0, 64).saturating_mul(k.into())) - .saturating_add(Weight::from_parts(0, 25).saturating_mul(e.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_indices.rs b/runtime/polkadot/src/weights/pallet_indices.rs index 81c01436f78e..6ddf36fb55b5 100644 --- a/runtime/polkadot/src/weights/pallet_indices.rs +++ b/runtime/polkadot/src/weights/pallet_indices.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,10 +50,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `142` - // Estimated: `2544` - // Minimum execution time: 20_661 nanoseconds. - Weight::from_parts(21_119_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Estimated: `3534` + // Minimum execution time: 19_803_000 picoseconds. + Weight::from_parts(20_268_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,11 +63,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `5147` - // Minimum execution time: 26_812 nanoseconds. - Weight::from_parts(28_583_000, 0) - .saturating_add(Weight::from_parts(0, 5147)) + // Measured: `341` + // Estimated: `7127` + // Minimum execution time: 25_909_000 picoseconds. + Weight::from_parts(26_506_000, 0) + .saturating_add(Weight::from_parts(0, 7127)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn free() -> Weight { // Proof Size summary in bytes: - // Measured: `270` - // Estimated: `2544` - // Minimum execution time: 24_615 nanoseconds. - Weight::from_parts(25_129_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Measured: `238` + // Estimated: `3534` + // Minimum execution time: 21_587_000 picoseconds. + Weight::from_parts(21_867_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,11 +89,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `5147` - // Minimum execution time: 28_521 nanoseconds. - Weight::from_parts(28_862_000, 0) - .saturating_add(Weight::from_parts(0, 5147)) + // Measured: `341` + // Estimated: `7127` + // Minimum execution time: 24_681_000 picoseconds. + Weight::from_parts(25_015_000, 0) + .saturating_add(Weight::from_parts(0, 7127)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -101,11 +101,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `270` - // Estimated: `2544` - // Minimum execution time: 26_866 nanoseconds. - Weight::from_parts(27_520_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Measured: `238` + // Estimated: `3534` + // Minimum execution time: 23_779_000 picoseconds. + Weight::from_parts(24_063_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_membership.rs b/runtime/polkadot/src/weights/pallet_membership.rs index 9430dd89e9b4..5385930dcf01 100644 --- a/runtime/polkadot/src/weights/pallet_membership.rs +++ b/runtime/polkadot/src/weights/pallet_membership.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -56,13 +56,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `238 + m * (64 ±0)` - // Estimated: `4903 + m * (192 ±0)` - // Minimum execution time: 17_526 nanoseconds. - Weight::from_parts(18_753_497, 0) - .saturating_add(Weight::from_parts(0, 4903)) - // Standard Error: 447 - .saturating_add(Weight::from_parts(36_485, 0).saturating_mul(m.into())) + // Measured: `174 + m * (64 ±0)` + // Estimated: `6691 + m * (192 ±0)` + // Minimum execution time: 17_359_000 picoseconds. + Weight::from_parts(18_173_677, 0) + .saturating_add(Weight::from_parts(0, 6691)) + // Standard Error: 389 + .saturating_add(Weight::from_parts(35_085, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -80,13 +80,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `342 + m * (64 ±0)` - // Estimated: `5742 + m * (192 ±0)` - // Minimum execution time: 20_636 nanoseconds. - Weight::from_parts(20_995_974, 0) - .saturating_add(Weight::from_parts(0, 5742)) - // Standard Error: 882 - .saturating_add(Weight::from_parts(46_721, 0).saturating_mul(m.into())) + // Measured: `278 + m * (64 ±0)` + // Estimated: `8520 + m * (192 ±0)` + // Minimum execution time: 19_931_000 picoseconds. + Weight::from_parts(20_950_239, 0) + .saturating_add(Weight::from_parts(0, 8520)) + // Standard Error: 514 + .saturating_add(Weight::from_parts(31_071, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -104,13 +104,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `342 + m * (64 ±0)` - // Estimated: `5742 + m * (192 ±0)` - // Minimum execution time: 20_321 nanoseconds. - Weight::from_parts(21_337_626, 0) - .saturating_add(Weight::from_parts(0, 5742)) - // Standard Error: 562 - .saturating_add(Weight::from_parts(51_247, 0).saturating_mul(m.into())) + // Measured: `278 + m * (64 ±0)` + // Estimated: `8520 + m * (192 ±0)` + // Minimum execution time: 20_103_000 picoseconds. + Weight::from_parts(21_060_772, 0) + .saturating_add(Weight::from_parts(0, 8520)) + // Standard Error: 683 + .saturating_add(Weight::from_parts(49_542, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -128,13 +128,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `342 + m * (64 ±0)` - // Estimated: `5742 + m * (192 ±0)` - // Minimum execution time: 19_216 nanoseconds. - Weight::from_parts(21_532_264, 0) - .saturating_add(Weight::from_parts(0, 5742)) - // Standard Error: 868 - .saturating_add(Weight::from_parts(167_139, 0).saturating_mul(m.into())) + // Measured: `278 + m * (64 ±0)` + // Estimated: `8520 + m * (192 ±0)` + // Minimum execution time: 19_104_000 picoseconds. + Weight::from_parts(21_237_054, 0) + .saturating_add(Weight::from_parts(0, 8520)) + // Standard Error: 767 + .saturating_add(Weight::from_parts(159_890, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -152,13 +152,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `342 + m * (64 ±0)` - // Estimated: `5742 + m * (192 ±0)` - // Minimum execution time: 20_705 nanoseconds. - Weight::from_parts(21_856_516, 0) - .saturating_add(Weight::from_parts(0, 5742)) - // Standard Error: 604 - .saturating_add(Weight::from_parts(48_209, 0).saturating_mul(m.into())) + // Measured: `278 + m * (64 ±0)` + // Estimated: `8520 + m * (192 ±0)` + // Minimum execution time: 20_430_000 picoseconds. + Weight::from_parts(21_468_055, 0) + .saturating_add(Weight::from_parts(0, 8520)) + // Standard Error: 509 + .saturating_add(Weight::from_parts(45_843, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -172,13 +172,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `64 + m * (32 ±0)` - // Estimated: `3761 + m * (32 ±0)` - // Minimum execution time: 8_241 nanoseconds. - Weight::from_parts(8_853_934, 0) - .saturating_add(Weight::from_parts(0, 3761)) - // Standard Error: 235 - .saturating_add(Weight::from_parts(8_869, 0).saturating_mul(m.into())) + // Measured: `32 + m * (32 ±0)` + // Estimated: `4719 + m * (32 ±0)` + // Minimum execution time: 8_082_000 picoseconds. + Weight::from_parts(8_670_672, 0) + .saturating_add(Weight::from_parts(0, 4719)) + // Standard Error: 370 + .saturating_add(Weight::from_parts(8_577, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -192,11 +192,11 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_407 nanoseconds. - Weight::from_parts(3_649_749, 0) + // Minimum execution time: 3_331_000 picoseconds. + Weight::from_parts(3_547_187, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 83 - .saturating_add(Weight::from_parts(693, 0).saturating_mul(m.into())) + // Standard Error: 84 + .saturating_add(Weight::from_parts(714, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/polkadot/src/weights/pallet_multisig.rs b/runtime/polkadot/src/weights/pallet_multisig.rs index 4e6aaf1ec32b..71f0925c0184 100644 --- a/runtime/polkadot/src/weights/pallet_multisig.rs +++ b/runtime/polkadot/src/weights/pallet_multisig.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,11 +50,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_525 nanoseconds. - Weight::from_parts(12_904_639, 0) + // Minimum execution time: 11_763_000 picoseconds. + Weight::from_parts(12_332_905, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(627, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(494, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -62,15 +62,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `318 + s * (2 ±0)` - // Estimated: `5821` - // Minimum execution time: 38_261 nanoseconds. - Weight::from_parts(31_580_896, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 643 - .saturating_add(Weight::from_parts(73_644, 0).saturating_mul(s.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_645, 0).saturating_mul(z.into())) + // Measured: `267 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 36_295_000 picoseconds. + Weight::from_parts(32_052_492, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 1_348 + .saturating_add(Weight::from_parts(49_904, 0).saturating_mul(s.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_181, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,15 +80,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `317` - // Estimated: `5821` - // Minimum execution time: 28_521 nanoseconds. - Weight::from_parts(22_322_453, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 511 - .saturating_add(Weight::from_parts(70_428, 0).saturating_mul(s.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_572, 0).saturating_mul(z.into())) + // Measured: `286` + // Estimated: `6811` + // Minimum execution time: 27_416_000 picoseconds. + Weight::from_parts(21_742_435, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 394 + .saturating_add(Weight::from_parts(59_934, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_148, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,15 +100,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `455 + s * (33 ±0)` - // Estimated: `8424` - // Minimum execution time: 43_031 nanoseconds. - Weight::from_parts(35_249_755, 0) - .saturating_add(Weight::from_parts(0, 8424)) - // Standard Error: 475 - .saturating_add(Weight::from_parts(86_751, 0).saturating_mul(s.into())) + // Measured: `392 + s * (33 ±0)` + // Estimated: `10404` + // Minimum execution time: 41_621_000 picoseconds. + Weight::from_parts(34_915_089, 0) + .saturating_add(Weight::from_parts(0, 10404)) + // Standard Error: 485 + .saturating_add(Weight::from_parts(73_141, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_638, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,13 +117,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `325 + s * (2 ±0)` - // Estimated: `5821` - // Minimum execution time: 29_204 nanoseconds. - Weight::from_parts(30_223_154, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 721 - .saturating_add(Weight::from_parts(74_976, 0).saturating_mul(s.into())) + // Measured: `267 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 28_725_000 picoseconds. + Weight::from_parts(29_326_994, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 661 + .saturating_add(Weight::from_parts(65_599, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -132,13 +132,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `317` - // Estimated: `5821` - // Minimum execution time: 19_489 nanoseconds. - Weight::from_parts(19_999_669, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 476 - .saturating_add(Weight::from_parts(72_585, 0).saturating_mul(s.into())) + // Measured: `286` + // Estimated: `6811` + // Minimum execution time: 19_208_000 picoseconds. + Weight::from_parts(20_086_797, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 699 + .saturating_add(Weight::from_parts(54_418, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -147,13 +147,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `521 + s * (1 ±0)` - // Estimated: `5821` - // Minimum execution time: 30_287 nanoseconds. - Weight::from_parts(31_301_844, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 704 - .saturating_add(Weight::from_parts(74_055, 0).saturating_mul(s.into())) + // Measured: `458 + s * (1 ±0)` + // Estimated: `6811` + // Minimum execution time: 29_217_000 picoseconds. + Weight::from_parts(30_489_686, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 641 + .saturating_add(Weight::from_parts(60_784, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_nomination_pools.rs b/runtime/polkadot/src/weights/pallet_nomination_pools.rs index 6e67e2854f17..0d5e9a8da2b4 100644 --- a/runtime/polkadot/src/weights/pallet_nomination_pools.rs +++ b/runtime/polkadot/src/weights/pallet_nomination_pools.rs @@ -16,24 +16,22 @@ //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=polkadot-dev // --steps=50 // --repeat=20 +// --pallet=pallet_nomination_pools // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=pallet_nomination_pools -// --chain=polkadot-dev // --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -77,10 +75,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn join() -> Weight { // Proof Size summary in bytes: - // Measured: `3545` + // Measured: `3195` // Estimated: `52915` - // Minimum execution time: 154_178_000 picoseconds. - Weight::from_parts(155_912_000, 0) + // Minimum execution time: 153_317_000 picoseconds. + Weight::from_parts(155_205_000, 0) .saturating_add(Weight::from_parts(0, 52915)) .saturating_add(T::DbWeight::get().reads(18)) .saturating_add(T::DbWeight::get().writes(12)) @@ -107,10 +105,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn bond_extra_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `3587` + // Measured: `3205` // Estimated: `49550` - // Minimum execution time: 151_694_000 picoseconds. - Weight::from_parts(156_751_000, 0) + // Minimum execution time: 152_349_000 picoseconds. + Weight::from_parts(153_577_000, 0) .saturating_add(Weight::from_parts(0, 49550)) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(12)) @@ -139,10 +137,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn bond_extra_other() -> Weight { // Proof Size summary in bytes: - // Measured: `3470` + // Measured: `3152` // Estimated: `50427` - // Minimum execution time: 164_123_000 picoseconds. - Weight::from_parts(165_444_000, 0) + // Minimum execution time: 163_676_000 picoseconds. + Weight::from_parts(164_543_000, 0) .saturating_add(Weight::from_parts(0, 50427)) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(12)) @@ -161,10 +159,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim_payout() -> Weight { // Proof Size summary in bytes: - // Measured: `1297` + // Measured: `1137` // Estimated: `20012` - // Minimum execution time: 61_194_000 picoseconds. - Weight::from_parts(62_067_000, 0) + // Minimum execution time: 60_510_000 picoseconds. + Weight::from_parts(60_899_000, 0) .saturating_add(Weight::from_parts(0, 20012)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -201,10 +199,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools CounterForSubPoolsStorage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `3825` + // Measured: `3475` // Estimated: `60111` - // Minimum execution time: 155_272_000 picoseconds. - Weight::from_parts(156_629_000, 0) + // Minimum execution time: 160_499_000 picoseconds. + Weight::from_parts(165_823_000, 0) .saturating_add(Weight::from_parts(0, 60111)) .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().writes(13)) @@ -222,13 +220,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1676` + // Measured: `1580` // Estimated: `18031` - // Minimum execution time: 54_207_000 picoseconds. - Weight::from_parts(56_142_332, 0) + // Minimum execution time: 54_267_000 picoseconds. + Weight::from_parts(55_820_843, 0) .saturating_add(Weight::from_parts(0, 18031)) - // Standard Error: 4_547 - .saturating_add(Weight::from_parts(4_570, 0).saturating_mul(s.into())) + // Standard Error: 986 + .saturating_add(Weight::from_parts(3_879, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -255,13 +253,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2200` + // Measured: `2008` // Estimated: `31957` - // Minimum execution time: 103_172_000 picoseconds. - Weight::from_parts(106_375_310, 0) + // Minimum execution time: 103_090_000 picoseconds. + Weight::from_parts(104_931_057, 0) .saturating_add(Weight::from_parts(0, 31957)) - // Standard Error: 6_965 - .saturating_add(Weight::from_parts(7_411, 0).saturating_mul(s.into())) + // Standard Error: 1_513 + .saturating_add(Weight::from_parts(19_309, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -310,11 +308,11 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(_s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2588` - // Estimated: `64903` - // Minimum execution time: 162_253_000 picoseconds. - Weight::from_parts(180_162_421, 0) - .saturating_add(Weight::from_parts(0, 64903)) + // Measured: `2364` + // Estimated: `64679` + // Minimum execution time: 162_339_000 picoseconds. + Weight::from_parts(165_469_959, 0) + .saturating_add(Weight::from_parts(0, 64679)) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(18)) } @@ -362,10 +360,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1220` + // Measured: `1188` // Estimated: `51890` - // Minimum execution time: 143_473_000 picoseconds. - Weight::from_parts(145_473_000, 0) + // Minimum execution time: 142_161_000 picoseconds. + Weight::from_parts(144_156_000, 0) .saturating_add(Weight::from_parts(0, 51890)) .saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().writes(15)) @@ -397,13 +395,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1809` + // Measured: `1745` // Estimated: `33934 + n * (2520 ±0)` - // Minimum execution time: 67_193_000 picoseconds. - Weight::from_parts(68_165_415, 0) + // Minimum execution time: 66_947_000 picoseconds. + Weight::from_parts(67_531_417, 0) .saturating_add(Weight::from_parts(0, 33934)) - // Standard Error: 10_479 - .saturating_add(Weight::from_parts(1_263_947, 0).saturating_mul(n.into())) + // Standard Error: 7_943 + .saturating_add(Weight::from_parts(1_375_518, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -417,10 +415,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) fn set_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1397` + // Measured: `1333` // Estimated: `11778` - // Minimum execution time: 33_972_000 picoseconds. - Weight::from_parts(34_300_000, 0) + // Minimum execution time: 34_254_000 picoseconds. + Weight::from_parts(34_690_000, 0) .saturating_add(Weight::from_parts(0, 11778)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -434,13 +432,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `529` + // Measured: `497` // Estimated: `8909` - // Minimum execution time: 15_429_000 picoseconds. - Weight::from_parts(16_414_594, 0) + // Minimum execution time: 15_060_000 picoseconds. + Weight::from_parts(15_636_930, 0) .saturating_add(Weight::from_parts(0, 8909)) - // Standard Error: 857 - .saturating_add(Weight::from_parts(732, 0).saturating_mul(n.into())) + // Standard Error: 239 + .saturating_add(Weight::from_parts(2_097, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -460,8 +458,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_354_000 picoseconds. - Weight::from_parts(6_629_000, 0) + // Minimum execution time: 6_224_000 picoseconds. + Weight::from_parts(6_449_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -469,10 +467,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen) fn update_roles() -> Weight { // Proof Size summary in bytes: - // Measured: `529` + // Measured: `497` // Estimated: `3685` - // Minimum execution time: 21_124_000 picoseconds. - Weight::from_parts(21_372_000, 0) + // Minimum execution time: 20_975_000 picoseconds. + Weight::from_parts(21_379_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -497,10 +495,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `2036` + // Measured: `1908` // Estimated: `29455` - // Minimum execution time: 65_370_000 picoseconds. - Weight::from_parts(66_126_000, 0) + // Minimum execution time: 66_803_000 picoseconds. + Weight::from_parts(67_694_000, 0) .saturating_add(Weight::from_parts(0, 29455)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) @@ -515,10 +513,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `832` + // Measured: `736` // Estimated: `12324` - // Minimum execution time: 33_108_000 picoseconds. - Weight::from_parts(33_466_000, 0) + // Minimum execution time: 33_778_000 picoseconds. + Weight::from_parts(34_088_000, 0) .saturating_add(Weight::from_parts(0, 12324)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -527,10 +525,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen) fn set_commission_max() -> Weight { // Proof Size summary in bytes: - // Measured: `569` + // Measured: `537` // Estimated: `3685` - // Minimum execution time: 19_755_000 picoseconds. - Weight::from_parts(20_033_000, 0) + // Minimum execution time: 19_949_000 picoseconds. + Weight::from_parts(20_153_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -539,10 +537,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen) fn set_commission_change_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `529` + // Measured: `497` // Estimated: `3685` - // Minimum execution time: 20_908_000 picoseconds. - Weight::from_parts(21_219_000, 0) + // Minimum execution time: 20_431_000 picoseconds. + Weight::from_parts(20_881_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -555,8 +553,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `508` // Estimated: `7688` - // Minimum execution time: 15_851_000 picoseconds. - Weight::from_parts(16_068_000, 0) + // Minimum execution time: 15_214_000 picoseconds. + Weight::from_parts(15_524_000, 0) .saturating_add(Weight::from_parts(0, 7688)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -571,10 +569,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `1062` + // Measured: `934` // Estimated: `12324` - // Minimum execution time: 44_544_000 picoseconds. - Weight::from_parts(45_240_000, 0) + // Minimum execution time: 45_053_000 picoseconds. + Weight::from_parts(45_573_000, 0) .saturating_add(Weight::from_parts(0, 12324)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/polkadot/src/weights/pallet_preimage.rs b/runtime/polkadot/src/weights/pallet_preimage.rs index 2d604245e541..05804b3acf3c 100644 --- a/runtime/polkadot/src/weights/pallet_preimage.rs +++ b/runtime/polkadot/src/weights/pallet_preimage.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -52,13 +52,13 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `175` - // Estimated: `2566` - // Minimum execution time: 27_940 nanoseconds. - Weight::from_parts(28_162_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `143` + // Estimated: `3556` + // Minimum execution time: 26_903_000 picoseconds. + Weight::from_parts(27_190_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_390, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_973, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -70,12 +70,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 17_953 nanoseconds. - Weight::from_parts(18_146_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 17_548_000 picoseconds. + Weight::from_parts(17_666_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_389, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_967, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,12 +87,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 17_394 nanoseconds. - Weight::from_parts(17_572_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 15_790_000 picoseconds. + Weight::from_parts(16_099_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_386, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_969, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -102,11 +102,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `353` - // Estimated: `2566` - // Minimum execution time: 34_819 nanoseconds. - Weight::from_parts(36_012_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `289` + // Estimated: `3556` + // Minimum execution time: 33_266_000 picoseconds. + Weight::from_parts(34_064_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,10 +117,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 22_730 nanoseconds. - Weight::from_parts(23_936_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 22_796_000 picoseconds. + Weight::from_parts(23_386_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,11 +128,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `220` - // Estimated: `2566` - // Minimum execution time: 19_808 nanoseconds. - Weight::from_parts(21_010_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `188` + // Estimated: `3556` + // Minimum execution time: 19_426_000 picoseconds. + Weight::from_parts(20_293_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -141,10 +141,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 12_864 nanoseconds. - Weight::from_parts(13_780_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 12_514_000 picoseconds. + Weight::from_parts(13_218_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -153,10 +153,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `42` - // Estimated: `2566` - // Minimum execution time: 14_507 nanoseconds. - Weight::from_parts(15_339_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 13_987_000 picoseconds. + Weight::from_parts(14_548_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -165,10 +165,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 9_058 nanoseconds. - Weight::from_parts(9_570_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 8_946_000 picoseconds. + Weight::from_parts(9_307_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,10 +179,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 21_505 nanoseconds. - Weight::from_parts(22_513_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 21_083_000 picoseconds. + Weight::from_parts(21_862_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -191,10 +191,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 8_747 nanoseconds. - Weight::from_parts(9_161_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 8_890_000 picoseconds. + Weight::from_parts(9_259_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,10 +203,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 9_108 nanoseconds. - Weight::from_parts(9_493_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 8_792_000 picoseconds. + Weight::from_parts(9_369_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_proxy.rs b/runtime/polkadot/src/weights/pallet_proxy.rs index fdad64b4ef36..b4bb0cbc1f64 100644 --- a/runtime/polkadot/src/weights/pallet_proxy.rs +++ b/runtime/polkadot/src/weights/pallet_proxy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -48,13 +48,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Storage: Proxy Proxies (r:1 w:0) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn proxy(_p: u32, ) -> Weight { + fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 16_045 nanoseconds. - Weight::from_parts(17_922_796, 0) - .saturating_add(Weight::from_parts(0, 3716)) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 15_240_000 picoseconds. + Weight::from_parts(16_156_554, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_183 + .saturating_add(Weight::from_parts(31_488, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -67,15 +69,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `650 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `11027` - // Minimum execution time: 34_619 nanoseconds. - Weight::from_parts(35_338_676, 0) - .saturating_add(Weight::from_parts(0, 11027)) - // Standard Error: 1_899 - .saturating_add(Weight::from_parts(162_971, 0).saturating_mul(a.into())) - // Standard Error: 1_963 - .saturating_add(Weight::from_parts(13_533, 0).saturating_mul(p.into())) + // Measured: `554 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `13997` + // Minimum execution time: 33_768_000 picoseconds. + Weight::from_parts(34_423_100, 0) + .saturating_add(Weight::from_parts(0, 13997)) + // Standard Error: 1_930 + .saturating_add(Weight::from_parts(146_962, 0).saturating_mul(a.into())) + // Standard Error: 1_994 + .saturating_add(Weight::from_parts(30_433, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -85,17 +87,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, p: u32, ) -> Weight { + fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + a * (68 ±0)` - // Estimated: `7311` - // Minimum execution time: 21_156 nanoseconds. - Weight::from_parts(22_277_542, 0) - .saturating_add(Weight::from_parts(0, 7311)) - // Standard Error: 1_498 - .saturating_add(Weight::from_parts(164_253, 0).saturating_mul(a.into())) - // Standard Error: 1_548 - .saturating_add(Weight::from_parts(3_031, 0).saturating_mul(p.into())) + // Measured: `469 + a * (68 ±0)` + // Estimated: `9291` + // Minimum execution time: 21_123_000 picoseconds. + Weight::from_parts(22_386_093, 0) + .saturating_add(Weight::from_parts(0, 9291)) + // Standard Error: 1_359 + .saturating_add(Weight::from_parts(145_403, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,13 +107,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + a * (68 ±0)` - // Estimated: `7311` - // Minimum execution time: 21_507 nanoseconds. - Weight::from_parts(23_041_588, 0) - .saturating_add(Weight::from_parts(0, 7311)) - // Standard Error: 1_515 - .saturating_add(Weight::from_parts(143_107, 0).saturating_mul(a.into())) + // Measured: `469 + a * (68 ±0)` + // Estimated: `9291` + // Minimum execution time: 21_494_000 picoseconds. + Weight::from_parts(22_643_298, 0) + .saturating_add(Weight::from_parts(0, 9291)) + // Standard Error: 1_356 + .saturating_add(Weight::from_parts(139_061, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -127,15 +127,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `582 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `11027` - // Minimum execution time: 30_053 nanoseconds. - Weight::from_parts(31_573_633, 0) - .saturating_add(Weight::from_parts(0, 11027)) - // Standard Error: 2_251 - .saturating_add(Weight::from_parts(140_597, 0).saturating_mul(a.into())) - // Standard Error: 2_326 - .saturating_add(Weight::from_parts(33_286, 0).saturating_mul(p.into())) + // Measured: `486 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `13997` + // Minimum execution time: 29_471_000 picoseconds. + Weight::from_parts(31_139_616, 0) + .saturating_add(Weight::from_parts(0, 13997)) + // Standard Error: 2_327 + .saturating_add(Weight::from_parts(134_479, 0).saturating_mul(a.into())) + // Standard Error: 2_404 + .saturating_add(Weight::from_parts(27_990, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -144,13 +144,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 22_886 nanoseconds. - Weight::from_parts(23_835_705, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_804 - .saturating_add(Weight::from_parts(57_157, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 22_663_000 picoseconds. + Weight::from_parts(23_437_086, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_534 + .saturating_add(Weight::from_parts(51_713, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -159,13 +159,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 22_234 nanoseconds. - Weight::from_parts(23_637_414, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_672 - .saturating_add(Weight::from_parts(65_808, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 22_175_000 picoseconds. + Weight::from_parts(23_236_442, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_888 + .saturating_add(Weight::from_parts(63_413, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,28 +174,26 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 17_995 nanoseconds. - Weight::from_parts(18_853_035, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 2_823 - .saturating_add(Weight::from_parts(35_158, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 17_652_000 picoseconds. + Weight::from_parts(18_389_443, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_218 + .saturating_add(Weight::from_parts(34_491, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn create_pure(p: u32, ) -> Weight { + fn create_pure(_p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239` - // Estimated: `3716` - // Minimum execution time: 24_710 nanoseconds. - Weight::from_parts(25_539_249, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_383 - .saturating_add(Weight::from_parts(10_689, 0).saturating_mul(p.into())) + // Estimated: `4706` + // Minimum execution time: 24_392_000 picoseconds. + Weight::from_parts(25_664_761, 0) + .saturating_add(Weight::from_parts(0, 4706)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,13 +202,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `296 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 19_199 nanoseconds. - Weight::from_parts(19_877_054, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_043 - .saturating_add(Weight::from_parts(31_448, 0).saturating_mul(p.into())) + // Measured: `264 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 18_839_000 picoseconds. + Weight::from_parts(19_781_900, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_148 + .saturating_add(Weight::from_parts(26_532, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_scheduler.rs b/runtime/polkadot/src/weights/pallet_scheduler.rs index c08daf240bc3..a74b3d386a38 100644 --- a/runtime/polkadot/src/weights/pallet_scheduler.rs +++ b/runtime/polkadot/src/weights/pallet_scheduler.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,10 +50,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `69` - // Estimated: `499` - // Minimum execution time: 4_926 nanoseconds. - Weight::from_parts(5_185_000, 0) - .saturating_add(Weight::from_parts(0, 499)) + // Estimated: `1489` + // Minimum execution time: 4_858_000 picoseconds. + Weight::from_parts(5_072_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,13 +62,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 4_566 nanoseconds. - Weight::from_parts(7_521_754, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 2_078 - .saturating_add(Weight::from_parts(981_390, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 4_519_000 picoseconds. + Weight::from_parts(7_811_863, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_079 + .saturating_add(Weight::from_parts(766_213, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,8 +76,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_979 nanoseconds. - Weight::from_parts(6_097_000, 0) + // Minimum execution time: 5_627_000 picoseconds. + Weight::from_parts(5_756_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -87,13 +87,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + s * (1 ±0)` - // Estimated: `5252 + s * (1 ±0)` - // Minimum execution time: 20_316 nanoseconds. - Weight::from_parts(20_395_000, 0) - .saturating_add(Weight::from_parts(0, 5252)) + // Measured: `179 + s * (1 ±0)` + // Estimated: `7200 + s * (1 ±0)` + // Minimum execution time: 19_882_000 picoseconds. + Weight::from_parts(20_080_000, 0) + .saturating_add(Weight::from_parts(0, 7200)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_259, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_169, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -104,8 +104,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_432 nanoseconds. - Weight::from_parts(7_590_000, 0) + // Minimum execution time: 7_189_000 picoseconds. + Weight::from_parts(7_300_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,24 +113,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_809 nanoseconds. - Weight::from_parts(5_893_000, 0) + // Minimum execution time: 5_591_000 picoseconds. + Weight::from_parts(5_846_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_608 nanoseconds. - Weight::from_parts(2_747_000, 0) + // Minimum execution time: 2_829_000 picoseconds. + Weight::from_parts(2_934_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_614 nanoseconds. - Weight::from_parts(2_712_000, 0) + // Minimum execution time: 2_882_000 picoseconds. + Weight::from_parts(3_011_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -138,13 +138,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 14_631 nanoseconds. - Weight::from_parts(17_646_956, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 2_176 - .saturating_add(Weight::from_parts(961_640, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 14_713_000 picoseconds. + Weight::from_parts(17_974_480, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_070 + .saturating_add(Weight::from_parts(764_707, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -155,13 +155,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 19_439 nanoseconds. - Weight::from_parts(18_724_125, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 3_388 - .saturating_add(Weight::from_parts(1_745_988, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 18_767_000 picoseconds. + Weight::from_parts(18_850_698, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_413 + .saturating_add(Weight::from_parts(1_357_448, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -172,13 +172,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `325 + s * (185 ±0)` - // Estimated: `43961` - // Minimum execution time: 17_649 nanoseconds. - Weight::from_parts(21_717_238, 0) - .saturating_add(Weight::from_parts(0, 43961)) - // Standard Error: 3_317 - .saturating_add(Weight::from_parts(999_966, 0).saturating_mul(s.into())) + // Measured: `293 + s * (185 ±0)` + // Estimated: `45941` + // Minimum execution time: 17_916_000 picoseconds. + Weight::from_parts(22_059_321, 0) + .saturating_add(Weight::from_parts(0, 45941)) + // Standard Error: 2_824 + .saturating_add(Weight::from_parts(799_039, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -189,13 +189,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `351 + s * (185 ±0)` - // Estimated: `43961` - // Minimum execution time: 20_150 nanoseconds. - Weight::from_parts(20_756_481, 0) - .saturating_add(Weight::from_parts(0, 43961)) - // Standard Error: 5_251 - .saturating_add(Weight::from_parts(1_768_601, 0).saturating_mul(s.into())) + // Measured: `319 + s * (185 ±0)` + // Estimated: `45941` + // Minimum execution time: 20_119_000 picoseconds. + Weight::from_parts(20_649_613, 0) + .saturating_add(Weight::from_parts(0, 45941)) + // Standard Error: 2_688 + .saturating_add(Weight::from_parts(1_382_906, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/polkadot/src/weights/pallet_session.rs b/runtime/polkadot/src/weights/pallet_session.rs index 85a2a563f1d6..20f15e4847b4 100644 --- a/runtime/polkadot/src/weights/pallet_session.rs +++ b/runtime/polkadot/src/weights/pallet_session.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -53,11 +53,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `1951` - // Estimated: `24793` - // Minimum execution time: 52_494 nanoseconds. - Weight::from_parts(53_401_000, 0) - .saturating_add(Weight::from_parts(0, 24793)) + // Measured: `1887` + // Estimated: `27635` + // Minimum execution time: 52_350_000 picoseconds. + Weight::from_parts(53_422_000, 0) + .saturating_add(Weight::from_parts(0, 27635)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -69,11 +69,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `1847` - // Estimated: `9735` - // Minimum execution time: 36_990 nanoseconds. - Weight::from_parts(37_780_000, 0) - .saturating_add(Weight::from_parts(0, 9735)) + // Measured: `1751` + // Estimated: `11523` + // Minimum execution time: 36_833_000 picoseconds. + Weight::from_parts(37_834_000, 0) + .saturating_add(Weight::from_parts(0, 11523)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/polkadot/src/weights/pallet_staking.rs b/runtime/polkadot/src/weights/pallet_staking.rs index 0a77b33364ea..dfb559fe1f69 100644 --- a/runtime/polkadot/src/weights/pallet_staking.rs +++ b/runtime/polkadot/src/weights/pallet_staking.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -57,11 +57,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `1012` - // Estimated: `10386` - // Minimum execution time: 43_740 nanoseconds. - Weight::from_parts(44_468_000, 0) - .saturating_add(Weight::from_parts(0, 10386)) + // Measured: `980` + // Estimated: `14346` + // Minimum execution time: 42_906_000 picoseconds. + Weight::from_parts(43_417_000, 0) + .saturating_add(Weight::from_parts(0, 14346)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -77,11 +77,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn bond_extra() -> Weight { // Proof Size summary in bytes: - // Measured: `2149` - // Estimated: `22888` - // Minimum execution time: 85_188 nanoseconds. - Weight::from_parts(85_825_000, 0) - .saturating_add(Weight::from_parts(0, 22888)) + // Measured: `1925` + // Estimated: `27838` + // Minimum execution time: 81_967_000 picoseconds. + Weight::from_parts(84_380_000, 0) + .saturating_add(Weight::from_parts(0, 27838)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -105,11 +105,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `2356` - // Estimated: `29534` - // Minimum execution time: 92_366 nanoseconds. - Weight::from_parts(93_364_000, 0) - .saturating_add(Weight::from_parts(0, 29534)) + // Measured: `2132` + // Estimated: `38444` + // Minimum execution time: 89_783_000 picoseconds. + Weight::from_parts(91_329_000, 0) + .saturating_add(Weight::from_parts(0, 38444)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -124,13 +124,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1011` - // Estimated: `10442` - // Minimum execution time: 34_821 nanoseconds. - Weight::from_parts(36_375_117, 0) - .saturating_add(Weight::from_parts(0, 10442)) - // Standard Error: 528 - .saturating_add(Weight::from_parts(9_227, 0).saturating_mul(s.into())) + // Measured: `947` + // Estimated: `14402` + // Minimum execution time: 34_307_000 picoseconds. + Weight::from_parts(35_346_256, 0) + .saturating_add(Weight::from_parts(0, 14402)) + // Standard Error: 663 + .saturating_add(Weight::from_parts(12_943, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -165,13 +165,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2377 + s * (4 ±0)` - // Estimated: `32194 + s * (4 ±0)` - // Minimum execution time: 80_054 nanoseconds. - Weight::from_parts(85_486_698, 0) - .saturating_add(Weight::from_parts(0, 32194)) - // Standard Error: 2_051 - .saturating_add(Weight::from_parts(1_190_809, 0).saturating_mul(s.into())) + // Measured: `2185 + s * (4 ±0)` + // Estimated: `43890 + s * (4 ±0)` + // Minimum execution time: 77_464_000 picoseconds. + Weight::from_parts(83_471_705, 0) + .saturating_add(Weight::from_parts(0, 43890)) + // Standard Error: 2_332 + .saturating_add(Weight::from_parts(1_136_738, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -201,11 +201,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CounterForValidators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn validate() -> Weight { // Proof Size summary in bytes: - // Measured: `1341` - // Estimated: `19359` - // Minimum execution time: 58_711 nanoseconds. - Weight::from_parts(59_365_000, 0) - .saturating_add(Weight::from_parts(0, 19359)) + // Measured: `1309` + // Estimated: `30249` + // Minimum execution time: 57_370_000 picoseconds. + Weight::from_parts(59_075_000, 0) + .saturating_add(Weight::from_parts(0, 30249)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -216,13 +216,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1221 + k * (601 ±0)` - // Estimated: `3566 + k * (3033 ±0)` - // Minimum execution time: 27_191 nanoseconds. - Weight::from_parts(26_752_481, 0) - .saturating_add(Weight::from_parts(0, 3566)) - // Standard Error: 9_824 - .saturating_add(Weight::from_parts(8_400_737, 0).saturating_mul(k.into())) + // Measured: `1189 + k * (569 ±0)` + // Estimated: `5546 + k * (3033 ±0)` + // Minimum execution time: 27_075_000 picoseconds. + Weight::from_parts(27_059_752, 0) + .saturating_add(Weight::from_parts(0, 5546)) + // Standard Error: 9_837 + .saturating_add(Weight::from_parts(8_031_836, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -253,13 +253,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1881 + n * (105 ±0)` - // Estimated: `21988 + n * (2520 ±0)` - // Minimum execution time: 66_494 nanoseconds. - Weight::from_parts(63_759_325, 0) - .saturating_add(Weight::from_parts(0, 21988)) - // Standard Error: 13_741 - .saturating_add(Weight::from_parts(3_422_077, 0).saturating_mul(n.into())) + // Measured: `1785 + n * (105 ±0)` + // Estimated: `32878 + n * (2520 ±0)` + // Minimum execution time: 65_046_000 picoseconds. + Weight::from_parts(62_579_946, 0) + .saturating_add(Weight::from_parts(0, 32878)) + // Standard Error: 14_378 + .saturating_add(Weight::from_parts(3_238_044, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -281,11 +281,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `1767` - // Estimated: `17932` - // Minimum execution time: 58_584 nanoseconds. - Weight::from_parts(59_566_000, 0) - .saturating_add(Weight::from_parts(0, 17932)) + // Measured: `1639` + // Estimated: `24862` + // Minimum execution time: 57_369_000 picoseconds. + Weight::from_parts(58_001_000, 0) + .saturating_add(Weight::from_parts(0, 24862)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -295,11 +295,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn set_payee() -> Weight { // Proof Size summary in bytes: - // Measured: `769` - // Estimated: `3566` - // Minimum execution time: 15_107 nanoseconds. - Weight::from_parts(15_419_000, 0) - .saturating_add(Weight::from_parts(0, 3566)) + // Measured: `737` + // Estimated: `4556` + // Minimum execution time: 15_599_000 picoseconds. + Weight::from_parts(15_980_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -309,11 +309,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) fn set_controller() -> Weight { // Proof Size summary in bytes: - // Measured: `868` - // Estimated: `9679` - // Minimum execution time: 23_303 nanoseconds. - Weight::from_parts(23_841_000, 0) - .saturating_add(Weight::from_parts(0, 9679)) + // Measured: `836` + // Estimated: `11659` + // Minimum execution time: 23_206_000 picoseconds. + Weight::from_parts(23_467_000, 0) + .saturating_add(Weight::from_parts(0, 11659)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -323,8 +323,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_839 nanoseconds. - Weight::from_parts(3_009_000, 0) + // Minimum execution time: 3_319_000 picoseconds. + Weight::from_parts(3_463_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -334,8 +334,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_258 nanoseconds. - Weight::from_parts(11_718_000, 0) + // Minimum execution time: 11_434_000 picoseconds. + Weight::from_parts(11_970_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -345,8 +345,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_284 nanoseconds. - Weight::from_parts(11_634_000, 0) + // Minimum execution time: 11_568_000 picoseconds. + Weight::from_parts(11_897_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,8 +356,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_422 nanoseconds. - Weight::from_parts(11_775_000, 0) + // Minimum execution time: 11_578_000 picoseconds. + Weight::from_parts(11_838_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -368,11 +368,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_041 nanoseconds. - Weight::from_parts(3_485_637, 0) + // Minimum execution time: 3_340_000 picoseconds. + Weight::from_parts(3_848_551, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 28 - .saturating_add(Weight::from_parts(11_577, 0).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(13_524, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Staking Bonded (r:1 w:1) @@ -404,13 +404,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2071 + s * (4 ±0)` - // Estimated: `27823 + s * (4 ±0)` - // Minimum execution time: 72_735 nanoseconds. - Weight::from_parts(77_758_788, 0) - .saturating_add(Weight::from_parts(0, 27823)) - // Standard Error: 2_098 - .saturating_add(Weight::from_parts(1_204_930, 0).saturating_mul(s.into())) + // Measured: `1911 + s * (4 ±0)` + // Estimated: `37571 + s * (4 ±0)` + // Minimum execution time: 70_716_000 picoseconds. + Weight::from_parts(76_662_337, 0) + .saturating_add(Weight::from_parts(0, 37571)) + // Standard Error: 2_349 + .saturating_add(Weight::from_parts(1_137_254, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -421,13 +421,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `66604` - // Estimated: `69079` - // Minimum execution time: 122_159 nanoseconds. - Weight::from_parts(930_005_952, 0) - .saturating_add(Weight::from_parts(0, 69079)) - // Standard Error: 58_572 - .saturating_add(Weight::from_parts(4_941_609, 0).saturating_mul(s.into())) + // Measured: `66572` + // Estimated: `70037` + // Minimum execution time: 116_549_000 picoseconds. + Weight::from_parts(825_878_569, 0) + .saturating_add(Weight::from_parts(0, 70037)) + // Standard Error: 51_942 + .saturating_add(Weight::from_parts(4_322_536, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -452,13 +452,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 512]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `34307 + n * (150 ±0)` - // Estimated: `79850 + n * (8026 ±0)` - // Minimum execution time: 88_998 nanoseconds. - Weight::from_parts(89_115_261, 0) - .saturating_add(Weight::from_parts(0, 79850)) - // Standard Error: 14_441 - .saturating_add(Weight::from_parts(29_610_077, 0).saturating_mul(n.into())) + // Measured: `34179 + n * (150 ±0)` + // Estimated: `88510 + n * (8026 ±0)` + // Minimum execution time: 86_537_000 picoseconds. + Weight::from_parts(88_458_531, 0) + .saturating_add(Weight::from_parts(0, 88510)) + // Standard Error: 13_365 + .saturating_add(Weight::from_parts(27_608_568, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -488,18 +488,18 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `62046 + n * (477 ±0)` - // Estimated: `131062 + n * (16040 ±3)` - // Minimum execution time: 109_154 nanoseconds. - Weight::from_parts(65_384_400, 0) - .saturating_add(Weight::from_parts(0, 131062)) - // Standard Error: 22_770 - .saturating_add(Weight::from_parts(41_592_841, 0).saturating_mul(n.into())) + // Measured: `61918 + n * (413 ±0)` + // Estimated: `140710 + n * (15912 ±0)` + // Minimum execution time: 106_300_000 picoseconds. + Weight::from_parts(86_093_472, 0) + .saturating_add(Weight::from_parts(0, 140710)) + // Standard Error: 16_775 + .saturating_add(Weight::from_parts(39_353_577, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 16040).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 15912).saturating_mul(n.into())) } /// Storage: Staking Ledger (r:1 w:1) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) @@ -516,13 +516,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2150 + l * (5 ±0)` - // Estimated: `25491` - // Minimum execution time: 84_424 nanoseconds. - Weight::from_parts(86_051_149, 0) - .saturating_add(Weight::from_parts(0, 25491)) - // Standard Error: 4_213 - .saturating_add(Weight::from_parts(48_663, 0).saturating_mul(l.into())) + // Measured: `1926 + l * (5 ±0)` + // Estimated: `31431` + // Minimum execution time: 81_405_000 picoseconds. + Weight::from_parts(82_997_301, 0) + .saturating_add(Weight::from_parts(0, 31431)) + // Standard Error: 3_690 + .saturating_add(Weight::from_parts(40_475, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -555,13 +555,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2377 + s * (4 ±0)` - // Estimated: `31701 + s * (4 ±0)` - // Minimum execution time: 85_740 nanoseconds. - Weight::from_parts(87_514_396, 0) - .saturating_add(Weight::from_parts(0, 31701)) - // Standard Error: 5_169 - .saturating_add(Weight::from_parts(1_156_685, 0).saturating_mul(s.into())) + // Measured: `2185 + s * (4 ±0)` + // Estimated: `42406 + s * (4 ±0)` + // Minimum execution time: 83_834_000 picoseconds. + Weight::from_parts(84_803_154, 0) + .saturating_add(Weight::from_parts(0, 42406)) + // Standard Error: 2_324 + .saturating_add(Weight::from_parts(1_139_950, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -607,22 +607,22 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (3658 ±0) + n * (812 ±0)` - // Estimated: `472212 + v * (16741 ±0) + n * (12939 ±0)` - // Minimum execution time: 523_071 nanoseconds. - Weight::from_parts(524_088_000, 0) - .saturating_add(Weight::from_parts(0, 472212)) - // Standard Error: 2_051_818 - .saturating_add(Weight::from_parts(65_963_939, 0).saturating_mul(v.into())) - // Standard Error: 204_452 - .saturating_add(Weight::from_parts(17_176_688, 0).saturating_mul(n.into())) + // Measured: `0 + v * (3594 ±0) + n * (716 ±0)` + // Estimated: `482748 + v * (16697 ±39) + n * (12755 ±3)` + // Minimum execution time: 492_458_000 picoseconds. + Weight::from_parts(493_752_000, 0) + .saturating_add(Weight::from_parts(0, 482748)) + // Standard Error: 1_839_928 + .saturating_add(Weight::from_parts(59_163_891, 0).saturating_mul(v.into())) + // Standard Error: 183_338 + .saturating_add(Weight::from_parts(16_441_530, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(185)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 16741).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 12939).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 16697).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 12755).saturating_mul(n.into())) } /// Storage: VoterList CounterForListNodes (r:1 w:0) /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -646,15 +646,15 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3067 + v * (455 ±0) + n * (1003 ±0)` - // Estimated: `456188 + v * (14295 ±0) + n * (11775 ±0)` - // Minimum execution time: 32_257_897 nanoseconds. - Weight::from_parts(32_376_431_000, 0) - .saturating_add(Weight::from_parts(0, 456188)) - // Standard Error: 355_726 - .saturating_add(Weight::from_parts(5_080_198, 0).saturating_mul(v.into())) - // Standard Error: 355_726 - .saturating_add(Weight::from_parts(3_195_407, 0).saturating_mul(n.into())) + // Measured: `3035 + v * (391 ±0) + n * (907 ±0)` + // Estimated: `464108 + v * (14295 ±0) + n * (11775 ±0)` + // Minimum execution time: 30_932_661_000 picoseconds. + Weight::from_parts(31_175_947_000, 0) + .saturating_add(Weight::from_parts(0, 464108)) + // Standard Error: 341_632 + .saturating_add(Weight::from_parts(4_746_588, 0).saturating_mul(v.into())) + // Standard Error: 341_632 + .saturating_add(Weight::from_parts(3_133_772, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(180)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) @@ -672,12 +672,12 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_targets(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `917 + v * (50 ±0)` - // Estimated: `3562 + v * (2520 ±0)` - // Minimum execution time: 3_860_791 nanoseconds. - Weight::from_parts(3_942_649_000, 0) - .saturating_add(Weight::from_parts(0, 3562)) - // Standard Error: 45_427 - .saturating_add(Weight::from_parts(2_955_973, 0).saturating_mul(v.into())) + // Estimated: `6532 + v * (2520 ±0)` + // Minimum execution time: 2_181_946_000 picoseconds. + Weight::from_parts(66_709_848, 0) + .saturating_add(Weight::from_parts(0, 6532)) + // Standard Error: 8_593 + .saturating_add(Weight::from_parts(4_315_430, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -699,8 +699,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_334 nanoseconds. - Weight::from_parts(6_585_000, 0) + // Minimum execution time: 6_781_000 picoseconds. + Weight::from_parts(7_035_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -720,8 +720,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_990 nanoseconds. - Weight::from_parts(6_241_000, 0) + // Minimum execution time: 6_038_000 picoseconds. + Weight::from_parts(6_447_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -747,11 +747,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn chill_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1922` - // Estimated: `19438` - // Minimum execution time: 71_020 nanoseconds. - Weight::from_parts(71_651_000, 0) - .saturating_add(Weight::from_parts(0, 19438)) + // Measured: `1762` + // Estimated: `29338` + // Minimum execution time: 69_632_000 picoseconds. + Weight::from_parts(70_254_000, 0) + .saturating_add(Weight::from_parts(0, 29338)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -762,10 +762,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_apply_min_commission() -> Weight { // Proof Size summary in bytes: // Measured: `627` - // Estimated: `3019` - // Minimum execution time: 14_422 nanoseconds. - Weight::from_parts(14_912_000, 0) - .saturating_add(Weight::from_parts(0, 3019)) + // Estimated: `4999` + // Minimum execution time: 14_263_000 picoseconds. + Weight::from_parts(14_515_000, 0) + .saturating_add(Weight::from_parts(0, 4999)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -775,8 +775,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_171 nanoseconds. - Weight::from_parts(3_313_000, 0) + // Minimum execution time: 3_517_000 picoseconds. + Weight::from_parts(3_660_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/pallet_timestamp.rs b/runtime/polkadot/src/weights/pallet_timestamp.rs index cf131bb12182..9b71a87c6d4f 100644 --- a/runtime/polkadot/src/weights/pallet_timestamp.rs +++ b/runtime/polkadot/src/weights/pallet_timestamp.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -52,10 +52,10 @@ impl pallet_timestamp::WeightInfo for WeightInfo { fn set() -> Weight { // Proof Size summary in bytes: // Measured: `345` - // Estimated: `1006` - // Minimum execution time: 10_462 nanoseconds. - Weight::from_parts(10_856_000, 0) - .saturating_add(Weight::from_parts(0, 1006)) + // Estimated: `2986` + // Minimum execution time: 10_109_000 picoseconds. + Weight::from_parts(10_625_000, 0) + .saturating_add(Weight::from_parts(0, 2986)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 4_811 nanoseconds. - Weight::from_parts(5_007_000, 0) + // Minimum execution time: 4_598_000 picoseconds. + Weight::from_parts(4_780_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/polkadot/src/weights/pallet_tips.rs b/runtime/polkadot/src/weights/pallet_tips.rs index b08a8362e39d..f358f3878e82 100644 --- a/runtime/polkadot/src/weights/pallet_tips.rs +++ b/runtime/polkadot/src/weights/pallet_tips.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -53,12 +53,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `4958` - // Minimum execution time: 24_717 nanoseconds. - Weight::from_parts(25_747_782, 0) - .saturating_add(Weight::from_parts(0, 4958)) + // Estimated: `6938` + // Minimum execution time: 24_457_000 picoseconds. + Weight::from_parts(25_195_829, 0) + .saturating_add(Weight::from_parts(0, 6938)) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_823, 0).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(1_460, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -68,11 +68,11 @@ impl pallet_tips::WeightInfo for WeightInfo { /// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured) fn retract_tip() -> Weight { // Proof Size summary in bytes: - // Measured: `253` - // Estimated: `2981` - // Minimum execution time: 23_963 nanoseconds. - Weight::from_parts(24_323_000, 0) - .saturating_add(Weight::from_parts(0, 2981)) + // Measured: `221` + // Estimated: `3907` + // Minimum execution time: 23_750_000 picoseconds. + Weight::from_parts(24_215_000, 0) + .saturating_add(Weight::from_parts(0, 3907)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -86,15 +86,15 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 13]`. fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `106 + t * (64 ±0)` - // Estimated: `3288 + t * (192 ±0)` - // Minimum execution time: 20_330 nanoseconds. - Weight::from_parts(19_770_627, 0) - .saturating_add(Weight::from_parts(0, 3288)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_722, 0).saturating_mul(r.into())) - // Standard Error: 6_711 - .saturating_add(Weight::from_parts(133_401, 0).saturating_mul(t.into())) + // Measured: `74 + t * (64 ±0)` + // Estimated: `5172 + t * (192 ±0)` + // Minimum execution time: 20_274_000 picoseconds. + Weight::from_parts(19_039_261, 0) + .saturating_add(Weight::from_parts(0, 5172)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_329, 0).saturating_mul(r.into())) + // Standard Error: 8_124 + .saturating_add(Weight::from_parts(192_163, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(t.into())) @@ -106,13 +106,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 13]`. fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `359 + t * (112 ±0)` - // Estimated: `3688 + t * (224 ±0)` - // Minimum execution time: 15_707 nanoseconds. - Weight::from_parts(15_992_893, 0) - .saturating_add(Weight::from_parts(0, 3688)) - // Standard Error: 2_102 - .saturating_add(Weight::from_parts(122_754, 0).saturating_mul(t.into())) + // Measured: `295 + t * (112 ±0)` + // Estimated: `5540 + t * (224 ±0)` + // Minimum execution time: 15_870_000 picoseconds. + Weight::from_parts(16_128_677, 0) + .saturating_add(Weight::from_parts(0, 5540)) + // Standard Error: 2_074 + .saturating_add(Weight::from_parts(132_492, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) @@ -128,13 +128,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 13]`. fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `398 + t * (112 ±0)` - // Estimated: `6740 + t * (336 ±0)` - // Minimum execution time: 44_350 nanoseconds. - Weight::from_parts(46_263_953, 0) - .saturating_add(Weight::from_parts(0, 6740)) - // Standard Error: 8_644 - .saturating_add(Weight::from_parts(147_757, 0).saturating_mul(t.into())) + // Measured: `334 + t * (112 ±0)` + // Estimated: `9518 + t * (336 ±0)` + // Minimum execution time: 44_136_000 picoseconds. + Weight::from_parts(45_509_299, 0) + .saturating_add(Weight::from_parts(0, 9518)) + // Standard Error: 8_240 + .saturating_add(Weight::from_parts(98_797, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 336).saturating_mul(t.into())) @@ -146,13 +146,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 13]`. fn slash_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `301` - // Estimated: `3077` - // Minimum execution time: 15_401 nanoseconds. - Weight::from_parts(16_069_268, 0) - .saturating_add(Weight::from_parts(0, 3077)) - // Standard Error: 2_069 - .saturating_add(Weight::from_parts(13_562, 0).saturating_mul(t.into())) + // Measured: `269` + // Estimated: `4003` + // Minimum execution time: 15_381_000 picoseconds. + Weight::from_parts(16_083_020, 0) + .saturating_add(Weight::from_parts(0, 4003)) + // Standard Error: 1_234 + .saturating_add(Weight::from_parts(8_350, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/polkadot/src/weights/pallet_treasury.rs b/runtime/polkadot/src/weights/pallet_treasury.rs index 934334d70264..2eb4fd078357 100644 --- a/runtime/polkadot/src/weights/pallet_treasury.rs +++ b/runtime/polkadot/src/weights/pallet_treasury.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -54,10 +54,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { // Proof Size summary in bytes: // Measured: `6` - // Estimated: `1396` - // Minimum execution time: 14_716 nanoseconds. - Weight::from_parts(15_127_000, 0) - .saturating_add(Weight::from_parts(0, 1396)) + // Estimated: `3376` + // Minimum execution time: 15_818_000 picoseconds. + Weight::from_parts(16_068_000, 0) + .saturating_add(Weight::from_parts(0, 3376)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -67,11 +67,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) fn propose_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `499` - // Minimum execution time: 24_325 nanoseconds. - Weight::from_parts(24_889_000, 0) - .saturating_add(Weight::from_parts(0, 499)) + // Measured: `107` + // Estimated: `1489` + // Minimum execution time: 24_148_000 picoseconds. + Weight::from_parts(24_591_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,11 +81,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn reject_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `329` - // Estimated: `5186` - // Minimum execution time: 35_492 nanoseconds. - Weight::from_parts(36_192_000, 0) - .saturating_add(Weight::from_parts(0, 5186)) + // Measured: `265` + // Estimated: `7166` + // Minimum execution time: 35_683_000 picoseconds. + Weight::from_parts(36_012_000, 0) + .saturating_add(Weight::from_parts(0, 7166)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,13 +96,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `464 + p * (8 ±0)` - // Estimated: `3480` - // Minimum execution time: 9_842 nanoseconds. - Weight::from_parts(12_599_619, 0) - .saturating_add(Weight::from_parts(0, 3480)) - // Standard Error: 1_244 - .saturating_add(Weight::from_parts(17_246, 0).saturating_mul(p.into())) + // Measured: `433 + p * (8 ±0)` + // Estimated: `5460` + // Minimum execution time: 10_345_000 picoseconds. + Weight::from_parts(12_391_108, 0) + .saturating_add(Weight::from_parts(0, 5460)) + // Standard Error: 811 + .saturating_add(Weight::from_parts(27_830, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -111,10 +111,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `897` - // Minimum execution time: 7_388 nanoseconds. - Weight::from_parts(7_549_000, 0) - .saturating_add(Weight::from_parts(0, 897)) + // Estimated: `1887` + // Minimum execution time: 7_743_000 picoseconds. + Weight::from_parts(8_156_000, 0) + .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -133,13 +133,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + p * (314 ±0)` - // Estimated: `2816 + p * (7789 ±0)` - // Minimum execution time: 40_466 nanoseconds. - Weight::from_parts(46_938_455, 0) - .saturating_add(Weight::from_parts(0, 2816)) - // Standard Error: 31_202 - .saturating_add(Weight::from_parts(33_059_622, 0).saturating_mul(p.into())) + // Measured: `217 + p * (251 ±0)` + // Estimated: `8756 + p * (7789 ±0)` + // Minimum execution time: 39_348_000 picoseconds. + Weight::from_parts(46_076_895, 0) + .saturating_add(Weight::from_parts(0, 8756)) + // Standard Error: 26_068 + .saturating_add(Weight::from_parts(31_896_041, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtime/polkadot/src/weights/pallet_utility.rs b/runtime/polkadot/src/weights/pallet_utility.rs index 4bace522a701..0e4c8c912ea4 100644 --- a/runtime/polkadot/src/weights/pallet_utility.rs +++ b/runtime/polkadot/src/weights/pallet_utility.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,18 +50,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_038 nanoseconds. - Weight::from_parts(14_201_154, 0) + // Minimum execution time: 7_134_000 picoseconds. + Weight::from_parts(22_552_692, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_273 - .saturating_add(Weight::from_parts(4_845_639, 0).saturating_mul(c.into())) + // Standard Error: 3_662 + .saturating_add(Weight::from_parts(4_648_268, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_899 nanoseconds. - Weight::from_parts(5_052_000, 0) + // Minimum execution time: 5_404_000 picoseconds. + Weight::from_parts(5_506_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -69,18 +69,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_792 nanoseconds. - Weight::from_parts(14_264_895, 0) + // Minimum execution time: 7_161_000 picoseconds. + Weight::from_parts(14_587_560, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_467 - .saturating_add(Weight::from_parts(5_166_200, 0).saturating_mul(c.into())) + // Standard Error: 3_086 + .saturating_add(Weight::from_parts(4_925_001, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_890 nanoseconds. - Weight::from_parts(9_103_000, 0) + // Minimum execution time: 9_630_000 picoseconds. + Weight::from_parts(9_859_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -88,10 +88,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_910 nanoseconds. - Weight::from_parts(13_514_252, 0) + // Minimum execution time: 7_026_000 picoseconds. + Weight::from_parts(16_123_279, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_640 - .saturating_add(Weight::from_parts(4_839_844, 0).saturating_mul(c.into())) + // Standard Error: 2_907 + .saturating_add(Weight::from_parts(4_659_455, 0).saturating_mul(c.into())) } } diff --git a/runtime/polkadot/src/weights/pallet_vesting.rs b/runtime/polkadot/src/weights/pallet_vesting.rs index 598e91db064d..aef37c862bc4 100644 --- a/runtime/polkadot/src/weights/pallet_vesting.rs +++ b/runtime/polkadot/src/weights/pallet_vesting.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -53,15 +53,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `377 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `7306` - // Minimum execution time: 30_459 nanoseconds. - Weight::from_parts(29_414_981, 0) - .saturating_add(Weight::from_parts(0, 7306)) - // Standard Error: 853 - .saturating_add(Weight::from_parts(44_483, 0).saturating_mul(l.into())) - // Standard Error: 1_518 - .saturating_add(Weight::from_parts(64_668, 0).saturating_mul(s.into())) + // Measured: `314 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `9286` + // Minimum execution time: 29_735_000 picoseconds. + Weight::from_parts(29_350_786, 0) + .saturating_add(Weight::from_parts(0, 9286)) + // Standard Error: 888 + .saturating_add(Weight::from_parts(40_156, 0).saturating_mul(l.into())) + // Standard Error: 1_581 + .saturating_add(Weight::from_parts(55_768, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -73,15 +73,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `377 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `7306` - // Minimum execution time: 29_310 nanoseconds. - Weight::from_parts(29_062_397, 0) - .saturating_add(Weight::from_parts(0, 7306)) - // Standard Error: 877 - .saturating_add(Weight::from_parts(36_222, 0).saturating_mul(l.into())) - // Standard Error: 1_562 - .saturating_add(Weight::from_parts(42_827, 0).saturating_mul(s.into())) + // Measured: `314 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `9286` + // Minimum execution time: 29_102_000 picoseconds. + Weight::from_parts(28_696_847, 0) + .saturating_add(Weight::from_parts(0, 9286)) + // Standard Error: 1_165 + .saturating_add(Weight::from_parts(36_922, 0).saturating_mul(l.into())) + // Standard Error: 2_074 + .saturating_add(Weight::from_parts(50_524, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,15 +95,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `512 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 32_792 nanoseconds. - Weight::from_parts(32_223_934, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 833 - .saturating_add(Weight::from_parts(46_218, 0).saturating_mul(l.into())) - // Standard Error: 1_483 - .saturating_add(Weight::from_parts(68_198, 0).saturating_mul(s.into())) + // Measured: `417 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 32_127_000 picoseconds. + Weight::from_parts(31_695_261, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 971 + .saturating_add(Weight::from_parts(47_944, 0).saturating_mul(l.into())) + // Standard Error: 1_728 + .saturating_add(Weight::from_parts(71_111, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -117,15 +117,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `512 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 32_330 nanoseconds. - Weight::from_parts(31_644_065, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 887 - .saturating_add(Weight::from_parts(43_137, 0).saturating_mul(l.into())) - // Standard Error: 1_578 - .saturating_add(Weight::from_parts(55_494, 0).saturating_mul(s.into())) + // Measured: `417 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 31_726_000 picoseconds. + Weight::from_parts(31_786_813, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 958 + .saturating_add(Weight::from_parts(39_300, 0).saturating_mul(l.into())) + // Standard Error: 1_704 + .saturating_add(Weight::from_parts(35_548, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -139,15 +139,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `583 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 47_622 nanoseconds. - Weight::from_parts(47_953_546, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 2_056 - .saturating_add(Weight::from_parts(39_785, 0).saturating_mul(l.into())) - // Standard Error: 3_659 - .saturating_add(Weight::from_parts(41_672, 0).saturating_mul(s.into())) + // Measured: `488 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 47_066_000 picoseconds. + Weight::from_parts(47_550_442, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 2_033 + .saturating_add(Weight::from_parts(38_126, 0).saturating_mul(l.into())) + // Standard Error: 3_618 + .saturating_add(Weight::from_parts(26_976, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -161,15 +161,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `718 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12512` - // Minimum execution time: 50_175 nanoseconds. - Weight::from_parts(50_736_243, 0) - .saturating_add(Weight::from_parts(0, 12512)) - // Standard Error: 4_214 - .saturating_add(Weight::from_parts(36_528, 0).saturating_mul(l.into())) - // Standard Error: 7_498 - .saturating_add(Weight::from_parts(48_527, 0).saturating_mul(s.into())) + // Measured: `591 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `15482` + // Minimum execution time: 49_143_000 picoseconds. + Weight::from_parts(49_823_544, 0) + .saturating_add(Weight::from_parts(0, 15482)) + // Standard Error: 1_972 + .saturating_add(Weight::from_parts(42_115, 0).saturating_mul(l.into())) + // Standard Error: 3_509 + .saturating_add(Weight::from_parts(25_174, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -183,15 +183,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `510 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 33_600 nanoseconds. - Weight::from_parts(32_676_944, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 1_328 - .saturating_add(Weight::from_parts(51_061, 0).saturating_mul(l.into())) - // Standard Error: 2_452 - .saturating_add(Weight::from_parts(79_609, 0).saturating_mul(s.into())) + // Measured: `415 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 33_466_000 picoseconds. + Weight::from_parts(33_699_400, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 1_045 + .saturating_add(Weight::from_parts(37_781, 0).saturating_mul(l.into())) + // Standard Error: 1_930 + .saturating_add(Weight::from_parts(39_860, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -205,15 +205,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `510 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 34_035 nanoseconds. - Weight::from_parts(33_098_531, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 838 - .saturating_add(Weight::from_parts(46_629, 0).saturating_mul(l.into())) - // Standard Error: 1_548 - .saturating_add(Weight::from_parts(72_485, 0).saturating_mul(s.into())) + // Measured: `415 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 33_521_000 picoseconds. + Weight::from_parts(33_278_453, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 899 + .saturating_add(Weight::from_parts(38_924, 0).saturating_mul(l.into())) + // Standard Error: 1_661 + .saturating_add(Weight::from_parts(51_806, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/polkadot/src/weights/pallet_xcm.rs b/runtime/polkadot/src/weights/pallet_xcm.rs index db59ffd8eef6..a2a7d1861d58 100644 --- a/runtime/polkadot/src/weights/pallet_xcm.rs +++ b/runtime/polkadot/src/weights/pallet_xcm.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -59,11 +59,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `470` - // Estimated: `11730` - // Minimum execution time: 37_334 nanoseconds. - Weight::from_parts(37_920_000, 0) - .saturating_add(Weight::from_parts(0, 11730)) + // Measured: `438` + // Estimated: `17478` + // Minimum execution time: 34_675_000 picoseconds. + Weight::from_parts(35_527_000, 0) + .saturating_add(Weight::from_parts(0, 17478)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -71,16 +71,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 25_178 nanoseconds. - Weight::from_parts(25_519_000, 0) + // Minimum execution time: 22_653_000 picoseconds. + Weight::from_parts(23_050_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 23_763 nanoseconds. - Weight::from_parts(24_214_000, 0) + // Minimum execution time: 21_214_000 picoseconds. + Weight::from_parts(21_604_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Benchmark Override (r:0 w:0) @@ -89,7 +89,7 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -99,8 +99,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_987 nanoseconds. - Weight::from_parts(10_249_000, 0) + // Minimum execution time: 10_275_000 picoseconds. + Weight::from_parts(10_563_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -110,8 +110,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_604 nanoseconds. - Weight::from_parts(2_783_000, 0) + // Minimum execution time: 3_001_000 picoseconds. + Weight::from_parts(3_085_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -135,11 +135,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `470` - // Estimated: `16110` - // Minimum execution time: 41_261 nanoseconds. - Weight::from_parts(42_307_000, 0) - .saturating_add(Weight::from_parts(0, 16110)) + // Measured: `438` + // Estimated: `23742` + // Minimum execution time: 39_910_000 picoseconds. + Weight::from_parts(40_847_000, 0) + .saturating_add(Weight::from_parts(0, 23742)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -161,11 +161,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `742` - // Estimated: `17321` - // Minimum execution time: 43_993 nanoseconds. - Weight::from_parts(44_583_000, 0) - .saturating_add(Weight::from_parts(0, 17321)) + // Measured: `710` + // Estimated: `23995` + // Minimum execution time: 43_293_000 picoseconds. + Weight::from_parts(43_774_000, 0) + .saturating_add(Weight::from_parts(0, 23995)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -174,10 +174,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `229` - // Estimated: `10129` - // Minimum execution time: 16_945 nanoseconds. - Weight::from_parts(17_320_000, 0) - .saturating_add(Weight::from_parts(0, 10129)) + // Estimated: `11119` + // Minimum execution time: 17_985_000 picoseconds. + Weight::from_parts(18_376_000, 0) + .saturating_add(Weight::from_parts(0, 11119)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -186,10 +186,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: // Measured: `233` - // Estimated: `10133` - // Minimum execution time: 16_857 nanoseconds. - Weight::from_parts(17_251_000, 0) - .saturating_add(Weight::from_parts(0, 10133)) + // Estimated: `11123` + // Minimum execution time: 18_007_000 picoseconds. + Weight::from_parts(18_507_000, 0) + .saturating_add(Weight::from_parts(0, 11123)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -198,10 +198,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn already_notified_target() -> Weight { // Proof Size summary in bytes: // Measured: `243` - // Estimated: `12618` - // Minimum execution time: 19_594 nanoseconds. - Weight::from_parts(20_088_000, 0) - .saturating_add(Weight::from_parts(0, 12618)) + // Estimated: `13608` + // Minimum execution time: 18_954_000 picoseconds. + Weight::from_parts(19_612_000, 0) + .saturating_add(Weight::from_parts(0, 13608)) .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: XcmPallet VersionNotifyTargets (r:2 w:1) @@ -220,11 +220,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `540` - // Estimated: `17640` - // Minimum execution time: 39_047 nanoseconds. - Weight::from_parts(39_491_000, 0) - .saturating_add(Weight::from_parts(0, 17640)) + // Measured: `508` + // Estimated: `24346` + // Minimum execution time: 38_137_000 picoseconds. + Weight::from_parts(38_547_000, 0) + .saturating_add(Weight::from_parts(0, 24346)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -233,10 +233,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: // Measured: `272` - // Estimated: `7697` - // Minimum execution time: 8_462 nanoseconds. - Weight::from_parts(8_769_000, 0) - .saturating_add(Weight::from_parts(0, 7697)) + // Estimated: `8687` + // Minimum execution time: 9_454_000 picoseconds. + Weight::from_parts(9_729_000, 0) + .saturating_add(Weight::from_parts(0, 8687)) .saturating_add(T::DbWeight::get().reads(3)) } /// Storage: XcmPallet VersionNotifyTargets (r:4 w:2) @@ -244,10 +244,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: // Measured: `240` - // Estimated: `10140` - // Minimum execution time: 17_774 nanoseconds. - Weight::from_parts(18_055_000, 0) - .saturating_add(Weight::from_parts(0, 10140)) + // Estimated: `11130` + // Minimum execution time: 17_957_000 picoseconds. + Weight::from_parts(18_748_000, 0) + .saturating_add(Weight::from_parts(0, 11130)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -267,11 +267,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `544` - // Estimated: `22618` - // Minimum execution time: 44_737 nanoseconds. - Weight::from_parts(45_471_000, 0) - .saturating_add(Weight::from_parts(0, 22618)) + // Measured: `512` + // Estimated: `29324` + // Minimum execution time: 44_805_000 picoseconds. + Weight::from_parts(45_461_000, 0) + .saturating_add(Weight::from_parts(0, 29324)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } diff --git a/runtime/polkadot/src/weights/runtime_common_auctions.rs b/runtime/polkadot/src/weights/runtime_common_auctions.rs index e9dc7a90a182..fe87665a0645 100644 --- a/runtime/polkadot/src/weights/runtime_common_auctions.rs +++ b/runtime/polkadot/src/weights/runtime_common_auctions.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -52,10 +52,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn new_auction() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `1002` - // Minimum execution time: 13_702 nanoseconds. - Weight::from_parts(14_131_000, 0) - .saturating_add(Weight::from_parts(0, 1002)) + // Estimated: `2982` + // Minimum execution time: 13_577_000 picoseconds. + Weight::from_parts(13_988_000, 0) + .saturating_add(Weight::from_parts(0, 2982)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn bid() -> Weight { // Proof Size summary in bytes: - // Measured: `725` - // Estimated: `19470` - // Minimum execution time: 74_041 nanoseconds. - Weight::from_parts(76_382_000, 0) - .saturating_add(Weight::from_parts(0, 19470)) + // Measured: `661` + // Estimated: `26272` + // Minimum execution time: 69_204_000 picoseconds. + Weight::from_parts(70_457_000, 0) + .saturating_add(Weight::from_parts(0, 26272)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -109,11 +109,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `7060445` - // Estimated: `51339005` - // Minimum execution time: 15_737_440 nanoseconds. - Weight::from_parts(15_967_121_000, 0) - .saturating_add(Weight::from_parts(0, 51339005)) + // Measured: `6947662` + // Estimated: `50786970` + // Minimum execution time: 6_222_318_000 picoseconds. + Weight::from_parts(6_411_378_000, 0) + .saturating_add(Weight::from_parts(0, 50786970)) .saturating_add(T::DbWeight::get().reads(3688)) .saturating_add(T::DbWeight::get().writes(3683)) } @@ -127,11 +127,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn cancel_auction() -> Weight { // Proof Size summary in bytes: - // Measured: `178884` - // Estimated: `16009503` - // Minimum execution time: 4_819_822 nanoseconds. - Weight::from_parts(4_990_219_000, 0) - .saturating_add(Weight::from_parts(0, 16009503)) + // Measured: `177732` + // Estimated: `16012473` + // Minimum execution time: 4_796_112_000 picoseconds. + Weight::from_parts(4_912_250_000, 0) + .saturating_add(Weight::from_parts(0, 16012473)) .saturating_add(T::DbWeight::get().reads(3673)) .saturating_add(T::DbWeight::get().writes(3673)) } diff --git a/runtime/polkadot/src/weights/runtime_common_claims.rs b/runtime/polkadot/src/weights/runtime_common_claims.rs index 44761d42ba0f..87d1cd5c1dd2 100644 --- a/runtime/polkadot/src/weights/runtime_common_claims.rs +++ b/runtime/polkadot/src/weights/runtime_common_claims.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -61,11 +61,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `618` - // Estimated: `20301` - // Minimum execution time: 143_551 nanoseconds. - Weight::from_parts(147_538_000, 0) - .saturating_add(Weight::from_parts(0, 20301)) + // Measured: `586` + // Estimated: `27103` + // Minimum execution time: 143_662_000 picoseconds. + Weight::from_parts(146_007_000, 0) + .saturating_add(Weight::from_parts(0, 27103)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -80,10 +80,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< fn mint_claim() -> Weight { // Proof Size summary in bytes: // Measured: `182` - // Estimated: `1223` - // Minimum execution time: 10_986 nanoseconds. - Weight::from_parts(11_519_000, 0) - .saturating_add(Weight::from_parts(0, 1223)) + // Estimated: `2213` + // Minimum execution time: 11_437_000 picoseconds. + Weight::from_parts(11_834_000, 0) + .saturating_add(Weight::from_parts(0, 2213)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -103,11 +103,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn claim_attest() -> Weight { // Proof Size summary in bytes: - // Measured: `618` - // Estimated: `20301` - // Minimum execution time: 146_443 nanoseconds. - Weight::from_parts(150_592_000, 0) - .saturating_add(Weight::from_parts(0, 20301)) + // Measured: `586` + // Estimated: `27103` + // Minimum execution time: 145_789_000 picoseconds. + Weight::from_parts(148_264_000, 0) + .saturating_add(Weight::from_parts(0, 27103)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -129,11 +129,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn attest() -> Weight { // Proof Size summary in bytes: - // Measured: `692` - // Estimated: `23764` - // Minimum execution time: 69_307 nanoseconds. - Weight::from_parts(84_145_000, 0) - .saturating_add(Weight::from_parts(0, 23764)) + // Measured: `660` + // Estimated: `31524` + // Minimum execution time: 69_066_000 picoseconds. + Weight::from_parts(81_192_000, 0) + .saturating_add(Weight::from_parts(0, 31524)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -147,11 +147,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured) fn move_claim() -> Weight { // Proof Size summary in bytes: - // Measured: `438` - // Estimated: `11652` - // Minimum execution time: 22_152 nanoseconds. - Weight::from_parts(22_926_000, 0) - .saturating_add(Weight::from_parts(0, 11652)) + // Measured: `406` + // Estimated: `15484` + // Minimum execution time: 22_426_000 picoseconds. + Weight::from_parts(22_735_000, 0) + .saturating_add(Weight::from_parts(0, 15484)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/polkadot/src/weights/runtime_common_crowdloan.rs b/runtime/polkadot/src/weights/runtime_common_crowdloan.rs index bf3787a64c04..78ca3d18cd4f 100644 --- a/runtime/polkadot/src/weights/runtime_common_crowdloan.rs +++ b/runtime/polkadot/src/weights/runtime_common_crowdloan.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `395` - // Estimated: `9500` - // Minimum execution time: 39_775 nanoseconds. - Weight::from_parts(40_606_000, 0) - .saturating_add(Weight::from_parts(0, 9500)) + // Measured: `363` + // Estimated: `13332` + // Minimum execution time: 39_416_000 picoseconds. + Weight::from_parts(40_242_000, 0) + .saturating_add(Weight::from_parts(0, 13332)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,11 +81,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn contribute() -> Weight { // Proof Size summary in bytes: - // Measured: `407` - // Estimated: `14067` - // Minimum execution time: 116_028 nanoseconds. - Weight::from_parts(117_110_000, 0) - .saturating_add(Weight::from_parts(0, 14067)) + // Measured: `375` + // Estimated: `21827` + // Minimum execution time: 114_856_000 picoseconds. + Weight::from_parts(116_564_000, 0) + .saturating_add(Weight::from_parts(0, 21827)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -99,11 +99,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1) fn withdraw() -> Weight { // Proof Size summary in bytes: - // Measured: `786` - // Estimated: `12239` - // Minimum execution time: 57_368 nanoseconds. - Weight::from_parts(58_291_000, 0) - .saturating_add(Weight::from_parts(0, 12239)) + // Measured: `690` + // Estimated: `16007` + // Minimum execution time: 56_412_000 picoseconds. + Weight::from_parts(57_660_000, 0) + .saturating_add(Weight::from_parts(0, 16007)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -112,18 +112,18 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `191 + k * (221 ±0)` - // Estimated: `196 + k * (221 ±0)` - // Minimum execution time: 38_405 nanoseconds. - Weight::from_parts(53_604_000, 0) - .saturating_add(Weight::from_parts(0, 196)) - // Standard Error: 13_955 - .saturating_add(Weight::from_parts(23_725_495, 0).saturating_mul(k.into())) + // Measured: `127 + k * (189 ±0)` + // Estimated: `134 + k * (189 ±0)` + // Minimum execution time: 42_566_000 picoseconds. + Weight::from_parts(43_592_000, 0) + .saturating_add(Weight::from_parts(0, 134)) + // Standard Error: 14_813 + .saturating_add(Weight::from_parts(23_173_639, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into()))) - .saturating_add(Weight::from_parts(0, 221).saturating_mul(k.into())) + .saturating_add(Weight::from_parts(0, 189).saturating_mul(k.into())) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -131,11 +131,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn dissolve() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `5517` - // Minimum execution time: 28_816 nanoseconds. - Weight::from_parts(29_449_000, 0) - .saturating_add(Weight::from_parts(0, 5517)) + // Measured: `375` + // Estimated: `7433` + // Minimum execution time: 29_599_000 picoseconds. + Weight::from_parts(30_422_000, 0) + .saturating_add(Weight::from_parts(0, 7433)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -143,11 +143,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) fn edit() -> Weight { // Proof Size summary in bytes: - // Measured: `267` - // Estimated: `2742` - // Minimum execution time: 17_666 nanoseconds. - Weight::from_parts(18_315_000, 0) - .saturating_add(Weight::from_parts(0, 2742)) + // Measured: `235` + // Estimated: `3700` + // Minimum execution time: 18_465_000 picoseconds. + Weight::from_parts(19_170_000, 0) + .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,11 +157,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn add_memo() -> Weight { // Proof Size summary in bytes: - // Measured: `444` - // Estimated: `5838` - // Minimum execution time: 24_524 nanoseconds. - Weight::from_parts(24_958_000, 0) - .saturating_add(Weight::from_parts(0, 5838)) + // Measured: `412` + // Estimated: `7754` + // Minimum execution time: 25_211_000 picoseconds. + Weight::from_parts(25_882_000, 0) + .saturating_add(Weight::from_parts(0, 7754)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -171,11 +171,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured) fn poke() -> Weight { // Proof Size summary in bytes: - // Measured: `271` - // Estimated: `3512` - // Minimum execution time: 17_467 nanoseconds. - Weight::from_parts(17_772_000, 0) - .saturating_add(Weight::from_parts(0, 3512)) + // Measured: `239` + // Estimated: `5428` + // Minimum execution time: 17_799_000 picoseconds. + Weight::from_parts(18_462_000, 0) + .saturating_add(Weight::from_parts(0, 5428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -202,17 +202,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `157 + n * (420 ±0)` - // Estimated: `7142 + n * (14663 ±0)` - // Minimum execution time: 112_481 nanoseconds. - Weight::from_parts(113_770_000, 0) - .saturating_add(Weight::from_parts(0, 7142)) - // Standard Error: 50_565 - .saturating_add(Weight::from_parts(51_191_368, 0).saturating_mul(n.into())) + // Measured: `130 + n * (356 ±0)` + // Estimated: `16917 + n * (14348 ±0)` + // Minimum execution time: 110_468_000 picoseconds. + Weight::from_parts(112_026_000, 0) + .saturating_add(Weight::from_parts(0, 16917)) + // Standard Error: 50_282 + .saturating_add(Weight::from_parts(49_513_270, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 14663).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 14348).saturating_mul(n.into())) } } diff --git a/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs b/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs index a8b01292903c..4208f7c022d8 100644 --- a/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -54,10 +54,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn reserve() -> Weight { // Proof Size summary in bytes: // Measured: `70` - // Estimated: `5655` - // Minimum execution time: 25_903 nanoseconds. - Weight::from_parts(26_325_000, 0) - .saturating_add(Weight::from_parts(0, 5655)) + // Estimated: `8625` + // Minimum execution time: 25_255_000 picoseconds. + Weight::from_parts(25_919_000, 0) + .saturating_add(Weight::from_parts(0, 8625)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +83,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `561` - // Estimated: `21450` - // Minimum execution time: 7_553_331 nanoseconds. - Weight::from_parts(7_726_216_000, 0) - .saturating_add(Weight::from_parts(0, 21450)) + // Measured: `497` + // Estimated: `28730` + // Minimum execution time: 6_233_224_000 picoseconds. + Weight::from_parts(6_345_016_000, 0) + .saturating_add(Weight::from_parts(0, 28730)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -113,11 +113,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured) fn force_register() -> Weight { // Proof Size summary in bytes: - // Measured: `419` - // Estimated: `20030` - // Minimum execution time: 7_582_213 nanoseconds. - Weight::from_parts(7_756_452_000, 0) - .saturating_add(Weight::from_parts(0, 20030)) + // Measured: `387` + // Estimated: `27630` + // Minimum execution time: 6_218_676_000 picoseconds. + Weight::from_parts(6_340_775_000, 0) + .saturating_add(Weight::from_parts(0, 27630)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -135,11 +135,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Registrar PendingSwap (max_values: None, max_size: None, mode: Measured) fn deregister() -> Weight { // Proof Size summary in bytes: - // Measured: `467` - // Estimated: `13197` - // Minimum execution time: 41_148 nanoseconds. - Weight::from_parts(42_082_000, 0) - .saturating_add(Weight::from_parts(0, 13197)) + // Measured: `435` + // Estimated: `17955` + // Minimum execution time: 41_094_000 picoseconds. + Weight::from_parts(42_246_000, 0) + .saturating_add(Weight::from_parts(0, 17955)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -159,11 +159,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) fn swap() -> Weight { // Proof Size summary in bytes: - // Measured: `707` - // Estimated: `27719` - // Minimum execution time: 46_614 nanoseconds. - Weight::from_parts(48_057_000, 0) - .saturating_add(Weight::from_parts(0, 27719)) + // Measured: `676` + // Estimated: `34432` + // Minimum execution time: 47_336_000 picoseconds. + Weight::from_parts(51_371_000, 0) + .saturating_add(Weight::from_parts(0, 34432)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -192,13 +192,13 @@ impl runtime_common::paras_registrar::WeightInfo for We /// The range of component `b` is `[1, 3145728]`. fn schedule_code_upgrade(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `287` - // Estimated: `19987` - // Minimum execution time: 43_351 nanoseconds. - Weight::from_parts(43_888_000, 0) - .saturating_add(Weight::from_parts(0, 19987)) + // Measured: `255` + // Estimated: `29535` + // Minimum execution time: 44_303_000 picoseconds. + Weight::from_parts(44_808_000, 0) + .saturating_add(Weight::from_parts(0, 29535)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_391, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_970, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -209,11 +209,11 @@ impl runtime_common::paras_registrar::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_863 nanoseconds. - Weight::from_parts(9_010_000, 0) + // Minimum execution time: 8_760_000 picoseconds. + Weight::from_parts(8_946_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(969, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(867, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/polkadot/src/weights/runtime_common_slots.rs b/runtime/polkadot/src/weights/runtime_common_slots.rs index c7ba0a5a7861..e11b22b6d7a5 100644 --- a/runtime/polkadot/src/weights/runtime_common_slots.rs +++ b/runtime/polkadot/src/weights/runtime_common_slots.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -51,11 +51,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `252` - // Estimated: `5330` - // Minimum execution time: 27_189 nanoseconds. - Weight::from_parts(27_647_000, 0) - .saturating_add(Weight::from_parts(0, 5330)) + // Measured: `220` + // Estimated: `7278` + // Minimum execution time: 26_260_000 picoseconds. + Weight::from_parts(26_932_000, 0) + .saturating_add(Weight::from_parts(0, 7278)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,23 +75,23 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `7 + c * (47 ±0) + t * (370 ±0)` - // Estimated: `268843 + c * (1073 ±28) + t * (7960 ±28)` - // Minimum execution time: 650_409 nanoseconds. - Weight::from_parts(654_044_000, 0) - .saturating_add(Weight::from_parts(0, 268843)) - // Standard Error: 84_472 - .saturating_add(Weight::from_parts(2_777_757, 0).saturating_mul(c.into())) - // Standard Error: 84_472 - .saturating_add(Weight::from_parts(14_083_849, 0).saturating_mul(t.into())) + // Measured: `0 + c * (47 ±0) + t * (308 ±0)` + // Estimated: `7790 + c * (2781 ±0) + t * (9308 ±0)` + // Minimum execution time: 630_131_000 picoseconds. + Weight::from_parts(635_877_000, 0) + .saturating_add(Weight::from_parts(0, 7790)) + // Standard Error: 79_816 + .saturating_add(Weight::from_parts(2_652_439, 0).saturating_mul(c.into())) + // Standard Error: 79_816 + .saturating_add(Weight::from_parts(11_669_914, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 1073).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 7960).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2781).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 9308).saturating_mul(t.into())) } /// Storage: Slots Leases (r:1 w:1) /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) @@ -99,11 +99,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `2980` - // Estimated: `26279` - // Minimum execution time: 102_653 nanoseconds. - Weight::from_parts(103_775_000, 0) - .saturating_add(Weight::from_parts(0, 26279)) + // Measured: `2692` + // Estimated: `27971` + // Minimum execution time: 97_202_000 picoseconds. + Weight::from_parts(98_557_000, 0) + .saturating_add(Weight::from_parts(0, 27971)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -119,11 +119,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `644` - // Estimated: `13615` - // Minimum execution time: 28_412 nanoseconds. - Weight::from_parts(29_072_000, 0) - .saturating_add(Weight::from_parts(0, 13615)) + // Measured: `580` + // Estimated: `18245` + // Minimum execution time: 27_982_000 picoseconds. + Weight::from_parts(28_586_000, 0) + .saturating_add(Weight::from_parts(0, 18245)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_configuration.rs b/runtime/polkadot/src/weights/runtime_parachains_configuration.rs index 92c05971c9f3..c60b354f4456 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_configuration.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_configuration.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_block_number() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `3376` - // Minimum execution time: 11_910 nanoseconds. - Weight::from_parts(12_346_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `317` + // Estimated: `7208` + // Minimum execution time: 12_097_000 picoseconds. + Weight::from_parts(12_745_000, 0) + .saturating_add(Weight::from_parts(0, 7208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -73,11 +73,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `3376` - // Minimum execution time: 11_842 nanoseconds. - Weight::from_parts(12_456_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `317` + // Estimated: `7208` + // Minimum execution time: 12_691_000 picoseconds. + Weight::from_parts(13_006_000, 0) + .saturating_add(Weight::from_parts(0, 7208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,11 +91,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_option_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `3376` - // Minimum execution time: 12_093 nanoseconds. - Weight::from_parts(12_420_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `317` + // Estimated: `7208` + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(13_126_000, 0) + .saturating_add(Weight::from_parts(0, 7208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -109,11 +109,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `3376` - // Minimum execution time: 11_996 nanoseconds. - Weight::from_parts(12_626_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `317` + // Estimated: `7208` + // Minimum execution time: 12_511_000 picoseconds. + Weight::from_parts(12_858_000, 0) + .saturating_add(Weight::from_parts(0, 7208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -123,7 +123,7 @@ impl runtime_parachains::configuration::WeightInfo for // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000_000 nanoseconds. + // Minimum execution time: 2_000_000_000_000 picoseconds. Weight::from_parts(2_000_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -137,11 +137,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `3376` - // Minimum execution time: 12_296 nanoseconds. - Weight::from_parts(12_553_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `317` + // Estimated: `7208` + // Minimum execution time: 12_525_000 picoseconds. + Weight::from_parts(13_130_000, 0) + .saturating_add(Weight::from_parts(0, 7208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_disputes.rs b/runtime/polkadot/src/weights/runtime_parachains_disputes.rs index 673abc01ed74..dde80600f060 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_disputes.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_disputes.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -51,8 +51,8 @@ impl runtime_parachains::disputes::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_694 nanoseconds. - Weight::from_parts(2_819_000, 0) + // Minimum execution time: 2_970_000 picoseconds. + Weight::from_parts(3_188_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs b/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs index bc3561fd9dff..e6b675809302 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -65,11 +65,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_init_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `609` - // Estimated: `26271` - // Minimum execution time: 41_409 nanoseconds. - Weight::from_parts(41_949_000, 0) - .saturating_add(Weight::from_parts(0, 26271)) + // Measured: `577` + // Estimated: `34893` + // Minimum execution time: 39_502_000 picoseconds. + Weight::from_parts(39_981_000, 0) + .saturating_add(Weight::from_parts(0, 34893)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -89,11 +89,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_accept_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `873` - // Estimated: `21456` - // Minimum execution time: 41_061 nanoseconds. - Weight::from_parts(41_725_000, 0) - .saturating_add(Weight::from_parts(0, 21456)) + // Measured: `809` + // Estimated: `27938` + // Minimum execution time: 40_489_000 picoseconds. + Weight::from_parts(41_076_000, 0) + .saturating_add(Weight::from_parts(0, 27938)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -111,11 +111,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_close_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `744` - // Estimated: `15354` - // Minimum execution time: 37_443 nanoseconds. - Weight::from_parts(40_253_000, 0) - .saturating_add(Weight::from_parts(0, 15354)) + // Measured: `680` + // Estimated: `20910` + // Minimum execution time: 36_361_000 picoseconds. + Weight::from_parts(37_148_000, 0) + .saturating_add(Weight::from_parts(0, 20910)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -135,23 +135,23 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `254 + i * (131 ±0) + e * (131 ±0)` - // Estimated: `6354 + i * (5742 ±0) + e * (5736 ±0)` - // Minimum execution time: 1_095_305 nanoseconds. - Weight::from_parts(1_102_171_000, 0) - .saturating_add(Weight::from_parts(0, 6354)) - // Standard Error: 98_328 - .saturating_add(Weight::from_parts(3_222_513, 0).saturating_mul(i.into())) - // Standard Error: 98_328 - .saturating_add(Weight::from_parts(3_343_772, 0).saturating_mul(e.into())) + // Measured: `197 + i * (100 ±0) + e * (100 ±0)` + // Estimated: `9084 + i * (5550 ±0) + e * (5550 ±0)` + // Minimum execution time: 1_074_045_000 picoseconds. + Weight::from_parts(1_079_931_000, 0) + .saturating_add(Weight::from_parts(0, 9084)) + // Standard Error: 96_252 + .saturating_add(Weight::from_parts(3_082_744, 0).saturating_mul(i.into())) + // Standard Error: 96_252 + .saturating_add(Weight::from_parts(3_118_809, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5742).saturating_mul(i.into())) - .saturating_add(Weight::from_parts(0, 5736).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 5550).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(0, 5550).saturating_mul(e.into())) } /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) @@ -174,18 +174,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `725 + c * (166 ±0)` - // Estimated: `7371 + c * (18828 ±0)` - // Minimum execution time: 9_405 nanoseconds. - Weight::from_parts(4_666_821, 0) - .saturating_add(Weight::from_parts(0, 7371)) - // Standard Error: 21_110 - .saturating_add(Weight::from_parts(18_925_237, 0).saturating_mul(c.into())) + // Measured: `652 + c * (136 ±0)` + // Estimated: `14676 + c * (18549 ±0)` + // Minimum execution time: 9_678_000 picoseconds. + Weight::from_parts(6_837_820, 0) + .saturating_add(Weight::from_parts(0, 14676)) + // Standard Error: 20_096 + .saturating_add(Weight::from_parts(18_573_440, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 18828).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 18549).saturating_mul(c.into())) } /// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -202,18 +202,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `307 + c * (155 ±0)` - // Estimated: `2232 + c * (8361 ±0)` - // Minimum execution time: 6_303 nanoseconds. - Weight::from_parts(3_137_132, 0) - .saturating_add(Weight::from_parts(0, 2232)) - // Standard Error: 14_988 - .saturating_add(Weight::from_parts(11_754_128, 0).saturating_mul(c.into())) + // Measured: `268 + c * (124 ±0)` + // Estimated: `5973 + c * (8175 ±0)` + // Minimum execution time: 6_545_000 picoseconds. + Weight::from_parts(3_839_847, 0) + .saturating_add(Weight::from_parts(0, 5973)) + // Standard Error: 13_189 + .saturating_add(Weight::from_parts(11_397_155, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 8361).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 8175).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -224,13 +224,13 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1022 + c * (13 ±0)` - // Estimated: `7911 + c * (45 ±0)` - // Minimum execution time: 21_716 nanoseconds. - Weight::from_parts(26_754_962, 0) - .saturating_add(Weight::from_parts(0, 7911)) - // Standard Error: 1_244 - .saturating_add(Weight::from_parts(58_005, 0).saturating_mul(c.into())) + // Measured: `959 + c * (13 ±0)` + // Estimated: `10704 + c * (45 ±0)` + // Minimum execution time: 22_478_000 picoseconds. + Weight::from_parts(27_026_265, 0) + .saturating_add(Weight::from_parts(0, 10704)) + // Standard Error: 1_040 + .saturating_add(Weight::from_parts(53_928, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(c.into())) @@ -242,18 +242,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn clean_open_channel_requests(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `217 + c * (94 ±0)` - // Estimated: `912 + c * (2664 ±0)` - // Minimum execution time: 5_229 nanoseconds. - Weight::from_parts(4_661_405, 0) - .saturating_add(Weight::from_parts(0, 912)) - // Standard Error: 3_567 - .saturating_add(Weight::from_parts(3_157_636, 0).saturating_mul(c.into())) + // Measured: `176 + c * (63 ±0)` + // Estimated: `2821 + c * (2602 ±0)` + // Minimum execution time: 5_297_000 picoseconds. + Weight::from_parts(3_420_027, 0) + .saturating_add(Weight::from_parts(0, 2821)) + // Standard Error: 4_062 + .saturating_add(Weight::from_parts(3_203_130, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2664).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2602).saturating_mul(c.into())) } /// Storage: Paras ParaLifecycles (r:2 w:0) /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) @@ -279,11 +279,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured) fn force_open_hrmp_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `609` - // Estimated: `37389` - // Minimum execution time: 54_228 nanoseconds. - Weight::from_parts(54_782_000, 0) - .saturating_add(Weight::from_parts(0, 37389)) + // Measured: `577` + // Estimated: `47927` + // Minimum execution time: 53_734_000 picoseconds. + Weight::from_parts(54_206_000, 0) + .saturating_add(Weight::from_parts(0, 47927)) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_initializer.rs b/runtime/polkadot/src/weights/runtime_parachains_initializer.rs index 717d278612f7..d4f7ca2b3a36 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_initializer.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_initializer.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl runtime_parachains::initializer::WeightInfo for We /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `28 + d * (11 ±0)` - // Estimated: `519 + d * (11 ±0)` - // Minimum execution time: 3_583 nanoseconds. - Weight::from_parts(8_408_703, 0) - .saturating_add(Weight::from_parts(0, 519)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_287, 0).saturating_mul(d.into())) + // Measured: `0 + d * (11 ±0)` + // Estimated: `1480 + d * (11 ±0)` + // Minimum execution time: 3_887_000 picoseconds. + Weight::from_parts(7_244_651, 0) + .saturating_add(Weight::from_parts(0, 1480)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_319, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 11).saturating_mul(d.into())) diff --git a/runtime/polkadot/src/weights/runtime_parachains_paras.rs b/runtime/polkadot/src/weights/runtime_parachains_paras.rs index 77aa0f3c9137..9307c2c77be2 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_paras.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_paras.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -60,13 +60,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_set_current_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8341` - // Estimated: `57966` - // Minimum execution time: 33_964 nanoseconds. - Weight::from_parts(34_183_000, 0) - .saturating_add(Weight::from_parts(0, 57966)) + // Measured: `8309` + // Estimated: `61734` + // Minimum execution time: 33_514_000 picoseconds. + Weight::from_parts(33_804_000, 0) + .saturating_add(Weight::from_parts(0, 61734)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_374, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_953, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -77,11 +77,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_472 nanoseconds. - Weight::from_parts(8_522_000, 0) + // Minimum execution time: 8_575_000 picoseconds. + Weight::from_parts(8_757_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(972, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(866, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Configuration ActiveConfig (r:1 w:0) @@ -109,13 +109,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16785` - // Estimated: `198990` - // Minimum execution time: 62_077 nanoseconds. - Weight::from_parts(63_533_000, 0) - .saturating_add(Weight::from_parts(0, 198990)) + // Measured: `16689` + // Estimated: `206844` + // Minimum execution time: 59_763_000 picoseconds. + Weight::from_parts(60_188_000, 0) + .saturating_add(Weight::from_parts(0, 206844)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_397, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_979, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -129,12 +129,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `95` - // Estimated: `2760` - // Minimum execution time: 14_330 nanoseconds. - Weight::from_parts(14_560_000, 0) - .saturating_add(Weight::from_parts(0, 2760)) + // Estimated: `3750` + // Minimum execution time: 14_463_000 picoseconds. + Weight::from_parts(14_800_000, 0) + .saturating_add(Weight::from_parts(0, 3750)) // Standard Error: 2 - .saturating_add(Weight::from_parts(971, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(869, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -144,11 +144,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured) fn force_queue_action() -> Weight { // Proof Size summary in bytes: - // Measured: `4283` - // Estimated: `11536` - // Minimum execution time: 20_598 nanoseconds. - Weight::from_parts(21_189_000, 0) - .saturating_add(Weight::from_parts(0, 11536)) + // Measured: `4251` + // Estimated: `13452` + // Minimum execution time: 20_457_000 picoseconds. + Weight::from_parts(21_033_000, 0) + .saturating_add(Weight::from_parts(0, 13452)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -160,12 +160,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `5006` - // Minimum execution time: 8_753 nanoseconds. - Weight::from_parts(8_999_000, 0) - .saturating_add(Weight::from_parts(0, 5006)) + // Estimated: `6986` + // Minimum execution time: 8_834_000 picoseconds. + Weight::from_parts(8_989_000, 0) + .saturating_add(Weight::from_parts(0, 6986)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_375, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_961, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,10 +176,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn poke_unused_validation_code() -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `2531` - // Minimum execution time: 6_338 nanoseconds. - Weight::from_parts(6_709_000, 0) - .saturating_add(Weight::from_parts(0, 2531)) + // Estimated: `3521` + // Minimum execution time: 6_731_000 picoseconds. + Weight::from_parts(7_003_000, 0) + .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement() -> Weight { // Proof Size summary in bytes: - // Measured: `26968` - // Estimated: `111832` - // Minimum execution time: 92_190 nanoseconds. - Weight::from_parts(94_190_000, 0) - .saturating_add(Weight::from_parts(0, 111832)) + // Measured: `26872` + // Estimated: `115408` + // Minimum execution time: 91_664_000 picoseconds. + Weight::from_parts(93_856_000, 0) + .saturating_add(Weight::from_parts(0, 115408)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,11 +219,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `27554` - // Estimated: `225877` - // Minimum execution time: 816_058 nanoseconds. - Weight::from_parts(823_769_000, 0) - .saturating_add(Weight::from_parts(0, 225877)) + // Measured: `27426` + // Estimated: `231783` + // Minimum execution time: 778_654_000 picoseconds. + Weight::from_parts(789_010_000, 0) + .saturating_add(Weight::from_parts(0, 231783)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(104)) } @@ -237,11 +237,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `27500` - // Estimated: `113960` - // Minimum execution time: 91_497 nanoseconds. - Weight::from_parts(93_349_000, 0) - .saturating_add(Weight::from_parts(0, 113960)) + // Measured: `27404` + // Estimated: `117536` + // Minimum execution time: 91_553_000 picoseconds. + Weight::from_parts(93_179_000, 0) + .saturating_add(Weight::from_parts(0, 117536)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -259,11 +259,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `27022` - // Estimated: `169062` - // Minimum execution time: 643_156 nanoseconds. - Weight::from_parts(648_775_000, 0) - .saturating_add(Weight::from_parts(0, 169062)) + // Measured: `26894` + // Estimated: `174234` + // Minimum execution time: 617_068_000 picoseconds. + Weight::from_parts(625_676_000, 0) + .saturating_add(Weight::from_parts(0, 174234)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -277,11 +277,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `26968` - // Estimated: `111832` - // Minimum execution time: 90_809 nanoseconds. - Weight::from_parts(92_716_000, 0) - .saturating_add(Weight::from_parts(0, 111832)) + // Measured: `26872` + // Estimated: `115408` + // Minimum execution time: 90_504_000 picoseconds. + Weight::from_parts(92_274_000, 0) + .saturating_add(Weight::from_parts(0, 115408)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs b/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs index c2b20957f448..397e40473960 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -112,16 +112,16 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `51185` - // Estimated: `1520629 + v * (16 ±0)` - // Minimum execution time: 797_153 nanoseconds. - Weight::from_parts(331_841_614, 0) - .saturating_add(Weight::from_parts(0, 1520629)) - // Standard Error: 29_705 - .saturating_add(Weight::from_parts(48_468_871, 0).saturating_mul(v.into())) + // Measured: `50870` + // Estimated: `1539235 + v * (23 ±0)` + // Minimum execution time: 776_077_000 picoseconds. + Weight::from_parts(298_478_078, 0) + .saturating_add(Weight::from_parts(0, 1539235)) + // Standard Error: 25_937 + .saturating_add(Weight::from_parts(48_728_687, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(29)) .saturating_add(T::DbWeight::get().writes(16)) - .saturating_add(Weight::from_parts(0, 16).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 23).saturating_mul(v.into())) } /// Storage: ParaInherent Included (r:1 w:1) /// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured) @@ -187,11 +187,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured) fn enter_bitfields() -> Weight { // Proof Size summary in bytes: - // Measured: `42987` - // Estimated: `1234899` - // Minimum execution time: 357_157 nanoseconds. - Weight::from_parts(363_548_000, 0) - .saturating_add(Weight::from_parts(0, 1234899)) + // Measured: `42703` + // Estimated: `1252687` + // Minimum execution time: 333_634_000 picoseconds. + Weight::from_parts(347_247_000, 0) + .saturating_add(Weight::from_parts(0, 1252687)) .saturating_add(T::DbWeight::get().reads(27)) .saturating_add(T::DbWeight::get().writes(17)) } @@ -262,13 +262,13 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `43019` - // Estimated: `1286239` - // Minimum execution time: 5_691_962 nanoseconds. - Weight::from_parts(946_685_737, 0) - .saturating_add(Weight::from_parts(0, 1286239)) - // Standard Error: 51_849 - .saturating_add(Weight::from_parts(47_866_559, 0).saturating_mul(v.into())) + // Measured: `42735` + // Estimated: `1305723` + // Minimum execution time: 5_585_712_000 picoseconds. + Weight::from_parts(817_055_988, 0) + .saturating_add(Weight::from_parts(0, 1305723)) + // Standard Error: 47_975 + .saturating_add(Weight::from_parts(48_146_281, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(30)) .saturating_add(T::DbWeight::get().writes(16)) } @@ -342,11 +342,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured) fn enter_backed_candidate_code_upgrade() -> Weight { // Proof Size summary in bytes: - // Measured: `43046` - // Estimated: `1378064` - // Minimum execution time: 38_935_048 nanoseconds. - Weight::from_parts(39_141_931_000, 0) - .saturating_add(Weight::from_parts(0, 1378064)) + // Measured: `42762` + // Estimated: `1398960` + // Minimum execution time: 32_705_265_000 picoseconds. + Weight::from_parts(32_937_507_000, 0) + .saturating_add(Weight::from_parts(0, 1398960)) .saturating_add(T::DbWeight::get().reads(32)) .saturating_add(T::DbWeight::get().writes(16)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_ump.rs b/runtime/polkadot/src/weights/runtime_parachains_ump.rs index 3c96f6a06aff..2d67909a2fc4 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_ump.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_ump.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,11 +50,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_467 nanoseconds. - Weight::from_parts(1_128_103, 0) + // Minimum execution time: 5_965_000 picoseconds. + Weight::from_parts(6_067_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_929, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(1_388, 0).saturating_mul(s.into())) } /// Storage: Ump NeedsDispatch (r:1 w:1) /// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured) @@ -66,11 +66,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo /// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured) fn clean_ump_after_outgoing() -> Weight { // Proof Size summary in bytes: - // Measured: `272` - // Estimated: `2078` - // Minimum execution time: 9_593 nanoseconds. - Weight::from_parts(9_926_000, 0) - .saturating_add(Weight::from_parts(0, 2078)) + // Measured: `240` + // Estimated: `3930` + // Minimum execution time: 9_595_000 picoseconds. + Weight::from_parts(9_908_000, 0) + .saturating_add(Weight::from_parts(0, 3930)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -81,10 +81,10 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn service_overweight() -> Weight { // Proof Size summary in bytes: // Measured: `257` - // Estimated: `3231` - // Minimum execution time: 24_517 nanoseconds. - Weight::from_parts(24_802_000, 0) - .saturating_add(Weight::from_parts(0, 3231)) + // Estimated: `5211` + // Minimum execution time: 23_348_000 picoseconds. + Weight::from_parts(23_785_000, 0) + .saturating_add(Weight::from_parts(0, 5211)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/rococo/constants/src/weights/block_weights.rs b/runtime/rococo/constants/src/weights/block_weights.rs index f617a0c1cd9d..2e82609143ba 100644 --- a/runtime/rococo/constants/src/weights/block_weights.rs +++ b/runtime/rococo/constants/src/weights/block_weights.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28 (Y/M/D) +//! DATE: 2023-03-16 (Y/M/D) //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` @@ -42,17 +42,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 463_141, 523_956 - /// Average: 468_724 - /// Median: 465_967 - /// Std-Dev: 8031.15 + /// Min, Max: 482_781, 561_231 + /// Average: 488_493 + /// Median: 485_598 + /// Std-Dev: 10611.98 /// /// Percentiles nanoseconds: - /// 99th: 493_696 - /// 95th: 484_818 - /// 75th: 467_914 + /// 99th: 524_803 + /// 95th: 514_096 + /// 75th: 487_488 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(468_724), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(488_493), 0); } #[cfg(test)] diff --git a/runtime/rococo/constants/src/weights/extrinsic_weights.rs b/runtime/rococo/constants/src/weights/extrinsic_weights.rs index 7148d38709cc..ed41c0bbf583 100644 --- a/runtime/rococo/constants/src/weights/extrinsic_weights.rs +++ b/runtime/rococo/constants/src/weights/extrinsic_weights.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28 (Y/M/D) +//! DATE: 2023-03-16 (Y/M/D) //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` @@ -42,17 +42,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 94_214, 95_794 - /// Average: 94_585 - /// Median: 94_522 - /// Std-Dev: 285.28 + /// Min, Max: 96_243, 101_429 + /// Average: 96_710 + /// Median: 96_549 + /// Std-Dev: 641.99 /// /// Percentiles nanoseconds: - /// 99th: 95_419 - /// 95th: 95_147 - /// 75th: 94_666 + /// 99th: 99_714 + /// 95th: 97_508 + /// 75th: 96_663 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(94_585), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(96_710), 0); } #[cfg(test)] diff --git a/runtime/rococo/src/weights/frame_benchmarking_baseline.rs b/runtime/rococo/src/weights/frame_benchmarking_baseline.rs index 6277e18add76..71f75c7da3fc 100644 --- a/runtime/rococo/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/rococo/src/weights/frame_benchmarking_baseline.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,8 +50,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 177 nanoseconds. - Weight::from_parts(213_240, 0) + // Minimum execution time: 157_000 picoseconds. + Weight::from_parts(214_152, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -59,8 +59,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 176 nanoseconds. - Weight::from_parts(217_103, 0) + // Minimum execution time: 161_000 picoseconds. + Weight::from_parts(212_456, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -68,8 +68,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 182 nanoseconds. - Weight::from_parts(222_120, 0) + // Minimum execution time: 159_000 picoseconds. + Weight::from_parts(213_431, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -77,16 +77,16 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 178 nanoseconds. - Weight::from_parts(214_174, 0) + // Minimum execution time: 154_000 picoseconds. + Weight::from_parts(204_754, 0) .saturating_add(Weight::from_parts(0, 0)) } fn hashing() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 23_495_750 nanoseconds. - Weight::from_parts(23_635_881_000, 0) + // Minimum execution time: 19_585_925_000 picoseconds. + Weight::from_parts(19_753_046_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 100]`. @@ -94,10 +94,10 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 226 nanoseconds. - Weight::from_parts(238_000, 0) + // Minimum execution time: 214_000 picoseconds. + Weight::from_parts(233_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 9_925 - .saturating_add(Weight::from_parts(46_955_989, 0).saturating_mul(i.into())) + // Standard Error: 8_934 + .saturating_add(Weight::from_parts(47_206_964, 0).saturating_mul(i.into())) } } diff --git a/runtime/rococo/src/weights/frame_system.rs b/runtime/rococo/src/weights/frame_system.rs index 62e5b92c57aa..15403b93d07e 100644 --- a/runtime/rococo/src/weights/frame_system.rs +++ b/runtime/rococo/src/weights/frame_system.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,22 +50,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_748 nanoseconds. - Weight::from_parts(2_117_356, 0) + // Minimum execution time: 2_292_000 picoseconds. + Weight::from_parts(2_342_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(367, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(368, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_063 nanoseconds. - Weight::from_parts(7_145_000, 0) + // Minimum execution time: 7_815_000 picoseconds. + Weight::from_parts(8_108_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_721, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_408, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -74,10 +74,10 @@ impl frame_system::WeightInfo for WeightInfo { fn set_heap_pages() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `495` - // Minimum execution time: 3_665 nanoseconds. - Weight::from_parts(3_765_000, 0) - .saturating_add(Weight::from_parts(0, 495)) + // Estimated: `1485` + // Minimum execution time: 4_368_000 picoseconds. + Weight::from_parts(4_621_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,11 +88,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_681 nanoseconds. - Weight::from_parts(1_739_000, 0) + // Minimum execution time: 2_288_000 picoseconds. + Weight::from_parts(2_376_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_662 - .saturating_add(Weight::from_parts(660_663, 0).saturating_mul(i.into())) + // Standard Error: 1_708 + .saturating_add(Weight::from_parts(661_748, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -102,11 +102,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_849 nanoseconds. - Weight::from_parts(1_894_000, 0) + // Minimum execution time: 2_286_000 picoseconds. + Weight::from_parts(2_349_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 767 - .saturating_add(Weight::from_parts(482_324, 0).saturating_mul(i.into())) + // Standard Error: 783 + .saturating_add(Weight::from_parts(479_594, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -116,11 +116,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `131 + p * (69 ±0)` // Estimated: `126 + p * (70 ±0)` - // Minimum execution time: 3_861 nanoseconds. - Weight::from_parts(3_923_000, 0) + // Minimum execution time: 4_282_000 picoseconds. + Weight::from_parts(4_376_000, 0) .saturating_add(Weight::from_parts(0, 126)) - // Standard Error: 869 - .saturating_add(Weight::from_parts(999_646, 0).saturating_mul(p.into())) + // Standard Error: 914 + .saturating_add(Weight::from_parts(1_020_664, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs b/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs index 94feb6398396..3f6c52e8140c 100644 --- a/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs +++ b/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -53,11 +53,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1876` - // Estimated: `8288` - // Minimum execution time: 52_909 nanoseconds. - Weight::from_parts(54_611_000, 0) - .saturating_add(Weight::from_parts(0, 8288)) + // Measured: `219` + // Estimated: `11258` + // Minimum execution time: 40_394_000 picoseconds. + Weight::from_parts(41_033_000, 0) + .saturating_add(Weight::from_parts(0, 11258)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -67,11 +67,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `1702` - // Estimated: `7777` - // Minimum execution time: 37_606 nanoseconds. - Weight::from_parts(38_089_000, 0) - .saturating_add(Weight::from_parts(0, 7777)) + // Measured: `217` + // Estimated: `9757` + // Minimum execution time: 28_198_000 picoseconds. + Weight::from_parts(28_706_000, 0) + .saturating_add(Weight::from_parts(0, 9757)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,11 +81,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `1352` - // Estimated: `3098` - // Minimum execution time: 25_313 nanoseconds. - Weight::from_parts(25_782_000, 0) - .saturating_add(Weight::from_parts(0, 3098)) + // Measured: `219` + // Estimated: `5078` + // Minimum execution time: 17_898_000 picoseconds. + Weight::from_parts(18_319_000, 0) + .saturating_add(Weight::from_parts(0, 5078)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -97,11 +97,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn set_balance_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `1910` - // Estimated: `5701` - // Minimum execution time: 34_720 nanoseconds. - Weight::from_parts(35_645_000, 0) - .saturating_add(Weight::from_parts(0, 5701)) + // Measured: `393` + // Estimated: `8671` + // Minimum execution time: 26_373_000 picoseconds. + Weight::from_parts(26_990_000, 0) + .saturating_add(Weight::from_parts(0, 8671)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -113,11 +113,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1872` - // Estimated: `10891` - // Minimum execution time: 51_178 nanoseconds. - Weight::from_parts(52_624_000, 0) - .saturating_add(Weight::from_parts(0, 10891)) + // Measured: `322` + // Estimated: `13861` + // Minimum execution time: 43_479_000 picoseconds. + Weight::from_parts(44_602_000, 0) + .saturating_add(Weight::from_parts(0, 13861)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -127,11 +127,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `1874` - // Estimated: `7777` - // Minimum execution time: 47_648 nanoseconds. - Weight::from_parts(49_070_000, 0) - .saturating_add(Weight::from_parts(0, 7777)) + // Measured: `217` + // Estimated: `9757` + // Minimum execution time: 36_097_000 picoseconds. + Weight::from_parts(37_238_000, 0) + .saturating_add(Weight::from_parts(0, 9757)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -139,11 +139,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `1350` - // Estimated: `2587` - // Minimum execution time: 23_698 nanoseconds. - Weight::from_parts(24_378_000, 0) - .saturating_add(Weight::from_parts(0, 2587)) + // Measured: `217` + // Estimated: `3577` + // Minimum execution time: 16_048_000 picoseconds. + Weight::from_parts(16_434_000, 0) + .saturating_add(Weight::from_parts(0, 3577)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_bounties.rs b/runtime/rococo/src/weights/pallet_bounties.rs index aedb0669f29c..98a402e9db13 100644 --- a/runtime/rococo/src/weights/pallet_bounties.rs +++ b/runtime/rococo/src/weights/pallet_bounties.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -56,13 +56,13 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// The range of component `d` is `[0, 16384]`. fn propose_bounty(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `242` - // Estimated: `3102` - // Minimum execution time: 24_400 nanoseconds. - Weight::from_parts(25_972_758, 0) - .saturating_add(Weight::from_parts(0, 3102)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(716, 0).saturating_mul(d.into())) + // Measured: `210` + // Estimated: `5082` + // Minimum execution time: 26_001_000 picoseconds. + Weight::from_parts(27_607_145, 0) + .saturating_add(Weight::from_parts(0, 5082)) + // Standard Error: 6 + .saturating_add(Weight::from_parts(696, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -70,7 +70,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 0 nanoseconds. + // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -78,7 +78,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 0 nanoseconds. + // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -86,7 +86,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 0 nanoseconds. + // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -94,7 +94,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 0 nanoseconds. + // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -102,7 +102,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 0 nanoseconds. + // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -110,7 +110,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 0 nanoseconds. + // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -124,11 +124,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen) fn close_bounty_proposed() -> Weight { // Proof Size summary in bytes: - // Measured: `546` - // Estimated: `7746` - // Minimum execution time: 41_193 nanoseconds. - Weight::from_parts(41_719_000, 0) - .saturating_add(Weight::from_parts(0, 7746)) + // Measured: `482` + // Estimated: `10716` + // Minimum execution time: 42_088_000 picoseconds. + Weight::from_parts(42_604_000, 0) + .saturating_add(Weight::from_parts(0, 10716)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -136,7 +136,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 0 nanoseconds. + // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -144,7 +144,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 0 nanoseconds. + // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -154,9 +154,9 @@ impl pallet_bounties::WeightInfo for WeightInfo { fn spend_funds(_b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `897` - // Minimum execution time: 0 nanoseconds. - Weight::from_parts(2_606_006, 0) - .saturating_add(Weight::from_parts(0, 897)) + // Estimated: `1887` + // Minimum execution time: 0_000 picoseconds. + Weight::from_parts(2_530_136, 0) + .saturating_add(Weight::from_parts(0, 1887)) } } diff --git a/runtime/rococo/src/weights/pallet_child_bounties.rs b/runtime/rococo/src/weights/pallet_child_bounties.rs index 432bc4c50742..1f606778841e 100644 --- a/runtime/rococo/src/weights/pallet_child_bounties.rs +++ b/runtime/rococo/src/weights/pallet_child_bounties.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,7 +50,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)` - // Estimated: `16322 + m * (7809 ±16) + p * (10238 ±16)` - // Minimum execution time: 17_652 nanoseconds. - Weight::from_parts(17_887_000, 0) - .saturating_add(Weight::from_parts(0, 16322)) - // Standard Error: 48_823 - .saturating_add(Weight::from_parts(5_530_238, 0).saturating_mul(m.into())) - // Standard Error: 48_823 - .saturating_add(Weight::from_parts(8_205_203, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` + // Estimated: `19164 + m * (7799 ±16) + p * (10110 ±16)` + // Minimum execution time: 18_409_000 picoseconds. + Weight::from_parts(18_665_000, 0) + .saturating_add(Weight::from_parts(0, 19164)) + // Standard Error: 53_593 + .saturating_add(Weight::from_parts(6_095_379, 0).saturating_mul(m.into())) + // Standard Error: 53_593 + .saturating_add(Weight::from_parts(8_689_578, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7809).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10238).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 7799).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) } /// Storage: Council Members (r:1 w:0) /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) @@ -85,15 +85,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `168 + m * (32 ±0)` - // Estimated: `664 + m * (32 ±0)` - // Minimum execution time: 16_377 nanoseconds. - Weight::from_parts(15_516_969, 0) - .saturating_add(Weight::from_parts(0, 664)) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_799, 0).saturating_mul(b.into())) - // Standard Error: 298 - .saturating_add(Weight::from_parts(14_715, 0).saturating_mul(m.into())) + // Measured: `136 + m * (32 ±0)` + // Estimated: `1622 + m * (32 ±0)` + // Minimum execution time: 17_403_000 picoseconds. + Weight::from_parts(17_138_700, 0) + .saturating_add(Weight::from_parts(0, 1622)) + // Standard Error: 24 + .saturating_add(Weight::from_parts(1_245, 0).saturating_mul(b.into())) + // Standard Error: 255 + .saturating_add(Weight::from_parts(13_615, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -107,15 +107,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `168 + m * (32 ±0)` - // Estimated: `3308 + m * (64 ±0)` - // Minimum execution time: 18_627 nanoseconds. - Weight::from_parts(17_627_291, 0) - .saturating_add(Weight::from_parts(0, 3308)) - // Standard Error: 21 - .saturating_add(Weight::from_parts(1_527, 0).saturating_mul(b.into())) - // Standard Error: 224 - .saturating_add(Weight::from_parts(24_848, 0).saturating_mul(m.into())) + // Measured: `136 + m * (32 ±0)` + // Estimated: `5224 + m * (64 ±0)` + // Minimum execution time: 19_516_000 picoseconds. + Weight::from_parts(19_262_478, 0) + .saturating_add(Weight::from_parts(0, 5224)) + // Standard Error: 45 + .saturating_add(Weight::from_parts(990, 0).saturating_mul(b.into())) + // Standard Error: 471 + .saturating_add(Weight::from_parts(26_260, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } @@ -137,17 +137,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `490 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `6025 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 25_043 nanoseconds. - Weight::from_parts(26_178_725, 0) - .saturating_add(Weight::from_parts(0, 6025)) - // Standard Error: 48 - .saturating_add(Weight::from_parts(2_348, 0).saturating_mul(b.into())) - // Standard Error: 508 - .saturating_add(Weight::from_parts(17_576, 0).saturating_mul(m.into())) - // Standard Error: 502 - .saturating_add(Weight::from_parts(120_249, 0).saturating_mul(p.into())) + // Measured: `426 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `9685 + m * (165 ±0) + p * (180 ±0)` + // Minimum execution time: 25_377_000 picoseconds. + Weight::from_parts(26_097_770, 0) + .saturating_add(Weight::from_parts(0, 9685)) + // Standard Error: 55 + .saturating_add(Weight::from_parts(2_402, 0).saturating_mul(b.into())) + // Standard Error: 574 + .saturating_add(Weight::from_parts(19_460, 0).saturating_mul(m.into())) + // Standard Error: 567 + .saturating_add(Weight::from_parts(127_156, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) @@ -161,13 +161,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `940 + m * (64 ±0)` - // Estimated: `4848 + m * (128 ±0)` - // Minimum execution time: 22_290 nanoseconds. - Weight::from_parts(22_948_862, 0) - .saturating_add(Weight::from_parts(0, 4848)) - // Standard Error: 266 - .saturating_add(Weight::from_parts(42_141, 0).saturating_mul(m.into())) + // Measured: `875 + m * (64 ±0)` + // Estimated: `6698 + m * (128 ±0)` + // Minimum execution time: 23_095_000 picoseconds. + Weight::from_parts(23_734_450, 0) + .saturating_add(Weight::from_parts(0, 6698)) + // Standard Error: 321 + .saturating_add(Weight::from_parts(46_415, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) @@ -186,15 +186,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `560 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `5629 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 26_965 nanoseconds. - Weight::from_parts(28_111_495, 0) - .saturating_add(Weight::from_parts(0, 5629)) - // Standard Error: 406 - .saturating_add(Weight::from_parts(18_952, 0).saturating_mul(m.into())) - // Standard Error: 396 - .saturating_add(Weight::from_parts(135_279, 0).saturating_mul(p.into())) + // Measured: `464 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `8211 + m * (260 ±0) + p * (144 ±0)` + // Minimum execution time: 28_018_000 picoseconds. + Weight::from_parts(29_056_435, 0) + .saturating_add(Weight::from_parts(0, 8211)) + // Standard Error: 435 + .saturating_add(Weight::from_parts(23_077, 0).saturating_mul(m.into())) + // Standard Error: 424 + .saturating_add(Weight::from_parts(118_080, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) @@ -216,15 +216,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `896 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `8900 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 38_169 nanoseconds. - Weight::from_parts(40_193_158, 0) - .saturating_add(Weight::from_parts(0, 8900)) - // Standard Error: 128 - .saturating_add(Weight::from_parts(2_040, 0).saturating_mul(b.into())) - // Standard Error: 1_320 - .saturating_add(Weight::from_parts(148_950, 0).saturating_mul(p.into())) + // Measured: `766 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `12372 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` + // Minimum execution time: 39_949_000 picoseconds. + Weight::from_parts(42_155_581, 0) + .saturating_add(Weight::from_parts(0, 12372)) + // Standard Error: 126 + .saturating_add(Weight::from_parts(2_168, 0).saturating_mul(b.into())) + // Standard Error: 1_306 + .saturating_add(Weight::from_parts(153_515, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) @@ -247,15 +247,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `580 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `6765 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 29_862 nanoseconds. - Weight::from_parts(30_698_565, 0) - .saturating_add(Weight::from_parts(0, 6765)) - // Standard Error: 377 - .saturating_add(Weight::from_parts(22_192, 0).saturating_mul(m.into())) - // Standard Error: 367 - .saturating_add(Weight::from_parts(134_679, 0).saturating_mul(p.into())) + // Measured: `484 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `10240 + m * (325 ±0) + p * (180 ±0)` + // Minimum execution time: 30_831_000 picoseconds. + Weight::from_parts(31_829_276, 0) + .saturating_add(Weight::from_parts(0, 10240)) + // Standard Error: 448 + .saturating_add(Weight::from_parts(23_861, 0).saturating_mul(m.into())) + // Standard Error: 437 + .saturating_add(Weight::from_parts(117_488, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) @@ -279,17 +279,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `916 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `10235 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 40_518 nanoseconds. - Weight::from_parts(41_833_162, 0) - .saturating_add(Weight::from_parts(0, 10235)) - // Standard Error: 85 - .saturating_add(Weight::from_parts(2_290, 0).saturating_mul(b.into())) - // Standard Error: 905 - .saturating_add(Weight::from_parts(21_516, 0).saturating_mul(m.into())) - // Standard Error: 882 - .saturating_add(Weight::from_parts(145_621, 0).saturating_mul(p.into())) + // Measured: `786 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `14575 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` + // Minimum execution time: 42_428_000 picoseconds. + Weight::from_parts(43_525_724, 0) + .saturating_add(Weight::from_parts(0, 14575)) + // Standard Error: 88 + .saturating_add(Weight::from_parts(2_466, 0).saturating_mul(b.into())) + // Standard Error: 932 + .saturating_add(Weight::from_parts(24_008, 0).saturating_mul(m.into())) + // Standard Error: 909 + .saturating_add(Weight::from_parts(151_137, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) @@ -306,13 +306,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `325 + p * (32 ±0)` - // Estimated: `1470 + p * (96 ±0)` - // Minimum execution time: 15_193 nanoseconds. - Weight::from_parts(17_443_092, 0) - .saturating_add(Weight::from_parts(0, 1470)) - // Standard Error: 506 - .saturating_add(Weight::from_parts(107_440, 0).saturating_mul(p.into())) + // Measured: `293 + p * (32 ±0)` + // Estimated: `2364 + p * (96 ±0)` + // Minimum execution time: 15_842_000 picoseconds. + Weight::from_parts(18_220_251, 0) + .saturating_add(Weight::from_parts(0, 2364)) + // Standard Error: 525 + .saturating_add(Weight::from_parts(114_682, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) diff --git a/runtime/rococo/src/weights/pallet_collective_technical_committee.rs b/runtime/rococo/src/weights/pallet_collective_technical_committee.rs index c8717d8f569a..e6fa162f0310 100644 --- a/runtime/rococo/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/rococo/src/weights/pallet_collective_technical_committee.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -61,21 +61,21 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3233 ±0) + p * (3223 ±0)` - // Estimated: `16206 + m * (7809 ±16) + p * (10238 ±16)` - // Minimum execution time: 18_363 nanoseconds. - Weight::from_parts(18_626_000, 0) - .saturating_add(Weight::from_parts(0, 16206)) - // Standard Error: 48_932 - .saturating_add(Weight::from_parts(5_502_228, 0).saturating_mul(m.into())) - // Standard Error: 48_932 - .saturating_add(Weight::from_parts(8_265_192, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` + // Estimated: `19048 + m * (7799 ±16) + p * (10110 ±16)` + // Minimum execution time: 18_999_000 picoseconds. + Weight::from_parts(19_317_000, 0) + .saturating_add(Weight::from_parts(0, 19048)) + // Standard Error: 53_772 + .saturating_add(Weight::from_parts(6_158_487, 0).saturating_mul(m.into())) + // Standard Error: 53_772 + .saturating_add(Weight::from_parts(8_829_842, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7809).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10238).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 7799).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -85,15 +85,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `139 + m * (32 ±0)` - // Estimated: `635 + m * (32 ±0)` - // Minimum execution time: 16_669 nanoseconds. - Weight::from_parts(15_873_517, 0) - .saturating_add(Weight::from_parts(0, 635)) - // Standard Error: 53 - .saturating_add(Weight::from_parts(1_939, 0).saturating_mul(b.into())) - // Standard Error: 554 - .saturating_add(Weight::from_parts(13_017, 0).saturating_mul(m.into())) + // Measured: `107 + m * (32 ±0)` + // Estimated: `1593 + m * (32 ±0)` + // Minimum execution time: 18_150_000 picoseconds. + Weight::from_parts(17_661_983, 0) + .saturating_add(Weight::from_parts(0, 1593)) + // Standard Error: 22 + .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(b.into())) + // Standard Error: 231 + .saturating_add(Weight::from_parts(11_314, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -107,15 +107,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `139 + m * (32 ±0)` - // Estimated: `3250 + m * (64 ±0)` - // Minimum execution time: 19_226 nanoseconds. - Weight::from_parts(18_203_584, 0) - .saturating_add(Weight::from_parts(0, 3250)) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_537, 0).saturating_mul(b.into())) - // Standard Error: 202 - .saturating_add(Weight::from_parts(22_602, 0).saturating_mul(m.into())) + // Measured: `107 + m * (32 ±0)` + // Estimated: `5166 + m * (64 ±0)` + // Minimum execution time: 20_213_000 picoseconds. + Weight::from_parts(19_820_630, 0) + .saturating_add(Weight::from_parts(0, 5166)) + // Standard Error: 45 + .saturating_add(Weight::from_parts(1_027, 0).saturating_mul(b.into())) + // Standard Error: 468 + .saturating_add(Weight::from_parts(25_038, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } @@ -137,17 +137,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `461 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `5880 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 25_845 nanoseconds. - Weight::from_parts(26_944_072, 0) - .saturating_add(Weight::from_parts(0, 5880)) - // Standard Error: 49 - .saturating_add(Weight::from_parts(2_373, 0).saturating_mul(b.into())) - // Standard Error: 519 - .saturating_add(Weight::from_parts(17_532, 0).saturating_mul(m.into())) - // Standard Error: 513 - .saturating_add(Weight::from_parts(121_955, 0).saturating_mul(p.into())) + // Measured: `397 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `9540 + m * (165 ±0) + p * (180 ±0)` + // Minimum execution time: 26_035_000 picoseconds. + Weight::from_parts(26_958_892, 0) + .saturating_add(Weight::from_parts(0, 9540)) + // Standard Error: 53 + .saturating_add(Weight::from_parts(2_417, 0).saturating_mul(b.into())) + // Standard Error: 553 + .saturating_add(Weight::from_parts(19_098, 0).saturating_mul(m.into())) + // Standard Error: 546 + .saturating_add(Weight::from_parts(127_780, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) @@ -161,13 +161,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `911 + m * (64 ±0)` - // Estimated: `4790 + m * (128 ±0)` - // Minimum execution time: 23_163 nanoseconds. - Weight::from_parts(23_720_815, 0) - .saturating_add(Weight::from_parts(0, 4790)) - // Standard Error: 246 - .saturating_add(Weight::from_parts(41_772, 0).saturating_mul(m.into())) + // Measured: `846 + m * (64 ±0)` + // Estimated: `6640 + m * (128 ±0)` + // Minimum execution time: 23_930_000 picoseconds. + Weight::from_parts(24_532_203, 0) + .saturating_add(Weight::from_parts(0, 6640)) + // Standard Error: 289 + .saturating_add(Weight::from_parts(45_327, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) @@ -186,15 +186,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `531 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `5513 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 27_743 nanoseconds. - Weight::from_parts(28_729_876, 0) - .saturating_add(Weight::from_parts(0, 5513)) - // Standard Error: 381 - .saturating_add(Weight::from_parts(19_708, 0).saturating_mul(m.into())) - // Standard Error: 371 - .saturating_add(Weight::from_parts(138_115, 0).saturating_mul(p.into())) + // Measured: `435 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `8095 + m * (260 ±0) + p * (144 ±0)` + // Minimum execution time: 28_607_000 picoseconds. + Weight::from_parts(29_697_878, 0) + .saturating_add(Weight::from_parts(0, 8095)) + // Standard Error: 404 + .saturating_add(Weight::from_parts(23_038, 0).saturating_mul(m.into())) + // Standard Error: 394 + .saturating_add(Weight::from_parts(119_861, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) @@ -216,17 +216,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `867 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `8784 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 38_714 nanoseconds. - Weight::from_parts(39_840_766, 0) - .saturating_add(Weight::from_parts(0, 8784)) - // Standard Error: 84 - .saturating_add(Weight::from_parts(2_316, 0).saturating_mul(b.into())) - // Standard Error: 897 - .saturating_add(Weight::from_parts(22_230, 0).saturating_mul(m.into())) - // Standard Error: 875 - .saturating_add(Weight::from_parts(146_018, 0).saturating_mul(p.into())) + // Measured: `737 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `12256 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` + // Minimum execution time: 40_627_000 picoseconds. + Weight::from_parts(42_069_683, 0) + .saturating_add(Weight::from_parts(0, 12256)) + // Standard Error: 85 + .saturating_add(Weight::from_parts(2_262, 0).saturating_mul(b.into())) + // Standard Error: 903 + .saturating_add(Weight::from_parts(21_911, 0).saturating_mul(m.into())) + // Standard Error: 880 + .saturating_add(Weight::from_parts(148_298, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) @@ -249,15 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `551 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `6620 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 30_419 nanoseconds. - Weight::from_parts(31_221_203, 0) - .saturating_add(Weight::from_parts(0, 6620)) - // Standard Error: 370 - .saturating_add(Weight::from_parts(23_359, 0).saturating_mul(m.into())) - // Standard Error: 361 - .saturating_add(Weight::from_parts(139_033, 0).saturating_mul(p.into())) + // Measured: `455 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `10095 + m * (325 ±0) + p * (180 ±0)` + // Minimum execution time: 31_316_000 picoseconds. + Weight::from_parts(32_415_386, 0) + .saturating_add(Weight::from_parts(0, 10095)) + // Standard Error: 418 + .saturating_add(Weight::from_parts(24_815, 0).saturating_mul(m.into())) + // Standard Error: 408 + .saturating_add(Weight::from_parts(118_520, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) @@ -281,17 +281,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `887 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `10090 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 41_170 nanoseconds. - Weight::from_parts(43_013_899, 0) - .saturating_add(Weight::from_parts(0, 10090)) - // Standard Error: 80 - .saturating_add(Weight::from_parts(1_999, 0).saturating_mul(b.into())) - // Standard Error: 848 - .saturating_add(Weight::from_parts(22_005, 0).saturating_mul(m.into())) - // Standard Error: 827 - .saturating_add(Weight::from_parts(145_539, 0).saturating_mul(p.into())) + // Measured: `757 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `14430 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` + // Minimum execution time: 42_902_000 picoseconds. + Weight::from_parts(44_509_967, 0) + .saturating_add(Weight::from_parts(0, 14430)) + // Standard Error: 83 + .saturating_add(Weight::from_parts(2_224, 0).saturating_mul(b.into())) + // Standard Error: 879 + .saturating_add(Weight::from_parts(24_140, 0).saturating_mul(m.into())) + // Standard Error: 857 + .saturating_add(Weight::from_parts(151_097, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) @@ -308,13 +308,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `296 + p * (32 ±0)` - // Estimated: `1383 + p * (96 ±0)` - // Minimum execution time: 15_951 nanoseconds. - Weight::from_parts(17_842_394, 0) - .saturating_add(Weight::from_parts(0, 1383)) - // Standard Error: 462 - .saturating_add(Weight::from_parts(110_189, 0).saturating_mul(p.into())) + // Measured: `264 + p * (32 ±0)` + // Estimated: `2277 + p * (96 ±0)` + // Minimum execution time: 16_736_000 picoseconds. + Weight::from_parts(18_556_980, 0) + .saturating_add(Weight::from_parts(0, 2277)) + // Standard Error: 453 + .saturating_add(Weight::from_parts(116_561, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) diff --git a/runtime/rococo/src/weights/pallet_democracy.rs b/runtime/rococo/src/weights/pallet_democracy.rs index abf2aa8713fa..777c26fc1e2c 100644 --- a/runtime/rococo/src/weights/pallet_democracy.rs +++ b/runtime/rococo/src/weights/pallet_democracy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `4831` - // Estimated: `23409` - // Minimum execution time: 35_009 nanoseconds. - Weight::from_parts(35_562_000, 0) - .saturating_add(Weight::from_parts(0, 23409)) + // Measured: `4768` + // Estimated: `26379` + // Minimum execution time: 36_024_000 picoseconds. + Weight::from_parts(36_432_000, 0) + .saturating_add(Weight::from_parts(0, 26379)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -67,11 +67,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `3587` - // Estimated: `5705` - // Minimum execution time: 32_327 nanoseconds. - Weight::from_parts(32_829_000, 0) - .saturating_add(Weight::from_parts(0, 5705)) + // Measured: `3523` + // Estimated: `6695` + // Minimum execution time: 33_659_000 picoseconds. + Weight::from_parts(33_991_000, 0) + .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,11 +83,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3494` - // Estimated: `12720` - // Minimum execution time: 44_432 nanoseconds. - Weight::from_parts(44_971_000, 0) - .saturating_add(Weight::from_parts(0, 12720)) + // Measured: `3399` + // Estimated: `15690` + // Minimum execution time: 45_431_000 picoseconds. + Weight::from_parts(46_035_000, 0) + .saturating_add(Weight::from_parts(0, 15690)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -99,11 +99,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3516` - // Estimated: `12720` - // Minimum execution time: 44_198 nanoseconds. - Weight::from_parts(44_910_000, 0) - .saturating_add(Weight::from_parts(0, 12720)) + // Measured: `3421` + // Estimated: `15690` + // Minimum execution time: 45_080_000 picoseconds. + Weight::from_parts(46_071_000, 0) + .saturating_add(Weight::from_parts(0, 15690)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -115,11 +115,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `365` - // Estimated: `7712` - // Minimum execution time: 26_814 nanoseconds. - Weight::from_parts(27_292_000, 0) - .saturating_add(Weight::from_parts(0, 7712)) + // Measured: `333` + // Estimated: `10682` + // Minimum execution time: 26_871_000 picoseconds. + Weight::from_parts(27_465_000, 0) + .saturating_add(Weight::from_parts(0, 10682)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -139,11 +139,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `6003` - // Estimated: `36392` - // Minimum execution time: 89_645 nanoseconds. - Weight::from_parts(90_833_000, 0) - .saturating_add(Weight::from_parts(0, 36392)) + // Measured: `5877` + // Estimated: `42332` + // Minimum execution time: 92_414_000 picoseconds. + Weight::from_parts(93_526_000, 0) + .saturating_add(Weight::from_parts(0, 42332)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -153,11 +153,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) fn external_propose() -> Weight { // Proof Size summary in bytes: - // Measured: `3415` - // Estimated: `6340` - // Minimum execution time: 13_608 nanoseconds. - Weight::from_parts(14_008_000, 0) - .saturating_add(Weight::from_parts(0, 6340)) + // Measured: `3383` + // Estimated: `8320` + // Minimum execution time: 14_050_000 picoseconds. + Weight::from_parts(14_406_000, 0) + .saturating_add(Weight::from_parts(0, 8320)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -167,8 +167,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_288 nanoseconds. - Weight::from_parts(3_531_000, 0) + // Minimum execution time: 3_771_000 picoseconds. + Weight::from_parts(3_945_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,8 +178,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_313 nanoseconds. - Weight::from_parts(3_500_000, 0) + // Minimum execution time: 3_803_000 picoseconds. + Weight::from_parts(3_970_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -194,10 +194,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `3654` - // Minimum execution time: 27_758 nanoseconds. - Weight::from_parts(28_367_000, 0) - .saturating_add(Weight::from_parts(0, 3654)) + // Estimated: `6624` + // Minimum execution time: 27_895_000 picoseconds. + Weight::from_parts(28_544_000, 0) + .saturating_add(Weight::from_parts(0, 6624)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -209,11 +209,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn veto_external() -> Weight { // Proof Size summary in bytes: - // Measured: `3518` - // Estimated: `8868` - // Minimum execution time: 31_910 nanoseconds. - Weight::from_parts(32_522_000, 0) - .saturating_add(Weight::from_parts(0, 8868)) + // Measured: `3486` + // Estimated: `11838` + // Minimum execution time: 32_879_000 picoseconds. + Weight::from_parts(33_543_000, 0) + .saturating_add(Weight::from_parts(0, 11838)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,11 +227,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `5882` - // Estimated: `28033` - // Minimum execution time: 73_861 nanoseconds. - Weight::from_parts(74_543_000, 0) - .saturating_add(Weight::from_parts(0, 28033)) + // Measured: `5788` + // Estimated: `31993` + // Minimum execution time: 75_590_000 picoseconds. + Weight::from_parts(77_747_000, 0) + .saturating_add(Weight::from_parts(0, 31993)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -242,10 +242,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` - // Estimated: `2528` - // Minimum execution time: 20_285 nanoseconds. - Weight::from_parts(20_556_000, 0) - .saturating_add(Weight::from_parts(0, 2528)) + // Estimated: `3518` + // Minimum execution time: 20_253_000 picoseconds. + Weight::from_parts(20_741_000, 0) + .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -258,13 +258,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + r * (117 ±0)` - // Estimated: `998 + r * (2676 ±0)` - // Minimum execution time: 7_440 nanoseconds. - Weight::from_parts(10_296_992, 0) - .saturating_add(Weight::from_parts(0, 998)) - // Standard Error: 5_598 - .saturating_add(Weight::from_parts(2_783_476, 0).saturating_mul(r.into())) + // Measured: `211 + r * (86 ±0)` + // Estimated: `3968 + r * (2676 ±0)` + // Minimum execution time: 7_320_000 picoseconds. + Weight::from_parts(10_040_486, 0) + .saturating_add(Weight::from_parts(0, 3968)) + // Standard Error: 5_552 + .saturating_add(Weight::from_parts(2_743_794, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -285,13 +285,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + r * (117 ±0)` - // Estimated: `19318 + r * (2676 ±0)` - // Minimum execution time: 10_023 nanoseconds. - Weight::from_parts(14_953_199, 0) - .saturating_add(Weight::from_parts(0, 19318)) - // Standard Error: 6_703 - .saturating_add(Weight::from_parts(2_749_933, 0).saturating_mul(r.into())) + // Measured: `211 + r * (86 ±0)` + // Estimated: `25258 + r * (2676 ±0)` + // Minimum execution time: 9_844_000 picoseconds. + Weight::from_parts(13_450_509, 0) + .saturating_add(Weight::from_parts(0, 25258)) + // Standard Error: 9_321 + .saturating_add(Weight::from_parts(2_747_536, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -306,13 +306,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `891 + r * (139 ±0)` - // Estimated: `22584 + r * (2676 ±0)` - // Minimum execution time: 36_963 nanoseconds. - Weight::from_parts(43_759_217, 0) - .saturating_add(Weight::from_parts(0, 22584)) - // Standard Error: 7_017 - .saturating_add(Weight::from_parts(3_833_993, 0).saturating_mul(r.into())) + // Measured: `763 + r * (108 ±0)` + // Estimated: `25554 + r * (2676 ±0)` + // Minimum execution time: 37_313_000 picoseconds. + Weight::from_parts(43_491_459, 0) + .saturating_add(Weight::from_parts(0, 25554)) + // Standard Error: 7_336 + .saturating_add(Weight::from_parts(3_874_754, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -326,13 +326,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `524 + r * (139 ±0)` - // Estimated: `12540 + r * (2676 ±0)` - // Minimum execution time: 21_086 nanoseconds. - Weight::from_parts(23_113_225, 0) - .saturating_add(Weight::from_parts(0, 12540)) - // Standard Error: 5_813 - .saturating_add(Weight::from_parts(3_831_698, 0).saturating_mul(r.into())) + // Measured: `460 + r * (108 ±0)` + // Estimated: `14520 + r * (2676 ±0)` + // Minimum execution time: 21_688_000 picoseconds. + Weight::from_parts(24_058_987, 0) + .saturating_add(Weight::from_parts(0, 14520)) + // Standard Error: 6_136 + .saturating_add(Weight::from_parts(3_860_950, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -345,8 +345,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_266 nanoseconds. - Weight::from_parts(3_325_000, 0) + // Minimum execution time: 3_656_000 picoseconds. + Weight::from_parts(3_768_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -359,13 +359,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `556` - // Estimated: `12647` - // Minimum execution time: 19_889 nanoseconds. - Weight::from_parts(26_324_448, 0) - .saturating_add(Weight::from_parts(0, 12647)) - // Standard Error: 1_495 - .saturating_add(Weight::from_parts(22_352, 0).saturating_mul(r.into())) + // Measured: `492` + // Estimated: `15617` + // Minimum execution time: 20_433_000 picoseconds. + Weight::from_parts(26_581_801, 0) + .saturating_add(Weight::from_parts(0, 15617)) + // Standard Error: 1_371 + .saturating_add(Weight::from_parts(22_526, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -378,13 +378,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `557 + r * (22 ±0)` - // Estimated: `12647` - // Minimum execution time: 24_827 nanoseconds. - Weight::from_parts(26_090_461, 0) - .saturating_add(Weight::from_parts(0, 12647)) - // Standard Error: 597 - .saturating_add(Weight::from_parts(57_287, 0).saturating_mul(r.into())) + // Measured: `493 + r * (22 ±0)` + // Estimated: `15617` + // Minimum execution time: 24_978_000 picoseconds. + Weight::from_parts(25_966_543, 0) + .saturating_add(Weight::from_parts(0, 15617)) + // Standard Error: 525 + .saturating_add(Weight::from_parts(67_492, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -395,13 +395,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `758 + r * (26 ±0)` - // Estimated: `8946` - // Minimum execution time: 16_382 nanoseconds. - Weight::from_parts(19_142_641, 0) - .saturating_add(Weight::from_parts(0, 8946)) - // Standard Error: 1_005 - .saturating_add(Weight::from_parts(69_264, 0).saturating_mul(r.into())) + // Measured: `695 + r * (26 ±0)` + // Estimated: `10926` + // Minimum execution time: 16_687_000 picoseconds. + Weight::from_parts(19_772_474, 0) + .saturating_add(Weight::from_parts(0, 10926)) + // Standard Error: 1_001 + .saturating_add(Weight::from_parts(77_557, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -412,13 +412,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `758 + r * (26 ±0)` - // Estimated: `8946` - // Minimum execution time: 16_322 nanoseconds. - Weight::from_parts(19_304_122, 0) - .saturating_add(Weight::from_parts(0, 8946)) - // Standard Error: 1_054 - .saturating_add(Weight::from_parts(67_276, 0).saturating_mul(r.into())) + // Measured: `695 + r * (26 ±0)` + // Estimated: `10926` + // Minimum execution time: 17_400_000 picoseconds. + Weight::from_parts(19_727_700, 0) + .saturating_add(Weight::from_parts(0, 10926)) + // Standard Error: 1_085 + .saturating_add(Weight::from_parts(78_547, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -431,10 +431,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `395` - // Estimated: `3193` - // Minimum execution time: 19_283 nanoseconds. - Weight::from_parts(19_989_000, 0) - .saturating_add(Weight::from_parts(0, 3193)) + // Estimated: `5173` + // Minimum execution time: 19_330_000 picoseconds. + Weight::from_parts(19_835_000, 0) + .saturating_add(Weight::from_parts(0, 5173)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -445,10 +445,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` - // Estimated: `3155` - // Minimum execution time: 17_636 nanoseconds. - Weight::from_parts(17_805_000, 0) - .saturating_add(Weight::from_parts(0, 3155)) + // Estimated: `5135` + // Minimum execution time: 17_530_000 picoseconds. + Weight::from_parts(17_904_000, 0) + .saturating_add(Weight::from_parts(0, 5135)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -460,11 +460,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4958` - // Estimated: `19763` - // Minimum execution time: 33_929 nanoseconds. - Weight::from_parts(34_287_000, 0) - .saturating_add(Weight::from_parts(0, 19763)) + // Measured: `4927` + // Estimated: `21743` + // Minimum execution time: 34_800_000 picoseconds. + Weight::from_parts(35_384_000, 0) + .saturating_add(Weight::from_parts(0, 21743)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -474,11 +474,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `4820` - // Estimated: `19725` - // Minimum execution time: 30_741 nanoseconds. - Weight::from_parts(31_317_000, 0) - .saturating_add(Weight::from_parts(0, 19725)) + // Measured: `4789` + // Estimated: `21705` + // Minimum execution time: 31_767_000 picoseconds. + Weight::from_parts(32_234_000, 0) + .saturating_add(Weight::from_parts(0, 21705)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -489,10 +489,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `216` - // Estimated: `2566` - // Minimum execution time: 15_874 nanoseconds. - Weight::from_parts(16_183_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 16_538_000 picoseconds. + Weight::from_parts(16_936_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -503,10 +503,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` - // Estimated: `5204` - // Minimum execution time: 19_214 nanoseconds. - Weight::from_parts(19_604_000, 0) - .saturating_add(Weight::from_parts(0, 5204)) + // Estimated: `7184` + // Minimum execution time: 19_593_000 picoseconds. + Weight::from_parts(20_167_000, 0) + .saturating_add(Weight::from_parts(0, 7184)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_elections_phragmen.rs b/runtime/rococo/src/weights/pallet_elections_phragmen.rs index 48ffc089cdc5..730e8c1a7bb1 100644 --- a/runtime/rococo/src/weights/pallet_elections_phragmen.rs +++ b/runtime/rococo/src/weights/pallet_elections_phragmen.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -58,11 +58,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `427 + v * (80 ±0)` - // Estimated: `9438 + v * (320 ±0)` - // Minimum execution time: 27_130 nanoseconds. - Weight::from_parts(30_823_053, 0) - .saturating_add(Weight::from_parts(0, 9438)) + // Measured: `331 + v * (80 ±0)` + // Estimated: `14004 + v * (320 ±0)` + // Minimum execution time: 27_802_000 picoseconds. + Weight::from_parts(30_649_218, 0) + .saturating_add(Weight::from_parts(0, 14004)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) @@ -80,13 +80,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `395 + v * (80 ±0)` - // Estimated: `9310 + v * (320 ±0)` - // Minimum execution time: 36_644 nanoseconds. - Weight::from_parts(37_624_444, 0) - .saturating_add(Weight::from_parts(0, 9310)) - // Standard Error: 4_167 - .saturating_add(Weight::from_parts(123_846, 0).saturating_mul(v.into())) + // Measured: `299 + v * (80 ±0)` + // Estimated: `13876 + v * (320 ±0)` + // Minimum execution time: 37_035_000 picoseconds. + Weight::from_parts(37_964_172, 0) + .saturating_add(Weight::from_parts(0, 13876)) + // Standard Error: 4_680 + .saturating_add(Weight::from_parts(142_164, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) @@ -104,13 +104,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `427 + v * (80 ±0)` - // Estimated: `9438 + v * (320 ±0)` - // Minimum execution time: 36_499 nanoseconds. - Weight::from_parts(37_129_866, 0) - .saturating_add(Weight::from_parts(0, 9438)) - // Standard Error: 4_033 - .saturating_add(Weight::from_parts(176_669, 0).saturating_mul(v.into())) + // Measured: `331 + v * (80 ±0)` + // Estimated: `14004 + v * (320 ±0)` + // Minimum execution time: 37_024_000 picoseconds. + Weight::from_parts(38_474_516, 0) + .saturating_add(Weight::from_parts(0, 14004)) + // Standard Error: 4_740 + .saturating_add(Weight::from_parts(83_564, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 320).saturating_mul(v.into())) @@ -121,11 +121,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn remove_voter() -> Weight { // Proof Size summary in bytes: - // Measured: `917` - // Estimated: `7166` - // Minimum execution time: 32_287 nanoseconds. - Weight::from_parts(32_928_000, 0) - .saturating_add(Weight::from_parts(0, 7166)) + // Measured: `853` + // Estimated: `9082` + // Minimum execution time: 32_730_000 picoseconds. + Weight::from_parts(33_443_000, 0) + .saturating_add(Weight::from_parts(0, 9082)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -138,13 +138,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 1000]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2805 + c * (48 ±0)` - // Estimated: `9894 + c * (144 ±0)` - // Minimum execution time: 29_136 nanoseconds. - Weight::from_parts(22_308_791, 0) - .saturating_add(Weight::from_parts(0, 9894)) - // Standard Error: 876 - .saturating_add(Weight::from_parts(82_538, 0).saturating_mul(c.into())) + // Measured: `2678 + c * (48 ±0)` + // Estimated: `12483 + c * (144 ±0)` + // Minimum execution time: 29_721_000 picoseconds. + Weight::from_parts(22_278_307, 0) + .saturating_add(Weight::from_parts(0, 12483)) + // Standard Error: 933 + .saturating_add(Weight::from_parts(89_517, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 144).saturating_mul(c.into())) @@ -154,13 +154,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 1000]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `314 + c * (48 ±0)` - // Estimated: `796 + c * (48 ±0)` - // Minimum execution time: 24_804 nanoseconds. - Weight::from_parts(17_680_542, 0) - .saturating_add(Weight::from_parts(0, 796)) - // Standard Error: 908 - .saturating_add(Weight::from_parts(59_567, 0).saturating_mul(c.into())) + // Measured: `250 + c * (48 ±0)` + // Estimated: `1722 + c * (48 ±0)` + // Minimum execution time: 25_720_000 picoseconds. + Weight::from_parts(18_426_476, 0) + .saturating_add(Weight::from_parts(0, 1722)) + // Standard Error: 916 + .saturating_add(Weight::from_parts(59_445, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -177,11 +177,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `3079` - // Estimated: `17375` - // Minimum execution time: 42_528 nanoseconds. - Weight::from_parts(43_550_000, 0) - .saturating_add(Weight::from_parts(0, 17375)) + // Measured: `2952` + // Estimated: `20700` + // Minimum execution time: 43_167_000 picoseconds. + Weight::from_parts(43_835_000, 0) + .saturating_add(Weight::from_parts(0, 20700)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -189,11 +189,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: - // Measured: `1742` - // Estimated: `2237` - // Minimum execution time: 27_187 nanoseconds. - Weight::from_parts(27_805_000, 0) - .saturating_add(Weight::from_parts(0, 2237)) + // Measured: `1647` + // Estimated: `3132` + // Minimum execution time: 28_044_000 picoseconds. + Weight::from_parts(28_654_000, 0) + .saturating_add(Weight::from_parts(0, 3132)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,7 +203,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000_000 nanoseconds. + // Minimum execution time: 2_000_000_000_000 picoseconds. Weight::from_parts(2_000_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -221,11 +221,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `3079` - // Estimated: `19978` - // Minimum execution time: 58_082 nanoseconds. - Weight::from_parts(58_776_000, 0) - .saturating_add(Weight::from_parts(0, 19978)) + // Measured: `2952` + // Estimated: `24293` + // Minimum execution time: 58_827_000 picoseconds. + Weight::from_parts(59_647_000, 0) + .saturating_add(Weight::from_parts(0, 24293)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -245,17 +245,17 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `d` is `[0, 5000]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `35961 + v * (872 ±0)` - // Estimated: `148908 + v * (12340 ±0)` - // Minimum execution time: 331_691_733 nanoseconds. - Weight::from_parts(332_320_461_000, 0) - .saturating_add(Weight::from_parts(0, 148908)) - // Standard Error: 286_396 - .saturating_add(Weight::from_parts(41_310_974, 0).saturating_mul(v.into())) + // Measured: `35961 + v * (808 ±0)` + // Estimated: `154848 + v * (12084 ±0)` + // Minimum execution time: 319_115_915_000 picoseconds. + Weight::from_parts(319_715_901_000, 0) + .saturating_add(Weight::from_parts(0, 154848)) + // Standard Error: 270_753 + .saturating_add(Weight::from_parts(38_691_641, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 12340).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 12084).saturating_mul(v.into())) } /// Storage: PhragmenElection Candidates (r:1 w:1) /// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured) @@ -280,21 +280,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[10000, 160000]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (639 ±0) + e * (28 ±0)` - // Estimated: `5334639 + v * (5714 ±4) + e * (123 ±0) + c * (2560 ±0)` - // Minimum execution time: 33_629_192 nanoseconds. - Weight::from_parts(33_734_555_000, 0) - .saturating_add(Weight::from_parts(0, 5334639)) - // Standard Error: 500_681 - .saturating_add(Weight::from_parts(41_778_821, 0).saturating_mul(v.into())) - // Standard Error: 32_130 - .saturating_add(Weight::from_parts(2_073_697, 0).saturating_mul(e.into())) + // Measured: `0 + v * (607 ±0) + e * (28 ±0)` + // Estimated: `4839041 + v * (5481 ±4) + e * (123 ±0) + c * (2560 ±0)` + // Minimum execution time: 32_136_857_000 picoseconds. + Weight::from_parts(32_218_284_000, 0) + .saturating_add(Weight::from_parts(0, 4839041)) + // Standard Error: 544_904 + .saturating_add(Weight::from_parts(42_452_598, 0).saturating_mul(v.into())) + // Standard Error: 34_968 + .saturating_add(Weight::from_parts(2_365_653, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(265)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5714).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 5481).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 123).saturating_mul(e.into())) .saturating_add(Weight::from_parts(0, 2560).saturating_mul(c.into())) } diff --git a/runtime/rococo/src/weights/pallet_identity.rs b/runtime/rococo/src/weights/pallet_identity.rs index 42eabd66952c..1b648b103e92 100644 --- a/runtime/rococo/src/weights/pallet_identity.rs +++ b/runtime/rococo/src/weights/pallet_identity.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `64 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 11_925 nanoseconds. - Weight::from_parts(12_665_139, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_963 - .saturating_add(Weight::from_parts(72_276, 0).saturating_mul(r.into())) + // Measured: `32 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 13_192_000 picoseconds. + Weight::from_parts(13_653_242, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_766 + .saturating_add(Weight::from_parts(103_771, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -66,15 +66,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `474 + r * (5 ±0)` - // Estimated: `10013` - // Minimum execution time: 28_918 nanoseconds. - Weight::from_parts(28_097_477, 0) - .saturating_add(Weight::from_parts(0, 10013)) - // Standard Error: 3_576 - .saturating_add(Weight::from_parts(77_253, 0).saturating_mul(r.into())) - // Standard Error: 697 - .saturating_add(Weight::from_parts(449_336, 0).saturating_mul(x.into())) + // Measured: `442 + r * (5 ±0)` + // Estimated: `11003` + // Minimum execution time: 30_262_000 picoseconds. + Weight::from_parts(30_801_461, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_458 + .saturating_add(Weight::from_parts(26_704, 0).saturating_mul(r.into())) + // Standard Error: 674 + .saturating_add(Weight::from_parts(447_877, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,12 +88,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `101` - // Estimated: `15746 + s * (2589 ±0)` - // Minimum execution time: 8_955 nanoseconds. - Weight::from_parts(21_965_439, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 6_060 - .saturating_add(Weight::from_parts(2_820_536, 0).saturating_mul(s.into())) + // Estimated: `18716 + s * (2589 ±0)` + // Minimum execution time: 9_694_000 picoseconds. + Weight::from_parts(22_982_420, 0) + .saturating_add(Weight::from_parts(0, 18716)) + // Standard Error: 5_658 + .saturating_add(Weight::from_parts(2_695_187, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -109,13 +109,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `226 + p * (32 ±0)` - // Estimated: `15746` - // Minimum execution time: 8_824 nanoseconds. - Weight::from_parts(21_568_996, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 3_185 - .saturating_add(Weight::from_parts(1_111_881, 0).saturating_mul(p.into())) + // Measured: `194 + p * (32 ±0)` + // Estimated: `17726` + // Minimum execution time: 9_357_000 picoseconds. + Weight::from_parts(22_219_542, 0) + .saturating_add(Weight::from_parts(0, 17726)) + // Standard Error: 3_167 + .saturating_add(Weight::from_parts(1_080_258, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -131,17 +131,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `15746` - // Minimum execution time: 49_012 nanoseconds. - Weight::from_parts(27_982_974, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 4_404 - .saturating_add(Weight::from_parts(40_856, 0).saturating_mul(r.into())) - // Standard Error: 860 - .saturating_add(Weight::from_parts(1_095_905, 0).saturating_mul(s.into())) - // Standard Error: 860 - .saturating_add(Weight::from_parts(229_635, 0).saturating_mul(x.into())) + // Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `17726` + // Minimum execution time: 51_103_000 picoseconds. + Weight::from_parts(29_467_633, 0) + .saturating_add(Weight::from_parts(0, 17726)) + // Standard Error: 5_548 + .saturating_add(Weight::from_parts(58_749, 0).saturating_mul(r.into())) + // Standard Error: 1_083 + .saturating_add(Weight::from_parts(1_075_209, 0).saturating_mul(s.into())) + // Standard Error: 1_083 + .saturating_add(Weight::from_parts(237_825, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -154,15 +154,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `431 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11649` - // Minimum execution time: 29_213 nanoseconds. - Weight::from_parts(29_949_444, 0) - .saturating_add(Weight::from_parts(0, 11649)) - // Standard Error: 6_424 - .saturating_add(Weight::from_parts(28_127, 0).saturating_mul(r.into())) - // Standard Error: 1_253 - .saturating_add(Weight::from_parts(469_679, 0).saturating_mul(x.into())) + // Measured: `367 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `13629` + // Minimum execution time: 31_611_000 picoseconds. + Weight::from_parts(30_743_359, 0) + .saturating_add(Weight::from_parts(0, 13629)) + // Standard Error: 4_043 + .saturating_add(Weight::from_parts(77_567, 0).saturating_mul(r.into())) + // Standard Error: 788 + .saturating_add(Weight::from_parts(469_091, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -170,17 +170,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn cancel_request(r: u32, x: u32, ) -> Weight { + fn cancel_request(_r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `430 + x * (66 ±0)` - // Estimated: `10013` - // Minimum execution time: 26_570 nanoseconds. - Weight::from_parts(25_883_542, 0) - .saturating_add(Weight::from_parts(0, 10013)) - // Standard Error: 4_190 - .saturating_add(Weight::from_parts(83_705, 0).saturating_mul(r.into())) - // Standard Error: 817 - .saturating_add(Weight::from_parts(466_224, 0).saturating_mul(x.into())) + // Measured: `398 + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 28_126_000 picoseconds. + Weight::from_parts(29_459_368, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 1_597 + .saturating_add(Weight::from_parts(479_424, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,13 +187,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_721 nanoseconds. - Weight::from_parts(8_180_083, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 2_124 - .saturating_add(Weight::from_parts(64_849, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 8_177_000 picoseconds. + Weight::from_parts(8_618_386, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_462 + .saturating_add(Weight::from_parts(84_495, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,13 +202,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_264 nanoseconds. - Weight::from_parts(7_794_379, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_240 - .saturating_add(Weight::from_parts(84_998, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 8_035_000 picoseconds. + Weight::from_parts(8_549_839, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_225 + .saturating_add(Weight::from_parts(86_358, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,13 +217,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_054 nanoseconds. - Weight::from_parts(7_654_187, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_266 - .saturating_add(Weight::from_parts(90_481, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_931_000 picoseconds. + Weight::from_parts(8_519_329, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_169 + .saturating_add(Weight::from_parts(98_094, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -237,15 +235,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `509 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11649` - // Minimum execution time: 22_652 nanoseconds. - Weight::from_parts(23_126_063, 0) - .saturating_add(Weight::from_parts(0, 11649)) - // Standard Error: 5_983 - .saturating_add(Weight::from_parts(46_117, 0).saturating_mul(r.into())) - // Standard Error: 1_107 - .saturating_add(Weight::from_parts(769_575, 0).saturating_mul(x.into())) + // Measured: `445 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `13629` + // Minimum execution time: 24_273_000 picoseconds. + Weight::from_parts(24_510_686, 0) + .saturating_add(Weight::from_parts(0, 13629)) + // Standard Error: 4_826 + .saturating_add(Weight::from_parts(49_682, 0).saturating_mul(r.into())) + // Standard Error: 892 + .saturating_add(Weight::from_parts(736_058, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -262,15 +260,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity(_r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `772 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `18349` - // Minimum execution time: 62_780 nanoseconds. - Weight::from_parts(43_731_161, 0) - .saturating_add(Weight::from_parts(0, 18349)) - // Standard Error: 1_194 - .saturating_add(Weight::from_parts(1_103_649, 0).saturating_mul(s.into())) - // Standard Error: 1_194 - .saturating_add(Weight::from_parts(226_342, 0).saturating_mul(x.into())) + // Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `21319` + // Minimum execution time: 64_938_000 picoseconds. + Weight::from_parts(45_726_556, 0) + .saturating_add(Weight::from_parts(0, 21319)) + // Standard Error: 1_031 + .saturating_add(Weight::from_parts(1_078_479, 0).saturating_mul(s.into())) + // Standard Error: 1_031 + .saturating_add(Weight::from_parts(226_148, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -284,13 +282,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `507 + s * (36 ±0)` - // Estimated: `18335` - // Minimum execution time: 26_340 nanoseconds. - Weight::from_parts(31_104_975, 0) - .saturating_add(Weight::from_parts(0, 18335)) - // Standard Error: 1_390 - .saturating_add(Weight::from_parts(61_166, 0).saturating_mul(s.into())) + // Measured: `475 + s * (36 ±0)` + // Estimated: `21305` + // Minimum execution time: 27_585_000 picoseconds. + Weight::from_parts(32_218_612, 0) + .saturating_add(Weight::from_parts(0, 21305)) + // Standard Error: 1_399 + .saturating_add(Weight::from_parts(64_056, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -301,13 +299,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `623 + s * (3 ±0)` - // Estimated: `12602` - // Minimum execution time: 12_270 nanoseconds. - Weight::from_parts(14_537_982, 0) - .saturating_add(Weight::from_parts(0, 12602)) - // Standard Error: 636 - .saturating_add(Weight::from_parts(17_033, 0).saturating_mul(s.into())) + // Measured: `591 + s * (3 ±0)` + // Estimated: `14582` + // Minimum execution time: 13_351_000 picoseconds. + Weight::from_parts(15_336_119, 0) + .saturating_add(Weight::from_parts(0, 14582)) + // Standard Error: 585 + .saturating_add(Weight::from_parts(17_732, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -320,13 +318,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `702 + s * (35 ±0)` - // Estimated: `18335` - // Minimum execution time: 29_575 nanoseconds. - Weight::from_parts(32_700_041, 0) - .saturating_add(Weight::from_parts(0, 18335)) - // Standard Error: 1_036 - .saturating_add(Weight::from_parts(47_756, 0).saturating_mul(s.into())) + // Measured: `638 + s * (35 ±0)` + // Estimated: `21305` + // Minimum execution time: 31_334_000 picoseconds. + Weight::from_parts(35_743_451, 0) + .saturating_add(Weight::from_parts(0, 21305)) + // Standard Error: 1_802 + .saturating_add(Weight::from_parts(30_575, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -337,13 +335,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `628 + s * (37 ±0)` - // Estimated: `8322` - // Minimum execution time: 19_365 nanoseconds. - Weight::from_parts(22_147_406, 0) - .saturating_add(Weight::from_parts(0, 8322)) - // Standard Error: 1_052 - .saturating_add(Weight::from_parts(55_393, 0).saturating_mul(s.into())) + // Measured: `564 + s * (37 ±0)` + // Estimated: `10302` + // Minimum execution time: 20_828_000 picoseconds. + Weight::from_parts(23_493_504, 0) + .saturating_add(Weight::from_parts(0, 10302)) + // Standard Error: 1_011 + .saturating_add(Weight::from_parts(57_939, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/rococo/src/weights/pallet_im_online.rs b/runtime/rococo/src/weights/pallet_im_online.rs index b8b60d80b9c6..40721bfff195 100644 --- a/runtime/rococo/src/weights/pallet_im_online.rs +++ b/runtime/rococo/src/weights/pallet_im_online.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -61,18 +61,18 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `458 + k * (32 ±0)` - // Estimated: `10348843 + k * (96 ±0) + e * (25 ±0)` - // Minimum execution time: 93_589 nanoseconds. - Weight::from_parts(71_584_319, 0) - .saturating_add(Weight::from_parts(0, 10348843)) - // Standard Error: 308 - .saturating_add(Weight::from_parts(25_613, 0).saturating_mul(k.into())) - // Standard Error: 3_106 - .saturating_add(Weight::from_parts(419_344, 0).saturating_mul(e.into())) + // Measured: `394 + k * (32 ±0)` + // Estimated: `10353601 + k * (96 ±0) + e * (35 ±0)` + // Minimum execution time: 93_434_000 picoseconds. + Weight::from_parts(74_361_477, 0) + .saturating_add(Weight::from_parts(0, 10353601)) + // Standard Error: 254 + .saturating_add(Weight::from_parts(22_539, 0).saturating_mul(k.into())) + // Standard Error: 2_560 + .saturating_add(Weight::from_parts(412_356, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 96).saturating_mul(k.into())) - .saturating_add(Weight::from_parts(0, 25).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) } } diff --git a/runtime/rococo/src/weights/pallet_indices.rs b/runtime/rococo/src/weights/pallet_indices.rs index b512aa435d61..2cccda816973 100644 --- a/runtime/rococo/src/weights/pallet_indices.rs +++ b/runtime/rococo/src/weights/pallet_indices.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,10 +50,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `142` - // Estimated: `2544` - // Minimum execution time: 19_681 nanoseconds. - Weight::from_parts(20_040_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Estimated: `3534` + // Minimum execution time: 20_507_000 picoseconds. + Weight::from_parts(20_863_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,11 +63,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `5147` - // Minimum execution time: 25_976 nanoseconds. - Weight::from_parts(26_421_000, 0) - .saturating_add(Weight::from_parts(0, 5147)) + // Measured: `341` + // Estimated: `7127` + // Minimum execution time: 26_495_000 picoseconds. + Weight::from_parts(26_757_000, 0) + .saturating_add(Weight::from_parts(0, 7127)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn free() -> Weight { // Proof Size summary in bytes: - // Measured: `270` - // Estimated: `2544` - // Minimum execution time: 20_821 nanoseconds. - Weight::from_parts(21_357_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Measured: `238` + // Estimated: `3534` + // Minimum execution time: 22_166_000 picoseconds. + Weight::from_parts(22_505_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,11 +89,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `5147` - // Minimum execution time: 24_303 nanoseconds. - Weight::from_parts(24_872_000, 0) - .saturating_add(Weight::from_parts(0, 5147)) + // Measured: `341` + // Estimated: `7127` + // Minimum execution time: 25_184_000 picoseconds. + Weight::from_parts(25_714_000, 0) + .saturating_add(Weight::from_parts(0, 7127)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -101,11 +101,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `270` - // Estimated: `2544` - // Minimum execution time: 23_017 nanoseconds. - Weight::from_parts(23_367_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Measured: `238` + // Estimated: `3534` + // Minimum execution time: 24_138_000 picoseconds. + Weight::from_parts(24_531_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_membership.rs b/runtime/rococo/src/weights/pallet_membership.rs index b980b3f08b77..8fa5b12331ca 100644 --- a/runtime/rococo/src/weights/pallet_membership.rs +++ b/runtime/rococo/src/weights/pallet_membership.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -56,13 +56,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `204 + m * (64 ±0)` - // Estimated: `4801 + m * (192 ±0)` - // Minimum execution time: 17_716 nanoseconds. - Weight::from_parts(18_300_855, 0) - .saturating_add(Weight::from_parts(0, 4801)) - // Standard Error: 707 - .saturating_add(Weight::from_parts(35_646, 0).saturating_mul(m.into())) + // Measured: `140 + m * (64 ±0)` + // Estimated: `6589 + m * (192 ±0)` + // Minimum execution time: 16_897_000 picoseconds. + Weight::from_parts(18_148_525, 0) + .saturating_add(Weight::from_parts(0, 6589)) + // Standard Error: 502 + .saturating_add(Weight::from_parts(36_489, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -80,13 +80,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `308 + m * (64 ±0)` - // Estimated: `5640 + m * (192 ±0)` - // Minimum execution time: 20_396 nanoseconds. - Weight::from_parts(21_358_869, 0) - .saturating_add(Weight::from_parts(0, 5640)) - // Standard Error: 509 - .saturating_add(Weight::from_parts(29_287, 0).saturating_mul(m.into())) + // Measured: `244 + m * (64 ±0)` + // Estimated: `8418 + m * (192 ±0)` + // Minimum execution time: 20_059_000 picoseconds. + Weight::from_parts(20_896_387, 0) + .saturating_add(Weight::from_parts(0, 8418)) + // Standard Error: 597 + .saturating_add(Weight::from_parts(32_133, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -104,13 +104,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `308 + m * (64 ±0)` - // Estimated: `5640 + m * (192 ±0)` - // Minimum execution time: 20_656 nanoseconds. - Weight::from_parts(21_504_328, 0) - .saturating_add(Weight::from_parts(0, 5640)) - // Standard Error: 572 - .saturating_add(Weight::from_parts(42_506, 0).saturating_mul(m.into())) + // Measured: `244 + m * (64 ±0)` + // Estimated: `8418 + m * (192 ±0)` + // Minimum execution time: 19_908_000 picoseconds. + Weight::from_parts(20_863_443, 0) + .saturating_add(Weight::from_parts(0, 8418)) + // Standard Error: 568 + .saturating_add(Weight::from_parts(54_564, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -128,13 +128,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `308 + m * (64 ±0)` - // Estimated: `5640 + m * (192 ±0)` - // Minimum execution time: 19_471 nanoseconds. - Weight::from_parts(21_360_585, 0) - .saturating_add(Weight::from_parts(0, 5640)) - // Standard Error: 798 - .saturating_add(Weight::from_parts(161_383, 0).saturating_mul(m.into())) + // Measured: `244 + m * (64 ±0)` + // Estimated: `8418 + m * (192 ±0)` + // Minimum execution time: 21_131_000 picoseconds. + Weight::from_parts(21_440_585, 0) + .saturating_add(Weight::from_parts(0, 8418)) + // Standard Error: 758 + .saturating_add(Weight::from_parts(161_783, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -152,13 +152,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `308 + m * (64 ±0)` - // Estimated: `5640 + m * (192 ±0)` - // Minimum execution time: 20_622 nanoseconds. - Weight::from_parts(21_759_987, 0) - .saturating_add(Weight::from_parts(0, 5640)) - // Standard Error: 590 - .saturating_add(Weight::from_parts(44_407, 0).saturating_mul(m.into())) + // Measured: `244 + m * (64 ±0)` + // Estimated: `8418 + m * (192 ±0)` + // Minimum execution time: 20_061_000 picoseconds. + Weight::from_parts(21_594_276, 0) + .saturating_add(Weight::from_parts(0, 8418)) + // Standard Error: 774 + .saturating_add(Weight::from_parts(48_882, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -172,13 +172,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `64 + m * (32 ±0)` - // Estimated: `3761 + m * (32 ±0)` - // Minimum execution time: 8_420 nanoseconds. - Weight::from_parts(8_746_448, 0) - .saturating_add(Weight::from_parts(0, 3761)) - // Standard Error: 217 - .saturating_add(Weight::from_parts(10_729, 0).saturating_mul(m.into())) + // Measured: `32 + m * (32 ±0)` + // Estimated: `4719 + m * (32 ±0)` + // Minimum execution time: 7_835_000 picoseconds. + Weight::from_parts(8_386_160, 0) + .saturating_add(Weight::from_parts(0, 4719)) + // Standard Error: 210 + .saturating_add(Weight::from_parts(10_190, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -192,11 +192,11 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_370 nanoseconds. - Weight::from_parts(3_616_384, 0) + // Minimum execution time: 3_217_000 picoseconds. + Weight::from_parts(3_462_254, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 82 - .saturating_add(Weight::from_parts(869, 0).saturating_mul(m.into())) + // Standard Error: 91 + .saturating_add(Weight::from_parts(716, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/rococo/src/weights/pallet_multisig.rs b/runtime/rococo/src/weights/pallet_multisig.rs index 24d0bfbfdd95..2ee8a9e12911 100644 --- a/runtime/rococo/src/weights/pallet_multisig.rs +++ b/runtime/rococo/src/weights/pallet_multisig.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,11 +50,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_159 nanoseconds. - Weight::from_parts(12_743_877, 0) + // Minimum execution time: 12_359_000 picoseconds. + Weight::from_parts(12_845_448, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(487, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(559, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -62,15 +62,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `244 + s * (2 ±0)` - // Estimated: `5821` - // Minimum execution time: 35_591 nanoseconds. - Weight::from_parts(29_818_741, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 547 - .saturating_add(Weight::from_parts(65_531, 0).saturating_mul(s.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_496, 0).saturating_mul(z.into())) + // Measured: `193 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 36_126_000 picoseconds. + Weight::from_parts(30_610_509, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 470 + .saturating_add(Weight::from_parts(61_528, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_254, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,15 +80,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `242` - // Estimated: `5821` - // Minimum execution time: 26_213 nanoseconds. - Weight::from_parts(20_375_068, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 451 - .saturating_add(Weight::from_parts(65_039, 0).saturating_mul(s.into())) + // Measured: `211` + // Estimated: `6811` + // Minimum execution time: 26_590_000 picoseconds. + Weight::from_parts(21_327_591, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 481 + .saturating_add(Weight::from_parts(61_150, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_462, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,15 +100,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `380 + s * (33 ±0)` - // Estimated: `8424` - // Minimum execution time: 40_154 nanoseconds. - Weight::from_parts(32_557_959, 0) - .saturating_add(Weight::from_parts(0, 8424)) - // Standard Error: 436 - .saturating_add(Weight::from_parts(83_464, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_534, 0).saturating_mul(z.into())) + // Measured: `317 + s * (33 ±0)` + // Estimated: `10404` + // Minimum execution time: 41_559_000 picoseconds. + Weight::from_parts(34_753_310, 0) + .saturating_add(Weight::from_parts(0, 10404)) + // Standard Error: 556 + .saturating_add(Weight::from_parts(74_587, 0).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_276, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,13 +117,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `251 + s * (2 ±0)` - // Estimated: `5821` - // Minimum execution time: 26_917 nanoseconds. - Weight::from_parts(27_722_105, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 608 - .saturating_add(Weight::from_parts(72_968, 0).saturating_mul(s.into())) + // Measured: `193 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 28_267_000 picoseconds. + Weight::from_parts(28_937_222, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 964 + .saturating_add(Weight::from_parts(63_128, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -132,13 +132,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `242` - // Estimated: `5821` - // Minimum execution time: 17_795 nanoseconds. - Weight::from_parts(18_071_255, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 468 - .saturating_add(Weight::from_parts(71_217, 0).saturating_mul(s.into())) + // Measured: `211` + // Estimated: `6811` + // Minimum execution time: 18_299_000 picoseconds. + Weight::from_parts(18_957_858, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 437 + .saturating_add(Weight::from_parts(62_021, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -147,13 +147,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `446 + s * (1 ±0)` - // Estimated: `5821` - // Minimum execution time: 27_986 nanoseconds. - Weight::from_parts(28_751_681, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 535 - .saturating_add(Weight::from_parts(68_018, 0).saturating_mul(s.into())) + // Measured: `383 + s * (1 ±0)` + // Estimated: `6811` + // Minimum execution time: 28_898_000 picoseconds. + Weight::from_parts(29_713_104, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 689 + .saturating_add(Weight::from_parts(64_650, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_nis.rs b/runtime/rococo/src/weights/pallet_nis.rs index a31dfc1a3ced..7d0599b2799c 100644 --- a/runtime/rococo/src/weights/pallet_nis.rs +++ b/runtime/rococo/src/weights/pallet_nis.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_nis` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -54,13 +54,13 @@ impl pallet_nis::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 999]`. fn place_bid(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6278 + l * (48 ±0)` - // Estimated: `60718` - // Minimum execution time: 29_565 nanoseconds. - Weight::from_parts(30_915_591, 0) - .saturating_add(Weight::from_parts(0, 60718)) - // Standard Error: 715 - .saturating_add(Weight::from_parts(71_605, 0).saturating_mul(l.into())) + // Measured: `6215 + l * (48 ±0)` + // Estimated: `63688` + // Minimum execution time: 29_707_000 picoseconds. + Weight::from_parts(31_916_600, 0) + .saturating_add(Weight::from_parts(0, 63688)) + // Standard Error: 702 + .saturating_add(Weight::from_parts(82_339, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -72,11 +72,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen) fn place_bid_max() -> Weight { // Proof Size summary in bytes: - // Measured: `54280` - // Estimated: `60718` - // Minimum execution time: 104_481 nanoseconds. - Weight::from_parts(105_287_000, 0) - .saturating_add(Weight::from_parts(0, 60718)) + // Measured: `54217` + // Estimated: `63688` + // Minimum execution time: 109_920_000 picoseconds. + Weight::from_parts(111_246_000, 0) + .saturating_add(Weight::from_parts(0, 63688)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -89,13 +89,13 @@ impl pallet_nis::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 1000]`. fn retract_bid(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6278 + l * (48 ±0)` - // Estimated: `60718` - // Minimum execution time: 36_171 nanoseconds. - Weight::from_parts(31_323_217, 0) - .saturating_add(Weight::from_parts(0, 60718)) - // Standard Error: 704 - .saturating_add(Weight::from_parts(60_030, 0).saturating_mul(l.into())) + // Measured: `6215 + l * (48 ±0)` + // Estimated: `63688` + // Minimum execution time: 36_866_000 picoseconds. + Weight::from_parts(32_744_780, 0) + .saturating_add(Weight::from_parts(0, 63688)) + // Standard Error: 707 + .saturating_add(Weight::from_parts(62_880, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -105,11 +105,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn fund_deficit() -> Weight { // Proof Size summary in bytes: - // Measured: `256` - // Estimated: `3138` - // Minimum execution time: 33_447 nanoseconds. - Weight::from_parts(34_002_000, 0) - .saturating_add(Weight::from_parts(0, 3138)) + // Measured: `225` + // Estimated: `5118` + // Minimum execution time: 34_779_000 picoseconds. + Weight::from_parts(35_137_000, 0) + .saturating_add(Weight::from_parts(0, 5118)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -123,11 +123,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) fn thaw_private() -> Weight { // Proof Size summary in bytes: - // Measured: `456` - // Estimated: `9418` - // Minimum execution time: 47_531 nanoseconds. - Weight::from_parts(48_091_000, 0) - .saturating_add(Weight::from_parts(0, 9418)) + // Measured: `393` + // Estimated: `13378` + // Minimum execution time: 48_234_000 picoseconds. + Weight::from_parts(49_272_000, 0) + .saturating_add(Weight::from_parts(0, 13378)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -143,11 +143,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn thaw_communal() -> Weight { // Proof Size summary in bytes: - // Measured: `698` - // Estimated: `8792` - // Minimum execution time: 65_201 nanoseconds. - Weight::from_parts(65_632_000, 0) - .saturating_add(Weight::from_parts(0, 8792)) + // Measured: `604` + // Estimated: `13742` + // Minimum execution time: 66_693_000 picoseconds. + Weight::from_parts(67_112_000, 0) + .saturating_add(Weight::from_parts(0, 13742)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -165,11 +165,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen) fn privatize() -> Weight { // Proof Size summary in bytes: - // Measured: `759` - // Estimated: `12516` - // Minimum execution time: 73_950 nanoseconds. - Weight::from_parts(74_676_000, 0) - .saturating_add(Weight::from_parts(0, 12516)) + // Measured: `665` + // Estimated: `18456` + // Minimum execution time: 74_119_000 picoseconds. + Weight::from_parts(75_081_000, 0) + .saturating_add(Weight::from_parts(0, 18456)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -187,11 +187,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn communify() -> Weight { // Proof Size summary in bytes: - // Measured: `538` - // Estimated: `12516` - // Minimum execution time: 65_825 nanoseconds. - Weight::from_parts(66_547_000, 0) - .saturating_add(Weight::from_parts(0, 12516)) + // Measured: `475` + // Estimated: `18456` + // Minimum execution time: 67_267_000 picoseconds. + Weight::from_parts(68_227_000, 0) + .saturating_add(Weight::from_parts(0, 18456)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -203,11 +203,11 @@ impl pallet_nis::WeightInfo for WeightInfo { /// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen) fn process_queues() -> Weight { // Proof Size summary in bytes: - // Measured: `6689` - // Estimated: `9635` - // Minimum execution time: 22_192 nanoseconds. - Weight::from_parts(22_520_000, 0) - .saturating_add(Weight::from_parts(0, 9635)) + // Measured: `6658` + // Estimated: `12605` + // Minimum execution time: 22_764_000 picoseconds. + Weight::from_parts(23_339_000, 0) + .saturating_add(Weight::from_parts(0, 12605)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -216,10 +216,10 @@ impl pallet_nis::WeightInfo for WeightInfo { fn process_queue() -> Weight { // Proof Size summary in bytes: // Measured: `76` - // Estimated: `50497` - // Minimum execution time: 4_977 nanoseconds. - Weight::from_parts(5_119_000, 0) - .saturating_add(Weight::from_parts(0, 50497)) + // Estimated: `51487` + // Minimum execution time: 4_887_000 picoseconds. + Weight::from_parts(5_108_000, 0) + .saturating_add(Weight::from_parts(0, 51487)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -229,8 +229,8 @@ impl pallet_nis::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_689 nanoseconds. - Weight::from_parts(6_916_000, 0) + // Minimum execution time: 7_009_000 picoseconds. + Weight::from_parts(7_259_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_preimage.rs b/runtime/rococo/src/weights/pallet_preimage.rs index c76f9818da32..e4df10caf44d 100644 --- a/runtime/rococo/src/weights/pallet_preimage.rs +++ b/runtime/rococo/src/weights/pallet_preimage.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -52,13 +52,13 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `247` - // Estimated: `2566` - // Minimum execution time: 26_442 nanoseconds. - Weight::from_parts(26_812_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `215` + // Estimated: `3556` + // Minimum execution time: 26_864_000 picoseconds. + Weight::from_parts(27_136_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_281, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_015, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -70,12 +70,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `178` - // Estimated: `2566` - // Minimum execution time: 17_693 nanoseconds. - Weight::from_parts(17_769_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 17_853_000 picoseconds. + Weight::from_parts(18_013_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_281, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_013, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,12 +87,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `178` - // Estimated: `2566` - // Minimum execution time: 16_501 nanoseconds. - Weight::from_parts(16_663_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 16_781_000 picoseconds. + Weight::from_parts(16_936_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_278, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_017, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -102,11 +102,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `425` - // Estimated: `2566` - // Minimum execution time: 33_371 nanoseconds. - Weight::from_parts(35_412_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `361` + // Estimated: `3556` + // Minimum execution time: 34_343_000 picoseconds. + Weight::from_parts(34_983_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,10 +117,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `216` - // Estimated: `2566` - // Minimum execution time: 23_195 nanoseconds. - Weight::from_parts(24_218_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 23_306_000 picoseconds. + Weight::from_parts(24_627_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,11 +128,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `292` - // Estimated: `2566` - // Minimum execution time: 19_495 nanoseconds. - Weight::from_parts(20_799_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `260` + // Estimated: `3556` + // Minimum execution time: 20_611_000 picoseconds. + Weight::from_parts(21_516_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -141,10 +141,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `216` - // Estimated: `2566` - // Minimum execution time: 12_702 nanoseconds. - Weight::from_parts(13_425_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 12_950_000 picoseconds. + Weight::from_parts(13_795_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -153,10 +153,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `114` - // Estimated: `2566` - // Minimum execution time: 14_501 nanoseconds. - Weight::from_parts(15_026_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 14_408_000 picoseconds. + Weight::from_parts(14_913_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -165,10 +165,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` - // Estimated: `2566` - // Minimum execution time: 9_175 nanoseconds. - Weight::from_parts(9_576_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 9_545_000 picoseconds. + Weight::from_parts(9_985_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,10 +179,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `216` - // Estimated: `2566` - // Minimum execution time: 20_819 nanoseconds. - Weight::from_parts(22_920_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 21_503_000 picoseconds. + Weight::from_parts(22_522_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -191,10 +191,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` - // Estimated: `2566` - // Minimum execution time: 8_868 nanoseconds. - Weight::from_parts(9_307_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 9_423_000 picoseconds. + Weight::from_parts(9_638_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,10 +203,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` - // Estimated: `2566` - // Minimum execution time: 9_208 nanoseconds. - Weight::from_parts(9_607_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 9_531_000 picoseconds. + Weight::from_parts(9_830_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_proxy.rs b/runtime/rococo/src/weights/pallet_proxy.rs index 105d51206831..4324ea090b44 100644 --- a/runtime/rococo/src/weights/pallet_proxy.rs +++ b/runtime/rococo/src/weights/pallet_proxy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 15_018 nanoseconds. - Weight::from_parts(16_186_045, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 2_214 - .saturating_add(Weight::from_parts(14_972, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 16_792_000 picoseconds. + Weight::from_parts(17_791_507, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 2_286 + .saturating_add(Weight::from_parts(7_086, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -69,15 +69,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `650 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `11027` - // Minimum execution time: 33_456 nanoseconds. - Weight::from_parts(34_242_157, 0) - .saturating_add(Weight::from_parts(0, 11027)) - // Standard Error: 1_652 - .saturating_add(Weight::from_parts(147_990, 0).saturating_mul(a.into())) - // Standard Error: 1_707 - .saturating_add(Weight::from_parts(21_908, 0).saturating_mul(p.into())) + // Measured: `554 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `13997` + // Minimum execution time: 34_850_000 picoseconds. + Weight::from_parts(36_061_122, 0) + .saturating_add(Weight::from_parts(0, 13997)) + // Standard Error: 1_943 + .saturating_add(Weight::from_parts(161_417, 0).saturating_mul(a.into())) + // Standard Error: 2_007 + .saturating_add(Weight::from_parts(18_605, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -89,13 +89,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + a * (68 ±0)` - // Estimated: `7311` - // Minimum execution time: 20_842 nanoseconds. - Weight::from_parts(22_436_884, 0) - .saturating_add(Weight::from_parts(0, 7311)) - // Standard Error: 1_298 - .saturating_add(Weight::from_parts(140_488, 0).saturating_mul(a.into())) + // Measured: `469 + a * (68 ±0)` + // Estimated: `9291` + // Minimum execution time: 21_487_000 picoseconds. + Weight::from_parts(23_124_848, 0) + .saturating_add(Weight::from_parts(0, 9291)) + // Standard Error: 1_579 + .saturating_add(Weight::from_parts(156_959, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,13 +107,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + a * (68 ±0)` - // Estimated: `7311` - // Minimum execution time: 21_073 nanoseconds. - Weight::from_parts(22_251_973, 0) - .saturating_add(Weight::from_parts(0, 7311)) - // Standard Error: 1_325 - .saturating_add(Weight::from_parts(138_590, 0).saturating_mul(a.into())) + // Measured: `469 + a * (68 ±0)` + // Estimated: `9291` + // Minimum execution time: 21_438_000 picoseconds. + Weight::from_parts(23_160_789, 0) + .saturating_add(Weight::from_parts(0, 9291)) + // Standard Error: 1_598 + .saturating_add(Weight::from_parts(156_098, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -127,15 +127,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `582 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `11027` - // Minimum execution time: 30_176 nanoseconds. - Weight::from_parts(31_340_606, 0) - .saturating_add(Weight::from_parts(0, 11027)) - // Standard Error: 1_713 - .saturating_add(Weight::from_parts(130_710, 0).saturating_mul(a.into())) - // Standard Error: 1_770 - .saturating_add(Weight::from_parts(20_337, 0).saturating_mul(p.into())) + // Measured: `486 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `13997` + // Minimum execution time: 30_218_000 picoseconds. + Weight::from_parts(31_825_043, 0) + .saturating_add(Weight::from_parts(0, 13997)) + // Standard Error: 1_875 + .saturating_add(Weight::from_parts(157_006, 0).saturating_mul(a.into())) + // Standard Error: 1_938 + .saturating_add(Weight::from_parts(20_623, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -144,13 +144,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 22_465 nanoseconds. - Weight::from_parts(23_290_906, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 3_041 - .saturating_add(Weight::from_parts(61_583, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 23_261_000 picoseconds. + Weight::from_parts(24_156_673, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_526 + .saturating_add(Weight::from_parts(48_329, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -159,13 +159,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 21_907 nanoseconds. - Weight::from_parts(23_048_103, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_896 - .saturating_add(Weight::from_parts(60_094, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 23_301_000 picoseconds. + Weight::from_parts(24_016_174, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_532 + .saturating_add(Weight::from_parts(67_521, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,13 +174,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 17_731 nanoseconds. - Weight::from_parts(18_311_553, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_096 - .saturating_add(Weight::from_parts(30_316, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 18_071_000 picoseconds. + Weight::from_parts(18_952_655, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_384 + .saturating_add(Weight::from_parts(36_493, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,12 +190,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239` - // Estimated: `3716` - // Minimum execution time: 23_918 nanoseconds. - Weight::from_parts(24_700_236, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_421 - .saturating_add(Weight::from_parts(12_058, 0).saturating_mul(p.into())) + // Estimated: `4706` + // Minimum execution time: 24_924_000 picoseconds. + Weight::from_parts(26_006_506, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_444 + .saturating_add(Weight::from_parts(584, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,13 +204,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `296 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 18_502 nanoseconds. - Weight::from_parts(19_381_694, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 2_022 - .saturating_add(Weight::from_parts(30_729, 0).saturating_mul(p.into())) + // Measured: `264 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 19_012_000 picoseconds. + Weight::from_parts(19_845_857, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_382 + .saturating_add(Weight::from_parts(35_446, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/pallet_scheduler.rs b/runtime/rococo/src/weights/pallet_scheduler.rs index b681ec9592f7..2e66c8ceab7d 100644 --- a/runtime/rococo/src/weights/pallet_scheduler.rs +++ b/runtime/rococo/src/weights/pallet_scheduler.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,10 +50,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `69` - // Estimated: `499` - // Minimum execution time: 4_788 nanoseconds. - Weight::from_parts(4_943_000, 0) - .saturating_add(Weight::from_parts(0, 499)) + // Estimated: `1489` + // Minimum execution time: 4_960_000 picoseconds. + Weight::from_parts(5_149_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,13 +62,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 4_439 nanoseconds. - Weight::from_parts(7_706_950, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 2_091 - .saturating_add(Weight::from_parts(753_077, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 4_653_000 picoseconds. + Weight::from_parts(7_734_868, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_115 + .saturating_add(Weight::from_parts(944_709, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,8 +76,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_753 nanoseconds. - Weight::from_parts(5_907_000, 0) + // Minimum execution time: 5_887_000 picoseconds. + Weight::from_parts(6_120_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -87,13 +87,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `283 + s * (1 ±0)` - // Estimated: `5324 + s * (1 ±0)` - // Minimum execution time: 20_618 nanoseconds. - Weight::from_parts(21_082_000, 0) - .saturating_add(Weight::from_parts(0, 5324)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_168, 0).saturating_mul(s.into())) + // Measured: `251 + s * (1 ±0)` + // Estimated: `7272 + s * (1 ±0)` + // Minimum execution time: 20_952_000 picoseconds. + Weight::from_parts(21_209_000, 0) + .saturating_add(Weight::from_parts(0, 7272)) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_193, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -104,8 +104,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_052 nanoseconds. - Weight::from_parts(7_344_000, 0) + // Minimum execution time: 7_541_000 picoseconds. + Weight::from_parts(7_811_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,24 +113,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_445 nanoseconds. - Weight::from_parts(5_751_000, 0) + // Minimum execution time: 5_925_000 picoseconds. + Weight::from_parts(6_053_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_522 nanoseconds. - Weight::from_parts(2_634_000, 0) + // Minimum execution time: 3_178_000 picoseconds. + Weight::from_parts(3_277_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_470 nanoseconds. - Weight::from_parts(2_562_000, 0) + // Minimum execution time: 3_206_000 picoseconds. + Weight::from_parts(3_295_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -138,13 +138,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 14_699 nanoseconds. - Weight::from_parts(17_608_774, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 1_963 - .saturating_add(Weight::from_parts(748_209, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 15_345_000 picoseconds. + Weight::from_parts(18_725_551, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_098 + .saturating_add(Weight::from_parts(927_752, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -155,13 +155,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 18_682 nanoseconds. - Weight::from_parts(18_694_523, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 2_329 - .saturating_add(Weight::from_parts(1_320_933, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 19_638_000 picoseconds. + Weight::from_parts(18_170_833, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 12_752 + .saturating_add(Weight::from_parts(1_764_746, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -172,13 +172,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `325 + s * (185 ±0)` - // Estimated: `43961` - // Minimum execution time: 17_456 nanoseconds. - Weight::from_parts(21_646_211, 0) - .saturating_add(Weight::from_parts(0, 43961)) - // Standard Error: 3_003 - .saturating_add(Weight::from_parts(775_665, 0).saturating_mul(s.into())) + // Measured: `293 + s * (185 ±0)` + // Estimated: `45941` + // Minimum execution time: 18_247_000 picoseconds. + Weight::from_parts(26_440_491, 0) + .saturating_add(Weight::from_parts(0, 45941)) + // Standard Error: 13_283 + .saturating_add(Weight::from_parts(884_870, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -189,13 +189,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `351 + s * (185 ±0)` - // Estimated: `43961` - // Minimum execution time: 19_742 nanoseconds. - Weight::from_parts(20_337_093, 0) - .saturating_add(Weight::from_parts(0, 43961)) - // Standard Error: 3_541 - .saturating_add(Weight::from_parts(1_363_379, 0).saturating_mul(s.into())) + // Measured: `319 + s * (185 ±0)` + // Estimated: `45941` + // Minimum execution time: 20_584_000 picoseconds. + Weight::from_parts(20_984_461, 0) + .saturating_add(Weight::from_parts(0, 45941)) + // Standard Error: 2_852 + .saturating_add(Weight::from_parts(1_712_589, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/rococo/src/weights/pallet_timestamp.rs b/runtime/rococo/src/weights/pallet_timestamp.rs index 4cbf7c2d29dc..9fe54ab74bfb 100644 --- a/runtime/rococo/src/weights/pallet_timestamp.rs +++ b/runtime/rococo/src/weights/pallet_timestamp.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -52,10 +52,10 @@ impl pallet_timestamp::WeightInfo for WeightInfo { fn set() -> Weight { // Proof Size summary in bytes: // Measured: `345` - // Estimated: `1006` - // Minimum execution time: 10_142 nanoseconds. - Weight::from_parts(10_663_000, 0) - .saturating_add(Weight::from_parts(0, 1006)) + // Estimated: `2986` + // Minimum execution time: 10_394_000 picoseconds. + Weight::from_parts(10_863_000, 0) + .saturating_add(Weight::from_parts(0, 2986)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 4_724 nanoseconds. - Weight::from_parts(4_840_000, 0) + // Minimum execution time: 4_624_000 picoseconds. + Weight::from_parts(4_825_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/rococo/src/weights/pallet_tips.rs b/runtime/rococo/src/weights/pallet_tips.rs index 4b718ccbeb62..8b6e8752336b 100644 --- a/runtime/rococo/src/weights/pallet_tips.rs +++ b/runtime/rococo/src/weights/pallet_tips.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -53,12 +53,12 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `4958` - // Minimum execution time: 23_543 nanoseconds. - Weight::from_parts(24_747_811, 0) - .saturating_add(Weight::from_parts(0, 4958)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_753, 0).saturating_mul(r.into())) + // Estimated: `6938` + // Minimum execution time: 24_022_000 picoseconds. + Weight::from_parts(25_364_207, 0) + .saturating_add(Weight::from_parts(0, 6938)) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_452, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -68,11 +68,11 @@ impl pallet_tips::WeightInfo for WeightInfo { /// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured) fn retract_tip() -> Weight { // Proof Size summary in bytes: - // Measured: `253` - // Estimated: `2981` - // Minimum execution time: 22_745 nanoseconds. - Weight::from_parts(23_211_000, 0) - .saturating_add(Weight::from_parts(0, 2981)) + // Measured: `221` + // Estimated: `3907` + // Minimum execution time: 23_466_000 picoseconds. + Weight::from_parts(24_140_000, 0) + .saturating_add(Weight::from_parts(0, 3907)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -86,15 +86,15 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 19]`. fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `106 + t * (64 ±0)` - // Estimated: `3288 + t * (192 ±0)` - // Minimum execution time: 19_811 nanoseconds. - Weight::from_parts(18_276_124, 0) - .saturating_add(Weight::from_parts(0, 3288)) - // Standard Error: 17 - .saturating_add(Weight::from_parts(1_688, 0).saturating_mul(r.into())) - // Standard Error: 15_727 - .saturating_add(Weight::from_parts(141_077, 0).saturating_mul(t.into())) + // Measured: `74 + t * (64 ±0)` + // Estimated: `5172 + t * (192 ±0)` + // Minimum execution time: 20_641_000 picoseconds. + Weight::from_parts(19_791_240, 0) + .saturating_add(Weight::from_parts(0, 5172)) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_350, 0).saturating_mul(r.into())) + // Standard Error: 3_912 + .saturating_add(Weight::from_parts(100_927, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(t.into())) @@ -106,13 +106,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 19]`. fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `359 + t * (112 ±0)` - // Estimated: `3688 + t * (224 ±0)` - // Minimum execution time: 14_950 nanoseconds. - Weight::from_parts(15_548_168, 0) - .saturating_add(Weight::from_parts(0, 3688)) - // Standard Error: 1_508 - .saturating_add(Weight::from_parts(128_689, 0).saturating_mul(t.into())) + // Measured: `295 + t * (112 ±0)` + // Estimated: `5540 + t * (224 ±0)` + // Minimum execution time: 15_584_000 picoseconds. + Weight::from_parts(16_035_427, 0) + .saturating_add(Weight::from_parts(0, 5540)) + // Standard Error: 1_322 + .saturating_add(Weight::from_parts(125_286, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) @@ -128,13 +128,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 19]`. fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `398 + t * (112 ±0)` - // Estimated: `6740 + t * (336 ±0)` - // Minimum execution time: 42_790 nanoseconds. - Weight::from_parts(44_540_138, 0) - .saturating_add(Weight::from_parts(0, 6740)) - // Standard Error: 5_351 - .saturating_add(Weight::from_parts(117_779, 0).saturating_mul(t.into())) + // Measured: `334 + t * (112 ±0)` + // Estimated: `9518 + t * (336 ±0)` + // Minimum execution time: 44_254_000 picoseconds. + Weight::from_parts(45_672_147, 0) + .saturating_add(Weight::from_parts(0, 9518)) + // Standard Error: 5_369 + .saturating_add(Weight::from_parts(94_136, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 336).saturating_mul(t.into())) @@ -146,13 +146,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 19]`. fn slash_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `301` - // Estimated: `3077` - // Minimum execution time: 14_534 nanoseconds. - Weight::from_parts(15_248_418, 0) - .saturating_add(Weight::from_parts(0, 3077)) - // Standard Error: 1_226 - .saturating_add(Weight::from_parts(16_164, 0).saturating_mul(t.into())) + // Measured: `269` + // Estimated: `4003` + // Minimum execution time: 15_527_000 picoseconds. + Weight::from_parts(16_239_861, 0) + .saturating_add(Weight::from_parts(0, 4003)) + // Standard Error: 1_272 + .saturating_add(Weight::from_parts(11_596, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/rococo/src/weights/pallet_treasury.rs b/runtime/rococo/src/weights/pallet_treasury.rs index 6b693fd32937..d37d0add95ce 100644 --- a/runtime/rococo/src/weights/pallet_treasury.rs +++ b/runtime/rococo/src/weights/pallet_treasury.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -49,8 +49,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 242 nanoseconds. - Weight::from_parts(254_000, 0) + // Minimum execution time: 253_000 picoseconds. + Weight::from_parts(273_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Treasury ProposalCount (r:1 w:1) @@ -59,11 +59,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) fn propose_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `499` - // Minimum execution time: 23_958 nanoseconds. - Weight::from_parts(24_529_000, 0) - .saturating_add(Weight::from_parts(0, 499)) + // Measured: `107` + // Estimated: `1489` + // Minimum execution time: 24_220_000 picoseconds. + Weight::from_parts(24_606_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -73,11 +73,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn reject_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `329` - // Estimated: `5186` - // Minimum execution time: 35_366 nanoseconds. - Weight::from_parts(35_746_000, 0) - .saturating_add(Weight::from_parts(0, 5186)) + // Measured: `265` + // Estimated: `7166` + // Minimum execution time: 36_680_000 picoseconds. + Weight::from_parts(37_054_000, 0) + .saturating_add(Weight::from_parts(0, 7166)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,13 +88,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `464 + p * (8 ±0)` - // Estimated: `3480` - // Minimum execution time: 9_776 nanoseconds. - Weight::from_parts(11_853_376, 0) - .saturating_add(Weight::from_parts(0, 3480)) - // Standard Error: 731 - .saturating_add(Weight::from_parts(24_013, 0).saturating_mul(p.into())) + // Measured: `433 + p * (8 ±0)` + // Estimated: `5460` + // Minimum execution time: 10_740_000 picoseconds. + Weight::from_parts(12_792_989, 0) + .saturating_add(Weight::from_parts(0, 5460)) + // Standard Error: 767 + .saturating_add(Weight::from_parts(25_743, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -103,10 +103,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `897` - // Minimum execution time: 7_367 nanoseconds. - Weight::from_parts(7_568_000, 0) - .saturating_add(Weight::from_parts(0, 897)) + // Estimated: `1887` + // Minimum execution time: 8_277_000 picoseconds. + Weight::from_parts(8_615_000, 0) + .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,13 +125,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `326 + p * (314 ±0)` - // Estimated: `5419 + p * (7789 ±0)` - // Minimum execution time: 59_810 nanoseconds. - Weight::from_parts(62_031_885, 0) - .saturating_add(Weight::from_parts(0, 5419)) - // Standard Error: 22_913 - .saturating_add(Weight::from_parts(32_120_590, 0).saturating_mul(p.into())) + // Measured: `296 + p * (251 ±0)` + // Estimated: `11359 + p * (7789 ±0)` + // Minimum execution time: 60_192_000 picoseconds. + Weight::from_parts(59_512_799, 0) + .saturating_add(Weight::from_parts(0, 11359)) + // Standard Error: 25_794 + .saturating_add(Weight::from_parts(32_571_537, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(5)) diff --git a/runtime/rococo/src/weights/pallet_utility.rs b/runtime/rococo/src/weights/pallet_utility.rs index d9a466793317..d7b1f0905367 100644 --- a/runtime/rococo/src/weights/pallet_utility.rs +++ b/runtime/rococo/src/weights/pallet_utility.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,18 +50,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_813 nanoseconds. - Weight::from_parts(12_467_313, 0) + // Minimum execution time: 7_287_000 picoseconds. + Weight::from_parts(15_925_600, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4_411 - .saturating_add(Weight::from_parts(4_492_040, 0).saturating_mul(c.into())) + // Standard Error: 3_941 + .saturating_add(Weight::from_parts(5_269_434, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_943 nanoseconds. - Weight::from_parts(5_130_000, 0) + // Minimum execution time: 5_696_000 picoseconds. + Weight::from_parts(5_886_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -69,18 +69,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_627 nanoseconds. - Weight::from_parts(15_708_935, 0) + // Minimum execution time: 7_207_000 picoseconds. + Weight::from_parts(14_475_102, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_588 - .saturating_add(Weight::from_parts(4_775_663, 0).saturating_mul(c.into())) + // Standard Error: 2_756 + .saturating_add(Weight::from_parts(5_604_049, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_641 nanoseconds. - Weight::from_parts(8_930_000, 0) + // Minimum execution time: 10_142_000 picoseconds. + Weight::from_parts(10_440_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -88,10 +88,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_797 nanoseconds. - Weight::from_parts(11_600_399, 0) + // Minimum execution time: 7_199_000 picoseconds. + Weight::from_parts(9_603_621, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_729 - .saturating_add(Weight::from_parts(4_503_235, 0).saturating_mul(c.into())) + // Standard Error: 2_779 + .saturating_add(Weight::from_parts(5_313_188, 0).saturating_mul(c.into())) } } diff --git a/runtime/rococo/src/weights/pallet_vesting.rs b/runtime/rococo/src/weights/pallet_vesting.rs index fe6d2ae876ad..419b67a4db31 100644 --- a/runtime/rococo/src/weights/pallet_vesting.rs +++ b/runtime/rococo/src/weights/pallet_vesting.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -53,15 +53,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `339 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `7306` - // Minimum execution time: 29_343 nanoseconds. - Weight::from_parts(28_450_019, 0) - .saturating_add(Weight::from_parts(0, 7306)) - // Standard Error: 809 - .saturating_add(Weight::from_parts(42_260, 0).saturating_mul(l.into())) - // Standard Error: 1_439 - .saturating_add(Weight::from_parts(67_582, 0).saturating_mul(s.into())) + // Measured: `277 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `9286` + // Minimum execution time: 29_804_000 picoseconds. + Weight::from_parts(28_492_791, 0) + .saturating_add(Weight::from_parts(0, 9286)) + // Standard Error: 708 + .saturating_add(Weight::from_parts(45_742, 0).saturating_mul(l.into())) + // Standard Error: 1_259 + .saturating_add(Weight::from_parts(74_559, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -73,15 +73,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `339 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `7306` - // Minimum execution time: 28_514 nanoseconds. - Weight::from_parts(28_172_301, 0) - .saturating_add(Weight::from_parts(0, 7306)) - // Standard Error: 718 - .saturating_add(Weight::from_parts(33_507, 0).saturating_mul(l.into())) - // Standard Error: 1_278 - .saturating_add(Weight::from_parts(39_823, 0).saturating_mul(s.into())) + // Measured: `277 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `9286` + // Minimum execution time: 28_958_000 picoseconds. + Weight::from_parts(28_222_499, 0) + .saturating_add(Weight::from_parts(0, 9286)) + // Standard Error: 781 + .saturating_add(Weight::from_parts(39_564, 0).saturating_mul(l.into())) + // Standard Error: 1_390 + .saturating_add(Weight::from_parts(52_601, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,15 +95,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `474 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 31_925 nanoseconds. - Weight::from_parts(30_972_009, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 857 - .saturating_add(Weight::from_parts(43_811, 0).saturating_mul(l.into())) - // Standard Error: 1_525 - .saturating_add(Weight::from_parts(70_194, 0).saturating_mul(s.into())) + // Measured: `380 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 32_177_000 picoseconds. + Weight::from_parts(30_830_499, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 902 + .saturating_add(Weight::from_parts(54_639, 0).saturating_mul(l.into())) + // Standard Error: 1_605 + .saturating_add(Weight::from_parts(80_501, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -117,15 +117,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `474 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 30_704 nanoseconds. - Weight::from_parts(31_074_902, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 1_252 - .saturating_add(Weight::from_parts(32_974, 0).saturating_mul(l.into())) - // Standard Error: 2_229 - .saturating_add(Weight::from_parts(43_347, 0).saturating_mul(s.into())) + // Measured: `380 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 31_501_000 picoseconds. + Weight::from_parts(31_090_475, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 904 + .saturating_add(Weight::from_parts(38_566, 0).saturating_mul(l.into())) + // Standard Error: 1_609 + .saturating_add(Weight::from_parts(52_847, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -139,15 +139,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `545 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 46_744 nanoseconds. - Weight::from_parts(47_068_536, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 2_209 - .saturating_add(Weight::from_parts(35_912, 0).saturating_mul(l.into())) - // Standard Error: 3_930 - .saturating_add(Weight::from_parts(39_371, 0).saturating_mul(s.into())) + // Measured: `451 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 46_158_000 picoseconds. + Weight::from_parts(46_663_007, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 2_069 + .saturating_add(Weight::from_parts(41_267, 0).saturating_mul(l.into())) + // Standard Error: 3_682 + .saturating_add(Weight::from_parts(41_418, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -161,15 +161,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `680 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12512` - // Minimum execution time: 49_029 nanoseconds. - Weight::from_parts(49_544_140, 0) - .saturating_add(Weight::from_parts(0, 12512)) - // Standard Error: 2_136 - .saturating_add(Weight::from_parts(39_954, 0).saturating_mul(l.into())) - // Standard Error: 3_801 - .saturating_add(Weight::from_parts(29_214, 0).saturating_mul(s.into())) + // Measured: `554 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `15482` + // Minimum execution time: 48_789_000 picoseconds. + Weight::from_parts(49_232_832, 0) + .saturating_add(Weight::from_parts(0, 15482)) + // Standard Error: 2_268 + .saturating_add(Weight::from_parts(42_419, 0).saturating_mul(l.into())) + // Standard Error: 4_036 + .saturating_add(Weight::from_parts(41_139, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -183,15 +183,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `472 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 32_811 nanoseconds. - Weight::from_parts(32_149_813, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 906 - .saturating_add(Weight::from_parts(43_353, 0).saturating_mul(l.into())) - // Standard Error: 1_674 - .saturating_add(Weight::from_parts(66_779, 0).saturating_mul(s.into())) + // Measured: `378 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 33_106_000 picoseconds. + Weight::from_parts(32_473_382, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 699 + .saturating_add(Weight::from_parts(47_907, 0).saturating_mul(l.into())) + // Standard Error: 1_291 + .saturating_add(Weight::from_parts(63_744, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -205,15 +205,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `472 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 32_937 nanoseconds. - Weight::from_parts(32_420_178, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 700 - .saturating_add(Weight::from_parts(41_369, 0).saturating_mul(l.into())) - // Standard Error: 1_294 - .saturating_add(Weight::from_parts(61_637, 0).saturating_mul(s.into())) + // Measured: `378 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 33_016_000 picoseconds. + Weight::from_parts(32_857_987, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 808 + .saturating_add(Weight::from_parts(39_423, 0).saturating_mul(l.into())) + // Standard Error: 1_493 + .saturating_add(Weight::from_parts(60_468, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/rococo/src/weights/pallet_xcm.rs b/runtime/rococo/src/weights/pallet_xcm.rs index e257e5621c19..71123a15208a 100644 --- a/runtime/rococo/src/weights/pallet_xcm.rs +++ b/runtime/rococo/src/weights/pallet_xcm.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -59,11 +59,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `612` - // Estimated: `12582` - // Minimum execution time: 35_247 nanoseconds. - Weight::from_parts(35_914_000, 0) - .saturating_add(Weight::from_parts(0, 12582)) + // Measured: `580` + // Estimated: `18330` + // Minimum execution time: 36_658_000 picoseconds. + Weight::from_parts(37_475_000, 0) + .saturating_add(Weight::from_parts(0, 18330)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -71,24 +71,24 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 20_897 nanoseconds. - Weight::from_parts(21_217_000, 0) + // Minimum execution time: 23_580_000 picoseconds. + Weight::from_parts(23_929_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_523 nanoseconds. - Weight::from_parts(19_814_000, 0) + // Minimum execution time: 22_900_000 picoseconds. + Weight::from_parts(23_356_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_282 nanoseconds. - Weight::from_parts(9_523_000, 0) + // Minimum execution time: 10_655_000 picoseconds. + Weight::from_parts(10_827_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: XcmPallet SupportedVersion (r:0 w:1) @@ -97,8 +97,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_524 nanoseconds. - Weight::from_parts(9_873_000, 0) + // Minimum execution time: 10_442_000 picoseconds. + Weight::from_parts(10_716_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -108,8 +108,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_609 nanoseconds. - Weight::from_parts(2_747_000, 0) + // Minimum execution time: 3_056_000 picoseconds. + Weight::from_parts(3_246_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -133,11 +133,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `612` - // Estimated: `17388` - // Minimum execution time: 40_493 nanoseconds. - Weight::from_parts(41_628_000, 0) - .saturating_add(Weight::from_parts(0, 17388)) + // Measured: `580` + // Estimated: `25020` + // Minimum execution time: 42_106_000 picoseconds. + Weight::from_parts(42_782_000, 0) + .saturating_add(Weight::from_parts(0, 25020)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -159,11 +159,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `884` - // Estimated: `18457` - // Minimum execution time: 43_846 nanoseconds. - Weight::from_parts(44_377_000, 0) - .saturating_add(Weight::from_parts(0, 18457)) + // Measured: `852` + // Estimated: `25131` + // Minimum execution time: 45_010_000 picoseconds. + Weight::from_parts(45_326_000, 0) + .saturating_add(Weight::from_parts(0, 25131)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -172,10 +172,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `229` - // Estimated: `10129` - // Minimum execution time: 16_954 nanoseconds. - Weight::from_parts(17_622_000, 0) - .saturating_add(Weight::from_parts(0, 10129)) + // Estimated: `11119` + // Minimum execution time: 17_856_000 picoseconds. + Weight::from_parts(18_388_000, 0) + .saturating_add(Weight::from_parts(0, 11119)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -184,10 +184,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: // Measured: `233` - // Estimated: `10133` - // Minimum execution time: 17_064 nanoseconds. - Weight::from_parts(17_460_000, 0) - .saturating_add(Weight::from_parts(0, 10133)) + // Estimated: `11123` + // Minimum execution time: 19_236_000 picoseconds. + Weight::from_parts(20_053_000, 0) + .saturating_add(Weight::from_parts(0, 11123)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -196,10 +196,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn already_notified_target() -> Weight { // Proof Size summary in bytes: // Measured: `243` - // Estimated: `12618` - // Minimum execution time: 19_267 nanoseconds. - Weight::from_parts(19_864_000, 0) - .saturating_add(Weight::from_parts(0, 12618)) + // Estimated: `13608` + // Minimum execution time: 21_784_000 picoseconds. + Weight::from_parts(22_509_000, 0) + .saturating_add(Weight::from_parts(0, 13608)) .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: XcmPallet VersionNotifyTargets (r:2 w:1) @@ -218,11 +218,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `682` - // Estimated: `18634` - // Minimum execution time: 37_866 nanoseconds. - Weight::from_parts(38_331_000, 0) - .saturating_add(Weight::from_parts(0, 18634)) + // Measured: `650` + // Estimated: `25340` + // Minimum execution time: 44_384_000 picoseconds. + Weight::from_parts(45_288_000, 0) + .saturating_add(Weight::from_parts(0, 25340)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -231,10 +231,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: // Measured: `272` - // Estimated: `7697` - // Minimum execution time: 8_655 nanoseconds. - Weight::from_parts(8_974_000, 0) - .saturating_add(Weight::from_parts(0, 7697)) + // Estimated: `8687` + // Minimum execution time: 10_704_000 picoseconds. + Weight::from_parts(11_054_000, 0) + .saturating_add(Weight::from_parts(0, 8687)) .saturating_add(T::DbWeight::get().reads(3)) } /// Storage: XcmPallet VersionNotifyTargets (r:4 w:2) @@ -242,10 +242,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: // Measured: `240` - // Estimated: `10140` - // Minimum execution time: 17_328 nanoseconds. - Weight::from_parts(18_147_000, 0) - .saturating_add(Weight::from_parts(0, 10140)) + // Estimated: `11130` + // Minimum execution time: 21_567_000 picoseconds. + Weight::from_parts(22_017_000, 0) + .saturating_add(Weight::from_parts(0, 11130)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -265,11 +265,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `686` - // Estimated: `23612` - // Minimum execution time: 44_960 nanoseconds. - Weight::from_parts(45_541_000, 0) - .saturating_add(Weight::from_parts(0, 23612)) + // Measured: `654` + // Estimated: `30318` + // Minimum execution time: 54_062_000 picoseconds. + Weight::from_parts(54_891_000, 0) + .saturating_add(Weight::from_parts(0, 30318)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } diff --git a/runtime/rococo/src/weights/runtime_common_auctions.rs b/runtime/rococo/src/weights/runtime_common_auctions.rs index 09aff080885c..c3131639a985 100644 --- a/runtime/rococo/src/weights/runtime_common_auctions.rs +++ b/runtime/rococo/src/weights/runtime_common_auctions.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -52,10 +52,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn new_auction() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `1002` - // Minimum execution time: 12_996 nanoseconds. - Weight::from_parts(13_515_000, 0) - .saturating_add(Weight::from_parts(0, 1002)) + // Estimated: `2982` + // Minimum execution time: 13_822_000 picoseconds. + Weight::from_parts(14_373_000, 0) + .saturating_add(Weight::from_parts(0, 2982)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn bid() -> Weight { // Proof Size summary in bytes: - // Measured: `792` - // Estimated: `19604` - // Minimum execution time: 69_368 nanoseconds. - Weight::from_parts(70_426_000, 0) - .saturating_add(Weight::from_parts(0, 19604)) + // Measured: `728` + // Estimated: `26406` + // Minimum execution time: 70_913_000 picoseconds. + Weight::from_parts(74_639_000, 0) + .saturating_add(Weight::from_parts(0, 26406)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -109,11 +109,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `7060535` - // Estimated: `51327080` - // Minimum execution time: 15_633_312 nanoseconds. - Weight::from_parts(16_032_872_000, 0) - .saturating_add(Weight::from_parts(0, 51327080)) + // Measured: `6947752` + // Estimated: `50775045` + // Minimum execution time: 6_166_967_000 picoseconds. + Weight::from_parts(6_228_243_000, 0) + .saturating_add(Weight::from_parts(0, 50775045)) .saturating_add(T::DbWeight::get().reads(3683)) .saturating_add(T::DbWeight::get().writes(3678)) } @@ -127,11 +127,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn cancel_auction() -> Weight { // Proof Size summary in bytes: - // Measured: `178884` - // Estimated: `16009503` - // Minimum execution time: 4_771_029 nanoseconds. - Weight::from_parts(4_880_229_000, 0) - .saturating_add(Weight::from_parts(0, 16009503)) + // Measured: `177732` + // Estimated: `16012473` + // Minimum execution time: 4_885_891_000 picoseconds. + Weight::from_parts(4_923_797_000, 0) + .saturating_add(Weight::from_parts(0, 16012473)) .saturating_add(T::DbWeight::get().reads(3673)) .saturating_add(T::DbWeight::get().writes(3673)) } diff --git a/runtime/rococo/src/weights/runtime_common_claims.rs b/runtime/rococo/src/weights/runtime_common_claims.rs index df10a8b978e5..2d338fc1b824 100644 --- a/runtime/rococo/src/weights/runtime_common_claims.rs +++ b/runtime/rococo/src/weights/runtime_common_claims.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -61,11 +61,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `590` - // Estimated: `20189` - // Minimum execution time: 140_460 nanoseconds. - Weight::from_parts(142_311_000, 0) - .saturating_add(Weight::from_parts(0, 20189)) + // Measured: `558` + // Estimated: `26991` + // Minimum execution time: 141_620_000 picoseconds. + Weight::from_parts(143_668_000, 0) + .saturating_add(Weight::from_parts(0, 26991)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -80,10 +80,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< fn mint_claim() -> Weight { // Proof Size summary in bytes: // Measured: `216` - // Estimated: `1359` - // Minimum execution time: 10_819 nanoseconds. - Weight::from_parts(11_397_000, 0) - .saturating_add(Weight::from_parts(0, 1359)) + // Estimated: `2349` + // Minimum execution time: 11_817_000 picoseconds. + Weight::from_parts(12_193_000, 0) + .saturating_add(Weight::from_parts(0, 2349)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -103,11 +103,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn claim_attest() -> Weight { // Proof Size summary in bytes: - // Measured: `590` - // Estimated: `20189` - // Minimum execution time: 144_657 nanoseconds. - Weight::from_parts(158_036_000, 0) - .saturating_add(Weight::from_parts(0, 20189)) + // Measured: `558` + // Estimated: `26991` + // Minimum execution time: 145_745_000 picoseconds. + Weight::from_parts(148_207_000, 0) + .saturating_add(Weight::from_parts(0, 26991)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -129,11 +129,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) fn attest() -> Weight { // Proof Size summary in bytes: - // Measured: `664` - // Estimated: `23624` - // Minimum execution time: 64_722 nanoseconds. - Weight::from_parts(67_839_000, 0) - .saturating_add(Weight::from_parts(0, 23624)) + // Measured: `632` + // Estimated: `31384` + // Minimum execution time: 65_979_000 picoseconds. + Weight::from_parts(68_333_000, 0) + .saturating_add(Weight::from_parts(0, 31384)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -147,11 +147,11 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured) fn move_claim() -> Weight { // Proof Size summary in bytes: - // Measured: `472` - // Estimated: `11788` - // Minimum execution time: 22_132 nanoseconds. - Weight::from_parts(22_516_000, 0) - .saturating_add(Weight::from_parts(0, 11788)) + // Measured: `440` + // Estimated: `15620` + // Minimum execution time: 22_694_000 picoseconds. + Weight::from_parts(23_022_000, 0) + .saturating_add(Weight::from_parts(0, 15620)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/rococo/src/weights/runtime_common_crowdloan.rs b/runtime/rococo/src/weights/runtime_common_crowdloan.rs index fd3aaa799f93..4935bc50ab8e 100644 --- a/runtime/rococo/src/weights/runtime_common_crowdloan.rs +++ b/runtime/rococo/src/weights/runtime_common_crowdloan.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `418` - // Estimated: `9592` - // Minimum execution time: 39_138 nanoseconds. - Weight::from_parts(41_066_000, 0) - .saturating_add(Weight::from_parts(0, 9592)) + // Measured: `386` + // Estimated: `13424` + // Minimum execution time: 39_858_000 picoseconds. + Weight::from_parts(40_865_000, 0) + .saturating_add(Weight::from_parts(0, 13424)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,11 +81,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn contribute() -> Weight { // Proof Size summary in bytes: - // Measured: `474` - // Estimated: `14402` - // Minimum execution time: 113_847 nanoseconds. - Weight::from_parts(115_656_000, 0) - .saturating_add(Weight::from_parts(0, 14402)) + // Measured: `442` + // Estimated: `22162` + // Minimum execution time: 111_819_000 picoseconds. + Weight::from_parts(113_743_000, 0) + .saturating_add(Weight::from_parts(0, 22162)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -99,11 +99,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1) fn withdraw() -> Weight { // Proof Size summary in bytes: - // Measured: `785` - // Estimated: `12237` - // Minimum execution time: 54_332 nanoseconds. - Weight::from_parts(55_814_000, 0) - .saturating_add(Weight::from_parts(0, 12237)) + // Measured: `689` + // Estimated: `16005` + // Minimum execution time: 56_947_000 picoseconds. + Weight::from_parts(57_907_000, 0) + .saturating_add(Weight::from_parts(0, 16005)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -112,18 +112,18 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `190 + k * (221 ±0)` - // Estimated: `195 + k * (221 ±0)` - // Minimum execution time: 40_419 nanoseconds. - Weight::from_parts(42_695_000, 0) - .saturating_add(Weight::from_parts(0, 195)) - // Standard Error: 13_706 - .saturating_add(Weight::from_parts(23_364_182, 0).saturating_mul(k.into())) + // Measured: `126 + k * (189 ±0)` + // Estimated: `133 + k * (189 ±0)` + // Minimum execution time: 41_762_000 picoseconds. + Weight::from_parts(56_829_000, 0) + .saturating_add(Weight::from_parts(0, 133)) + // Standard Error: 12_926 + .saturating_add(Weight::from_parts(22_800_725, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into()))) - .saturating_add(Weight::from_parts(0, 221).saturating_mul(k.into())) + .saturating_add(Weight::from_parts(0, 189).saturating_mul(k.into())) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -131,11 +131,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn dissolve() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `5517` - // Minimum execution time: 30_943 nanoseconds. - Weight::from_parts(32_116_000, 0) - .saturating_add(Weight::from_parts(0, 5517)) + // Measured: `375` + // Estimated: `7433` + // Minimum execution time: 31_961_000 picoseconds. + Weight::from_parts(32_603_000, 0) + .saturating_add(Weight::from_parts(0, 7433)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -143,11 +143,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) fn edit() -> Weight { // Proof Size summary in bytes: - // Measured: `267` - // Estimated: `2742` - // Minimum execution time: 17_805 nanoseconds. - Weight::from_parts(18_346_000, 0) - .saturating_add(Weight::from_parts(0, 2742)) + // Measured: `235` + // Estimated: `3700` + // Minimum execution time: 18_130_000 picoseconds. + Weight::from_parts(18_785_000, 0) + .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,11 +157,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn add_memo() -> Weight { // Proof Size summary in bytes: - // Measured: `444` - // Estimated: `5838` - // Minimum execution time: 25_274 nanoseconds. - Weight::from_parts(25_881_000, 0) - .saturating_add(Weight::from_parts(0, 5838)) + // Measured: `412` + // Estimated: `7754` + // Minimum execution time: 25_730_000 picoseconds. + Weight::from_parts(26_469_000, 0) + .saturating_add(Weight::from_parts(0, 7754)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -171,11 +171,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured) fn poke() -> Weight { // Proof Size summary in bytes: - // Measured: `271` - // Estimated: `3512` - // Minimum execution time: 17_388 nanoseconds. - Weight::from_parts(18_053_000, 0) - .saturating_add(Weight::from_parts(0, 3512)) + // Measured: `239` + // Estimated: `5428` + // Minimum execution time: 18_419_000 picoseconds. + Weight::from_parts(18_959_000, 0) + .saturating_add(Weight::from_parts(0, 5428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -202,17 +202,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `224 + n * (420 ±0)` - // Estimated: `7477 + n * (14663 ±0)` - // Minimum execution time: 113_445 nanoseconds. - Weight::from_parts(114_171_000, 0) - .saturating_add(Weight::from_parts(0, 7477)) - // Standard Error: 48_008 - .saturating_add(Weight::from_parts(48_852_541, 0).saturating_mul(n.into())) + // Measured: `197 + n * (356 ±0)` + // Estimated: `17252 + n * (14348 ±0)` + // Minimum execution time: 114_684_000 picoseconds. + Weight::from_parts(116_266_000, 0) + .saturating_add(Weight::from_parts(0, 17252)) + // Standard Error: 49_215 + .saturating_add(Weight::from_parts(50_041_529, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 14663).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 14348).saturating_mul(n.into())) } } diff --git a/runtime/rococo/src/weights/runtime_common_paras_registrar.rs b/runtime/rococo/src/weights/runtime_common_paras_registrar.rs index b868661d759c..25c8a1b3cdf9 100644 --- a/runtime/rococo/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/rococo/src/weights/runtime_common_paras_registrar.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -54,10 +54,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn reserve() -> Weight { // Proof Size summary in bytes: // Measured: `97` - // Estimated: `5736` - // Minimum execution time: 25_924 nanoseconds. - Weight::from_parts(26_062_000, 0) - .saturating_add(Weight::from_parts(0, 5736)) + // Estimated: `8706` + // Minimum execution time: 27_294_000 picoseconds. + Weight::from_parts(27_595_000, 0) + .saturating_add(Weight::from_parts(0, 8706)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +83,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `636` - // Estimated: `22200` - // Minimum execution time: 7_235_970 nanoseconds. - Weight::from_parts(7_281_458_000, 0) - .saturating_add(Weight::from_parts(0, 22200)) + // Measured: `572` + // Estimated: `29480` + // Minimum execution time: 6_434_075_000 picoseconds. + Weight::from_parts(6_507_768_000, 0) + .saturating_add(Weight::from_parts(0, 29480)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -113,11 +113,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured) fn force_register() -> Weight { // Proof Size summary in bytes: - // Measured: `521` - // Estimated: `21050` - // Minimum execution time: 7_237_411 nanoseconds. - Weight::from_parts(7_298_102_000, 0) - .saturating_add(Weight::from_parts(0, 21050)) + // Measured: `489` + // Estimated: `28650` + // Minimum execution time: 6_391_182_000 picoseconds. + Weight::from_parts(6_485_890_000, 0) + .saturating_add(Weight::from_parts(0, 28650)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -135,11 +135,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Registrar PendingSwap (max_values: None, max_size: None, mode: Measured) fn deregister() -> Weight { // Proof Size summary in bytes: - // Measured: `467` - // Estimated: `13197` - // Minimum execution time: 40_327 nanoseconds. - Weight::from_parts(41_175_000, 0) - .saturating_add(Weight::from_parts(0, 13197)) + // Measured: `435` + // Estimated: `17955` + // Minimum execution time: 41_497_000 picoseconds. + Weight::from_parts(42_731_000, 0) + .saturating_add(Weight::from_parts(0, 17955)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -159,11 +159,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) fn swap() -> Weight { // Proof Size summary in bytes: - // Measured: `774` - // Estimated: `28188` - // Minimum execution time: 47_101 nanoseconds. - Weight::from_parts(50_571_000, 0) - .saturating_add(Weight::from_parts(0, 28188)) + // Measured: `743` + // Estimated: `34901` + // Minimum execution time: 48_650_000 picoseconds. + Weight::from_parts(51_891_000, 0) + .saturating_add(Weight::from_parts(0, 34901)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -192,13 +192,13 @@ impl runtime_common::paras_registrar::WeightInfo for We /// The range of component `b` is `[1, 3145728]`. fn schedule_code_upgrade(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `362` - // Estimated: `20812` - // Minimum execution time: 42_559 nanoseconds. - Weight::from_parts(43_029_000, 0) - .saturating_add(Weight::from_parts(0, 20812)) + // Measured: `330` + // Estimated: `30360` + // Minimum execution time: 44_644_000 picoseconds. + Weight::from_parts(44_838_000, 0) + .saturating_add(Weight::from_parts(0, 30360)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_278, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(2_017, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -209,11 +209,11 @@ impl runtime_common::paras_registrar::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_294 nanoseconds. - Weight::from_parts(8_519_000, 0) + // Minimum execution time: 9_589_000 picoseconds. + Weight::from_parts(9_930_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(863, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(919, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/rococo/src/weights/runtime_common_slots.rs b/runtime/rococo/src/weights/runtime_common_slots.rs index dd2d4ca0fc01..6671b7450657 100644 --- a/runtime/rococo/src/weights/runtime_common_slots.rs +++ b/runtime/rococo/src/weights/runtime_common_slots.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -51,11 +51,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `319` - // Estimated: `5397` - // Minimum execution time: 25_539 nanoseconds. - Weight::from_parts(25_986_000, 0) - .saturating_add(Weight::from_parts(0, 5397)) + // Measured: `287` + // Estimated: `7345` + // Minimum execution time: 27_240_000 picoseconds. + Weight::from_parts(27_617_000, 0) + .saturating_add(Weight::from_parts(0, 7345)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,23 +75,23 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `21 + c * (47 ±0) + t * (370 ±0)` - // Estimated: `268854 + t * (7963 ±1) + c * (1076 ±28)` - // Minimum execution time: 644_685 nanoseconds. - Weight::from_parts(652_447_000, 0) - .saturating_add(Weight::from_parts(0, 268854)) - // Standard Error: 83_715 - .saturating_add(Weight::from_parts(2_714_585, 0).saturating_mul(c.into())) - // Standard Error: 83_715 - .saturating_add(Weight::from_parts(14_134_445, 0).saturating_mul(t.into())) + // Measured: `0 + c * (47 ±0) + t * (308 ±0)` + // Estimated: `7864 + c * (2781 ±0) + t * (9308 ±0)` + // Minimum execution time: 640_467_000 picoseconds. + Weight::from_parts(646_026_000, 0) + .saturating_add(Weight::from_parts(0, 7864)) + // Standard Error: 81_769 + .saturating_add(Weight::from_parts(2_764_386, 0).saturating_mul(c.into())) + // Standard Error: 81_769 + .saturating_add(Weight::from_parts(11_816_053, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 7963).saturating_mul(t.into())) - .saturating_add(Weight::from_parts(0, 1076).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2781).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 9308).saturating_mul(t.into())) } /// Storage: Slots Leases (r:1 w:1) /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) @@ -99,11 +99,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `3047` - // Estimated: `26346` - // Minimum execution time: 97_924 nanoseconds. - Weight::from_parts(99_787_000, 0) - .saturating_add(Weight::from_parts(0, 26346)) + // Measured: `2759` + // Estimated: `28038` + // Minimum execution time: 100_595_000 picoseconds. + Weight::from_parts(102_289_000, 0) + .saturating_add(Weight::from_parts(0, 28038)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -119,11 +119,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `734` - // Estimated: `14065` - // Minimum execution time: 27_744 nanoseconds. - Weight::from_parts(28_667_000, 0) - .saturating_add(Weight::from_parts(0, 14065)) + // Measured: `670` + // Estimated: `18695` + // Minimum execution time: 28_883_000 picoseconds. + Weight::from_parts(29_921_000, 0) + .saturating_add(Weight::from_parts(0, 18695)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_configuration.rs b/runtime/rococo/src/weights/runtime_parachains_configuration.rs index 5119f52fdb86..11b5ba9c438d 100644 --- a/runtime/rococo/src/weights/runtime_parachains_configuration.rs +++ b/runtime/rococo/src/weights/runtime_parachains_configuration.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_block_number() -> Weight { // Proof Size summary in bytes: - // Measured: `424` - // Estimated: `3676` - // Minimum execution time: 12_367 nanoseconds. - Weight::from_parts(12_891_000, 0) - .saturating_add(Weight::from_parts(0, 3676)) + // Measured: `392` + // Estimated: `7508` + // Minimum execution time: 12_943_000 picoseconds. + Weight::from_parts(13_396_000, 0) + .saturating_add(Weight::from_parts(0, 7508)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -73,11 +73,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `424` - // Estimated: `3676` - // Minimum execution time: 12_473 nanoseconds. - Weight::from_parts(12_916_000, 0) - .saturating_add(Weight::from_parts(0, 3676)) + // Measured: `392` + // Estimated: `7508` + // Minimum execution time: 13_054_000 picoseconds. + Weight::from_parts(13_391_000, 0) + .saturating_add(Weight::from_parts(0, 7508)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,11 +91,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_option_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `424` - // Estimated: `3676` - // Minimum execution time: 12_510 nanoseconds. - Weight::from_parts(13_142_000, 0) - .saturating_add(Weight::from_parts(0, 3676)) + // Measured: `392` + // Estimated: `7508` + // Minimum execution time: 13_012_000 picoseconds. + Weight::from_parts(13_464_000, 0) + .saturating_add(Weight::from_parts(0, 7508)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -109,11 +109,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `424` - // Estimated: `3676` - // Minimum execution time: 12_711 nanoseconds. - Weight::from_parts(13_182_000, 0) - .saturating_add(Weight::from_parts(0, 3676)) + // Measured: `392` + // Estimated: `7508` + // Minimum execution time: 12_998_000 picoseconds. + Weight::from_parts(13_458_000, 0) + .saturating_add(Weight::from_parts(0, 7508)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -123,7 +123,7 @@ impl runtime_parachains::configuration::WeightInfo for // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000_000 nanoseconds. + // Minimum execution time: 2_000_000_000_000 picoseconds. Weight::from_parts(2_000_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -137,11 +137,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured) fn set_config_with_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `424` - // Estimated: `3676` - // Minimum execution time: 12_717 nanoseconds. - Weight::from_parts(13_331_000, 0) - .saturating_add(Weight::from_parts(0, 3676)) + // Measured: `392` + // Estimated: `7508` + // Minimum execution time: 12_815_000 picoseconds. + Weight::from_parts(13_368_000, 0) + .saturating_add(Weight::from_parts(0, 7508)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_disputes.rs b/runtime/rococo/src/weights/runtime_parachains_disputes.rs index 6ac3d7e3aa24..21270cbb672f 100644 --- a/runtime/rococo/src/weights/runtime_parachains_disputes.rs +++ b/runtime/rococo/src/weights/runtime_parachains_disputes.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -51,8 +51,8 @@ impl runtime_parachains::disputes::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_696 nanoseconds. - Weight::from_parts(2_792_000, 0) + // Minimum execution time: 3_037_000 picoseconds. + Weight::from_parts(3_164_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs index ef6d2fde1122..f217f151baf6 100644 --- a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -65,11 +65,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_init_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `751` - // Estimated: `27549` - // Minimum execution time: 41_473 nanoseconds. - Weight::from_parts(42_079_000, 0) - .saturating_add(Weight::from_parts(0, 27549)) + // Measured: `719` + // Estimated: `36171` + // Minimum execution time: 40_335_000 picoseconds. + Weight::from_parts(40_824_000, 0) + .saturating_add(Weight::from_parts(0, 36171)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -89,11 +89,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_accept_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `1015` - // Estimated: `22450` - // Minimum execution time: 43_838 nanoseconds. - Weight::from_parts(44_349_000, 0) - .saturating_add(Weight::from_parts(0, 22450)) + // Measured: `951` + // Estimated: `28932` + // Minimum execution time: 43_130_000 picoseconds. + Weight::from_parts(43_826_000, 0) + .saturating_add(Weight::from_parts(0, 28932)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -111,11 +111,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_close_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `886` - // Estimated: `16206` - // Minimum execution time: 37_715 nanoseconds. - Weight::from_parts(38_216_000, 0) - .saturating_add(Weight::from_parts(0, 16206)) + // Measured: `822` + // Estimated: `21762` + // Minimum execution time: 36_371_000 picoseconds. + Weight::from_parts(36_901_000, 0) + .saturating_add(Weight::from_parts(0, 21762)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -135,23 +135,23 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `321 + i * (131 ±0) + e * (131 ±0)` - // Estimated: `6756 + i * (5742 ±0) + e * (5736 ±0)` - // Minimum execution time: 1_139_713 nanoseconds. - Weight::from_parts(1_149_351_000, 0) - .saturating_add(Weight::from_parts(0, 6756)) - // Standard Error: 102_771 - .saturating_add(Weight::from_parts(3_268_939, 0).saturating_mul(i.into())) - // Standard Error: 102_771 - .saturating_add(Weight::from_parts(3_285_572, 0).saturating_mul(e.into())) + // Measured: `264 + i * (100 ±0) + e * (100 ±0)` + // Estimated: `9486 + i * (5550 ±0) + e * (5550 ±0)` + // Minimum execution time: 1_067_875_000 picoseconds. + Weight::from_parts(1_073_769_000, 0) + .saturating_add(Weight::from_parts(0, 9486)) + // Standard Error: 95_826 + .saturating_add(Weight::from_parts(3_089_576, 0).saturating_mul(i.into())) + // Standard Error: 95_826 + .saturating_add(Weight::from_parts(3_125_375, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5742).saturating_mul(i.into())) - .saturating_add(Weight::from_parts(0, 5736).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 5550).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(0, 5550).saturating_mul(e.into())) } /// Storage: Configuration ActiveConfig (r:1 w:0) /// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured) @@ -174,18 +174,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `867 + c * (166 ±0)` - // Estimated: `8649 + c * (18828 ±0)` - // Minimum execution time: 10_129 nanoseconds. - Weight::from_parts(1_599_737, 0) - .saturating_add(Weight::from_parts(0, 8649)) - // Standard Error: 26_858 - .saturating_add(Weight::from_parts(19_852_004, 0).saturating_mul(c.into())) + // Measured: `794 + c * (136 ±0)` + // Estimated: `15954 + c * (18549 ±0)` + // Minimum execution time: 10_514_000 picoseconds. + Weight::from_parts(5_697_794, 0) + .saturating_add(Weight::from_parts(0, 15954)) + // Standard Error: 16_431 + .saturating_add(Weight::from_parts(18_685_009, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 18828).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 18549).saturating_mul(c.into())) } /// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -202,18 +202,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `374 + c * (155 ±0)` - // Estimated: `2634 + c * (8361 ±0)` - // Minimum execution time: 6_329 nanoseconds. - Weight::from_parts(10_727_281, 0) - .saturating_add(Weight::from_parts(0, 2634)) - // Standard Error: 11_758 - .saturating_add(Weight::from_parts(11_751_197, 0).saturating_mul(c.into())) + // Measured: `335 + c * (124 ±0)` + // Estimated: `6375 + c * (8175 ±0)` + // Minimum execution time: 6_912_000 picoseconds. + Weight::from_parts(5_970_987, 0) + .saturating_add(Weight::from_parts(0, 6375)) + // Standard Error: 9_971 + .saturating_add(Weight::from_parts(11_348_517, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 8361).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 8175).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -224,13 +224,13 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1089 + c * (13 ±0)` - // Estimated: `8112 + c * (45 ±0)` - // Minimum execution time: 21_690 nanoseconds. - Weight::from_parts(26_705_840, 0) - .saturating_add(Weight::from_parts(0, 8112)) - // Standard Error: 1_184 - .saturating_add(Weight::from_parts(57_633, 0).saturating_mul(c.into())) + // Measured: `1026 + c * (13 ±0)` + // Estimated: `10905 + c * (45 ±0)` + // Minimum execution time: 22_649_000 picoseconds. + Weight::from_parts(27_439_954, 0) + .saturating_add(Weight::from_parts(0, 10905)) + // Standard Error: 1_101 + .saturating_add(Weight::from_parts(54_107, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(c.into())) @@ -242,18 +242,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn clean_open_channel_requests(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `284 + c * (94 ±0)` - // Estimated: `1046 + c * (2664 ±0)` - // Minimum execution time: 5_331 nanoseconds. - Weight::from_parts(4_953_714, 0) - .saturating_add(Weight::from_parts(0, 1046)) - // Standard Error: 2_879 - .saturating_add(Weight::from_parts(3_244_474, 0).saturating_mul(c.into())) + // Measured: `243 + c * (63 ±0)` + // Estimated: `2955 + c * (2602 ±0)` + // Minimum execution time: 5_030_000 picoseconds. + Weight::from_parts(4_932_487, 0) + .saturating_add(Weight::from_parts(0, 2955)) + // Standard Error: 2_697 + .saturating_add(Weight::from_parts(3_108_379, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2664).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2602).saturating_mul(c.into())) } /// Storage: Paras ParaLifecycles (r:2 w:0) /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) @@ -279,11 +279,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured) fn force_open_hrmp_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `751` - // Estimated: `38951` - // Minimum execution time: 55_907 nanoseconds. - Weight::from_parts(56_539_000, 0) - .saturating_add(Weight::from_parts(0, 38951)) + // Measured: `719` + // Estimated: `49489` + // Minimum execution time: 54_530_000 picoseconds. + Weight::from_parts(55_259_000, 0) + .saturating_add(Weight::from_parts(0, 49489)) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_initializer.rs b/runtime/rococo/src/weights/runtime_parachains_initializer.rs index 3a6996d1bdc4..6172b9a90237 100644 --- a/runtime/rococo/src/weights/runtime_parachains_initializer.rs +++ b/runtime/rococo/src/weights/runtime_parachains_initializer.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl runtime_parachains::initializer::WeightInfo for We /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `28 + d * (11 ±0)` - // Estimated: `519 + d * (11 ±0)` - // Minimum execution time: 3_373 nanoseconds. - Weight::from_parts(7_055_744, 0) - .saturating_add(Weight::from_parts(0, 519)) + // Measured: `0 + d * (11 ±0)` + // Estimated: `1480 + d * (11 ±0)` + // Minimum execution time: 4_142_000 picoseconds. + Weight::from_parts(7_747_144, 0) + .saturating_add(Weight::from_parts(0, 1480)) // Standard Error: 5 - .saturating_add(Weight::from_parts(1_317, 0).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(1_309, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 11).saturating_mul(d.into())) diff --git a/runtime/rococo/src/weights/runtime_parachains_paras.rs b/runtime/rococo/src/weights/runtime_parachains_paras.rs index 0b68286a0cee..e7618336e99b 100644 --- a/runtime/rococo/src/weights/runtime_parachains_paras.rs +++ b/runtime/rococo/src/weights/runtime_parachains_paras.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -60,13 +60,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_set_current_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8341` - // Estimated: `57966` - // Minimum execution time: 31_973 nanoseconds. - Weight::from_parts(32_196_000, 0) - .saturating_add(Weight::from_parts(0, 57966)) + // Measured: `8309` + // Estimated: `61734` + // Minimum execution time: 34_331_000 picoseconds. + Weight::from_parts(34_533_000, 0) + .saturating_add(Weight::from_parts(0, 61734)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_261, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_999, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -77,11 +77,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_916 nanoseconds. - Weight::from_parts(8_016_000, 0) + // Minimum execution time: 8_832_000 picoseconds. + Weight::from_parts(8_992_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(862, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(918, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Configuration ActiveConfig (r:1 w:0) @@ -109,13 +109,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16860` - // Estimated: `199815` - // Minimum execution time: 59_766 nanoseconds. - Weight::from_parts(59_934_000, 0) - .saturating_add(Weight::from_parts(0, 199815)) + // Measured: `16764` + // Estimated: `207669` + // Minimum execution time: 62_536_000 picoseconds. + Weight::from_parts(62_832_000, 0) + .saturating_add(Weight::from_parts(0, 207669)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_286, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(2_024, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -129,12 +129,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `95` - // Estimated: `2760` - // Minimum execution time: 14_051 nanoseconds. - Weight::from_parts(14_182_000, 0) - .saturating_add(Weight::from_parts(0, 2760)) + // Estimated: `3750` + // Minimum execution time: 14_769_000 picoseconds. + Weight::from_parts(15_014_000, 0) + .saturating_add(Weight::from_parts(0, 3750)) // Standard Error: 2 - .saturating_add(Weight::from_parts(865, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(923, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -144,11 +144,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured) fn force_queue_action() -> Weight { // Proof Size summary in bytes: - // Measured: `4283` - // Estimated: `11536` - // Minimum execution time: 19_945 nanoseconds. - Weight::from_parts(20_439_000, 0) - .saturating_add(Weight::from_parts(0, 11536)) + // Measured: `4251` + // Estimated: `13452` + // Minimum execution time: 20_839_000 picoseconds. + Weight::from_parts(21_284_000, 0) + .saturating_add(Weight::from_parts(0, 13452)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -160,12 +160,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `5006` - // Minimum execution time: 8_592 nanoseconds. - Weight::from_parts(8_753_000, 0) - .saturating_add(Weight::from_parts(0, 5006)) + // Estimated: `6986` + // Minimum execution time: 9_121_000 picoseconds. + Weight::from_parts(9_282_000, 0) + .saturating_add(Weight::from_parts(0, 6986)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_269, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(2_007, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,10 +176,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn poke_unused_validation_code() -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `2531` - // Minimum execution time: 6_174 nanoseconds. - Weight::from_parts(6_534_000, 0) - .saturating_add(Weight::from_parts(0, 2531)) + // Estimated: `3521` + // Minimum execution time: 6_931_000 picoseconds. + Weight::from_parts(7_138_000, 0) + .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +193,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement() -> Weight { // Proof Size summary in bytes: - // Measured: `27043` - // Estimated: `112132` - // Minimum execution time: 92_652 nanoseconds. - Weight::from_parts(95_331_000, 0) - .saturating_add(Weight::from_parts(0, 112132)) + // Measured: `26947` + // Estimated: `115708` + // Minimum execution time: 93_627_000 picoseconds. + Weight::from_parts(96_617_000, 0) + .saturating_add(Weight::from_parts(0, 115708)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,11 +219,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `27629` - // Estimated: `226477` - // Minimum execution time: 779_781 nanoseconds. - Weight::from_parts(787_267_000, 0) - .saturating_add(Weight::from_parts(0, 226477)) + // Measured: `27501` + // Estimated: `232383` + // Minimum execution time: 814_663_000 picoseconds. + Weight::from_parts(820_066_000, 0) + .saturating_add(Weight::from_parts(0, 232383)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(104)) } @@ -237,11 +237,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `27575` - // Estimated: `114260` - // Minimum execution time: 92_252 nanoseconds. - Weight::from_parts(93_314_000, 0) - .saturating_add(Weight::from_parts(0, 114260)) + // Measured: `27479` + // Estimated: `117836` + // Minimum execution time: 92_155_000 picoseconds. + Weight::from_parts(93_771_000, 0) + .saturating_add(Weight::from_parts(0, 117836)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -259,11 +259,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `27097` - // Estimated: `169512` - // Minimum execution time: 618_905 nanoseconds. - Weight::from_parts(623_853_000, 0) - .saturating_add(Weight::from_parts(0, 169512)) + // Measured: `26969` + // Estimated: `174684` + // Minimum execution time: 660_101_000 picoseconds. + Weight::from_parts(666_641_000, 0) + .saturating_add(Weight::from_parts(0, 174684)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -277,11 +277,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `27043` - // Estimated: `112132` - // Minimum execution time: 91_070 nanoseconds. - Weight::from_parts(92_430_000, 0) - .saturating_add(Weight::from_parts(0, 112132)) + // Measured: `26947` + // Estimated: `115708` + // Minimum execution time: 91_525_000 picoseconds. + Weight::from_parts(92_594_000, 0) + .saturating_add(Weight::from_parts(0, 115708)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_ump.rs b/runtime/rococo/src/weights/runtime_parachains_ump.rs index 9631136e2816..74ee02f74660 100644 --- a/runtime/rococo/src/weights/runtime_parachains_ump.rs +++ b/runtime/rococo/src/weights/runtime_parachains_ump.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -50,11 +50,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_149 nanoseconds. - Weight::from_parts(2_328_083, 0) + // Minimum execution time: 6_394_000 picoseconds. + Weight::from_parts(119_419, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_853, 0).saturating_mul(s.into())) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_574, 0).saturating_mul(s.into())) } /// Storage: Ump NeedsDispatch (r:1 w:1) /// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured) @@ -66,11 +66,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo /// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured) fn clean_ump_after_outgoing() -> Weight { // Proof Size summary in bytes: - // Measured: `234` - // Estimated: `1926` - // Minimum execution time: 8_704 nanoseconds. - Weight::from_parts(8_997_000, 0) - .saturating_add(Weight::from_parts(0, 1926)) + // Measured: `202` + // Estimated: `3778` + // Minimum execution time: 8_934_000 picoseconds. + Weight::from_parts(9_220_000, 0) + .saturating_add(Weight::from_parts(0, 3778)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -81,10 +81,10 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn service_overweight() -> Weight { // Proof Size summary in bytes: // Measured: `219` - // Estimated: `3193` - // Minimum execution time: 22_612 nanoseconds. - Weight::from_parts(22_947_000, 0) - .saturating_add(Weight::from_parts(0, 3193)) + // Estimated: `5173` + // Minimum execution time: 23_618_000 picoseconds. + Weight::from_parts(23_992_000, 0) + .saturating_add(Weight::from_parts(0, 5173)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/westend/constants/src/weights/block_weights.rs b/runtime/westend/constants/src/weights/block_weights.rs index 2024253a5b86..56ef3b25fb1f 100644 --- a/runtime/westend/constants/src/weights/block_weights.rs +++ b/runtime/westend/constants/src/weights/block_weights.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27 (Y/M/D) +//! DATE: 2023-03-15 (Y/M/D) //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` @@ -42,17 +42,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 442_587, 493_725 - /// Average: 449_258 - /// Median: 445_282 - /// Std-Dev: 10752.88 + /// Min, Max: 436_897, 566_277 + /// Average: 445_228 + /// Median: 441_051 + /// Std-Dev: 15792.88 /// /// Percentiles nanoseconds: - /// 99th: 481_096 - /// 95th: 477_043 - /// 75th: 447_140 + /// 99th: 494_890 + /// 95th: 471_702 + /// 75th: 443_378 pub const BlockExecutionWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(449_258), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(445_228), 0); } #[cfg(test)] diff --git a/runtime/westend/constants/src/weights/extrinsic_weights.rs b/runtime/westend/constants/src/weights/extrinsic_weights.rs index 8c31b6c673c7..f240fc4154f0 100644 --- a/runtime/westend/constants/src/weights/extrinsic_weights.rs +++ b/runtime/westend/constants/src/weights/extrinsic_weights.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27 (Y/M/D) +//! DATE: 2023-03-15 (Y/M/D) //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` @@ -42,17 +42,17 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 94_192, 96_096 - /// Average: 94_845 - /// Median: 94_784 - /// Std-Dev: 373.93 + /// Min, Max: 93_487, 94_937 + /// Average: 93_839 + /// Median: 93_736 + /// Std-Dev: 302.5 /// /// Percentiles nanoseconds: - /// 99th: 95_945 - /// 95th: 95_413 - /// 75th: 95_017 + /// 99th: 94_824 + /// 95th: 94_659 + /// 75th: 93_881 pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(94_845), 0); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(93_839), 0); } #[cfg(test)] diff --git a/runtime/westend/src/weights/frame_election_provider_support.rs b/runtime/westend/src/weights/frame_election_provider_support.rs index 4e82bb1dddfd..4c31ae2d29f7 100644 --- a/runtime/westend/src/weights/frame_election_provider_support.rs +++ b/runtime/westend/src/weights/frame_election_provider_support.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -52,13 +52,13 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_551_903 nanoseconds. - Weight::from_parts(6_570_398_000, 0) + // Minimum execution time: 6_252_445_000 picoseconds. + Weight::from_parts(6_285_591_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 143_968 - .saturating_add(Weight::from_parts(6_021_286, 0).saturating_mul(v.into())) - // Standard Error: 14_718_857 - .saturating_add(Weight::from_parts(1_574_587_516, 0).saturating_mul(d.into())) + // Standard Error: 140_763 + .saturating_add(Weight::from_parts(5_867_639, 0).saturating_mul(v.into())) + // Standard Error: 14_391_126 + .saturating_add(Weight::from_parts(1_533_449_212, 0).saturating_mul(d.into())) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -67,12 +67,12 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_050_990 nanoseconds. - Weight::from_parts(5_084_143_000, 0) + // Minimum execution time: 4_792_106_000 picoseconds. + Weight::from_parts(4_828_210_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 151_814 - .saturating_add(Weight::from_parts(5_869_433, 0).saturating_mul(v.into())) - // Standard Error: 15_521_006 - .saturating_add(Weight::from_parts(1_798_999_843, 0).saturating_mul(d.into())) + // Standard Error: 148_454 + .saturating_add(Weight::from_parts(5_671_403, 0).saturating_mul(v.into())) + // Standard Error: 15_177_501 + .saturating_add(Weight::from_parts(1_768_408_399, 0).saturating_mul(d.into())) } } diff --git a/runtime/westend/src/weights/frame_system.rs b/runtime/westend/src/weights/frame_system.rs index bd9bb61e34c6..f4ecb24a4316 100644 --- a/runtime/westend/src/weights/frame_system.rs +++ b/runtime/westend/src/weights/frame_system.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -50,22 +50,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_675 nanoseconds. - Weight::from_parts(1_706_000, 0) + // Minimum execution time: 2_117_000 picoseconds. + Weight::from_parts(2_150_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(368, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(369, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_568 nanoseconds. - Weight::from_parts(7_764_000, 0) + // Minimum execution time: 7_554_000 picoseconds. + Weight::from_parts(7_723_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(1_742, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_426, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) @@ -74,10 +74,10 @@ impl frame_system::WeightInfo for WeightInfo { fn set_heap_pages() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `495` - // Minimum execution time: 3_919 nanoseconds. - Weight::from_parts(4_109_000, 0) - .saturating_add(Weight::from_parts(0, 495)) + // Estimated: `1485` + // Minimum execution time: 4_120_000 picoseconds. + Weight::from_parts(4_351_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,11 +88,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_817 nanoseconds. - Weight::from_parts(1_883_000, 0) + // Minimum execution time: 2_191_000 picoseconds. + Weight::from_parts(2_264_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_018 - .saturating_add(Weight::from_parts(671_252, 0).saturating_mul(i.into())) + // Standard Error: 1_798 + .saturating_add(Weight::from_parts(677_191, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -102,11 +102,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_856 nanoseconds. - Weight::from_parts(1_924_000, 0) + // Minimum execution time: 2_198_000 picoseconds. + Weight::from_parts(2_287_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 760 - .saturating_add(Weight::from_parts(487_035, 0).saturating_mul(i.into())) + // Standard Error: 784 + .saturating_add(Weight::from_parts(492_885, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -116,11 +116,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `132 + p * (69 ±0)` // Estimated: `105 + p * (70 ±0)` - // Minimum execution time: 3_689 nanoseconds. - Weight::from_parts(3_811_000, 0) + // Minimum execution time: 4_176_000 picoseconds. + Weight::from_parts(4_323_000, 0) .saturating_add(Weight::from_parts(0, 105)) - // Standard Error: 975 - .saturating_add(Weight::from_parts(1_001_061, 0).saturating_mul(p.into())) + // Standard Error: 1_043 + .saturating_add(Weight::from_parts(1_028_349, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/westend/src/weights/pallet_bags_list.rs b/runtime/westend/src/weights/pallet_bags_list.rs index ecabb686d9d4..911397783c69 100644 --- a/runtime/westend/src/weights/pallet_bags_list.rs +++ b/runtime/westend/src/weights/pallet_bags_list.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl pallet_bags_list::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn rebag_non_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `1848` - // Estimated: `19186` - // Minimum execution time: 59_887 nanoseconds. - Weight::from_parts(60_724_000, 0) - .saturating_add(Weight::from_parts(0, 19186)) + // Measured: `1656` + // Estimated: `23146` + // Minimum execution time: 59_562_000 picoseconds. + Weight::from_parts(60_185_000, 0) + .saturating_add(Weight::from_parts(0, 23146)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -73,11 +73,11 @@ impl pallet_bags_list::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn rebag_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `1742` - // Estimated: `19114` - // Minimum execution time: 58_432 nanoseconds. - Weight::from_parts(58_798_000, 0) - .saturating_add(Weight::from_parts(0, 19114)) + // Measured: `1550` + // Estimated: `23074` + // Minimum execution time: 57_846_000 picoseconds. + Weight::from_parts(58_716_000, 0) + .saturating_add(Weight::from_parts(0, 23074)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -93,11 +93,11 @@ impl pallet_bags_list::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn put_in_front_of() -> Weight { // Proof Size summary in bytes: - // Measured: `2085` - // Estimated: `25798` - // Minimum execution time: 64_755 nanoseconds. - Weight::from_parts(66_216_000, 0) - .saturating_add(Weight::from_parts(0, 25798)) + // Measured: `1861` + // Estimated: `30748` + // Minimum execution time: 64_489_000 picoseconds. + Weight::from_parts(65_101_000, 0) + .saturating_add(Weight::from_parts(0, 30748)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/westend/src/weights/pallet_balances.rs b/runtime/westend/src/weights/pallet_balances.rs index d39789effcce..10582a691dce 100644 --- a/runtime/westend/src/weights/pallet_balances.rs +++ b/runtime/westend/src/weights/pallet_balances.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -49,11 +49,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1741` - // Estimated: `2603` - // Minimum execution time: 51_250 nanoseconds. - Weight::from_parts(51_736_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 33_929_000 picoseconds. + Weight::from_parts(34_323_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -61,11 +61,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `1558` - // Estimated: `2603` - // Minimum execution time: 39_169 nanoseconds. - Weight::from_parts(39_913_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 25_773_000 picoseconds. + Weight::from_parts(26_215_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -73,11 +73,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `1775` - // Estimated: `2603` - // Minimum execution time: 28_148 nanoseconds. - Weight::from_parts(28_912_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 16_040_000 picoseconds. + Weight::from_parts(16_350_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -85,11 +85,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_balance_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `1775` - // Estimated: `2603` - // Minimum execution time: 32_281 nanoseconds. - Weight::from_parts(32_957_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 19_096_000 picoseconds. + Weight::from_parts(19_568_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -97,11 +97,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1737` - // Estimated: `5206` - // Minimum execution time: 51_442 nanoseconds. - Weight::from_parts(51_824_000, 0) - .saturating_add(Weight::from_parts(0, 5206)) + // Measured: `103` + // Estimated: `6196` + // Minimum execution time: 35_297_000 picoseconds. + Weight::from_parts(36_474_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -109,11 +109,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `1558` - // Estimated: `2603` - // Minimum execution time: 45_698 nanoseconds. - Weight::from_parts(46_221_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 31_735_000 picoseconds. + Weight::from_parts(32_471_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -121,11 +121,11 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `1592` - // Estimated: `2603` - // Minimum execution time: 25_042 nanoseconds. - Weight::from_parts(25_410_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 14_774_000 picoseconds. + Weight::from_parts(14_971_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs index 9ad3580f427c..fbb825068b36 100644 --- a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -64,10 +64,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_nothing() -> Weight { // Proof Size summary in bytes: // Measured: `919` - // Estimated: `6908` - // Minimum execution time: 17_448 nanoseconds. - Weight::from_parts(17_974_000, 0) - .saturating_add(Weight::from_parts(0, 6908)) + // Estimated: `14828` + // Minimum execution time: 16_662_000 picoseconds. + Weight::from_parts(17_483_000, 0) + .saturating_add(Weight::from_parts(0, 14828)) .saturating_add(T::DbWeight::get().reads(8)) } /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) @@ -77,10 +77,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_open_signed() -> Weight { // Proof Size summary in bytes: // Measured: `6` - // Estimated: `1002` - // Minimum execution time: 11_902 nanoseconds. - Weight::from_parts(12_229_000, 0) - .saturating_add(Weight::from_parts(0, 1002)) + // Estimated: `2982` + // Minimum execution time: 11_256_000 picoseconds. + Weight::from_parts(11_601_000, 0) + .saturating_add(Weight::from_parts(0, 2982)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,10 +91,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn on_initialize_open_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `6` - // Estimated: `1002` - // Minimum execution time: 13_259 nanoseconds. - Weight::from_parts(13_588_000, 0) - .saturating_add(Weight::from_parts(0, 1002)) + // Estimated: `2982` + // Minimum execution time: 12_467_000 picoseconds. + Weight::from_parts(12_655_000, 0) + .saturating_add(Weight::from_parts(0, 2982)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,11 +104,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured) fn finalize_signed_phase_accept_solution() -> Weight { // Proof Size summary in bytes: - // Measured: `206` - // Estimated: `2809` - // Minimum execution time: 25_278 nanoseconds. - Weight::from_parts(25_491_000, 0) - .saturating_add(Weight::from_parts(0, 2809)) + // Measured: `174` + // Estimated: `3767` + // Minimum execution time: 24_052_000 picoseconds. + Weight::from_parts(24_490_000, 0) + .saturating_add(Weight::from_parts(0, 3767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,11 +116,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn finalize_signed_phase_reject_solution() -> Weight { // Proof Size summary in bytes: - // Measured: `206` - // Estimated: `2603` - // Minimum execution time: 17_235 nanoseconds. - Weight::from_parts(17_897_000, 0) - .saturating_add(Weight::from_parts(0, 2603)) + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 16_659_000 picoseconds. + Weight::from_parts(17_066_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -136,11 +136,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 469_631 nanoseconds. - Weight::from_parts(482_168_000, 0) + // Minimum execution time: 461_097_000 picoseconds. + Weight::from_parts(475_784_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_574 - .saturating_add(Weight::from_parts(277_913, 0).saturating_mul(v.into())) + // Standard Error: 2_575 + .saturating_add(Weight::from_parts(276_685, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -167,15 +167,15 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn elect_queued(a: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + a * (768 ±0) + d * (48 ±0)` - // Estimated: `9102 + a * (6912 ±0) + d * (441 ±0)` - // Minimum execution time: 286_476 nanoseconds. - Weight::from_parts(75_074_488, 0) - .saturating_add(Weight::from_parts(0, 9102)) - // Standard Error: 4_060 - .saturating_add(Weight::from_parts(349_006, 0).saturating_mul(a.into())) - // Standard Error: 6_085 - .saturating_add(Weight::from_parts(131_457, 0).saturating_mul(d.into())) + // Measured: `229 + a * (768 ±0) + d * (48 ±0)` + // Estimated: `16752 + a * (6912 ±0) + d * (441 ±0)` + // Minimum execution time: 286_512_000 picoseconds. + Weight::from_parts(66_659_098, 0) + .saturating_add(Weight::from_parts(0, 16752)) + // Standard Error: 3_982 + .saturating_add(Weight::from_parts(353_694, 0).saturating_mul(a.into())) + // Standard Error: 5_969 + .saturating_add(Weight::from_parts(143_530, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(Weight::from_parts(0, 6912).saturating_mul(a.into())) @@ -195,11 +195,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured) fn submit() -> Weight { // Proof Size summary in bytes: - // Measured: `7400` - // Estimated: `39491` - // Minimum execution time: 51_857 nanoseconds. - Weight::from_parts(52_335_000, 0) - .saturating_add(Weight::from_parts(0, 39491)) + // Measured: `7368` + // Estimated: `44281` + // Minimum execution time: 49_335_000 picoseconds. + Weight::from_parts(50_017_000, 0) + .saturating_add(Weight::from_parts(0, 44281)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -213,53 +213,53 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) - /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) + /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `142 + v * (553 ±0) + t * (32 ±0)` - // Estimated: `4459 + v * (3871 ±0) + t * (224 ±0)` - // Minimum execution time: 5_318_645 nanoseconds. - Weight::from_parts(5_344_057_000, 0) - .saturating_add(Weight::from_parts(0, 4459)) - // Standard Error: 16_918 - .saturating_add(Weight::from_parts(74_831, 0).saturating_mul(v.into())) - // Standard Error: 50_136 - .saturating_add(Weight::from_parts(5_004_341, 0).saturating_mul(a.into())) + // Measured: `110 + v * (553 ±0) + t * (32 ±0)` + // Estimated: `11165 + v * (3871 ±0) + t * (224 ±0)` + // Minimum execution time: 4_986_312_000 picoseconds. + Weight::from_parts(5_030_772_000, 0) + .saturating_add(Weight::from_parts(0, 11165)) + // Standard Error: 17_457 + .saturating_add(Weight::from_parts(162_292, 0).saturating_mul(v.into())) + // Standard Error: 51_732 + .saturating_add(Weight::from_parts(4_505_524, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 3871).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 224).saturating_mul(t.into())) } - /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) - /// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) - /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0) /// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ElectionProviderMultiPhase Round (r:1 w:0) + /// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0) + /// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `117 + v * (553 ±0) + t * (32 ±0)` - // Estimated: `2448 + v * (2212 ±0) + t * (128 ±0)` - // Minimum execution time: 4_570_612 nanoseconds. - Weight::from_parts(4_595_904_000, 0) - .saturating_add(Weight::from_parts(0, 2448)) - // Standard Error: 13_748 - .saturating_add(Weight::from_parts(157_036, 0).saturating_mul(v.into())) - // Standard Error: 40_743 - .saturating_add(Weight::from_parts(3_886_610, 0).saturating_mul(a.into())) + // Measured: `85 + v * (553 ±0) + t * (32 ±0)` + // Estimated: `6280 + v * (2212 ±0) + t * (128 ±0)` + // Minimum execution time: 4_200_429_000 picoseconds. + Weight::from_parts(4_225_730_000, 0) + .saturating_add(Weight::from_parts(0, 6280)) + // Standard Error: 13_976 + .saturating_add(Weight::from_parts(232_217, 0).saturating_mul(v.into())) + // Standard Error: 41_417 + .saturating_add(Weight::from_parts(3_352_123, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(Weight::from_parts(0, 2212).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 128).saturating_mul(t.into())) diff --git a/runtime/westend/src/weights/pallet_fast_unstake.rs b/runtime/westend/src/weights/pallet_fast_unstake.rs index 6510a4b8f533..87aa31fd0095 100644 --- a/runtime/westend/src/weights/pallet_fast_unstake.rs +++ b/runtime/westend/src/weights/pallet_fast_unstake.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_fast_unstake` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -76,18 +76,18 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// The range of component `b` is `[1, 64]`. fn on_idle_unstake(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1160 + b * (376 ±0)` - // Estimated: `8345 + b * (17706 ±0)` - // Minimum execution time: 76_955 nanoseconds. - Weight::from_parts(51_550_896, 0) - .saturating_add(Weight::from_parts(0, 8345)) - // Standard Error: 49_968 - .saturating_add(Weight::from_parts(41_612_399, 0).saturating_mul(b.into())) + // Measured: `1128 + b * (344 ±0)` + // Estimated: `20161 + b * (17642 ±0)` + // Minimum execution time: 74_865_000 picoseconds. + Weight::from_parts(35_147_910, 0) + .saturating_add(Weight::from_parts(0, 20161)) + // Standard Error: 30_715 + .saturating_add(Weight::from_parts(41_160_559, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 17706).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 17642).saturating_mul(b.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) /// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -107,19 +107,19 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// The range of component `b` is `[1, 64]`. fn on_idle_check(v: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1374 + v * (2517 ±0) + b * (48 ±0)` - // Estimated: `11002 + v * (7511 ±0) + b * (98 ±0)` - // Minimum execution time: 785_089 nanoseconds. - Weight::from_parts(787_821_000, 0) - .saturating_add(Weight::from_parts(0, 11002)) - // Standard Error: 6_537_112 - .saturating_add(Weight::from_parts(209_763_687, 0).saturating_mul(v.into())) - // Standard Error: 26_155_732 - .saturating_add(Weight::from_parts(810_490_010, 0).saturating_mul(b.into())) + // Measured: `1342 + v * (2485 ±0) + b * (48 ±0)` + // Estimated: `17868 + v * (7447 ±0) + b * (98 ±0)` + // Minimum execution time: 665_513_000 picoseconds. + Weight::from_parts(670_182_000, 0) + .saturating_add(Weight::from_parts(0, 17868)) + // Standard Error: 4_191_615 + .saturating_add(Weight::from_parts(134_997_267, 0).saturating_mul(v.into())) + // Standard Error: 16_771_129 + .saturating_add(Weight::from_parts(527_468_579, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 7511).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 7447).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 98).saturating_mul(b.into())) } /// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) @@ -152,11 +152,11 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn register_fast_unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `1992` - // Estimated: `29234` - // Minimum execution time: 111_625 nanoseconds. - Weight::from_parts(112_568_000, 0) - .saturating_add(Weight::from_parts(0, 29234)) + // Measured: `1864` + // Estimated: `43094` + // Minimum execution time: 109_031_000 picoseconds. + Weight::from_parts(110_490_000, 0) + .saturating_add(Weight::from_parts(0, 43094)) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -172,11 +172,11 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo /// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn deregister() -> Weight { // Proof Size summary in bytes: - // Measured: `1220` - // Estimated: `10677` - // Minimum execution time: 42_563 nanoseconds. - Weight::from_parts(43_047_000, 0) - .saturating_add(Weight::from_parts(0, 10677)) + // Measured: `1156` + // Estimated: `15627` + // Minimum execution time: 40_614_000 picoseconds. + Weight::from_parts(41_064_000, 0) + .saturating_add(Weight::from_parts(0, 15627)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -186,8 +186,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_676 nanoseconds. - Weight::from_parts(2_825_000, 0) + // Minimum execution time: 2_782_000 picoseconds. + Weight::from_parts(2_872_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_identity.rs b/runtime/westend/src/weights/pallet_identity.rs index ee90b80c29ad..c3d24a95d297 100644 --- a/runtime/westend/src/weights/pallet_identity.rs +++ b/runtime/westend/src/weights/pallet_identity.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `64 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 11_675 nanoseconds. - Weight::from_parts(12_539_616, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_875 - .saturating_add(Weight::from_parts(113_199, 0).saturating_mul(r.into())) + // Measured: `32 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 11_853_000 picoseconds. + Weight::from_parts(12_624_097, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 2_065 + .saturating_add(Weight::from_parts(100_367, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -66,15 +66,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `474 + r * (5 ±0)` - // Estimated: `10013` - // Minimum execution time: 29_044 nanoseconds. - Weight::from_parts(29_062_250, 0) - .saturating_add(Weight::from_parts(0, 10013)) - // Standard Error: 5_693 - .saturating_add(Weight::from_parts(78_081, 0).saturating_mul(r.into())) - // Standard Error: 1_110 - .saturating_add(Weight::from_parts(458_837, 0).saturating_mul(x.into())) + // Measured: `442 + r * (5 ±0)` + // Estimated: `11003` + // Minimum execution time: 29_553_000 picoseconds. + Weight::from_parts(29_405_525, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 3_326 + .saturating_add(Weight::from_parts(44_863, 0).saturating_mul(r.into())) + // Standard Error: 649 + .saturating_add(Weight::from_parts(445_097, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,12 +88,12 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `101` - // Estimated: `15746 + s * (2589 ±0)` - // Minimum execution time: 9_098 nanoseconds. - Weight::from_parts(22_624_884, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 3_865 - .saturating_add(Weight::from_parts(2_735_607, 0).saturating_mul(s.into())) + // Estimated: `18716 + s * (2589 ±0)` + // Minimum execution time: 9_172_000 picoseconds. + Weight::from_parts(20_099_144, 0) + .saturating_add(Weight::from_parts(0, 18716)) + // Standard Error: 9_266 + .saturating_add(Weight::from_parts(2_790_589, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -109,13 +109,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `226 + p * (32 ±0)` - // Estimated: `15746` - // Minimum execution time: 8_814 nanoseconds. - Weight::from_parts(22_140_295, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 3_600 - .saturating_add(Weight::from_parts(1_108_458, 0).saturating_mul(p.into())) + // Measured: `194 + p * (32 ±0)` + // Estimated: `17726` + // Minimum execution time: 9_445_000 picoseconds. + Weight::from_parts(22_087_455, 0) + .saturating_add(Weight::from_parts(0, 17726)) + // Standard Error: 3_133 + .saturating_add(Weight::from_parts(1_071_467, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -131,17 +131,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `15746` - // Minimum execution time: 49_319 nanoseconds. - Weight::from_parts(28_073_986, 0) - .saturating_add(Weight::from_parts(0, 15746)) - // Standard Error: 6_192 - .saturating_add(Weight::from_parts(62_200, 0).saturating_mul(r.into())) - // Standard Error: 1_209 - .saturating_add(Weight::from_parts(1_122_770, 0).saturating_mul(s.into())) - // Standard Error: 1_209 - .saturating_add(Weight::from_parts(225_189, 0).saturating_mul(x.into())) + // Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `17726` + // Minimum execution time: 51_155_000 picoseconds. + Weight::from_parts(28_947_629, 0) + .saturating_add(Weight::from_parts(0, 17726)) + // Standard Error: 5_808 + .saturating_add(Weight::from_parts(29_448, 0).saturating_mul(r.into())) + // Standard Error: 1_134 + .saturating_add(Weight::from_parts(1_073_890, 0).saturating_mul(s.into())) + // Standard Error: 1_134 + .saturating_add(Weight::from_parts(248_483, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -154,15 +154,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `431 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11649` - // Minimum execution time: 30_208 nanoseconds. - Weight::from_parts(28_731_902, 0) - .saturating_add(Weight::from_parts(0, 11649)) - // Standard Error: 5_027 - .saturating_add(Weight::from_parts(127_894, 0).saturating_mul(r.into())) - // Standard Error: 981 - .saturating_add(Weight::from_parts(474_811, 0).saturating_mul(x.into())) + // Measured: `367 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `13629` + // Minimum execution time: 30_053_000 picoseconds. + Weight::from_parts(30_566_049, 0) + .saturating_add(Weight::from_parts(0, 13629)) + // Standard Error: 22_362 + .saturating_add(Weight::from_parts(27_897, 0).saturating_mul(r.into())) + // Standard Error: 4_363 + .saturating_add(Weight::from_parts(473_323, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -172,15 +172,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `430 + x * (66 ±0)` - // Estimated: `10013` - // Minimum execution time: 27_041 nanoseconds. - Weight::from_parts(26_760_677, 0) - .saturating_add(Weight::from_parts(0, 10013)) - // Standard Error: 7_122 - .saturating_add(Weight::from_parts(62_459, 0).saturating_mul(r.into())) - // Standard Error: 1_389 - .saturating_add(Weight::from_parts(468_208, 0).saturating_mul(x.into())) + // Measured: `398 + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 27_006_000 picoseconds. + Weight::from_parts(27_888_979, 0) + .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 5_569 + .saturating_add(Weight::from_parts(44_118, 0).saturating_mul(r.into())) + // Standard Error: 1_086 + .saturating_add(Weight::from_parts(461_409, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,13 +189,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_140 nanoseconds. - Weight::from_parts(7_733_950, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_671 - .saturating_add(Weight::from_parts(110_862, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_438_000 picoseconds. + Weight::from_parts(7_964_226, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_334 + .saturating_add(Weight::from_parts(104_852, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -204,13 +204,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_292 nanoseconds. - Weight::from_parts(7_744_432, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_228 - .saturating_add(Weight::from_parts(103_386, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_590_000 picoseconds. + Weight::from_parts(8_044_244, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_371 + .saturating_add(Weight::from_parts(96_091, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -219,13 +219,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `121 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_335 nanoseconds. - Weight::from_parts(7_713_621, 0) - .saturating_add(Weight::from_parts(0, 1636)) - // Standard Error: 1_281 - .saturating_add(Weight::from_parts(99_586, 0).saturating_mul(r.into())) + // Measured: `89 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_539_000 picoseconds. + Weight::from_parts(7_976_798, 0) + .saturating_add(Weight::from_parts(0, 2626)) + // Standard Error: 1_330 + .saturating_add(Weight::from_parts(104_027, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -237,15 +237,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `509 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11649` - // Minimum execution time: 23_161 nanoseconds. - Weight::from_parts(22_446_907, 0) - .saturating_add(Weight::from_parts(0, 11649)) - // Standard Error: 5_391 - .saturating_add(Weight::from_parts(112_497, 0).saturating_mul(r.into())) - // Standard Error: 997 - .saturating_add(Weight::from_parts(769_392, 0).saturating_mul(x.into())) + // Measured: `445 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `13629` + // Minimum execution time: 23_243_000 picoseconds. + Weight::from_parts(23_272_605, 0) + .saturating_add(Weight::from_parts(0, 13629)) + // Standard Error: 5_108 + .saturating_add(Weight::from_parts(60_698, 0).saturating_mul(r.into())) + // Standard Error: 945 + .saturating_add(Weight::from_parts(752_163, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -262,17 +262,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `772 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `18349` - // Minimum execution time: 54_015 nanoseconds. - Weight::from_parts(32_925_712, 0) - .saturating_add(Weight::from_parts(0, 18349)) - // Standard Error: 7_533 - .saturating_add(Weight::from_parts(63_262, 0).saturating_mul(r.into())) - // Standard Error: 1_471 - .saturating_add(Weight::from_parts(1_155_232, 0).saturating_mul(s.into())) - // Standard Error: 1_471 - .saturating_add(Weight::from_parts(226_801, 0).saturating_mul(x.into())) + // Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `21319` + // Minimum execution time: 54_234_000 picoseconds. + Weight::from_parts(33_805_119, 0) + .saturating_add(Weight::from_parts(0, 21319)) + // Standard Error: 4_990 + .saturating_add(Weight::from_parts(30_172, 0).saturating_mul(r.into())) + // Standard Error: 974 + .saturating_add(Weight::from_parts(1_089_293, 0).saturating_mul(s.into())) + // Standard Error: 974 + .saturating_add(Weight::from_parts(227_585, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -286,13 +286,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `507 + s * (36 ±0)` - // Estimated: `18335` - // Minimum execution time: 26_638 nanoseconds. - Weight::from_parts(31_911_936, 0) - .saturating_add(Weight::from_parts(0, 18335)) - // Standard Error: 1_403 - .saturating_add(Weight::from_parts(68_428, 0).saturating_mul(s.into())) + // Measured: `475 + s * (36 ±0)` + // Estimated: `21305` + // Minimum execution time: 26_742_000 picoseconds. + Weight::from_parts(31_886_701, 0) + .saturating_add(Weight::from_parts(0, 21305)) + // Standard Error: 1_475 + .saturating_add(Weight::from_parts(62_995, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -303,13 +303,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `623 + s * (3 ±0)` - // Estimated: `12602` - // Minimum execution time: 12_649 nanoseconds. - Weight::from_parts(14_714_076, 0) - .saturating_add(Weight::from_parts(0, 12602)) - // Standard Error: 739 - .saturating_add(Weight::from_parts(15_226, 0).saturating_mul(s.into())) + // Measured: `591 + s * (3 ±0)` + // Estimated: `14582` + // Minimum execution time: 13_510_000 picoseconds. + Weight::from_parts(15_408_702, 0) + .saturating_add(Weight::from_parts(0, 14582)) + // Standard Error: 588 + .saturating_add(Weight::from_parts(17_385, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -322,13 +322,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `702 + s * (35 ±0)` - // Estimated: `18335` - // Minimum execution time: 30_152 nanoseconds. - Weight::from_parts(33_576_799, 0) - .saturating_add(Weight::from_parts(0, 18335)) - // Standard Error: 937 - .saturating_add(Weight::from_parts(52_181, 0).saturating_mul(s.into())) + // Measured: `638 + s * (35 ±0)` + // Estimated: `21305` + // Minimum execution time: 30_105_000 picoseconds. + Weight::from_parts(33_643_244, 0) + .saturating_add(Weight::from_parts(0, 21305)) + // Standard Error: 1_076 + .saturating_add(Weight::from_parts(52_521, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -339,13 +339,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `628 + s * (37 ±0)` - // Estimated: `8322` - // Minimum execution time: 19_192 nanoseconds. - Weight::from_parts(21_910_906, 0) - .saturating_add(Weight::from_parts(0, 8322)) - // Standard Error: 1_053 - .saturating_add(Weight::from_parts(53_639, 0).saturating_mul(s.into())) + // Measured: `564 + s * (37 ±0)` + // Estimated: `10302` + // Minimum execution time: 19_617_000 picoseconds. + Weight::from_parts(21_943_800, 0) + .saturating_add(Weight::from_parts(0, 10302)) + // Standard Error: 959 + .saturating_add(Weight::from_parts(57_187, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/westend/src/weights/pallet_im_online.rs b/runtime/westend/src/weights/pallet_im_online.rs index 7666aab3e8a3..580eaded1aa0 100644 --- a/runtime/westend/src/weights/pallet_im_online.rs +++ b/runtime/westend/src/weights/pallet_im_online.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -59,18 +59,18 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `425 + k * (32 ±0)` - // Estimated: `10345844 + k * (64 ±0) + e * (25 ±0)` - // Minimum execution time: 91_212 nanoseconds. - Weight::from_parts(72_601_149, 0) - .saturating_add(Weight::from_parts(0, 10345844)) - // Standard Error: 256 - .saturating_add(Weight::from_parts(23_275, 0).saturating_mul(k.into())) - // Standard Error: 2_588 - .saturating_add(Weight::from_parts(387_376, 0).saturating_mul(e.into())) + // Measured: `361 + k * (32 ±0)` + // Estimated: `10349676 + k * (64 ±0) + e * (35 ±0)` + // Minimum execution time: 91_179_000 picoseconds. + Weight::from_parts(72_437_018, 0) + .saturating_add(Weight::from_parts(0, 10349676)) + // Standard Error: 280 + .saturating_add(Weight::from_parts(23_055, 0).saturating_mul(k.into())) + // Standard Error: 2_822 + .saturating_add(Weight::from_parts(398_944, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(k.into())) - .saturating_add(Weight::from_parts(0, 25).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into())) } } diff --git a/runtime/westend/src/weights/pallet_indices.rs b/runtime/westend/src/weights/pallet_indices.rs index 7456034e27cc..f108b7d90d28 100644 --- a/runtime/westend/src/weights/pallet_indices.rs +++ b/runtime/westend/src/weights/pallet_indices.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -50,10 +50,10 @@ impl pallet_indices::WeightInfo for WeightInfo { fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `142` - // Estimated: `2544` - // Minimum execution time: 20_043 nanoseconds. - Weight::from_parts(20_524_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Estimated: `3534` + // Minimum execution time: 20_790_000 picoseconds. + Weight::from_parts(21_183_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,11 +63,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `5147` - // Minimum execution time: 25_756 nanoseconds. - Weight::from_parts(26_328_000, 0) - .saturating_add(Weight::from_parts(0, 5147)) + // Measured: `341` + // Estimated: `7127` + // Minimum execution time: 27_029_000 picoseconds. + Weight::from_parts(27_302_000, 0) + .saturating_add(Weight::from_parts(0, 7127)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn free() -> Weight { // Proof Size summary in bytes: - // Measured: `270` - // Estimated: `2544` - // Minimum execution time: 21_115 nanoseconds. - Weight::from_parts(21_969_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Measured: `238` + // Estimated: `3534` + // Minimum execution time: 21_830_000 picoseconds. + Weight::from_parts(22_172_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -89,11 +89,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `405` - // Estimated: `5147` - // Minimum execution time: 23_431 nanoseconds. - Weight::from_parts(23_760_000, 0) - .saturating_add(Weight::from_parts(0, 5147)) + // Measured: `341` + // Estimated: `7127` + // Minimum execution time: 24_068_000 picoseconds. + Weight::from_parts(24_485_000, 0) + .saturating_add(Weight::from_parts(0, 7127)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -101,11 +101,11 @@ impl pallet_indices::WeightInfo for WeightInfo { /// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `270` - // Estimated: `2544` - // Minimum execution time: 23_719 nanoseconds. - Weight::from_parts(24_080_000, 0) - .saturating_add(Weight::from_parts(0, 2544)) + // Measured: `238` + // Estimated: `3534` + // Minimum execution time: 24_057_000 picoseconds. + Weight::from_parts(24_556_000, 0) + .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_multisig.rs b/runtime/westend/src/weights/pallet_multisig.rs index 5e9bf15de318..41fd4cd31551 100644 --- a/runtime/westend/src/weights/pallet_multisig.rs +++ b/runtime/westend/src/weights/pallet_multisig.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -50,11 +50,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_271 nanoseconds. - Weight::from_parts(12_669_904, 0) + // Minimum execution time: 11_946_000 picoseconds. + Weight::from_parts(12_175_340, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(556, 0).saturating_mul(z.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(468, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -62,15 +62,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `395 + s * (2 ±0)` - // Estimated: `5821` - // Minimum execution time: 38_074 nanoseconds. - Weight::from_parts(31_174_864, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 609 - .saturating_add(Weight::from_parts(73_824, 0).saturating_mul(s.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_584, 0).saturating_mul(z.into())) + // Measured: `309 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 35_861_000 picoseconds. + Weight::from_parts(30_580_950, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 637 + .saturating_add(Weight::from_parts(62_156, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_208, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,15 +80,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `317` - // Estimated: `5821` - // Minimum execution time: 28_082 nanoseconds. - Weight::from_parts(22_085_278, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 711 - .saturating_add(Weight::from_parts(72_605, 0).saturating_mul(s.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_523, 0).saturating_mul(z.into())) + // Measured: `286` + // Estimated: `6811` + // Minimum execution time: 26_907_000 picoseconds. + Weight::from_parts(21_329_833, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 416 + .saturating_add(Weight::from_parts(61_251, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_161, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,15 +100,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `455 + s * (33 ±0)` - // Estimated: `8424` - // Minimum execution time: 42_802 nanoseconds. - Weight::from_parts(34_774_719, 0) - .saturating_add(Weight::from_parts(0, 8424)) - // Standard Error: 450 - .saturating_add(Weight::from_parts(87_427, 0).saturating_mul(s.into())) + // Measured: `392 + s * (33 ±0)` + // Estimated: `10404` + // Minimum execution time: 41_090_000 picoseconds. + Weight::from_parts(34_147_317, 0) + .saturating_add(Weight::from_parts(0, 10404)) + // Standard Error: 502 + .saturating_add(Weight::from_parts(72_808, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_575, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_216, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,13 +117,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `405 + s * (2 ±0)` - // Estimated: `5821` - // Minimum execution time: 28_126 nanoseconds. - Weight::from_parts(29_606_606, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 830 - .saturating_add(Weight::from_parts(79_120, 0).saturating_mul(s.into())) + // Measured: `314 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 28_261_000 picoseconds. + Weight::from_parts(29_118_127, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 651 + .saturating_add(Weight::from_parts(65_508, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -132,13 +132,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `317` - // Estimated: `5821` - // Minimum execution time: 18_249 nanoseconds. - Weight::from_parts(19_695_213, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 662 - .saturating_add(Weight::from_parts(77_485, 0).saturating_mul(s.into())) + // Measured: `286` + // Estimated: `6811` + // Minimum execution time: 18_462_000 picoseconds. + Weight::from_parts(19_616_897, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 486 + .saturating_add(Weight::from_parts(61_566, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -147,13 +147,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `521 + s * (1 ±0)` - // Estimated: `5821` - // Minimum execution time: 29_871 nanoseconds. - Weight::from_parts(30_661_326, 0) - .saturating_add(Weight::from_parts(0, 5821)) - // Standard Error: 563 - .saturating_add(Weight::from_parts(75_613, 0).saturating_mul(s.into())) + // Measured: `458 + s * (1 ±0)` + // Estimated: `6811` + // Minimum execution time: 28_788_000 picoseconds. + Weight::from_parts(30_108_689, 0) + .saturating_add(Weight::from_parts(0, 6811)) + // Standard Error: 700 + .saturating_add(Weight::from_parts(67_165, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_nomination_pools.rs b/runtime/westend/src/weights/pallet_nomination_pools.rs index 5fce09838824..dfe4d5af1897 100644 --- a/runtime/westend/src/weights/pallet_nomination_pools.rs +++ b/runtime/westend/src/weights/pallet_nomination_pools.rs @@ -16,24 +16,22 @@ //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: -// target/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=westend-dev // --steps=50 // --repeat=20 +// --pallet=pallet_nomination_pools // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json -// --pallet=pallet_nomination_pools -// --chain=westend-dev // --header=./file_header.txt // --output=./runtime/westend/src/weights/ @@ -77,10 +75,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn join() -> Weight { // Proof Size summary in bytes: - // Measured: `3663` + // Measured: `3281` // Estimated: `52915` - // Minimum execution time: 152_798_000 picoseconds. - Weight::from_parts(154_136_000, 0) + // Minimum execution time: 154_312_000 picoseconds. + Weight::from_parts(156_224_000, 0) .saturating_add(Weight::from_parts(0, 52915)) .saturating_add(T::DbWeight::get().reads(18)) .saturating_add(T::DbWeight::get().writes(12)) @@ -107,10 +105,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn bond_extra_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `3705` + // Measured: `3291` // Estimated: `49550` - // Minimum execution time: 149_896_000 picoseconds. - Weight::from_parts(151_049_000, 0) + // Minimum execution time: 152_354_000 picoseconds. + Weight::from_parts(153_461_000, 0) .saturating_add(Weight::from_parts(0, 49550)) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(12)) @@ -139,10 +137,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn bond_extra_other() -> Weight { // Proof Size summary in bytes: - // Measured: `3504` + // Measured: `3186` // Estimated: `50427` - // Minimum execution time: 161_501_000 picoseconds. - Weight::from_parts(163_539_000, 0) + // Minimum execution time: 163_952_000 picoseconds. + Weight::from_parts(164_854_000, 0) .saturating_add(Weight::from_parts(0, 50427)) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(12)) @@ -161,10 +159,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim_payout() -> Weight { // Proof Size summary in bytes: - // Measured: `1297` + // Measured: `1137` // Estimated: `20012` - // Minimum execution time: 58_717_000 picoseconds. - Weight::from_parts(59_543_000, 0) + // Minimum execution time: 58_997_000 picoseconds. + Weight::from_parts(60_025_000, 0) .saturating_add(Weight::from_parts(0, 20012)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -201,10 +199,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools CounterForSubPoolsStorage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `3942` + // Measured: `3560` // Estimated: `59175` - // Minimum execution time: 154_589_000 picoseconds. - Weight::from_parts(155_708_000, 0) + // Minimum execution time: 157_363_000 picoseconds. + Weight::from_parts(158_903_000, 0) .saturating_add(Weight::from_parts(0, 59175)) .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().writes(13)) @@ -222,13 +220,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1710` + // Measured: `1614` // Estimated: `18031` - // Minimum execution time: 52_663_000 picoseconds. - Weight::from_parts(54_091_646, 0) + // Minimum execution time: 52_740_000 picoseconds. + Weight::from_parts(54_643_573, 0) .saturating_add(Weight::from_parts(0, 18031)) - // Standard Error: 2_889 - .saturating_add(Weight::from_parts(7_400, 0).saturating_mul(s.into())) + // Standard Error: 1_401 + .saturating_add(Weight::from_parts(3_342, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -255,13 +253,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2234` + // Measured: `2042` // Estimated: `31021` - // Minimum execution time: 101_113_000 picoseconds. - Weight::from_parts(103_367_891, 0) + // Minimum execution time: 101_534_000 picoseconds. + Weight::from_parts(103_720_636, 0) .saturating_add(Weight::from_parts(0, 31021)) - // Standard Error: 1_536 - .saturating_add(Weight::from_parts(9_937, 0).saturating_mul(s.into())) + // Standard Error: 1_467 + .saturating_add(Weight::from_parts(24_504, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -308,13 +306,15 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Storage: NominationPools ClaimPermissions (r:0 w:1) /// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(_s: u32, ) -> Weight { + fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2622` - // Estimated: `64001` - // Minimum execution time: 158_497_000 picoseconds. - Weight::from_parts(162_554_414, 0) - .saturating_add(Weight::from_parts(0, 64001)) + // Measured: `2398` + // Estimated: `63777` + // Minimum execution time: 160_704_000 picoseconds. + Weight::from_parts(163_586_296, 0) + .saturating_add(Weight::from_parts(0, 63777)) + // Standard Error: 2_517 + .saturating_add(Weight::from_parts(1_718, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(18)) } @@ -362,10 +362,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1254` + // Measured: `1222` // Estimated: `51890` - // Minimum execution time: 140_839_000 picoseconds. - Weight::from_parts(143_493_000, 0) + // Minimum execution time: 140_215_000 picoseconds. + Weight::from_parts(141_417_000, 0) .saturating_add(Weight::from_parts(0, 51890)) .saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().writes(15)) @@ -397,13 +397,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1843` + // Measured: `1779` // Estimated: `33934 + n * (2520 ±0)` - // Minimum execution time: 65_363_000 picoseconds. - Weight::from_parts(66_269_952, 0) + // Minimum execution time: 65_371_000 picoseconds. + Weight::from_parts(65_488_837, 0) .saturating_add(Weight::from_parts(0, 33934)) - // Standard Error: 10_011 - .saturating_add(Weight::from_parts(1_294_057, 0).saturating_mul(n.into())) + // Standard Error: 8_064 + .saturating_add(Weight::from_parts(1_355_723, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -417,10 +417,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) fn set_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1431` + // Measured: `1367` // Estimated: `11778` - // Minimum execution time: 36_747_000 picoseconds. - Weight::from_parts(37_477_000, 0) + // Minimum execution time: 36_303_000 picoseconds. + Weight::from_parts(36_810_000, 0) .saturating_add(Weight::from_parts(0, 11778)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -434,13 +434,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `529` + // Measured: `497` // Estimated: `8909` - // Minimum execution time: 14_658_000 picoseconds. - Weight::from_parts(15_258_809, 0) + // Minimum execution time: 14_287_000 picoseconds. + Weight::from_parts(14_970_241, 0) .saturating_add(Weight::from_parts(0, 8909)) - // Standard Error: 850 - .saturating_add(Weight::from_parts(3_615, 0).saturating_mul(n.into())) + // Standard Error: 123 + .saturating_add(Weight::from_parts(806, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -460,8 +460,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_314_000 picoseconds. - Weight::from_parts(6_573_000, 0) + // Minimum execution time: 6_120_000 picoseconds. + Weight::from_parts(6_585_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -469,10 +469,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen) fn update_roles() -> Weight { // Proof Size summary in bytes: - // Measured: `529` + // Measured: `497` // Estimated: `3685` - // Minimum execution time: 19_551_000 picoseconds. - Weight::from_parts(19_827_000, 0) + // Minimum execution time: 20_088_000 picoseconds. + Weight::from_parts(20_451_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -497,10 +497,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `2070` + // Measured: `1942` // Estimated: `29455` - // Minimum execution time: 63_836_000 picoseconds. - Weight::from_parts(64_440_000, 0) + // Minimum execution time: 63_514_000 picoseconds. + Weight::from_parts(64_160_000, 0) .saturating_add(Weight::from_parts(0, 29455)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) @@ -515,10 +515,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn set_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `832` + // Measured: `736` // Estimated: `12324` - // Minimum execution time: 32_116_000 picoseconds. - Weight::from_parts(32_651_000, 0) + // Minimum execution time: 33_264_000 picoseconds. + Weight::from_parts(33_633_000, 0) .saturating_add(Weight::from_parts(0, 12324)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -527,10 +527,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen) fn set_commission_max() -> Weight { // Proof Size summary in bytes: - // Measured: `569` + // Measured: `537` // Estimated: `3685` - // Minimum execution time: 18_582_000 picoseconds. - Weight::from_parts(19_029_000, 0) + // Minimum execution time: 19_288_000 picoseconds. + Weight::from_parts(19_539_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -539,10 +539,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: NominationPools BondedPools (max_values: None, max_size: Some(220), added: 2695, mode: MaxEncodedLen) fn set_commission_change_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `529` + // Measured: `497` // Estimated: `3685` - // Minimum execution time: 19_668_000 picoseconds. - Weight::from_parts(20_103_000, 0) + // Minimum execution time: 20_076_000 picoseconds. + Weight::from_parts(20_436_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -555,8 +555,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `508` // Estimated: `7688` - // Minimum execution time: 14_730_000 picoseconds. - Weight::from_parts(15_088_000, 0) + // Minimum execution time: 14_763_000 picoseconds. + Weight::from_parts(14_964_000, 0) .saturating_add(Weight::from_parts(0, 7688)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -571,10 +571,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `1062` + // Measured: `934` // Estimated: `12324` - // Minimum execution time: 47_120_000 picoseconds. - Weight::from_parts(47_597_000, 0) + // Minimum execution time: 46_959_000 picoseconds. + Weight::from_parts(48_242_000, 0) .saturating_add(Weight::from_parts(0, 12324)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/westend/src/weights/pallet_preimage.rs b/runtime/westend/src/weights/pallet_preimage.rs index 2dbafb1f71b7..8179ab43fcef 100644 --- a/runtime/westend/src/weights/pallet_preimage.rs +++ b/runtime/westend/src/weights/pallet_preimage.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -52,13 +52,13 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `213` - // Estimated: `2566` - // Minimum execution time: 26_332 nanoseconds. - Weight::from_parts(26_523_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `181` + // Estimated: `3556` + // Minimum execution time: 25_709_000 picoseconds. + Weight::from_parts(25_961_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_331, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_965, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -70,12 +70,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 16_527 nanoseconds. - Weight::from_parts(16_615_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 16_760_000 picoseconds. + Weight::from_parts(16_864_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_329, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_964, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,12 +87,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 15_795 nanoseconds. - Weight::from_parts(15_943_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 15_781_000 picoseconds. + Weight::from_parts(16_028_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_327, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_963, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -102,11 +102,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `391` - // Estimated: `2566` - // Minimum execution time: 33_007 nanoseconds. - Weight::from_parts(33_864_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `327` + // Estimated: `3556` + // Minimum execution time: 33_179_000 picoseconds. + Weight::from_parts(34_017_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,10 +117,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `182` - // Estimated: `2566` - // Minimum execution time: 20_702 nanoseconds. - Weight::from_parts(21_897_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 21_656_000 picoseconds. + Weight::from_parts(23_099_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -128,11 +128,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn request_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `258` - // Estimated: `2566` - // Minimum execution time: 18_832 nanoseconds. - Weight::from_parts(19_900_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Measured: `226` + // Estimated: `3556` + // Minimum execution time: 19_328_000 picoseconds. + Weight::from_parts(20_463_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -141,10 +141,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `182` - // Estimated: `2566` - // Minimum execution time: 11_561 nanoseconds. - Weight::from_parts(12_213_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 12_354_000 picoseconds. + Weight::from_parts(13_294_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -153,10 +153,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `80` - // Estimated: `2566` - // Minimum execution time: 12_670 nanoseconds. - Weight::from_parts(13_316_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 13_608_000 picoseconds. + Weight::from_parts(14_055_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -165,10 +165,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 8_232 nanoseconds. - Weight::from_parts(8_455_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 8_665_000 picoseconds. + Weight::from_parts(9_081_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -179,10 +179,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `182` - // Estimated: `2566` - // Minimum execution time: 19_508 nanoseconds. - Weight::from_parts(20_469_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 19_930_000 picoseconds. + Weight::from_parts(20_442_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -191,10 +191,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 8_487 nanoseconds. - Weight::from_parts(9_047_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 8_668_000 picoseconds. + Weight::from_parts(8_889_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,10 +203,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 8_421 nanoseconds. - Weight::from_parts(8_691_000, 0) - .saturating_add(Weight::from_parts(0, 2566)) + // Estimated: `3556` + // Minimum execution time: 8_461_000 picoseconds. + Weight::from_parts(8_830_000, 0) + .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_proxy.rs b/runtime/westend/src/weights/pallet_proxy.rs index 75ebc94c8cdb..007b3988bc52 100644 --- a/runtime/westend/src/weights/pallet_proxy.rs +++ b/runtime/westend/src/weights/pallet_proxy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 15_347 nanoseconds. - Weight::from_parts(15_780_294, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 837 - .saturating_add(Weight::from_parts(38_642, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 15_306_000 picoseconds. + Weight::from_parts(15_970_517, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_200 + .saturating_add(Weight::from_parts(35_584, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -69,15 +69,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `650 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `11027` - // Minimum execution time: 37_274 nanoseconds. - Weight::from_parts(38_291_200, 0) - .saturating_add(Weight::from_parts(0, 11027)) - // Standard Error: 5_000 - .saturating_add(Weight::from_parts(131_239, 0).saturating_mul(a.into())) - // Standard Error: 5_166 - .saturating_add(Weight::from_parts(23_237, 0).saturating_mul(p.into())) + // Measured: `554 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `13997` + // Minimum execution time: 36_735_000 picoseconds. + Weight::from_parts(38_433_418, 0) + .saturating_add(Weight::from_parts(0, 13997)) + // Standard Error: 4_494 + .saturating_add(Weight::from_parts(112_943, 0).saturating_mul(a.into())) + // Standard Error: 4_643 + .saturating_add(Weight::from_parts(12_633, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,17 +87,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, p: u32, ) -> Weight { + fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + a * (68 ±0)` - // Estimated: `7311` - // Minimum execution time: 21_081 nanoseconds. - Weight::from_parts(22_305_156, 0) - .saturating_add(Weight::from_parts(0, 7311)) - // Standard Error: 1_368 - .saturating_add(Weight::from_parts(156_042, 0).saturating_mul(a.into())) - // Standard Error: 1_413 - .saturating_add(Weight::from_parts(1_098, 0).saturating_mul(p.into())) + // Measured: `469 + a * (68 ±0)` + // Estimated: `9291` + // Minimum execution time: 21_549_000 picoseconds. + Weight::from_parts(22_450_104, 0) + .saturating_add(Weight::from_parts(0, 9291)) + // Standard Error: 1_348 + .saturating_add(Weight::from_parts(140_391, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,17 +105,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { + fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + a * (68 ±0)` - // Estimated: `7311` - // Minimum execution time: 21_085 nanoseconds. - Weight::from_parts(22_134_455, 0) - .saturating_add(Weight::from_parts(0, 7311)) - // Standard Error: 1_470 - .saturating_add(Weight::from_parts(158_283, 0).saturating_mul(a.into())) - // Standard Error: 1_519 - .saturating_add(Weight::from_parts(6_784, 0).saturating_mul(p.into())) + // Measured: `469 + a * (68 ±0)` + // Estimated: `9291` + // Minimum execution time: 21_050_000 picoseconds. + Weight::from_parts(22_414_628, 0) + .saturating_add(Weight::from_parts(0, 9291)) + // Standard Error: 1_435 + .saturating_add(Weight::from_parts(143_522, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -131,15 +127,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `582 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `11027` - // Minimum execution time: 29_959 nanoseconds. - Weight::from_parts(34_668_660, 0) - .saturating_add(Weight::from_parts(0, 11027)) - // Standard Error: 4_792 - .saturating_add(Weight::from_parts(142_266, 0).saturating_mul(a.into())) - // Standard Error: 4_951 - .saturating_add(Weight::from_parts(16_544, 0).saturating_mul(p.into())) + // Measured: `486 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `13997` + // Minimum execution time: 29_626_000 picoseconds. + Weight::from_parts(33_655_611, 0) + .saturating_add(Weight::from_parts(0, 13997)) + // Standard Error: 4_445 + .saturating_add(Weight::from_parts(132_160, 0).saturating_mul(a.into())) + // Standard Error: 4_593 + .saturating_add(Weight::from_parts(25_266, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -148,13 +144,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 22_615 nanoseconds. - Weight::from_parts(23_406_833, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_400 - .saturating_add(Weight::from_parts(61_266, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 22_666_000 picoseconds. + Weight::from_parts(23_370_832, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 4_012 + .saturating_add(Weight::from_parts(60_931, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,13 +159,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 22_549 nanoseconds. - Weight::from_parts(23_521_968, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_589 - .saturating_add(Weight::from_parts(61_407, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 21_903_000 picoseconds. + Weight::from_parts(23_684_579, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 3_512 + .saturating_add(Weight::from_parts(40_111, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,26 +174,28 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 17_911 nanoseconds. - Weight::from_parts(18_770_263, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_302 - .saturating_add(Weight::from_parts(24_471, 0).saturating_mul(p.into())) + // Measured: `227 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 18_131_000 picoseconds. + Weight::from_parts(18_751_108, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_194 + .saturating_add(Weight::from_parts(22_234, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Proxy Proxies (r:1 w:1) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn create_pure(_p: u32, ) -> Weight { + fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239` - // Estimated: `3716` - // Minimum execution time: 24_293 nanoseconds. - Weight::from_parts(25_926_875, 0) - .saturating_add(Weight::from_parts(0, 3716)) + // Estimated: `4706` + // Minimum execution time: 24_091_000 picoseconds. + Weight::from_parts(24_920_852, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_419 + .saturating_add(Weight::from_parts(10_596, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,13 +204,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `296 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 18_885 nanoseconds. - Weight::from_parts(19_514_850, 0) - .saturating_add(Weight::from_parts(0, 3716)) - // Standard Error: 1_244 - .saturating_add(Weight::from_parts(35_764, 0).saturating_mul(p.into())) + // Measured: `264 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 18_969_000 picoseconds. + Weight::from_parts(19_639_040, 0) + .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 1_197 + .saturating_add(Weight::from_parts(21_107, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_scheduler.rs b/runtime/westend/src/weights/pallet_scheduler.rs index 480f50945c8d..6e0a9fca8443 100644 --- a/runtime/westend/src/weights/pallet_scheduler.rs +++ b/runtime/westend/src/weights/pallet_scheduler.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -50,10 +50,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `69` - // Estimated: `499` - // Minimum execution time: 4_026 nanoseconds. - Weight::from_parts(4_139_000, 0) - .saturating_add(Weight::from_parts(0, 499)) + // Estimated: `1489` + // Minimum execution time: 3_930_000 picoseconds. + Weight::from_parts(4_064_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,13 +62,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 3_563 nanoseconds. - Weight::from_parts(6_693_198, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 2_186 - .saturating_add(Weight::from_parts(933_319, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 3_683_000 picoseconds. + Weight::from_parts(6_979_951, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_002 + .saturating_add(Weight::from_parts(741_311, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -76,8 +76,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_928 nanoseconds. - Weight::from_parts(6_097_000, 0) + // Minimum execution time: 5_650_000 picoseconds. + Weight::from_parts(5_828_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Preimage PreimageFor (r:1 w:1) @@ -87,13 +87,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `249 + s * (1 ±0)` - // Estimated: `5290 + s * (1 ±0)` - // Minimum execution time: 20_421 nanoseconds. - Weight::from_parts(20_813_000, 0) - .saturating_add(Weight::from_parts(0, 5290)) + // Measured: `217 + s * (1 ±0)` + // Estimated: `7238 + s * (1 ±0)` + // Minimum execution time: 19_615_000 picoseconds. + Weight::from_parts(19_866_000, 0) + .saturating_add(Weight::from_parts(0, 7238)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_167, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_170, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -104,8 +104,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_724 nanoseconds. - Weight::from_parts(7_911_000, 0) + // Minimum execution time: 7_074_000 picoseconds. + Weight::from_parts(7_208_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,24 +113,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_909 nanoseconds. - Weight::from_parts(6_046_000, 0) + // Minimum execution time: 5_610_000 picoseconds. + Weight::from_parts(5_747_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_570 nanoseconds. - Weight::from_parts(2_658_000, 0) + // Minimum execution time: 2_678_000 picoseconds. + Weight::from_parts(2_731_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_428 nanoseconds. - Weight::from_parts(2_590_000, 0) + // Minimum execution time: 2_607_000 picoseconds. + Weight::from_parts(2_729_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Scheduler Agenda (r:1 w:1) @@ -138,13 +138,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 13_394 nanoseconds. - Weight::from_parts(16_496_080, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 2_394 - .saturating_add(Weight::from_parts(922_960, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 13_285_000 picoseconds. + Weight::from_parts(16_498_417, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_115 + .saturating_add(Weight::from_parts(748_025, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -155,13 +155,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `148 + s * (177 ±0)` - // Estimated: `41438` - // Minimum execution time: 17_994 nanoseconds. - Weight::from_parts(17_091_448, 0) - .saturating_add(Weight::from_parts(0, 41438)) - // Standard Error: 2_380 - .saturating_add(Weight::from_parts(1_653_591, 0).saturating_mul(s.into())) + // Measured: `116 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 17_406_000 picoseconds. + Weight::from_parts(17_326_158, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 2_389 + .saturating_add(Weight::from_parts(1_302_661, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -172,13 +172,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `325 + s * (185 ±0)` - // Estimated: `43961` - // Minimum execution time: 16_065 nanoseconds. - Weight::from_parts(20_232_697, 0) - .saturating_add(Weight::from_parts(0, 43961)) - // Standard Error: 3_412 - .saturating_add(Weight::from_parts(972_992, 0).saturating_mul(s.into())) + // Measured: `293 + s * (185 ±0)` + // Estimated: `45941` + // Minimum execution time: 16_343_000 picoseconds. + Weight::from_parts(20_629_176, 0) + .saturating_add(Weight::from_parts(0, 45941)) + // Standard Error: 2_969 + .saturating_add(Weight::from_parts(777_170, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -189,13 +189,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `351 + s * (185 ±0)` - // Estimated: `43961` - // Minimum execution time: 18_848 nanoseconds. - Weight::from_parts(19_042_838, 0) - .saturating_add(Weight::from_parts(0, 43961)) - // Standard Error: 2_754 - .saturating_add(Weight::from_parts(1_676_910, 0).saturating_mul(s.into())) + // Measured: `319 + s * (185 ±0)` + // Estimated: `45941` + // Minimum execution time: 19_160_000 picoseconds. + Weight::from_parts(19_697_985, 0) + .saturating_add(Weight::from_parts(0, 45941)) + // Standard Error: 2_666 + .saturating_add(Weight::from_parts(1_319_035, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/westend/src/weights/pallet_session.rs b/runtime/westend/src/weights/pallet_session.rs index 67e648a9a320..46049c5ea649 100644 --- a/runtime/westend/src/weights/pallet_session.rs +++ b/runtime/westend/src/weights/pallet_session.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -53,11 +53,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `1985` - // Estimated: `24861` - // Minimum execution time: 51_818 nanoseconds. - Weight::from_parts(52_338_000, 0) - .saturating_add(Weight::from_parts(0, 24861)) + // Measured: `1921` + // Estimated: `27703` + // Minimum execution time: 51_536_000 picoseconds. + Weight::from_parts(51_997_000, 0) + .saturating_add(Weight::from_parts(0, 27703)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -69,11 +69,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `1881` - // Estimated: `9803` - // Minimum execution time: 37_554 nanoseconds. - Weight::from_parts(38_608_000, 0) - .saturating_add(Weight::from_parts(0, 9803)) + // Measured: `1785` + // Estimated: `11591` + // Minimum execution time: 37_181_000 picoseconds. + Weight::from_parts(38_051_000, 0) + .saturating_add(Weight::from_parts(0, 11591)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(7)) } diff --git a/runtime/westend/src/weights/pallet_staking.rs b/runtime/westend/src/weights/pallet_staking.rs index 7e408db357fd..cdc69dde781e 100644 --- a/runtime/westend/src/weights/pallet_staking.rs +++ b/runtime/westend/src/weights/pallet_staking.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -57,11 +57,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `1046` - // Estimated: `10386` - // Minimum execution time: 42_440 nanoseconds. - Weight::from_parts(43_399_000, 0) - .saturating_add(Weight::from_parts(0, 10386)) + // Measured: `1014` + // Estimated: `14346` + // Minimum execution time: 41_121_000 picoseconds. + Weight::from_parts(41_849_000, 0) + .saturating_add(Weight::from_parts(0, 14346)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -77,11 +77,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn bond_extra() -> Weight { // Proof Size summary in bytes: - // Measured: `2183` - // Estimated: `22888` - // Minimum execution time: 85_399 nanoseconds. - Weight::from_parts(86_379_000, 0) - .saturating_add(Weight::from_parts(0, 22888)) + // Measured: `1959` + // Estimated: `27838` + // Minimum execution time: 81_412_000 picoseconds. + Weight::from_parts(82_152_000, 0) + .saturating_add(Weight::from_parts(0, 27838)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -105,11 +105,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `2390` - // Estimated: `29534` - // Minimum execution time: 90_672 nanoseconds. - Weight::from_parts(91_355_000, 0) - .saturating_add(Weight::from_parts(0, 29534)) + // Measured: `2166` + // Estimated: `38444` + // Minimum execution time: 88_844_000 picoseconds. + Weight::from_parts(89_714_000, 0) + .saturating_add(Weight::from_parts(0, 38444)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -124,13 +124,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1045` - // Estimated: `10442` - // Minimum execution time: 36_564 nanoseconds. - Weight::from_parts(38_050_629, 0) - .saturating_add(Weight::from_parts(0, 10442)) - // Standard Error: 659 - .saturating_add(Weight::from_parts(10_672, 0).saturating_mul(s.into())) + // Measured: `981` + // Estimated: `14402` + // Minimum execution time: 35_637_000 picoseconds. + Weight::from_parts(37_493_225, 0) + .saturating_add(Weight::from_parts(0, 14402)) + // Standard Error: 792 + .saturating_add(Weight::from_parts(11_820, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -165,13 +165,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2413 + s * (4 ±0)` - // Estimated: `32230 + s * (4 ±0)` - // Minimum execution time: 77_962 nanoseconds. - Weight::from_parts(84_271_455, 0) - .saturating_add(Weight::from_parts(0, 32230)) - // Standard Error: 2_943 - .saturating_add(Weight::from_parts(1_160_262, 0).saturating_mul(s.into())) + // Measured: `2221 + s * (4 ±0)` + // Estimated: `43926 + s * (4 ±0)` + // Minimum execution time: 77_766_000 picoseconds. + Weight::from_parts(82_537_686, 0) + .saturating_add(Weight::from_parts(0, 43926)) + // Standard Error: 1_742 + .saturating_add(Weight::from_parts(1_142_781, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -201,11 +201,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking CounterForValidators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn validate() -> Weight { // Proof Size summary in bytes: - // Measured: `1375` - // Estimated: `19359` - // Minimum execution time: 56_193 nanoseconds. - Weight::from_parts(57_188_000, 0) - .saturating_add(Weight::from_parts(0, 19359)) + // Measured: `1343` + // Estimated: `30249` + // Minimum execution time: 56_478_000 picoseconds. + Weight::from_parts(57_836_000, 0) + .saturating_add(Weight::from_parts(0, 30249)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -216,13 +216,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1255 + k * (601 ±0)` - // Estimated: `3566 + k * (3033 ±0)` - // Minimum execution time: 29_497 nanoseconds. - Weight::from_parts(27_406_513, 0) - .saturating_add(Weight::from_parts(0, 3566)) - // Standard Error: 6_875 - .saturating_add(Weight::from_parts(8_027_936, 0).saturating_mul(k.into())) + // Measured: `1223 + k * (569 ±0)` + // Estimated: `5546 + k * (3033 ±0)` + // Minimum execution time: 29_151_000 picoseconds. + Weight::from_parts(28_354_989, 0) + .saturating_add(Weight::from_parts(0, 5546)) + // Standard Error: 7_649 + .saturating_add(Weight::from_parts(7_790_372, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -253,13 +253,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1915 + n * (105 ±0)` - // Estimated: `21988 + n * (2520 ±0)` - // Minimum execution time: 64_934 nanoseconds. - Weight::from_parts(62_801_713, 0) - .saturating_add(Weight::from_parts(0, 21988)) - // Standard Error: 17_298 - .saturating_add(Weight::from_parts(3_316_608, 0).saturating_mul(n.into())) + // Measured: `1819 + n * (105 ±0)` + // Estimated: `32878 + n * (2520 ±0)` + // Minimum execution time: 64_251_000 picoseconds. + Weight::from_parts(61_920_029, 0) + .saturating_add(Weight::from_parts(0, 32878)) + // Standard Error: 14_227 + .saturating_add(Weight::from_parts(3_262_288, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -281,11 +281,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `1803` - // Estimated: `17932` - // Minimum execution time: 57_608 nanoseconds. - Weight::from_parts(58_161_000, 0) - .saturating_add(Weight::from_parts(0, 17932)) + // Measured: `1675` + // Estimated: `24862` + // Minimum execution time: 57_179_000 picoseconds. + Weight::from_parts(57_487_000, 0) + .saturating_add(Weight::from_parts(0, 24862)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -295,11 +295,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) fn set_payee() -> Weight { // Proof Size summary in bytes: - // Measured: `803` - // Estimated: `3566` - // Minimum execution time: 14_397 nanoseconds. - Weight::from_parts(14_671_000, 0) - .saturating_add(Weight::from_parts(0, 3566)) + // Measured: `771` + // Estimated: `4556` + // Minimum execution time: 14_249_000 picoseconds. + Weight::from_parts(14_529_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -309,11 +309,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) fn set_controller() -> Weight { // Proof Size summary in bytes: - // Measured: `902` - // Estimated: `9679` - // Minimum execution time: 22_179 nanoseconds. - Weight::from_parts(22_463_000, 0) - .saturating_add(Weight::from_parts(0, 9679)) + // Measured: `870` + // Estimated: `11659` + // Minimum execution time: 22_705_000 picoseconds. + Weight::from_parts(22_908_000, 0) + .saturating_add(Weight::from_parts(0, 11659)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -323,8 +323,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_604 nanoseconds. - Weight::from_parts(2_730_000, 0) + // Minimum execution time: 3_204_000 picoseconds. + Weight::from_parts(3_390_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -334,8 +334,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_758 nanoseconds. - Weight::from_parts(11_100_000, 0) + // Minimum execution time: 11_653_000 picoseconds. + Weight::from_parts(11_918_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -345,8 +345,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_225 nanoseconds. - Weight::from_parts(11_492_000, 0) + // Minimum execution time: 11_610_000 picoseconds. + Weight::from_parts(11_795_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,8 +356,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_892 nanoseconds. - Weight::from_parts(11_207_000, 0) + // Minimum execution time: 11_507_000 picoseconds. + Weight::from_parts(11_885_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -368,11 +368,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_724 nanoseconds. - Weight::from_parts(3_193_284, 0) + // Minimum execution time: 3_482_000 picoseconds. + Weight::from_parts(3_702_653, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 30 - .saturating_add(Weight::from_parts(14_317, 0).saturating_mul(v.into())) + // Standard Error: 29 + .saturating_add(Weight::from_parts(11_927, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Staking Bonded (r:1 w:1) @@ -404,13 +404,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2107 + s * (4 ±0)` - // Estimated: `27859 + s * (4 ±0)` - // Minimum execution time: 73_201 nanoseconds. - Weight::from_parts(76_412_897, 0) - .saturating_add(Weight::from_parts(0, 27859)) - // Standard Error: 1_913 - .saturating_add(Weight::from_parts(1_151_150, 0).saturating_mul(s.into())) + // Measured: `1947 + s * (4 ±0)` + // Estimated: `37607 + s * (4 ±0)` + // Minimum execution time: 69_974_000 picoseconds. + Weight::from_parts(75_615_421, 0) + .saturating_add(Weight::from_parts(0, 37607)) + // Standard Error: 1_940 + .saturating_add(Weight::from_parts(1_131_655, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -421,13 +421,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `66638` - // Estimated: `69113` - // Minimum execution time: 118_133 nanoseconds. - Weight::from_parts(878_805_908, 0) - .saturating_add(Weight::from_parts(0, 69113)) - // Standard Error: 53_240 - .saturating_add(Weight::from_parts(4_314_838, 0).saturating_mul(s.into())) + // Measured: `66606` + // Estimated: `70071` + // Minimum execution time: 114_444_000 picoseconds. + Weight::from_parts(820_259_020, 0) + .saturating_add(Weight::from_parts(0, 70071)) + // Standard Error: 51_225 + .saturating_add(Weight::from_parts(4_292_664, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -452,13 +452,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 64]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `5901 + n * (151 ±0)` - // Estimated: `32226 + n * (8030 ±0)` - // Minimum execution time: 70_532 nanoseconds. - Weight::from_parts(88_104_322, 0) - .saturating_add(Weight::from_parts(0, 32226)) - // Standard Error: 27_400 - .saturating_add(Weight::from_parts(25_775_656, 0).saturating_mul(n.into())) + // Measured: `5773 + n * (151 ±0)` + // Estimated: `40886 + n * (8030 ±1)` + // Minimum execution time: 70_311_000 picoseconds. + Weight::from_parts(90_196_758, 0) + .saturating_add(Weight::from_parts(0, 40886)) + // Standard Error: 23_128 + .saturating_add(Weight::from_parts(24_730_184, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -488,18 +488,18 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 64]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `9517 + n * (467 ±0)` - // Estimated: `41758 + n * (16038 ±3)` - // Minimum execution time: 86_749 nanoseconds. - Weight::from_parts(118_435_518, 0) - .saturating_add(Weight::from_parts(0, 41758)) - // Standard Error: 33_932 - .saturating_add(Weight::from_parts(33_424_550, 0).saturating_mul(n.into())) + // Measured: `9389 + n * (403 ±0)` + // Estimated: `51408 + n * (15910 ±0)` + // Minimum execution time: 86_241_000 picoseconds. + Weight::from_parts(113_571_222, 0) + .saturating_add(Weight::from_parts(0, 51408)) + // Standard Error: 31_864 + .saturating_add(Weight::from_parts(32_379_137, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 16038).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 15910).saturating_mul(n.into())) } /// Storage: Staking Ledger (r:1 w:1) /// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) @@ -516,13 +516,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2184 + l * (5 ±0)` - // Estimated: `25491` - // Minimum execution time: 81_814 nanoseconds. - Weight::from_parts(83_200_231, 0) - .saturating_add(Weight::from_parts(0, 25491)) - // Standard Error: 3_443 - .saturating_add(Weight::from_parts(46_203, 0).saturating_mul(l.into())) + // Measured: `1960 + l * (5 ±0)` + // Estimated: `31431` + // Minimum execution time: 80_570_000 picoseconds. + Weight::from_parts(82_037_546, 0) + .saturating_add(Weight::from_parts(0, 31431)) + // Standard Error: 3_888 + .saturating_add(Weight::from_parts(44_507, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -555,13 +555,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2413 + s * (4 ±0)` - // Estimated: `31737 + s * (4 ±0)` - // Minimum execution time: 83_757 nanoseconds. - Weight::from_parts(85_543_170, 0) - .saturating_add(Weight::from_parts(0, 31737)) - // Standard Error: 1_507 - .saturating_add(Weight::from_parts(1_144_523, 0).saturating_mul(s.into())) + // Measured: `2221 + s * (4 ±0)` + // Estimated: `42442 + s * (4 ±0)` + // Minimum execution time: 82_153_000 picoseconds. + Weight::from_parts(84_335_737, 0) + .saturating_add(Weight::from_parts(0, 42442)) + // Standard Error: 2_900 + .saturating_add(Weight::from_parts(1_142_433, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -607,22 +607,22 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + v * (3658 ±0) + n * (812 ±0)` - // Estimated: `472278 + v * (16741 ±0) + n * (12939 ±0)` - // Minimum execution time: 515_664 nanoseconds. - Weight::from_parts(519_521_000, 0) - .saturating_add(Weight::from_parts(0, 472278)) - // Standard Error: 2_014_897 - .saturating_add(Weight::from_parts(65_361_695, 0).saturating_mul(v.into())) - // Standard Error: 200_773 - .saturating_add(Weight::from_parts(16_583_313, 0).saturating_mul(n.into())) + // Measured: `0 + v * (3594 ±0) + n * (716 ±0)` + // Estimated: `482816 + v * (16697 ±0) + n * (12755 ±0)` + // Minimum execution time: 487_856_000 picoseconds. + Weight::from_parts(489_075_000, 0) + .saturating_add(Weight::from_parts(0, 482816)) + // Standard Error: 1_844_556 + .saturating_add(Weight::from_parts(59_330_541, 0).saturating_mul(v.into())) + // Standard Error: 183_799 + .saturating_add(Weight::from_parts(16_158_393, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(185)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 16741).saturating_mul(v.into())) - .saturating_add(Weight::from_parts(0, 12939).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 16697).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 12755).saturating_mul(n.into())) } /// Storage: VoterList CounterForListNodes (r:1 w:0) /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -646,15 +646,15 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3100 + v * (455 ±0) + n * (1003 ±0)` - // Estimated: `456188 + v * (14295 ±0) + n * (11775 ±0)` - // Minimum execution time: 31_094_046 nanoseconds. - Weight::from_parts(31_244_499_000, 0) - .saturating_add(Weight::from_parts(0, 456188)) - // Standard Error: 346_502 - .saturating_add(Weight::from_parts(4_915_541, 0).saturating_mul(v.into())) - // Standard Error: 346_502 - .saturating_add(Weight::from_parts(3_234_757, 0).saturating_mul(n.into())) + // Measured: `3069 + v * (391 ±0) + n * (907 ±0)` + // Estimated: `464108 + v * (14295 ±0) + n * (11775 ±0)` + // Minimum execution time: 31_319_166_000 picoseconds. + Weight::from_parts(31_475_122_000, 0) + .saturating_add(Weight::from_parts(0, 464108)) + // Standard Error: 345_453 + .saturating_add(Weight::from_parts(4_673_087, 0).saturating_mul(v.into())) + // Standard Error: 345_453 + .saturating_add(Weight::from_parts(3_110_380, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(180)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) @@ -671,13 +671,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `950 + v * (50 ±0)` - // Estimated: `3562 + v * (2520 ±0)` - // Minimum execution time: 3_839_775 nanoseconds. - Weight::from_parts(3_865_684_000, 0) - .saturating_add(Weight::from_parts(0, 3562)) - // Standard Error: 44_261 - .saturating_add(Weight::from_parts(2_811_910, 0).saturating_mul(v.into())) + // Measured: `951 + v * (50 ±0)` + // Estimated: `6532 + v * (2520 ±0)` + // Minimum execution time: 2_195_670_000 picoseconds. + Weight::from_parts(60_901_976, 0) + .saturating_add(Weight::from_parts(0, 6532)) + // Standard Error: 6_790 + .saturating_add(Weight::from_parts(4_356_511, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -699,8 +699,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_144 nanoseconds. - Weight::from_parts(6_343_000, 0) + // Minimum execution time: 6_935_000 picoseconds. + Weight::from_parts(7_208_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -720,8 +720,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_687 nanoseconds. - Weight::from_parts(5_998_000, 0) + // Minimum execution time: 6_090_000 picoseconds. + Weight::from_parts(6_399_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -747,11 +747,11 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn chill_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1958` - // Estimated: `19438` - // Minimum execution time: 71_032 nanoseconds. - Weight::from_parts(71_712_000, 0) - .saturating_add(Weight::from_parts(0, 19438)) + // Measured: `1798` + // Estimated: `29338` + // Minimum execution time: 68_728_000 picoseconds. + Weight::from_parts(69_629_000, 0) + .saturating_add(Weight::from_parts(0, 29338)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -762,10 +762,10 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_apply_min_commission() -> Weight { // Proof Size summary in bytes: // Measured: `661` - // Estimated: `3019` - // Minimum execution time: 12_940 nanoseconds. - Weight::from_parts(13_343_000, 0) - .saturating_add(Weight::from_parts(0, 3019)) + // Estimated: `4999` + // Minimum execution time: 13_166_000 picoseconds. + Weight::from_parts(13_376_000, 0) + .saturating_add(Weight::from_parts(0, 4999)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -775,8 +775,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_887 nanoseconds. - Weight::from_parts(3_056_000, 0) + // Minimum execution time: 3_336_000 picoseconds. + Weight::from_parts(3_500_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/pallet_timestamp.rs b/runtime/westend/src/weights/pallet_timestamp.rs index 69dd65da8250..9bc842491340 100644 --- a/runtime/westend/src/weights/pallet_timestamp.rs +++ b/runtime/westend/src/weights/pallet_timestamp.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -52,10 +52,10 @@ impl pallet_timestamp::WeightInfo for WeightInfo { fn set() -> Weight { // Proof Size summary in bytes: // Measured: `311` - // Estimated: `1006` - // Minimum execution time: 9_409 nanoseconds. - Weight::from_parts(9_725_000, 0) - .saturating_add(Weight::from_parts(0, 1006)) + // Estimated: `2986` + // Minimum execution time: 9_501_000 picoseconds. + Weight::from_parts(9_786_000, 0) + .saturating_add(Weight::from_parts(0, 2986)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 3_952 nanoseconds. - Weight::from_parts(4_025_000, 0) + // Minimum execution time: 3_680_000 picoseconds. + Weight::from_parts(3_804_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtime/westend/src/weights/pallet_utility.rs b/runtime/westend/src/weights/pallet_utility.rs index daf6029c9380..646b9db9c307 100644 --- a/runtime/westend/src/weights/pallet_utility.rs +++ b/runtime/westend/src/weights/pallet_utility.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -50,18 +50,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_885 nanoseconds. - Weight::from_parts(11_162_365, 0) + // Minimum execution time: 6_959_000 picoseconds. + Weight::from_parts(16_236_243, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_439 - .saturating_add(Weight::from_parts(4_637_012, 0).saturating_mul(c.into())) + // Standard Error: 2_438 + .saturating_add(Weight::from_parts(4_490_092, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_203 nanoseconds. - Weight::from_parts(5_441_000, 0) + // Minimum execution time: 5_146_000 picoseconds. + Weight::from_parts(5_237_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -69,18 +69,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_067 nanoseconds. - Weight::from_parts(11_552_327, 0) + // Minimum execution time: 7_100_000 picoseconds. + Weight::from_parts(14_356_170, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_783 - .saturating_add(Weight::from_parts(4_935_647, 0).saturating_mul(c.into())) + // Standard Error: 3_089 + .saturating_add(Weight::from_parts(4_737_322, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_999 nanoseconds. - Weight::from_parts(9_297_000, 0) + // Minimum execution time: 9_396_000 picoseconds. + Weight::from_parts(9_598_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -88,10 +88,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_876 nanoseconds. - Weight::from_parts(10_175_160, 0) + // Minimum execution time: 6_964_000 picoseconds. + Weight::from_parts(17_114_993, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 3_709 - .saturating_add(Weight::from_parts(4_685_640, 0).saturating_mul(c.into())) + // Standard Error: 2_275 + .saturating_add(Weight::from_parts(4_471_678, 0).saturating_mul(c.into())) } } diff --git a/runtime/westend/src/weights/pallet_vesting.rs b/runtime/westend/src/weights/pallet_vesting.rs index 690d27b8df73..3263eb03a9a3 100644 --- a/runtime/westend/src/weights/pallet_vesting.rs +++ b/runtime/westend/src/weights/pallet_vesting.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -53,15 +53,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `411 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `7306` - // Minimum execution time: 29_824 nanoseconds. - Weight::from_parts(28_717_712, 0) - .saturating_add(Weight::from_parts(0, 7306)) - // Standard Error: 764 - .saturating_add(Weight::from_parts(46_637, 0).saturating_mul(l.into())) - // Standard Error: 1_359 - .saturating_add(Weight::from_parts(74_164, 0).saturating_mul(s.into())) + // Measured: `348 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `9286` + // Minimum execution time: 30_368_000 picoseconds. + Weight::from_parts(29_145_666, 0) + .saturating_add(Weight::from_parts(0, 9286)) + // Standard Error: 789 + .saturating_add(Weight::from_parts(42_369, 0).saturating_mul(l.into())) + // Standard Error: 1_403 + .saturating_add(Weight::from_parts(70_130, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -73,15 +73,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `411 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `7306` - // Minimum execution time: 28_921 nanoseconds. - Weight::from_parts(28_545_679, 0) - .saturating_add(Weight::from_parts(0, 7306)) - // Standard Error: 590 - .saturating_add(Weight::from_parts(38_502, 0).saturating_mul(l.into())) - // Standard Error: 1_049 - .saturating_add(Weight::from_parts(46_713, 0).saturating_mul(s.into())) + // Measured: `348 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `9286` + // Minimum execution time: 29_229_000 picoseconds. + Weight::from_parts(29_138_693, 0) + .saturating_add(Weight::from_parts(0, 9286)) + // Standard Error: 807 + .saturating_add(Weight::from_parts(29_412, 0).saturating_mul(l.into())) + // Standard Error: 1_437 + .saturating_add(Weight::from_parts(39_790, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,15 +95,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `546 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 31_695 nanoseconds. - Weight::from_parts(30_837_986, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 795 - .saturating_add(Weight::from_parts(50_558, 0).saturating_mul(l.into())) - // Standard Error: 1_415 - .saturating_add(Weight::from_parts(73_289, 0).saturating_mul(s.into())) + // Measured: `451 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 32_573_000 picoseconds. + Weight::from_parts(31_521_704, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 825 + .saturating_add(Weight::from_parts(43_262, 0).saturating_mul(l.into())) + // Standard Error: 1_468 + .saturating_add(Weight::from_parts(71_428, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -117,15 +117,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `546 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 31_319 nanoseconds. - Weight::from_parts(30_790_564, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 665 - .saturating_add(Weight::from_parts(39_746, 0).saturating_mul(l.into())) - // Standard Error: 1_183 - .saturating_add(Weight::from_parts(50_607, 0).saturating_mul(s.into())) + // Measured: `451 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 31_541_000 picoseconds. + Weight::from_parts(30_842_897, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 817 + .saturating_add(Weight::from_parts(40_383, 0).saturating_mul(l.into())) + // Standard Error: 1_455 + .saturating_add(Weight::from_parts(54_874, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -139,15 +139,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `617 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 49_632 nanoseconds. - Weight::from_parts(50_035_640, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 1_457 - .saturating_add(Weight::from_parts(45_951, 0).saturating_mul(l.into())) - // Standard Error: 2_593 - .saturating_add(Weight::from_parts(58_374, 0).saturating_mul(s.into())) + // Measured: `522 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 49_661_000 picoseconds. + Weight::from_parts(50_641_511, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 2_384 + .saturating_add(Weight::from_parts(37_527, 0).saturating_mul(l.into())) + // Standard Error: 4_242 + .saturating_add(Weight::from_parts(38_395, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -161,15 +161,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `752 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `12512` - // Minimum execution time: 51_816 nanoseconds. - Weight::from_parts(51_705_864, 0) - .saturating_add(Weight::from_parts(0, 12512)) - // Standard Error: 1_446 - .saturating_add(Weight::from_parts(43_671, 0).saturating_mul(l.into())) - // Standard Error: 2_574 - .saturating_add(Weight::from_parts(63_148, 0).saturating_mul(s.into())) + // Measured: `625 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `15482` + // Minimum execution time: 51_480_000 picoseconds. + Weight::from_parts(51_569_723, 0) + .saturating_add(Weight::from_parts(0, 15482)) + // Standard Error: 1_407 + .saturating_add(Weight::from_parts(43_371, 0).saturating_mul(l.into())) + // Standard Error: 2_503 + .saturating_add(Weight::from_parts(61_175, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -183,15 +183,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `544 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 32_895 nanoseconds. - Weight::from_parts(32_577_652, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 1_018 - .saturating_add(Weight::from_parts(37_445, 0).saturating_mul(l.into())) - // Standard Error: 1_880 - .saturating_add(Weight::from_parts(65_218, 0).saturating_mul(s.into())) + // Measured: `449 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 33_171_000 picoseconds. + Weight::from_parts(32_468_081, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 700 + .saturating_add(Weight::from_parts(40_970, 0).saturating_mul(l.into())) + // Standard Error: 1_294 + .saturating_add(Weight::from_parts(62_430, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -205,15 +205,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `544 + l * (25 ±0) + s * (36 ±0)` - // Estimated: `9909` - // Minimum execution time: 33_169 nanoseconds. - Weight::from_parts(32_526_311, 0) - .saturating_add(Weight::from_parts(0, 9909)) - // Standard Error: 884 - .saturating_add(Weight::from_parts(39_392, 0).saturating_mul(l.into())) - // Standard Error: 1_633 - .saturating_add(Weight::from_parts(64_317, 0).saturating_mul(s.into())) + // Measured: `449 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `12879` + // Minimum execution time: 32_956_000 picoseconds. + Weight::from_parts(32_197_623, 0) + .saturating_add(Weight::from_parts(0, 12879)) + // Standard Error: 826 + .saturating_add(Weight::from_parts(46_160, 0).saturating_mul(l.into())) + // Standard Error: 1_526 + .saturating_add(Weight::from_parts(69_938, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/westend/src/weights/pallet_xcm.rs b/runtime/westend/src/weights/pallet_xcm.rs index 325e98f9984c..2282c6df48f2 100644 --- a/runtime/westend/src/weights/pallet_xcm.rs +++ b/runtime/westend/src/weights/pallet_xcm.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -58,10 +58,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn send() -> Weight { // Proof Size summary in bytes: // Measured: `169` - // Estimated: `9260` - // Minimum execution time: 30_849 nanoseconds. - Weight::from_parts(31_945_000, 0) - .saturating_add(Weight::from_parts(0, 9260)) + // Estimated: `14210` + // Minimum execution time: 30_377_000 picoseconds. + Weight::from_parts(30_906_000, 0) + .saturating_add(Weight::from_parts(0, 14210)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -69,16 +69,16 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 22_799 nanoseconds. - Weight::from_parts(23_316_000, 0) + // Minimum execution time: 20_605_000 picoseconds. + Weight::from_parts(20_951_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 21_833 nanoseconds. - Weight::from_parts(22_121_000, 0) + // Minimum execution time: 20_055_000 picoseconds. + Weight::from_parts(20_427_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: Benchmark Override (r:0 w:0) @@ -87,7 +87,7 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -97,8 +97,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_945 nanoseconds. - Weight::from_parts(10_250_000, 0) + // Minimum execution time: 9_682_000 picoseconds. + Weight::from_parts(10_137_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -108,8 +108,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_700 nanoseconds. - Weight::from_parts(2_815_000, 0) + // Minimum execution time: 3_064_000 picoseconds. + Weight::from_parts(3_201_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -132,10 +132,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `169` - // Estimated: `12737` - // Minimum execution time: 36_182 nanoseconds. - Weight::from_parts(36_714_000, 0) - .saturating_add(Weight::from_parts(0, 12737)) + // Estimated: `19667` + // Minimum execution time: 35_049_000 picoseconds. + Weight::from_parts(35_549_000, 0) + .saturating_add(Weight::from_parts(0, 19667)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -156,10 +156,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: // Measured: `326` - // Estimated: `13172` - // Minimum execution time: 36_706 nanoseconds. - Weight::from_parts(37_135_000, 0) - .saturating_add(Weight::from_parts(0, 13172)) + // Estimated: `19112` + // Minimum execution time: 35_083_000 picoseconds. + Weight::from_parts(35_580_000, 0) + .saturating_add(Weight::from_parts(0, 19112)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -168,10 +168,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: // Measured: `229` - // Estimated: `10129` - // Minimum execution time: 15_818 nanoseconds. - Weight::from_parts(16_246_000, 0) - .saturating_add(Weight::from_parts(0, 10129)) + // Estimated: `11119` + // Minimum execution time: 16_113_000 picoseconds. + Weight::from_parts(16_592_000, 0) + .saturating_add(Weight::from_parts(0, 11119)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -180,10 +180,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: // Measured: `233` - // Estimated: `10133` - // Minimum execution time: 15_799 nanoseconds. - Weight::from_parts(16_232_000, 0) - .saturating_add(Weight::from_parts(0, 10133)) + // Estimated: `11123` + // Minimum execution time: 18_071_000 picoseconds. + Weight::from_parts(18_527_000, 0) + .saturating_add(Weight::from_parts(0, 11123)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -192,10 +192,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn already_notified_target() -> Weight { // Proof Size summary in bytes: // Measured: `243` - // Estimated: `12618` - // Minimum execution time: 18_584 nanoseconds. - Weight::from_parts(19_031_000, 0) - .saturating_add(Weight::from_parts(0, 12618)) + // Estimated: `13608` + // Minimum execution time: 18_498_000 picoseconds. + Weight::from_parts(19_091_000, 0) + .saturating_add(Weight::from_parts(0, 13608)) .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: XcmPallet VersionNotifyTargets (r:2 w:1) @@ -213,10 +213,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_current_targets() -> Weight { // Proof Size summary in bytes: // Measured: `239` - // Estimated: `14799` - // Minimum execution time: 33_133 nanoseconds. - Weight::from_parts(33_402_000, 0) - .saturating_add(Weight::from_parts(0, 14799)) + // Estimated: `20739` + // Minimum execution time: 31_568_000 picoseconds. + Weight::from_parts(32_163_000, 0) + .saturating_add(Weight::from_parts(0, 20739)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -225,10 +225,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: // Measured: `272` - // Estimated: `7697` - // Minimum execution time: 8_589 nanoseconds. - Weight::from_parts(8_837_000, 0) - .saturating_add(Weight::from_parts(0, 7697)) + // Estimated: `8687` + // Minimum execution time: 9_139_000 picoseconds. + Weight::from_parts(9_619_000, 0) + .saturating_add(Weight::from_parts(0, 8687)) .saturating_add(T::DbWeight::get().reads(3)) } /// Storage: XcmPallet VersionNotifyTargets (r:4 w:2) @@ -236,10 +236,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: // Measured: `240` - // Estimated: `10140` - // Minimum execution time: 16_573 nanoseconds. - Weight::from_parts(17_162_000, 0) - .saturating_add(Weight::from_parts(0, 10140)) + // Estimated: `11130` + // Minimum execution time: 16_944_000 picoseconds. + Weight::from_parts(17_505_000, 0) + .saturating_add(Weight::from_parts(0, 11130)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -258,10 +258,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: // Measured: `243` - // Estimated: `19773` - // Minimum execution time: 39_648 nanoseconds. - Weight::from_parts(40_257_000, 0) - .saturating_add(Weight::from_parts(0, 19773)) + // Estimated: `25713` + // Minimum execution time: 38_715_000 picoseconds. + Weight::from_parts(39_473_000, 0) + .saturating_add(Weight::from_parts(0, 25713)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } diff --git a/runtime/westend/src/weights/runtime_common_auctions.rs b/runtime/westend/src/weights/runtime_common_auctions.rs index 7e361e924e0d..8a3159b0f229 100644 --- a/runtime/westend/src/weights/runtime_common_auctions.rs +++ b/runtime/westend/src/weights/runtime_common_auctions.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -52,10 +52,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf fn new_auction() -> Weight { // Proof Size summary in bytes: // Measured: `4` - // Estimated: `1002` - // Minimum execution time: 12_271 nanoseconds. - Weight::from_parts(12_608_000, 0) - .saturating_add(Weight::from_parts(0, 1002)) + // Estimated: `2982` + // Minimum execution time: 12_293_000 picoseconds. + Weight::from_parts(12_518_000, 0) + .saturating_add(Weight::from_parts(0, 2982)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,11 +75,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn bid() -> Weight { // Proof Size summary in bytes: - // Measured: `635` - // Estimated: `19290` - // Minimum execution time: 69_074 nanoseconds. - Weight::from_parts(70_726_000, 0) - .saturating_add(Weight::from_parts(0, 19290)) + // Measured: `571` + // Estimated: `26092` + // Minimum execution time: 67_794_000 picoseconds. + Weight::from_parts(70_851_000, 0) + .saturating_add(Weight::from_parts(0, 26092)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -109,11 +109,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `7060429` - // Estimated: `51338925` - // Minimum execution time: 16_090_025 nanoseconds. - Weight::from_parts(16_438_002_000, 0) - .saturating_add(Weight::from_parts(0, 51338925)) + // Measured: `6947646` + // Estimated: `50786890` + // Minimum execution time: 6_233_411_000 picoseconds. + Weight::from_parts(6_331_552_000, 0) + .saturating_add(Weight::from_parts(0, 50786890)) .saturating_add(T::DbWeight::get().reads(3688)) .saturating_add(T::DbWeight::get().writes(3683)) } @@ -127,11 +127,11 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) fn cancel_auction() -> Weight { // Proof Size summary in bytes: - // Measured: `178884` - // Estimated: `16009503` - // Minimum execution time: 4_773_572 nanoseconds. - Weight::from_parts(4_870_970_000, 0) - .saturating_add(Weight::from_parts(0, 16009503)) + // Measured: `177732` + // Estimated: `16012473` + // Minimum execution time: 4_778_301_000 picoseconds. + Weight::from_parts(4_852_188_000, 0) + .saturating_add(Weight::from_parts(0, 16012473)) .saturating_add(T::DbWeight::get().reads(3673)) .saturating_add(T::DbWeight::get().writes(3673)) } diff --git a/runtime/westend/src/weights/runtime_common_crowdloan.rs b/runtime/westend/src/weights/runtime_common_crowdloan.rs index 153efd6f08cc..c26f25245d24 100644 --- a/runtime/westend/src/weights/runtime_common_crowdloan.rs +++ b/runtime/westend/src/weights/runtime_common_crowdloan.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -55,11 +55,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `418` - // Estimated: `9592` - // Minimum execution time: 39_590 nanoseconds. - Weight::from_parts(40_531_000, 0) - .saturating_add(Weight::from_parts(0, 9592)) + // Measured: `386` + // Estimated: `13424` + // Minimum execution time: 40_035_000 picoseconds. + Weight::from_parts(40_864_000, 0) + .saturating_add(Weight::from_parts(0, 13424)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,11 +81,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn contribute() -> Weight { // Proof Size summary in bytes: - // Measured: `368` - // Estimated: `13872` - // Minimum execution time: 111_368 nanoseconds. - Weight::from_parts(112_815_000, 0) - .saturating_add(Weight::from_parts(0, 13872)) + // Measured: `336` + // Estimated: `21632` + // Minimum execution time: 109_869_000 picoseconds. + Weight::from_parts(112_585_000, 0) + .saturating_add(Weight::from_parts(0, 21632)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -99,11 +99,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1) fn withdraw() -> Weight { // Proof Size summary in bytes: - // Measured: `786` - // Estimated: `12239` - // Minimum execution time: 57_399 nanoseconds. - Weight::from_parts(58_224_000, 0) - .saturating_add(Weight::from_parts(0, 12239)) + // Measured: `690` + // Estimated: `16007` + // Minimum execution time: 56_448_000 picoseconds. + Weight::from_parts(57_679_000, 0) + .saturating_add(Weight::from_parts(0, 16007)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -112,18 +112,18 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 500]`. fn refund(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `236 + k * (220 ±0)` - // Estimated: `256 + k * (221 ±0)` - // Minimum execution time: 40_233 nanoseconds. - Weight::from_parts(54_026_000, 0) - .saturating_add(Weight::from_parts(0, 256)) - // Standard Error: 13_085 - .saturating_add(Weight::from_parts(22_927_324, 0).saturating_mul(k.into())) + // Measured: `173 + k * (188 ±0)` + // Estimated: `194 + k * (189 ±0)` + // Minimum execution time: 40_060_000 picoseconds. + Weight::from_parts(54_541_000, 0) + .saturating_add(Weight::from_parts(0, 194)) + // Standard Error: 10_543 + .saturating_add(Weight::from_parts(21_926_735, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into()))) - .saturating_add(Weight::from_parts(0, 221).saturating_mul(k.into())) + .saturating_add(Weight::from_parts(0, 189).saturating_mul(k.into())) } /// Storage: Crowdloan Funds (r:1 w:1) /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) @@ -131,11 +131,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn dissolve() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `5517` - // Minimum execution time: 29_857 nanoseconds. - Weight::from_parts(30_340_000, 0) - .saturating_add(Weight::from_parts(0, 5517)) + // Measured: `375` + // Estimated: `7433` + // Minimum execution time: 29_891_000 picoseconds. + Weight::from_parts(30_447_000, 0) + .saturating_add(Weight::from_parts(0, 7433)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -143,11 +143,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured) fn edit() -> Weight { // Proof Size summary in bytes: - // Measured: `267` - // Estimated: `2742` - // Minimum execution time: 17_245 nanoseconds. - Weight::from_parts(17_847_000, 0) - .saturating_add(Weight::from_parts(0, 2742)) + // Measured: `235` + // Estimated: `3700` + // Minimum execution time: 18_393_000 picoseconds. + Weight::from_parts(19_004_000, 0) + .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -157,11 +157,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn add_memo() -> Weight { // Proof Size summary in bytes: - // Measured: `444` - // Estimated: `5838` - // Minimum execution time: 24_929 nanoseconds. - Weight::from_parts(25_462_000, 0) - .saturating_add(Weight::from_parts(0, 5838)) + // Measured: `412` + // Estimated: `7754` + // Minimum execution time: 25_423_000 picoseconds. + Weight::from_parts(25_924_000, 0) + .saturating_add(Weight::from_parts(0, 7754)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -171,11 +171,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured) fn poke() -> Weight { // Proof Size summary in bytes: - // Measured: `271` - // Estimated: `3512` - // Minimum execution time: 17_200 nanoseconds. - Weight::from_parts(17_776_000, 0) - .saturating_add(Weight::from_parts(0, 3512)) + // Measured: `239` + // Estimated: `5428` + // Minimum execution time: 17_399_000 picoseconds. + Weight::from_parts(18_040_000, 0) + .saturating_add(Weight::from_parts(0, 5428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -202,17 +202,17 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `118 + n * (420 ±0)` - // Estimated: `6947 + n * (14663 ±0)` - // Minimum execution time: 114_121 nanoseconds. - Weight::from_parts(116_551_000, 0) - .saturating_add(Weight::from_parts(0, 6947)) - // Standard Error: 47_770 - .saturating_add(Weight::from_parts(50_697_962, 0).saturating_mul(n.into())) + // Measured: `91 + n * (356 ±0)` + // Estimated: `16722 + n * (14348 ±0)` + // Minimum execution time: 109_715_000 picoseconds. + Weight::from_parts(110_192_000, 0) + .saturating_add(Weight::from_parts(0, 16722)) + // Standard Error: 47_032 + .saturating_add(Weight::from_parts(48_388_752, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 14663).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 14348).saturating_mul(n.into())) } } diff --git a/runtime/westend/src/weights/runtime_common_paras_registrar.rs b/runtime/westend/src/weights/runtime_common_paras_registrar.rs index 1d3521fb650a..c9ff7ff062cb 100644 --- a/runtime/westend/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/westend/src/weights/runtime_common_paras_registrar.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -54,10 +54,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn reserve() -> Weight { // Proof Size summary in bytes: // Measured: `97` - // Estimated: `5736` - // Minimum execution time: 27_616 nanoseconds. - Weight::from_parts(28_197_000, 0) - .saturating_add(Weight::from_parts(0, 5736)) + // Estimated: `8706` + // Minimum execution time: 26_530_000 picoseconds. + Weight::from_parts(26_950_000, 0) + .saturating_add(Weight::from_parts(0, 8706)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,11 +81,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `302` - // Estimated: `18063` - // Minimum execution time: 7_577_009 nanoseconds. - Weight::from_parts(7_620_824_000, 0) - .saturating_add(Weight::from_parts(0, 18063)) + // Measured: `270` + // Estimated: `24705` + // Minimum execution time: 6_262_720_000 picoseconds. + Weight::from_parts(6_331_923_000, 0) + .saturating_add(Weight::from_parts(0, 24705)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -110,10 +110,10 @@ impl runtime_common::paras_registrar::WeightInfo for We fn force_register() -> Weight { // Proof Size summary in bytes: // Measured: `187` - // Estimated: `17028` - // Minimum execution time: 7_373_489 nanoseconds. - Weight::from_parts(7_488_705_000, 0) - .saturating_add(Weight::from_parts(0, 17028)) + // Estimated: `23958` + // Minimum execution time: 6_268_211_000 picoseconds. + Weight::from_parts(6_331_892_000, 0) + .saturating_add(Weight::from_parts(0, 23958)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -131,11 +131,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Registrar PendingSwap (max_values: None, max_size: None, mode: Measured) fn deregister() -> Weight { // Proof Size summary in bytes: - // Measured: `467` - // Estimated: `13197` - // Minimum execution time: 41_183 nanoseconds. - Weight::from_parts(41_974_000, 0) - .saturating_add(Weight::from_parts(0, 13197)) + // Measured: `435` + // Estimated: `17955` + // Minimum execution time: 40_534_000 picoseconds. + Weight::from_parts(41_596_000, 0) + .saturating_add(Weight::from_parts(0, 17955)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -155,11 +155,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) fn swap() -> Weight { // Proof Size summary in bytes: - // Measured: `668` - // Estimated: `27446` - // Minimum execution time: 45_991 nanoseconds. - Weight::from_parts(47_156_000, 0) - .saturating_add(Weight::from_parts(0, 27446)) + // Measured: `637` + // Estimated: `34159` + // Minimum execution time: 46_421_000 picoseconds. + Weight::from_parts(47_968_000, 0) + .saturating_add(Weight::from_parts(0, 34159)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -187,12 +187,12 @@ impl runtime_common::paras_registrar::WeightInfo for We fn schedule_code_upgrade(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `16615` - // Minimum execution time: 39_149 nanoseconds. - Weight::from_parts(39_522_000, 0) - .saturating_add(Weight::from_parts(0, 16615)) + // Estimated: `25525` + // Minimum execution time: 40_176_000 picoseconds. + Weight::from_parts(40_282_000, 0) + .saturating_add(Weight::from_parts(0, 25525)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_325, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_964, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -203,11 +203,11 @@ impl runtime_common::paras_registrar::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_032 nanoseconds. - Weight::from_parts(9_110_000, 0) + // Minimum execution time: 8_876_000 picoseconds. + Weight::from_parts(9_068_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(919, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(864, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/westend/src/weights/runtime_common_slots.rs b/runtime/westend/src/weights/runtime_common_slots.rs index 3cf478488fe1..6aa098f609cb 100644 --- a/runtime/westend/src/weights/runtime_common_slots.rs +++ b/runtime/westend/src/weights/runtime_common_slots.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -51,11 +51,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `213` - // Estimated: `5291` - // Minimum execution time: 25_281 nanoseconds. - Weight::from_parts(25_756_000, 0) - .saturating_add(Weight::from_parts(0, 5291)) + // Measured: `181` + // Estimated: `7239` + // Minimum execution time: 25_272_000 picoseconds. + Weight::from_parts(25_634_000, 0) + .saturating_add(Weight::from_parts(0, 7239)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -75,23 +75,23 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `0 + c * (47 ±0) + t * (370 ±0)` - // Estimated: `268218 + c * (1076 ±0) + t * (7963 ±0)` - // Minimum execution time: 642_912 nanoseconds. - Weight::from_parts(645_898_000, 0) - .saturating_add(Weight::from_parts(0, 268218)) - // Standard Error: 82_879 - .saturating_add(Weight::from_parts(2_665_736, 0).saturating_mul(c.into())) - // Standard Error: 82_879 - .saturating_add(Weight::from_parts(13_913_344, 0).saturating_mul(t.into())) + // Measured: `0 + c * (47 ±0) + t * (308 ±0)` + // Estimated: `7228 + c * (2781 ±0) + t * (9308 ±0)` + // Minimum execution time: 631_951_000 picoseconds. + Weight::from_parts(645_205_000, 0) + .saturating_add(Weight::from_parts(0, 7228)) + // Standard Error: 83_112 + .saturating_add(Weight::from_parts(2_677_718, 0).saturating_mul(c.into())) + // Standard Error: 83_112 + .saturating_add(Weight::from_parts(11_541_814, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 1076).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 7963).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2781).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 9308).saturating_mul(t.into())) } /// Storage: Slots Leases (r:1 w:1) /// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured) @@ -99,11 +99,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `2941` - // Estimated: `26240` - // Minimum execution time: 98_060 nanoseconds. - Weight::from_parts(99_621_000, 0) - .saturating_add(Weight::from_parts(0, 26240)) + // Measured: `2653` + // Estimated: `27932` + // Minimum execution time: 97_503_000 picoseconds. + Weight::from_parts(99_104_000, 0) + .saturating_add(Weight::from_parts(0, 27932)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -119,11 +119,11 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `628` - // Estimated: `13535` - // Minimum execution time: 26_638 nanoseconds. - Weight::from_parts(27_214_000, 0) - .saturating_add(Weight::from_parts(0, 13535)) + // Measured: `564` + // Estimated: `18165` + // Minimum execution time: 27_263_000 picoseconds. + Weight::from_parts(28_512_000, 0) + .saturating_add(Weight::from_parts(0, 18165)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/westend/src/weights/runtime_parachains_configuration.rs b/runtime/westend/src/weights/runtime_parachains_configuration.rs index 43acc1365ccb..309d4357ebdc 100644 --- a/runtime/westend/src/weights/runtime_parachains_configuration.rs +++ b/runtime/westend/src/weights/runtime_parachains_configuration.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -54,10 +54,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `1755` - // Minimum execution time: 9_185 nanoseconds. - Weight::from_parts(9_492_000, 0) - .saturating_add(Weight::from_parts(0, 1755)) + // Estimated: `4725` + // Minimum execution time: 9_426_000 picoseconds. + Weight::from_parts(9_764_000, 0) + .saturating_add(Weight::from_parts(0, 4725)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -70,10 +70,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `1755` - // Minimum execution time: 9_350 nanoseconds. - Weight::from_parts(9_740_000, 0) - .saturating_add(Weight::from_parts(0, 1755)) + // Estimated: `4725` + // Minimum execution time: 9_836_000 picoseconds. + Weight::from_parts(10_178_000, 0) + .saturating_add(Weight::from_parts(0, 4725)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -86,10 +86,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_option_u32() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `1755` - // Minimum execution time: 9_462 nanoseconds. - Weight::from_parts(9_762_000, 0) - .saturating_add(Weight::from_parts(0, 1755)) + // Estimated: `4725` + // Minimum execution time: 9_515_000 picoseconds. + Weight::from_parts(9_857_000, 0) + .saturating_add(Weight::from_parts(0, 4725)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -102,10 +102,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_weight() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `1755` - // Minimum execution time: 9_576 nanoseconds. - Weight::from_parts(9_879_000, 0) - .saturating_add(Weight::from_parts(0, 1755)) + // Estimated: `4725` + // Minimum execution time: 9_432_000 picoseconds. + Weight::from_parts(9_864_000, 0) + .saturating_add(Weight::from_parts(0, 4725)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -115,7 +115,7 @@ impl runtime_parachains::configuration::WeightInfo for // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000_000 nanoseconds. + // Minimum execution time: 2_000_000_000_000 picoseconds. Weight::from_parts(2_000_000_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -128,10 +128,10 @@ impl runtime_parachains::configuration::WeightInfo for fn set_config_with_balance() -> Weight { // Proof Size summary in bytes: // Measured: `90` - // Estimated: `1755` - // Minimum execution time: 9_608 nanoseconds. - Weight::from_parts(9_928_000, 0) - .saturating_add(Weight::from_parts(0, 1755)) + // Estimated: `4725` + // Minimum execution time: 9_655_000 picoseconds. + Weight::from_parts(9_975_000, 0) + .saturating_add(Weight::from_parts(0, 4725)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/runtime_parachains_disputes.rs b/runtime/westend/src/weights/runtime_parachains_disputes.rs index a88572031855..b8474366409a 100644 --- a/runtime/westend/src/weights/runtime_parachains_disputes.rs +++ b/runtime/westend/src/weights/runtime_parachains_disputes.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -51,8 +51,8 @@ impl runtime_parachains::disputes::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_740 nanoseconds. - Weight::from_parts(2_842_000, 0) + // Minimum execution time: 2_950_000 picoseconds. + Weight::from_parts(3_089_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs b/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs index dff2360419e8..2db9804f6856 100644 --- a/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs +++ b/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::disputes::slashing` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -77,20 +77,24 @@ impl runtime_parachains::disputes::slashing::WeightInfo /// Proof Skipped: Staking OffendingValidators (max_values: Some(1), max_size: None, mode: Measured) /// Storage: Session Validators (r:1 w:0) /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Session DisabledValidators (r:1 w:1) + /// Proof Skipped: Session DisabledValidators (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: Staking UnappliedSlashes (r:1 w:1) /// Proof Skipped: Staking UnappliedSlashes (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[4, 300]`. fn report_dispute_lost(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4631 + n * (209 ±0)` - // Estimated: `77841 + n * (2317 ±0)` - // Minimum execution time: 86_772 nanoseconds. - Weight::from_parts(124_398_343, 0) - .saturating_add(Weight::from_parts(0, 77841)) - // Standard Error: 3_624 - .saturating_add(Weight::from_parts(361_232, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(9)) - .saturating_add(Weight::from_parts(0, 2317).saturating_mul(n.into())) + // Measured: `4893 + n * (289 ±0)` + // Estimated: `109178 + n * (3784 ±0)` + // Minimum execution time: 83_746_000 picoseconds. + Weight::from_parts(127_246_143, 0) + .saturating_add(Weight::from_parts(0, 109178)) + // Standard Error: 4_051 + .saturating_add(Weight::from_parts(390_162, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(18)) + .saturating_add(T::DbWeight::get().writes(10)) + .saturating_add(Weight::from_parts(0, 3784).saturating_mul(n.into())) } } diff --git a/runtime/westend/src/weights/runtime_parachains_hrmp.rs b/runtime/westend/src/weights/runtime_parachains_hrmp.rs index 6064c686b1d4..f764543e1b2e 100644 --- a/runtime/westend/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/westend/src/weights/runtime_parachains_hrmp.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -64,10 +64,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_init_open_channel() -> Weight { // Proof Size summary in bytes: // Measured: `307` - // Estimated: `22751` - // Minimum execution time: 35_099 nanoseconds. - Weight::from_parts(35_616_000, 0) - .saturating_add(Weight::from_parts(0, 22751)) + // Estimated: `30671` + // Minimum execution time: 35_433_000 picoseconds. + Weight::from_parts(35_919_000, 0) + .saturating_add(Weight::from_parts(0, 30671)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -85,11 +85,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_accept_open_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `453` - // Estimated: `17568` - // Minimum execution time: 32_216 nanoseconds. - Weight::from_parts(32_725_000, 0) - .saturating_add(Weight::from_parts(0, 17568)) + // Measured: `421` + // Estimated: `23316` + // Minimum execution time: 32_866_000 picoseconds. + Weight::from_parts(33_161_000, 0) + .saturating_add(Weight::from_parts(0, 23316)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -105,11 +105,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured) fn hrmp_close_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `270` - // Estimated: `11745` - // Minimum execution time: 27_964 nanoseconds. - Weight::from_parts(28_273_000, 0) - .saturating_add(Weight::from_parts(0, 11745)) + // Measured: `238` + // Estimated: `16535` + // Minimum execution time: 28_318_000 picoseconds. + Weight::from_parts(28_693_000, 0) + .saturating_add(Weight::from_parts(0, 16535)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -129,23 +129,23 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `215 + i * (131 ±0) + e * (131 ±0)` - // Estimated: `6120 + i * (5742 ±0) + e * (5736 ±0)` - // Minimum execution time: 1_079_349 nanoseconds. - Weight::from_parts(1_082_875_000, 0) - .saturating_add(Weight::from_parts(0, 6120)) - // Standard Error: 96_221 - .saturating_add(Weight::from_parts(3_166_230, 0).saturating_mul(i.into())) - // Standard Error: 96_221 - .saturating_add(Weight::from_parts(3_268_684, 0).saturating_mul(e.into())) + // Measured: `158 + i * (100 ±0) + e * (100 ±0)` + // Estimated: `8850 + i * (5550 ±0) + e * (5550 ±0)` + // Minimum execution time: 1_092_332_000 picoseconds. + Weight::from_parts(1_097_373_000, 0) + .saturating_add(Weight::from_parts(0, 8850)) + // Standard Error: 97_518 + .saturating_add(Weight::from_parts(3_170_650, 0).saturating_mul(i.into())) + // Standard Error: 97_518 + .saturating_add(Weight::from_parts(3_304_346, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5742).saturating_mul(i.into())) - .saturating_add(Weight::from_parts(0, 5736).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 5550).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(0, 5550).saturating_mul(e.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -166,18 +166,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `427 + c * (166 ±0)` - // Estimated: `3804 + c * (18661 ±0)` - // Minimum execution time: 6_079 nanoseconds. - Weight::from_parts(2_963_503, 0) - .saturating_add(Weight::from_parts(0, 3804)) - // Standard Error: 16_012 - .saturating_add(Weight::from_parts(18_835_466, 0).saturating_mul(c.into())) + // Measured: `386 + c * (136 ±0)` + // Estimated: `10441 + c * (18413 ±0)` + // Minimum execution time: 6_543_000 picoseconds. + Weight::from_parts(4_530_781, 0) + .saturating_add(Weight::from_parts(0, 10441)) + // Standard Error: 15_086 + .saturating_add(Weight::from_parts(19_196_371, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 18661).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 18413).saturating_mul(c.into())) } /// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -194,18 +194,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `268 + c * (155 ±0)` - // Estimated: `1998 + c * (8361 ±0)` - // Minimum execution time: 4_900 nanoseconds. - Weight::from_parts(1_670_034, 0) - .saturating_add(Weight::from_parts(0, 1998)) - // Standard Error: 11_256 - .saturating_add(Weight::from_parts(11_514_950, 0).saturating_mul(c.into())) + // Measured: `229 + c * (124 ±0)` + // Estimated: `5739 + c * (8175 ±0)` + // Minimum execution time: 5_011_000 picoseconds. + Weight::from_parts(3_071_714, 0) + .saturating_add(Weight::from_parts(0, 5739)) + // Standard Error: 11_400 + .saturating_add(Weight::from_parts(11_626_470, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 8361).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 8175).saturating_mul(c.into())) } /// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) /// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured) @@ -216,13 +216,13 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `983 + c * (13 ±0)` - // Estimated: `7794 + c * (45 ±0)` - // Minimum execution time: 20_543 nanoseconds. - Weight::from_parts(26_343_259, 0) - .saturating_add(Weight::from_parts(0, 7794)) - // Standard Error: 1_548 - .saturating_add(Weight::from_parts(69_766, 0).saturating_mul(c.into())) + // Measured: `920 + c * (13 ±0)` + // Estimated: `10587 + c * (45 ±0)` + // Minimum execution time: 21_329_000 picoseconds. + Weight::from_parts(26_928_511, 0) + .saturating_add(Weight::from_parts(0, 10587)) + // Standard Error: 1_543 + .saturating_add(Weight::from_parts(76_029, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(c.into())) @@ -234,18 +234,18 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn clean_open_channel_requests(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `178 + c * (94 ±0)` - // Estimated: `834 + c * (2664 ±0)` - // Minimum execution time: 4_088 nanoseconds. - Weight::from_parts(3_216_089, 0) - .saturating_add(Weight::from_parts(0, 834)) - // Standard Error: 3_010 - .saturating_add(Weight::from_parts(3_078_715, 0).saturating_mul(c.into())) + // Measured: `137 + c * (63 ±0)` + // Estimated: `2743 + c * (2602 ±0)` + // Minimum execution time: 3_993_000 picoseconds. + Weight::from_parts(5_777_300, 0) + .saturating_add(Weight::from_parts(0, 2743)) + // Standard Error: 2_430 + .saturating_add(Weight::from_parts(3_128_607, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2664).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2602).saturating_mul(c.into())) } /// Storage: Paras ParaLifecycles (r:2 w:0) /// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured) @@ -270,10 +270,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_open_hrmp_channel() -> Weight { // Proof Size summary in bytes: // Measured: `307` - // Estimated: `33265` - // Minimum execution time: 48_862 nanoseconds. - Weight::from_parts(49_253_000, 0) - .saturating_add(Weight::from_parts(0, 33265)) + // Estimated: `43165` + // Minimum execution time: 49_553_000 picoseconds. + Weight::from_parts(50_044_000, 0) + .saturating_add(Weight::from_parts(0, 43165)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } diff --git a/runtime/westend/src/weights/runtime_parachains_initializer.rs b/runtime/westend/src/weights/runtime_parachains_initializer.rs index afd61786f5cf..2de6260397d4 100644 --- a/runtime/westend/src/weights/runtime_parachains_initializer.rs +++ b/runtime/westend/src/weights/runtime_parachains_initializer.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -50,13 +50,13 @@ impl runtime_parachains::initializer::WeightInfo for We /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `28 + d * (11 ±0)` - // Estimated: `519 + d * (11 ±0)` - // Minimum execution time: 3_562 nanoseconds. - Weight::from_parts(5_936_312, 0) - .saturating_add(Weight::from_parts(0, 519)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_313, 0).saturating_mul(d.into())) + // Measured: `0 + d * (11 ±0)` + // Estimated: `1480 + d * (11 ±0)` + // Minimum execution time: 3_941_000 picoseconds. + Weight::from_parts(5_787_276, 0) + .saturating_add(Weight::from_parts(0, 1480)) + // Standard Error: 9 + .saturating_add(Weight::from_parts(1_348, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 11).saturating_mul(d.into())) diff --git a/runtime/westend/src/weights/runtime_parachains_paras.rs b/runtime/westend/src/weights/runtime_parachains_paras.rs index eecefa63568e..73da0547187e 100644 --- a/runtime/westend/src/weights/runtime_parachains_paras.rs +++ b/runtime/westend/src/weights/runtime_parachains_paras.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -60,13 +60,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_set_current_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8341` - // Estimated: `57966` - // Minimum execution time: 32_871 nanoseconds. - Weight::from_parts(33_099_000, 0) - .saturating_add(Weight::from_parts(0, 57966)) + // Measured: `8309` + // Estimated: `61734` + // Minimum execution time: 33_122_000 picoseconds. + Weight::from_parts(33_355_000, 0) + .saturating_add(Weight::from_parts(0, 61734)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_313, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_946, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -77,11 +77,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_008 nanoseconds. - Weight::from_parts(8_206_000, 0) + // Minimum execution time: 8_359_000 picoseconds. + Weight::from_parts(8_431_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(921, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(863, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: Paras FutureCodeHash (r:1 w:1) @@ -107,13 +107,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16526` - // Estimated: `179120` - // Minimum execution time: 57_920 nanoseconds. - Weight::from_parts(58_255_000, 0) - .saturating_add(Weight::from_parts(0, 179120)) + // Measured: `16462` + // Estimated: `186400` + // Minimum execution time: 56_932_000 picoseconds. + Weight::from_parts(57_430_000, 0) + .saturating_add(Weight::from_parts(0, 186400)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_337, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_970, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -127,12 +127,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `95` - // Estimated: `2760` - // Minimum execution time: 13_669 nanoseconds. - Weight::from_parts(13_872_000, 0) - .saturating_add(Weight::from_parts(0, 2760)) + // Estimated: `3750` + // Minimum execution time: 13_727_000 picoseconds. + Weight::from_parts(13_878_000, 0) + .saturating_add(Weight::from_parts(0, 3750)) // Standard Error: 2 - .saturating_add(Weight::from_parts(917, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(866, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -142,11 +142,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured) fn force_queue_action() -> Weight { // Proof Size summary in bytes: - // Measured: `4283` - // Estimated: `11536` - // Minimum execution time: 19_437 nanoseconds. - Weight::from_parts(20_010_000, 0) - .saturating_add(Weight::from_parts(0, 11536)) + // Measured: `4251` + // Estimated: `13452` + // Minimum execution time: 19_034_000 picoseconds. + Weight::from_parts(20_025_000, 0) + .saturating_add(Weight::from_parts(0, 13452)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -158,12 +158,12 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `5006` - // Minimum execution time: 7_714 nanoseconds. - Weight::from_parts(7_825_000, 0) - .saturating_add(Weight::from_parts(0, 5006)) + // Estimated: `6986` + // Minimum execution time: 7_959_000 picoseconds. + Weight::from_parts(8_157_000, 0) + .saturating_add(Weight::from_parts(0, 6986)) // Standard Error: 1 - .saturating_add(Weight::from_parts(2_320, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_956, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,10 +174,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn poke_unused_validation_code() -> Weight { // Proof Size summary in bytes: // Measured: `28` - // Estimated: `2531` - // Minimum execution time: 5_518 nanoseconds. - Weight::from_parts(5_683_000, 0) - .saturating_add(Weight::from_parts(0, 2531)) + // Estimated: `3521` + // Minimum execution time: 5_960_000 picoseconds. + Weight::from_parts(6_182_000, 0) + .saturating_add(Weight::from_parts(0, 3521)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -189,11 +189,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement() -> Weight { // Proof Size summary in bytes: - // Measured: `26709` - // Estimated: `83592` - // Minimum execution time: 87_670 nanoseconds. - Weight::from_parts(90_517_000, 0) - .saturating_add(Weight::from_parts(0, 83592)) + // Measured: `26645` + // Estimated: `86370` + // Minimum execution time: 87_957_000 picoseconds. + Weight::from_parts(89_200_000, 0) + .saturating_add(Weight::from_parts(0, 86370)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -213,11 +213,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `27295` - // Estimated: `196015` - // Minimum execution time: 803_005 nanoseconds. - Weight::from_parts(811_058_000, 0) - .saturating_add(Weight::from_parts(0, 196015)) + // Measured: `27199` + // Estimated: `201283` + // Minimum execution time: 784_285_000 picoseconds. + Weight::from_parts(790_260_000, 0) + .saturating_add(Weight::from_parts(0, 201283)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(104)) } @@ -229,11 +229,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `27241` - // Estimated: `85188` - // Minimum execution time: 87_231 nanoseconds. - Weight::from_parts(87_949_000, 0) - .saturating_add(Weight::from_parts(0, 85188)) + // Measured: `27177` + // Estimated: `87966` + // Minimum execution time: 86_970_000 picoseconds. + Weight::from_parts(87_886_000, 0) + .saturating_add(Weight::from_parts(0, 87966)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -249,11 +249,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { // Proof Size summary in bytes: - // Measured: `26763` - // Estimated: `140250` - // Minimum execution time: 636_356 nanoseconds. - Weight::from_parts(641_339_000, 0) - .saturating_add(Weight::from_parts(0, 140250)) + // Measured: `26667` + // Estimated: `144720` + // Minimum execution time: 621_464_000 picoseconds. + Weight::from_parts(627_840_000, 0) + .saturating_add(Weight::from_parts(0, 144720)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -265,11 +265,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { // Proof Size summary in bytes: - // Measured: `26709` - // Estimated: `83592` - // Minimum execution time: 86_178 nanoseconds. - Weight::from_parts(87_400_000, 0) - .saturating_add(Weight::from_parts(0, 83592)) + // Measured: `26645` + // Estimated: `86370` + // Minimum execution time: 86_876_000 picoseconds. + Weight::from_parts(87_789_000, 0) + .saturating_add(Weight::from_parts(0, 86370)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs b/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs index ecc483cb0dbb..349e2f062b5f 100644 --- a/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -110,16 +110,16 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `50844` - // Estimated: `1459401 + v * (16 ±0)` - // Minimum execution time: 792_123 nanoseconds. - Weight::from_parts(317_232_240, 0) - .saturating_add(Weight::from_parts(0, 1459401)) - // Standard Error: 31_502 - .saturating_add(Weight::from_parts(48_212_479, 0).saturating_mul(v.into())) + // Measured: `50561` + // Estimated: `1478228 + v * (23 ±0)` + // Minimum execution time: 768_115_000 picoseconds. + Weight::from_parts(294_738_363, 0) + .saturating_add(Weight::from_parts(0, 1478228)) + // Standard Error: 18_829 + .saturating_add(Weight::from_parts(48_431_584, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(28)) .saturating_add(T::DbWeight::get().writes(16)) - .saturating_add(Weight::from_parts(0, 16).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 23).saturating_mul(v.into())) } /// Storage: ParaInherent Included (r:1 w:1) /// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured) @@ -183,11 +183,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured) fn enter_bitfields() -> Weight { // Proof Size summary in bytes: - // Measured: `42647` - // Estimated: `1182237` - // Minimum execution time: 346_395 nanoseconds. - Weight::from_parts(352_253_000, 0) - .saturating_add(Weight::from_parts(0, 1182237)) + // Measured: `42395` + // Estimated: `1200183` + // Minimum execution time: 322_846_000 picoseconds. + Weight::from_parts(333_533_000, 0) + .saturating_add(Weight::from_parts(0, 1200183)) .saturating_add(T::DbWeight::get().reads(26)) .saturating_add(T::DbWeight::get().writes(17)) } @@ -256,13 +256,13 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `42678` - // Estimated: `1233177` - // Minimum execution time: 5_650_864 nanoseconds. - Weight::from_parts(912_498_037, 0) - .saturating_add(Weight::from_parts(0, 1233177)) - // Standard Error: 44_727 - .saturating_add(Weight::from_parts(47_405_991, 0).saturating_mul(v.into())) + // Measured: `42426` + // Estimated: `1252851` + // Minimum execution time: 5_562_919_000 picoseconds. + Weight::from_parts(788_126_549, 0) + .saturating_add(Weight::from_parts(0, 1252851)) + // Standard Error: 40_209 + .saturating_add(Weight::from_parts(47_710_957, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(29)) .saturating_add(T::DbWeight::get().writes(16)) } @@ -334,11 +334,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured) fn enter_backed_candidate_code_upgrade() -> Weight { // Proof Size summary in bytes: - // Measured: `42705` - // Estimated: `1324293` - // Minimum execution time: 38_692_756 nanoseconds. - Weight::from_parts(38_855_318_000, 0) - .saturating_add(Weight::from_parts(0, 1324293)) + // Measured: `42453` + // Estimated: `1345443` + // Minimum execution time: 32_601_053_000 picoseconds. + Weight::from_parts(32_810_866_000, 0) + .saturating_add(Weight::from_parts(0, 1345443)) .saturating_add(T::DbWeight::get().reads(31)) .saturating_add(T::DbWeight::get().writes(16)) } diff --git a/runtime/westend/src/weights/runtime_parachains_ump.rs b/runtime/westend/src/weights/runtime_parachains_ump.rs index 89cdc435394b..dcea49b19f89 100644 --- a/runtime/westend/src/weights/runtime_parachains_ump.rs +++ b/runtime/westend/src/weights/runtime_parachains_ump.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 @@ -50,11 +50,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_303 nanoseconds. - Weight::from_parts(680_036, 0) + // Minimum execution time: 5_964_000 picoseconds. + Weight::from_parts(6_084_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_902, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(1_395, 0).saturating_mul(s.into())) } /// Storage: Ump NeedsDispatch (r:1 w:1) /// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured) @@ -66,11 +66,11 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo /// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured) fn clean_ump_after_outgoing() -> Weight { // Proof Size summary in bytes: - // Measured: `238` - // Estimated: `1942` - // Minimum execution time: 9_313 nanoseconds. - Weight::from_parts(9_573_000, 0) - .saturating_add(Weight::from_parts(0, 1942)) + // Measured: `206` + // Estimated: `3794` + // Minimum execution time: 9_744_000 picoseconds. + Weight::from_parts(10_070_000, 0) + .saturating_add(Weight::from_parts(0, 3794)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -81,10 +81,10 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn service_overweight() -> Weight { // Proof Size summary in bytes: // Measured: `223` - // Estimated: `3197` - // Minimum execution time: 23_606 nanoseconds. - Weight::from_parts(24_025_000, 0) - .saturating_add(Weight::from_parts(0, 3197)) + // Estimated: `5177` + // Minimum execution time: 24_463_000 picoseconds. + Weight::from_parts(24_903_000, 0) + .saturating_add(Weight::from_parts(0, 5177)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } From 97bd688932499e309c085f67298ad3deb98b7420 Mon Sep 17 00:00:00 2001 From: Davide Galassi Date: Fri, 17 Mar 2023 13:09:15 +0100 Subject: [PATCH 06/18] [Companion #13615] Keystore overhaul (#6892) * Remove not required async calls * Fixed missing renaming * make_keystore can be sync * More fixes * Trivial nitpicks * Cherry pick test fix from master * Fixes after master merge * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <> --- Cargo.lock | 367 +++++++++--------- node/core/approval-voting/src/criteria.rs | 17 +- node/core/approval-voting/src/tests.rs | 12 +- node/core/backing/src/lib.rs | 35 +- node/core/backing/src/tests.rs | 75 +--- node/core/bitfield-signing/src/lib.rs | 12 +- .../dispute-coordinator/src/initialized.rs | 3 +- node/core/dispute-coordinator/src/tests.rs | 24 +- node/core/provisioner/src/tests.rs | 45 +-- node/core/pvf-checker/src/lib.rs | 33 +- node/core/pvf-checker/src/tests.rs | 10 +- .../availability-distribution/src/lib.rs | 8 +- .../src/tests/mod.rs | 4 +- .../src/tests/state.rs | 4 +- .../bitfield-distribution/src/tests.rs | 56 +-- node/network/collator-protocol/src/lib.rs | 4 +- .../src/validator_side/mod.rs | 13 +- .../src/validator_side/tests.rs | 4 +- node/network/dispute-distribution/src/lib.rs | 4 +- .../dispute-distribution/src/tests/mock.rs | 17 +- .../dispute-distribution/src/tests/mod.rs | 30 +- node/network/gossip-support/src/lib.rs | 26 +- .../network/statement-distribution/src/lib.rs | 6 +- .../statement-distribution/src/tests.rs | 92 ++--- node/primitives/src/disputes/mod.rs | 11 +- node/service/src/lib.rs | 9 +- node/subsystem-test-helpers/src/mock.rs | 10 +- node/subsystem-util/src/lib.rs | 42 +- node/subsystem-util/src/runtime/mod.rs | 18 +- primitives/src/v4/signed.rs | 15 +- .../src/node/approval/approval-voting.md | 2 +- rpc/src/lib.rs | 4 +- runtime/common/src/crowdloan/mod.rs | 4 +- runtime/common/src/integration_tests.rs | 4 +- runtime/parachains/src/inclusion/tests.rs | 145 ++++--- runtime/parachains/src/mock.rs | 4 +- runtime/parachains/src/paras/tests.rs | 6 +- .../parachains/src/paras_inherent/tests.rs | 19 +- 38 files changed, 546 insertions(+), 648 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5fa40a3e8c75..2e8855b7f025 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -466,7 +466,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "hash-db", "log", @@ -2295,7 +2295,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", ] @@ -2318,7 +2318,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-support-procedural", @@ -2343,7 +2343,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "Inflector", "array-bytes", @@ -2390,7 +2390,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2401,7 +2401,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2418,7 +2418,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -2447,7 +2447,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "futures", "log", @@ -2463,7 +2463,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "bitflags", "environmental", @@ -2496,7 +2496,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "Inflector", "cfg-expr", @@ -2511,7 +2511,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2523,7 +2523,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "proc-macro2", "quote", @@ -2533,7 +2533,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -2557,7 +2557,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -2568,7 +2568,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "log", @@ -2586,7 +2586,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -2601,7 +2601,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "sp-api", @@ -2610,7 +2610,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "parity-scale-codec", @@ -2792,7 +2792,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "chrono", "frame-election-provider-support", @@ -4571,7 +4571,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "futures", "log", @@ -4590,7 +4590,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "anyhow", "jsonrpsee", @@ -5152,7 +5152,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5167,7 +5167,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -5183,7 +5183,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -5197,7 +5197,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5221,7 +5221,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5241,7 +5241,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -5260,7 +5260,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5275,7 +5275,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -5294,7 +5294,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -5318,7 +5318,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5336,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5355,7 +5355,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5372,7 +5372,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5389,7 +5389,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5407,7 +5407,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5443,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5461,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5479,7 +5479,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5518,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5538,7 +5538,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5555,7 +5555,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5572,7 +5572,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5589,7 +5589,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5605,7 +5605,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5621,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -5638,7 +5638,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5658,7 +5658,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -5669,7 +5669,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -5686,7 +5686,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5710,7 +5710,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5727,7 +5727,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5742,7 +5742,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5760,7 +5760,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5775,7 +5775,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5794,7 +5794,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5811,7 +5811,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -5832,7 +5832,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5848,7 +5848,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -5862,7 +5862,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5885,7 +5885,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5896,7 +5896,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "log", "sp-arithmetic", @@ -5905,7 +5905,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "sp-api", @@ -5914,7 +5914,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5931,7 +5931,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -5945,7 +5945,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5963,7 +5963,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5982,7 +5982,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-support", "frame-system", @@ -5998,7 +5998,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6014,7 +6014,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6026,7 +6026,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -6043,7 +6043,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -6058,7 +6058,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -6074,7 +6074,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -6089,7 +6089,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-benchmarking", "frame-support", @@ -9014,7 +9014,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "log", "sp-core", @@ -9025,7 +9025,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "futures", @@ -9053,7 +9053,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "futures", "futures-timer", @@ -9076,7 +9076,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -9091,7 +9091,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -9110,7 +9110,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9121,7 +9121,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "chrono", @@ -9161,7 +9161,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "fnv", "futures", @@ -9187,7 +9187,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "hash-db", "kvdb", @@ -9213,7 +9213,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "futures", @@ -9238,7 +9238,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "fork-tree", @@ -9277,7 +9277,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "futures", "jsonrpsee", @@ -9299,7 +9299,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "async-trait", @@ -9334,7 +9334,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "futures", "jsonrpsee", @@ -9353,7 +9353,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9366,7 +9366,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "ahash 0.8.2", "array-bytes", @@ -9406,7 +9406,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "finality-grandpa", "futures", @@ -9426,7 +9426,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "futures", @@ -9449,7 +9449,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "lru 0.8.1", "parity-scale-codec", @@ -9473,7 +9473,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -9486,7 +9486,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "log", "sc-allocator", @@ -9499,7 +9499,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "anyhow", "cfg-if", @@ -9517,7 +9517,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "ansi_term", "futures", @@ -9533,7 +9533,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "async-trait", @@ -9548,7 +9548,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "async-channel", @@ -9592,7 +9592,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "cid", "futures", @@ -9612,7 +9612,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "async-trait", @@ -9640,7 +9640,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "ahash 0.8.2", "futures", @@ -9659,7 +9659,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "futures", @@ -9681,7 +9681,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "async-trait", @@ -9715,7 +9715,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "futures", @@ -9735,7 +9735,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "bytes", @@ -9766,7 +9766,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "futures", "libp2p", @@ -9779,7 +9779,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9788,7 +9788,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "futures", "jsonrpsee", @@ -9818,7 +9818,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9837,7 +9837,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "http", "jsonrpsee", @@ -9852,7 +9852,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "futures", @@ -9878,7 +9878,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "directories", @@ -9944,7 +9944,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "log", "parity-scale-codec", @@ -9955,7 +9955,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "clap 4.0.15", "fs4", @@ -9971,7 +9971,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9990,7 +9990,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "futures", "libc", @@ -10009,7 +10009,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "chrono", "futures", @@ -10028,7 +10028,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "ansi_term", "atty", @@ -10059,7 +10059,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10070,7 +10070,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "futures", @@ -10097,7 +10097,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "futures", @@ -10111,7 +10111,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-channel", "futures", @@ -10626,7 +10626,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "hash-db", "log", @@ -10644,7 +10644,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "Inflector", "blake2", @@ -10658,7 +10658,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10671,7 +10671,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "integer-sqrt", "num-traits", @@ -10685,7 +10685,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10698,7 +10698,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "sp-api", @@ -10710,7 +10710,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "futures", "log", @@ -10728,7 +10728,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "futures", @@ -10743,7 +10743,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "parity-scale-codec", @@ -10761,7 +10761,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "merlin", @@ -10784,7 +10784,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "lazy_static", "parity-scale-codec", @@ -10803,7 +10803,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "finality-grandpa", "log", @@ -10821,7 +10821,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10833,7 +10833,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10846,7 +10846,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "base58", @@ -10889,7 +10889,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "blake2b_simd", "byteorder", @@ -10903,7 +10903,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "proc-macro2", "quote", @@ -10914,7 +10914,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10923,7 +10923,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "proc-macro2", "quote", @@ -10933,7 +10933,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "environmental", "parity-scale-codec", @@ -10944,7 +10944,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10959,7 +10959,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "bytes", "ed25519", @@ -10984,7 +10984,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "lazy_static", "sp-core", @@ -10995,9 +10995,8 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ - "async-trait", "futures", "merlin", "parity-scale-codec", @@ -11012,7 +11011,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "thiserror", "zstd", @@ -11021,7 +11020,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -11039,7 +11038,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "scale-info", @@ -11053,7 +11052,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "sp-api", "sp-core", @@ -11063,7 +11062,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "backtrace", "lazy_static", @@ -11073,7 +11072,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "rustc-hash", "serde", @@ -11083,7 +11082,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "either", "hash256-std-hasher", @@ -11105,7 +11104,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11123,7 +11122,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "Inflector", "proc-macro-crate", @@ -11135,7 +11134,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "scale-info", @@ -11149,7 +11148,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "scale-info", @@ -11161,7 +11160,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "hash-db", "log", @@ -11181,12 +11180,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11199,7 +11198,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "futures-timer", @@ -11214,7 +11213,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "sp-std", @@ -11226,7 +11225,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "sp-api", "sp-runtime", @@ -11235,7 +11234,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "log", @@ -11251,7 +11250,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "ahash 0.8.2", "hash-db", @@ -11274,7 +11273,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11291,7 +11290,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11302,7 +11301,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11316,7 +11315,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "parity-scale-codec", "scale-info", @@ -11536,7 +11535,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "platforms", ] @@ -11544,7 +11543,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11563,7 +11562,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "hyper", "log", @@ -11575,7 +11574,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "jsonrpsee", @@ -11588,7 +11587,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "jsonrpsee", "log", @@ -11607,7 +11606,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "array-bytes", "async-trait", @@ -11633,7 +11632,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11643,7 +11642,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11654,7 +11653,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "ansi_term", "build-helper", @@ -12455,7 +12454,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bd52212085051561aee5784ff48b295894b6509d" +source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" dependencies = [ "async-trait", "clap 4.0.15", diff --git a/node/core/approval-voting/src/criteria.rs b/node/core/approval-voting/src/criteria.rs index 6707fc5672aa..3b76941fde40 100644 --- a/node/core/approval-voting/src/criteria.rs +++ b/node/core/approval-voting/src/criteria.rs @@ -557,17 +557,14 @@ mod tests { use sp_application_crypto::sr25519; use sp_core::crypto::Pair as PairT; use sp_keyring::sr25519::Keyring as Sr25519Keyring; - use sp_keystore::CryptoStore; + use sp_keystore::Keystore; // sets up a keystore with the given keyring accounts. - async fn make_keystore(accounts: &[Sr25519Keyring]) -> LocalKeystore { + fn make_keystore(accounts: &[Sr25519Keyring]) -> LocalKeystore { let store = LocalKeystore::in_memory(); for s in accounts.iter().copied().map(|k| k.to_seed()) { - store - .sr25519_generate_new(ASSIGNMENT_KEY_TYPE_ID, Some(s.as_str())) - .await - .unwrap(); + store.sr25519_generate_new(ASSIGNMENT_KEY_TYPE_ID, Some(s.as_str())).unwrap(); } store @@ -620,7 +617,7 @@ mod tests { #[test] fn assignments_produced_for_non_backing() { - let keystore = futures::executor::block_on(make_keystore(&[Sr25519Keyring::Alice])); + let keystore = make_keystore(&[Sr25519Keyring::Alice]); let c_a = CandidateHash(Hash::repeat_byte(0)); let c_b = CandidateHash(Hash::repeat_byte(1)); @@ -655,7 +652,7 @@ mod tests { #[test] fn assign_to_nonzero_core() { - let keystore = futures::executor::block_on(make_keystore(&[Sr25519Keyring::Alice])); + let keystore = make_keystore(&[Sr25519Keyring::Alice]); let c_a = CandidateHash(Hash::repeat_byte(0)); let c_b = CandidateHash(Hash::repeat_byte(1)); @@ -688,7 +685,7 @@ mod tests { #[test] fn succeeds_empty_for_0_cores() { - let keystore = futures::executor::block_on(make_keystore(&[Sr25519Keyring::Alice])); + let keystore = make_keystore(&[Sr25519Keyring::Alice]); let relay_vrf_story = RelayVRFStory([42u8; 32]); let assignments = compute_assignments( @@ -728,7 +725,7 @@ mod tests { rotation_offset: usize, f: impl Fn(&mut MutatedAssignment) -> Option, // None = skip ) { - let keystore = futures::executor::block_on(make_keystore(&[Sr25519Keyring::Alice])); + let keystore = make_keystore(&[Sr25519Keyring::Alice]); let group_for_core = |i| GroupIndex(((i + rotation_offset) % n_cores) as _); diff --git a/node/core/approval-voting/src/tests.rs b/node/core/approval-voting/src/tests.rs index e284b328c8f4..3f5297e602cf 100644 --- a/node/core/approval-voting/src/tests.rs +++ b/node/core/approval-voting/src/tests.rs @@ -43,7 +43,7 @@ use assert_matches::assert_matches; use async_trait::async_trait; use parking_lot::Mutex; use sp_keyring::sr25519::Keyring as Sr25519Keyring; -use sp_keystore::SyncCryptoStore; +use sp_keystore::Keystore; use std::{ pin::Pin, sync::{ @@ -2312,12 +2312,8 @@ fn subsystem_validate_approvals_cache() { let store = config.backend(); test_harness(config, |test_harness| async move { - let TestHarness { - mut virtual_overseer, - clock, - sync_oracle_handle: _sync_oracle_handle, - .. - } = test_harness; + let TestHarness { mut virtual_overseer, clock, sync_oracle_handle: _sync_oracle_handle } = + test_harness; assert_matches!( overseer_recv(&mut virtual_overseer).await, @@ -2399,7 +2395,7 @@ fn subsystem_validate_approvals_cache() { } /// Ensure that when two assignments are imported, only one triggers the Approval Checking work -pub async fn handle_double_assignment_import( +async fn handle_double_assignment_import( virtual_overseer: &mut VirtualOverseer, candidate_index: CandidateIndex, ) { diff --git a/node/core/backing/src/lib.rs b/node/core/backing/src/lib.rs index 520c466af6f8..32a6bb79037b 100644 --- a/node/core/backing/src/lib.rs +++ b/node/core/backing/src/lib.rs @@ -52,7 +52,7 @@ use polkadot_primitives::{ CommittedCandidateReceipt, CoreIndex, CoreState, Hash, Id as ParaId, PvfExecTimeoutKind, SigningContext, ValidatorId, ValidatorIndex, ValidatorSignature, ValidityAttestation, }; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use statement_table::{ generic::AttestedCandidate as TableAttestedCandidate, v2::{ @@ -118,13 +118,13 @@ impl ValidatedCandidateCommand { /// The candidate backing subsystem. pub struct CandidateBackingSubsystem { - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, metrics: Metrics, } impl CandidateBackingSubsystem { /// Create a new instance of the `CandidateBackingSubsystem`. - pub fn new(keystore: SyncCryptoStorePtr, metrics: Metrics) -> Self { + pub fn new(keystore: KeystorePtr, metrics: Metrics) -> Self { Self { keystore, metrics } } } @@ -149,7 +149,7 @@ where #[overseer::contextbounds(CandidateBacking, prefix = self::overseer)] async fn run( mut ctx: Context, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, metrics: Metrics, ) -> FatalResult<()> { let (background_validation_tx, mut background_validation_rx) = mpsc::channel(16); @@ -178,7 +178,7 @@ async fn run( #[overseer::contextbounds(CandidateBacking, prefix = self::overseer)] async fn run_iteration( ctx: &mut Context, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, metrics: &Metrics, jobs: &mut HashMap>, background_validation_tx: mpsc::Sender<(Hash, ValidatedCandidateCommand)>, @@ -265,7 +265,7 @@ async fn handle_active_leaves_update( ctx: &mut Context, update: ActiveLeavesUpdate, jobs: &mut HashMap>, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, background_validation_tx: &mpsc::Sender<(Hash, ValidatedCandidateCommand)>, metrics: &Metrics, ) -> Result<(), Error> { @@ -323,7 +323,7 @@ async fn handle_active_leaves_update( let signing_context = SigningContext { parent_hash: parent, session_index }; let validator = - match Validator::construct(&validators, signing_context.clone(), keystore.clone()).await { + match Validator::construct(&validators, signing_context.clone(), keystore.clone()) { Ok(v) => Some(v), Err(util::Error::NotAValidator) => None, Err(e) => { @@ -426,7 +426,7 @@ struct CandidateBackingJob { /// The candidates that are includable, by hash. Each entry here indicates /// that we've sent the provisioner the backed candidate. backed: HashSet, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, table: Table, table_context: TableContext, background_validation_tx: mpsc::Sender<(Hash, ValidatedCandidateCommand)>, @@ -814,8 +814,7 @@ impl CandidateBackingJob { commitments, }); if let Some(stmt) = self - .sign_import_and_distribute_statement(ctx, statement, root_span) - .await? + .sign_import_and_distribute_statement(ctx, statement, root_span)? { // Break cycle - bounded as there is only one candidate to // second per block. @@ -843,8 +842,7 @@ impl CandidateBackingJob { if !self.issued_statements.contains(&candidate_hash) { if res.is_ok() { let statement = Statement::Valid(candidate_hash); - self.sign_import_and_distribute_statement(ctx, statement, &root_span) - .await?; + self.sign_import_and_distribute_statement(ctx, statement, &root_span)?; } self.issued_statements.insert(candidate_hash); } @@ -966,14 +964,14 @@ impl CandidateBackingJob { Ok(()) } - async fn sign_import_and_distribute_statement( + fn sign_import_and_distribute_statement( &mut self, ctx: &mut Context, statement: Statement, root_span: &jaeger::Span, ) -> Result, Error> { - if let Some(signed_statement) = self.sign_statement(statement).await { - self.import_statement(ctx, &signed_statement, root_span).await?; + if let Some(signed_statement) = self.sign_statement(statement) { + self.import_statement(ctx, &signed_statement, root_span)?; let smsg = StatementDistributionMessage::Share(self.parent, signed_statement.clone()); ctx.send_unbounded_message(smsg); @@ -1001,7 +999,7 @@ impl CandidateBackingJob { } /// Import a statement into the statement table and return the summary of the import. - async fn import_statement( + fn import_statement( &mut self, ctx: &mut Context, statement: &SignedFullStatement, @@ -1222,7 +1220,7 @@ impl CandidateBackingJob { ctx: &mut Context, statement: SignedFullStatement, ) -> Result<(), Error> { - if let Some(summary) = self.import_statement(ctx, &statement, root_span).await? { + if let Some(summary) = self.import_statement(ctx, &statement, root_span)? { if Some(summary.group_id) != self.assignment { return Ok(()) } @@ -1277,13 +1275,12 @@ impl CandidateBackingJob { Ok(()) } - async fn sign_statement(&mut self, statement: Statement) -> Option { + fn sign_statement(&mut self, statement: Statement) -> Option { let signed = self .table_context .validator .as_ref()? .sign(self.keystore.clone(), statement) - .await .ok() .flatten()?; self.metrics.on_statement_signed(); diff --git a/node/core/backing/src/tests.rs b/node/core/backing/src/tests.rs index 96e8c809ec6c..631d66e3d776 100644 --- a/node/core/backing/src/tests.rs +++ b/node/core/backing/src/tests.rs @@ -36,7 +36,7 @@ use polkadot_primitives::{ }; use sp_application_crypto::AppKey; use sp_keyring::Sr25519Keyring; -use sp_keystore::{CryptoStore, SyncCryptoStore}; +use sp_keystore::Keystore; use sp_tracing as _; use statement_table::v2::Misbehavior; use std::collections::HashMap; @@ -55,7 +55,7 @@ fn table_statement_to_primitive(statement: TableStatement) -> Statement { struct TestState { chain_ids: Vec, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, validators: Vec, validator_public: Vec, validation_data: PersistedValidationData, @@ -85,12 +85,8 @@ impl Default for TestState { let keystore = Arc::new(sc_keystore::LocalKeystore::in_memory()); // Make sure `Alice` key is in the keystore, so this mocked node will be a parachain validator. - SyncCryptoStore::sr25519_generate_new( - &*keystore, - ValidatorId::ID, - Some(&validators[0].to_seed()), - ) - .expect("Insert key into keystore"); + Keystore::sr25519_generate_new(&*keystore, ValidatorId::ID, Some(&validators[0].to_seed())) + .expect("Insert key into keystore"); let validator_public = validator_pubkeys(&validators); @@ -143,7 +139,7 @@ impl Default for TestState { type VirtualOverseer = test_helpers::TestSubsystemContextHandle; fn test_harness>( - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, test: impl FnOnce(VirtualOverseer) -> T, ) { let pool = sp_core::testing::TaskExecutor::new(); @@ -383,19 +379,17 @@ fn backing_works() { let candidate_a_hash = candidate_a.hash(); let candidate_a_commitments_hash = candidate_a.commitments.hash(); - let public1 = CryptoStore::sr25519_generate_new( + let public1 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[5].to_seed()), ) - .await .expect("Insert key into keystore"); - let public2 = CryptoStore::sr25519_generate_new( + let public2 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[2].to_seed()), ) - .await .expect("Insert key into keystore"); let signed_a = SignedFullStatement::sign( @@ -405,7 +399,6 @@ fn backing_works() { ValidatorIndex(2), &public2.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -417,7 +410,6 @@ fn backing_works() { ValidatorIndex(5), &public1.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -536,26 +528,23 @@ fn backing_works_while_validation_ongoing() { let candidate_a_hash = candidate_a.hash(); let candidate_a_commitments_hash = candidate_a.commitments.hash(); - let public1 = CryptoStore::sr25519_generate_new( + let public1 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[5].to_seed()), ) - .await .expect("Insert key into keystore"); - let public2 = CryptoStore::sr25519_generate_new( + let public2 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[2].to_seed()), ) - .await .expect("Insert key into keystore"); - let public3 = CryptoStore::sr25519_generate_new( + let public3 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[3].to_seed()), ) - .await .expect("Insert key into keystore"); let signed_a = SignedFullStatement::sign( @@ -565,7 +554,6 @@ fn backing_works_while_validation_ongoing() { ValidatorIndex(2), &public2.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -577,7 +565,6 @@ fn backing_works_while_validation_ongoing() { ValidatorIndex(5), &public1.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -589,7 +576,6 @@ fn backing_works_while_validation_ongoing() { ValidatorIndex(3), &public3.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -719,12 +705,11 @@ fn backing_misbehavior_works() { let candidate_a_hash = candidate_a.hash(); let candidate_a_commitments_hash = candidate_a.commitments.hash(); - let public2 = CryptoStore::sr25519_generate_new( + let public2 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[2].to_seed()), ) - .await .expect("Insert key into keystore"); let seconded_2 = SignedFullStatement::sign( &test_state.keystore, @@ -733,7 +718,6 @@ fn backing_misbehavior_works() { ValidatorIndex(2), &public2.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -745,7 +729,6 @@ fn backing_misbehavior_works() { ValidatorIndex(2), &public2.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -1015,12 +998,11 @@ fn backing_second_after_first_fails_works() { } .build(); - let validator2 = CryptoStore::sr25519_generate_new( + let validator2 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[2].to_seed()), ) - .await .expect("Insert key into keystore"); let signed_a = SignedFullStatement::sign( @@ -1030,7 +1012,6 @@ fn backing_second_after_first_fails_works() { ValidatorIndex(2), &validator2.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -1142,12 +1123,11 @@ fn backing_works_after_failed_validation() { } .build(); - let public2 = CryptoStore::sr25519_generate_new( + let public2 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[2].to_seed()), ) - .await .expect("Insert key into keystore"); let signed_a = SignedFullStatement::sign( &test_state.keystore, @@ -1156,7 +1136,6 @@ fn backing_works_after_failed_validation() { ValidatorIndex(2), &public2.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -1291,12 +1270,11 @@ fn validation_work_ignores_wrong_collator() { } .build(); - let public2 = CryptoStore::sr25519_generate_new( + let public2 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[2].to_seed()), ) - .await .expect("Insert key into keystore"); let seconding = SignedFullStatement::sign( &test_state.keystore, @@ -1305,7 +1283,6 @@ fn validation_work_ignores_wrong_collator() { ValidatorIndex(2), &public2.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -1417,26 +1394,23 @@ fn retry_works() { } .build(); - let public2 = CryptoStore::sr25519_generate_new( + let public2 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[2].to_seed()), ) - .await .expect("Insert key into keystore"); - let public3 = CryptoStore::sr25519_generate_new( + let public3 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[3].to_seed()), ) - .await .expect("Insert key into keystore"); - let public5 = CryptoStore::sr25519_generate_new( + let public5 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[5].to_seed()), ) - .await .expect("Insert key into keystore"); let signed_a = SignedFullStatement::sign( &test_state.keystore, @@ -1445,7 +1419,6 @@ fn retry_works() { ValidatorIndex(2), &public2.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -1456,7 +1429,6 @@ fn retry_works() { ValidatorIndex(3), &public3.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -1467,7 +1439,6 @@ fn retry_works() { ValidatorIndex(5), &public5.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -1574,26 +1545,23 @@ fn observes_backing_even_if_not_validator() { .build(); let candidate_a_hash = candidate_a.hash(); - let public0 = CryptoStore::sr25519_generate_new( + let public0 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[0].to_seed()), ) - .await .expect("Insert key into keystore"); - let public1 = CryptoStore::sr25519_generate_new( + let public1 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[5].to_seed()), ) - .await .expect("Insert key into keystore"); - let public2 = CryptoStore::sr25519_generate_new( + let public2 = Keystore::sr25519_generate_new( &*test_state.keystore, ValidatorId::ID, Some(&test_state.validators[2].to_seed()), ) - .await .expect("Insert key into keystore"); // Produce a 3-of-5 quorum on the candidate. @@ -1605,7 +1573,6 @@ fn observes_backing_even_if_not_validator() { ValidatorIndex(0), &public0.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -1617,7 +1584,6 @@ fn observes_backing_even_if_not_validator() { ValidatorIndex(5), &public1.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -1629,7 +1595,6 @@ fn observes_backing_even_if_not_validator() { ValidatorIndex(2), &public2.into(), ) - .await .ok() .flatten() .expect("should be signed"); diff --git a/node/core/bitfield-signing/src/lib.rs b/node/core/bitfield-signing/src/lib.rs index 5de75cadf12e..8ea847a4143f 100644 --- a/node/core/bitfield-signing/src/lib.rs +++ b/node/core/bitfield-signing/src/lib.rs @@ -37,7 +37,7 @@ use polkadot_node_subsystem::{ }; use polkadot_node_subsystem_util::{self as util, Validator}; use polkadot_primitives::{AvailabilityBitfield, CoreState, Hash, ValidatorIndex}; -use sp_keystore::{Error as KeystoreError, SyncCryptoStorePtr}; +use sp_keystore::{Error as KeystoreError, KeystorePtr}; use std::{collections::HashMap, iter::FromIterator, time::Duration}; use wasm_timer::{Delay, Instant}; @@ -181,13 +181,13 @@ async fn construct_availability_bitfield( /// The bitfield signing subsystem. pub struct BitfieldSigningSubsystem { - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, metrics: Metrics, } impl BitfieldSigningSubsystem { /// Create a new instance of the `BitfieldSigningSubsystem`. - pub fn new(keystore: SyncCryptoStorePtr, metrics: Metrics) -> Self { + pub fn new(keystore: KeystorePtr, metrics: Metrics) -> Self { Self { keystore, metrics } } } @@ -209,7 +209,7 @@ impl BitfieldSigningSubsystem { #[overseer::contextbounds(BitfieldSigning, prefix = self::overseer)] async fn run( mut ctx: Context, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, metrics: Metrics, ) -> SubsystemResult<()> { // Track spawned jobs per active leaf. @@ -251,7 +251,7 @@ async fn run( async fn handle_active_leaves_update( mut sender: Sender, leaf: ActivatedLeaf, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, metrics: Metrics, ) -> Result<(), Error> where @@ -310,7 +310,7 @@ where let span_signing = span.child("signing"); let signed_bitfield = - match validator.sign(keystore, bitfield).await.map_err(|e| Error::Keystore(e))? { + match validator.sign(keystore, bitfield).map_err(|e| Error::Keystore(e))? { Some(b) => b, None => { gum::error!( diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index 047356838ff0..f1e6d516d6cf 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -1168,8 +1168,7 @@ impl Initialized { .get(*index) .expect("`controlled_indices` are derived from `validators`; qed") .clone(), - ) - .await; + ); match res { Ok(Some(signed_dispute_statement)) => { diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index 7d7243243ddf..5504fc7228f1 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -48,7 +48,7 @@ use sc_keystore::LocalKeystore; use sp_application_crypto::AppKey; use sp_core::{sr25519::Pair, testing::TaskExecutor, Pair as PairT}; use sp_keyring::Sr25519Keyring; -use sp_keystore::{SyncCryptoStore, SyncCryptoStorePtr}; +use sp_keystore::{Keystore, KeystorePtr}; use ::test_helpers::{dummy_candidate_receipt_bad_sig, dummy_digest, dummy_hash}; use polkadot_node_primitives::{Timestamp, ACTIVE_DURATION_SECS}; @@ -520,10 +520,9 @@ impl TestState { ) -> SignedDisputeStatement { let public = self.validator_public.get(index).unwrap().clone(); - let keystore = self.master_keystore.clone() as SyncCryptoStorePtr; + let keystore = self.master_keystore.clone() as KeystorePtr; SignedDisputeStatement::sign_explicit(&keystore, valid, candidate_hash, session, public) - .await .unwrap() .unwrap() } @@ -534,7 +533,7 @@ impl TestState { candidate_hash: CandidateHash, session: SessionIndex, ) -> SignedDisputeStatement { - let keystore = self.master_keystore.clone() as SyncCryptoStorePtr; + let keystore = self.master_keystore.clone() as KeystorePtr; let validator_id = self.validators[index.0 as usize].public().into(); let context = SigningContext { session_index: session, parent_hash: Hash::repeat_byte(0xac) }; @@ -546,7 +545,6 @@ impl TestState { index, &validator_id, ) - .await .unwrap() .unwrap() .into_unchecked(); @@ -560,19 +558,15 @@ impl TestState { candidate_hash: CandidateHash, session: SessionIndex, ) -> SignedDisputeStatement { - let keystore = self.master_keystore.clone() as SyncCryptoStorePtr; + let keystore = self.master_keystore.clone() as KeystorePtr; let validator_id = self.validators[index.0 as usize].public(); let payload = ApprovalVote(candidate_hash).signing_payload(session); - let signature = SyncCryptoStore::sign_with( - &*keystore, - ValidatorId::ID, - &validator_id.into(), - &payload[..], - ) - .ok() - .flatten() - .unwrap(); + let signature = + Keystore::sign_with(&*keystore, ValidatorId::ID, &validator_id.into(), &payload[..]) + .ok() + .flatten() + .unwrap(); SignedDisputeStatement::new_unchecked_from_trusted_source( DisputeStatement::Valid(ValidDisputeStatementKind::ApprovalChecking), diff --git a/node/core/provisioner/src/tests.rs b/node/core/provisioner/src/tests.rs index fb25129ca924..96502b027789 100644 --- a/node/core/provisioner/src/tests.rs +++ b/node/core/provisioner/src/tests.rs @@ -56,19 +56,17 @@ pub fn scheduled_core(id: u32) -> ScheduledCore { mod select_availability_bitfields { use super::{super::*, default_bitvec, occupied_core}; - use futures::executor::block_on; use polkadot_primitives::{ScheduledCore, SigningContext, ValidatorId, ValidatorIndex}; use sp_application_crypto::AppKey; - use sp_keystore::{testing::KeyStore, CryptoStore, SyncCryptoStorePtr}; + use sp_keystore::{testing::MemoryKeystore, Keystore, KeystorePtr}; use std::sync::Arc; - async fn signed_bitfield( - keystore: &SyncCryptoStorePtr, + fn signed_bitfield( + keystore: &KeystorePtr, field: CoreAvailability, validator_idx: ValidatorIndex, ) -> SignedAvailabilityBitfield { - let public = CryptoStore::sr25519_generate_new(&**keystore, ValidatorId::ID, None) - .await + let public = Keystore::sr25519_generate_new(&**keystore, ValidatorId::ID, None) .expect("generated sr25519 key"); SignedAvailabilityBitfield::sign( &keystore, @@ -77,7 +75,6 @@ mod select_availability_bitfields { validator_idx, &public.into(), ) - .await .ok() .flatten() .expect("Should be signed") @@ -85,7 +82,7 @@ mod select_availability_bitfields { #[test] fn not_more_than_one_per_validator() { - let keystore: SyncCryptoStorePtr = Arc::new(KeyStore::new()); + let keystore: KeystorePtr = Arc::new(MemoryKeystore::new()); let mut bitvec = default_bitvec(2); bitvec.set(0, true); bitvec.set(1, true); @@ -95,9 +92,9 @@ mod select_availability_bitfields { // we pass in three bitfields with two validators // this helps us check the postcondition that we get two bitfields back, for which the validators differ let bitfields = vec![ - block_on(signed_bitfield(&keystore, bitvec.clone(), ValidatorIndex(0))), - block_on(signed_bitfield(&keystore, bitvec.clone(), ValidatorIndex(1))), - block_on(signed_bitfield(&keystore, bitvec, ValidatorIndex(1))), + signed_bitfield(&keystore, bitvec.clone(), ValidatorIndex(0)), + signed_bitfield(&keystore, bitvec.clone(), ValidatorIndex(1)), + signed_bitfield(&keystore, bitvec, ValidatorIndex(1)), ]; let mut selected_bitfields = @@ -112,7 +109,7 @@ mod select_availability_bitfields { #[test] fn each_corresponds_to_an_occupied_core() { - let keystore: SyncCryptoStorePtr = Arc::new(KeyStore::new()); + let keystore: KeystorePtr = Arc::new(MemoryKeystore::new()); let bitvec = default_bitvec(3); // invalid: bit on free core @@ -134,9 +131,9 @@ mod select_availability_bitfields { ]; let bitfields = vec![ - block_on(signed_bitfield(&keystore, bitvec0, ValidatorIndex(0))), - block_on(signed_bitfield(&keystore, bitvec1, ValidatorIndex(1))), - block_on(signed_bitfield(&keystore, bitvec2.clone(), ValidatorIndex(2))), + signed_bitfield(&keystore, bitvec0, ValidatorIndex(0)), + signed_bitfield(&keystore, bitvec1, ValidatorIndex(1)), + signed_bitfield(&keystore, bitvec2.clone(), ValidatorIndex(2)), ]; let selected_bitfields = @@ -149,7 +146,7 @@ mod select_availability_bitfields { #[test] fn more_set_bits_win_conflicts() { - let keystore: SyncCryptoStorePtr = Arc::new(KeyStore::new()); + let keystore: KeystorePtr = Arc::new(MemoryKeystore::new()); let mut bitvec = default_bitvec(2); bitvec.set(0, true); @@ -159,8 +156,8 @@ mod select_availability_bitfields { let cores = vec![occupied_core(0), occupied_core(1)]; let bitfields = vec![ - block_on(signed_bitfield(&keystore, bitvec, ValidatorIndex(1))), - block_on(signed_bitfield(&keystore, bitvec1.clone(), ValidatorIndex(1))), + signed_bitfield(&keystore, bitvec, ValidatorIndex(1)), + signed_bitfield(&keystore, bitvec1.clone(), ValidatorIndex(1)), ]; let selected_bitfields = @@ -171,7 +168,7 @@ mod select_availability_bitfields { #[test] fn more_complex_bitfields() { - let keystore: SyncCryptoStorePtr = Arc::new(KeyStore::new()); + let keystore: KeystorePtr = Arc::new(MemoryKeystore::new()); let cores = vec![occupied_core(0), occupied_core(1), occupied_core(2), occupied_core(3)]; @@ -194,11 +191,11 @@ mod select_availability_bitfields { // these are out of order but will be selected in order. The better // bitfield for 3 will be selected. let bitfields = vec![ - block_on(signed_bitfield(&keystore, bitvec2.clone(), ValidatorIndex(3))), - block_on(signed_bitfield(&keystore, bitvec3.clone(), ValidatorIndex(3))), - block_on(signed_bitfield(&keystore, bitvec0.clone(), ValidatorIndex(0))), - block_on(signed_bitfield(&keystore, bitvec2.clone(), ValidatorIndex(2))), - block_on(signed_bitfield(&keystore, bitvec1.clone(), ValidatorIndex(1))), + signed_bitfield(&keystore, bitvec2.clone(), ValidatorIndex(3)), + signed_bitfield(&keystore, bitvec3.clone(), ValidatorIndex(3)), + signed_bitfield(&keystore, bitvec0.clone(), ValidatorIndex(0)), + signed_bitfield(&keystore, bitvec2.clone(), ValidatorIndex(2)), + signed_bitfield(&keystore, bitvec1.clone(), ValidatorIndex(1)), ]; let selected_bitfields = diff --git a/node/core/pvf-checker/src/lib.rs b/node/core/pvf-checker/src/lib.rs index 4278b74e0b15..60b886426b59 100644 --- a/node/core/pvf-checker/src/lib.rs +++ b/node/core/pvf-checker/src/lib.rs @@ -30,7 +30,7 @@ use polkadot_primitives::{ BlockNumber, Hash, PvfCheckStatement, SessionIndex, ValidationCodeHash, ValidatorId, ValidatorIndex, }; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use std::collections::HashSet; const LOG_TARGET: &str = "parachain::pvf-checker"; @@ -50,12 +50,12 @@ use self::{ /// PVF pre-checking subsystem. pub struct PvfCheckerSubsystem { enabled: bool, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, metrics: Metrics, } impl PvfCheckerSubsystem { - pub fn new(enabled: bool, keystore: SyncCryptoStorePtr, metrics: Metrics) -> Self { + pub fn new(enabled: bool, keystore: KeystorePtr, metrics: Metrics) -> Self { PvfCheckerSubsystem { enabled, keystore, metrics } } } @@ -123,7 +123,7 @@ struct State { #[overseer::contextbounds(PvfChecker, prefix = self::overseer)] async fn run( mut ctx: Context, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, metrics: Metrics, ) -> SubsystemResult<()> { let mut state = State { @@ -174,7 +174,7 @@ async fn run( async fn handle_pvf_check( state: &mut State, sender: &mut impl overseer::PvfCheckerSenderTrait, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, metrics: &Metrics, outcome: PreCheckOutcome, validation_code_hash: ValidationCodeHash, @@ -244,7 +244,7 @@ struct Conclude; async fn handle_from_overseer( state: &mut State, sender: &mut impl overseer::PvfCheckerSenderTrait, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, metrics: &Metrics, from_overseer: FromOrchestra, ) -> Option { @@ -270,7 +270,7 @@ async fn handle_from_overseer( async fn handle_leaves_update( state: &mut State, sender: &mut impl overseer::PvfCheckerSenderTrait, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, metrics: &Metrics, update: ActiveLeavesUpdate, ) { @@ -352,7 +352,7 @@ struct ActivationEffect { async fn examine_activation( state: &mut State, sender: &mut impl overseer::PvfCheckerSenderTrait, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, leaf_hash: Hash, leaf_number: BlockNumber, ) -> Option { @@ -411,7 +411,7 @@ async fn examine_activation( /// returns the [`SigningCredentials`]. async fn check_signing_credentials( sender: &mut impl SubsystemSender, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, leaf: Hash, ) -> Option { let validators = match runtime_api::validators(sender, leaf).await { @@ -427,12 +427,9 @@ async fn check_signing_credentials( }, }; - polkadot_node_subsystem_util::signing_key_and_index(&validators, keystore) - .await - .map(|(validator_key, validator_index)| SigningCredentials { - validator_key, - validator_index, - }) + polkadot_node_subsystem_util::signing_key_and_index(&validators, keystore).map( + |(validator_key, validator_index)| SigningCredentials { validator_key, validator_index }, + ) } /// Signs and submits a vote for or against a given validation code. @@ -440,7 +437,7 @@ async fn check_signing_credentials( /// If the validator already voted for the given code, this function does nothing. async fn sign_and_submit_pvf_check_statement( sender: &mut impl overseer::PvfCheckerSenderTrait, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, voted: &mut HashSet, credentials: &SigningCredentials, metrics: &Metrics, @@ -482,9 +479,7 @@ async fn sign_and_submit_pvf_check_statement( keystore, &credentials.validator_key, &stmt.signing_payload(), - ) - .await - { + ) { Ok(Some(signature)) => signature, Ok(None) => { gum::warn!( diff --git a/node/core/pvf-checker/src/tests.rs b/node/core/pvf-checker/src/tests.rs index e1b9b8a5b0db..38c5e35026db 100644 --- a/node/core/pvf-checker/src/tests.rs +++ b/node/core/pvf-checker/src/tests.rs @@ -32,7 +32,7 @@ use polkadot_primitives::{ use sp_application_crypto::AppKey; use sp_core::testing::TaskExecutor; use sp_keyring::Sr25519Keyring; -use sp_keystore::SyncCryptoStore; +use sp_keystore::Keystore; use sp_runtime::traits::AppVerify; use std::{collections::HashMap, sync::Arc, time::Duration}; @@ -363,12 +363,8 @@ fn test_harness(test: impl FnOnce(TestState, VirtualOverseer) -> BoxFuture<'stat let keystore = Arc::new(sc_keystore::LocalKeystore::in_memory()); // Add OUR_VALIDATOR (which is Alice) to the keystore. - SyncCryptoStore::sr25519_generate_new( - &*keystore, - ValidatorId::ID, - Some(&OUR_VALIDATOR.to_seed()), - ) - .expect("Generating keys for our node failed"); + Keystore::sr25519_generate_new(&*keystore, ValidatorId::ID, Some(&OUR_VALIDATOR.to_seed())) + .expect("Generating keys for our node failed"); let subsystem_task = crate::run(ctx, keystore, crate::Metrics::default()).map(|x| x.unwrap()); diff --git a/node/network/availability-distribution/src/lib.rs b/node/network/availability-distribution/src/lib.rs index 7dceb5f80e6c..41702cd7a874 100644 --- a/node/network/availability-distribution/src/lib.rs +++ b/node/network/availability-distribution/src/lib.rs @@ -16,7 +16,7 @@ use futures::{future::Either, FutureExt, StreamExt, TryFutureExt}; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use polkadot_node_network_protocol::request_response::{v1, IncomingRequestReceiver}; use polkadot_node_subsystem::{ @@ -83,11 +83,7 @@ impl AvailabilityDistributionSubsystem { #[overseer::contextbounds(AvailabilityDistribution, prefix = self::overseer)] impl AvailabilityDistributionSubsystem { /// Create a new instance of the availability distribution. - pub fn new( - keystore: SyncCryptoStorePtr, - recvs: IncomingRequestReceivers, - metrics: Metrics, - ) -> Self { + pub fn new(keystore: KeystorePtr, recvs: IncomingRequestReceivers, metrics: Metrics) -> Self { let runtime = RuntimeInfo::new(Some(keystore)); Self { runtime, recvs, metrics } } diff --git a/node/network/availability-distribution/src/tests/mod.rs b/node/network/availability-distribution/src/tests/mod.rs index 39f8287e840a..93e8df62683d 100644 --- a/node/network/availability-distribution/src/tests/mod.rs +++ b/node/network/availability-distribution/src/tests/mod.rs @@ -20,7 +20,7 @@ use futures::{executor, future, Future}; use polkadot_node_network_protocol::request_response::{IncomingRequest, ReqProtocolNames}; use polkadot_primitives::{CoreState, Hash}; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use polkadot_node_subsystem_test_helpers as test_helpers; @@ -34,7 +34,7 @@ use state::{TestHarness, TestState}; pub(crate) mod mock; fn test_harness>( - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, test_fx: impl FnOnce(TestHarness) -> T, ) { sp_tracing::try_init_simple(); diff --git a/node/network/availability-distribution/src/tests/state.rs b/node/network/availability-distribution/src/tests/state.rs index 6dc035d4849d..50a7ea271f49 100644 --- a/node/network/availability-distribution/src/tests/state.rs +++ b/node/network/availability-distribution/src/tests/state.rs @@ -32,7 +32,7 @@ use futures_timer::Delay; use sc_network as network; use sc_network::{config as netconfig, config::RequestResponseConfig, IfDisconnected}; use sp_core::{testing::TaskExecutor, traits::SpawnNamed}; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use polkadot_node_network_protocol::{ jaeger, @@ -83,7 +83,7 @@ pub struct TestState { pub session_info: SessionInfo, /// Cores per relay chain block. pub cores: HashMap>, - pub keystore: SyncCryptoStorePtr, + pub keystore: KeystorePtr, } impl Default for TestState { diff --git a/node/network/bitfield-distribution/src/tests.rs b/node/network/bitfield-distribution/src/tests.rs index 67acc5a65592..95ffe197357b 100644 --- a/node/network/bitfield-distribution/src/tests.rs +++ b/node/network/bitfield-distribution/src/tests.rs @@ -37,7 +37,7 @@ use sp_application_crypto::AppKey; use sp_authority_discovery::AuthorityPair as AuthorityDiscoveryPair; use sp_core::Pair as PairT; use sp_keyring::Sr25519Keyring; -use sp_keystore::{testing::KeyStore, SyncCryptoStore, SyncCryptoStorePtr}; +use sp_keystore::{testing::MemoryKeystore, Keystore, KeystorePtr}; use std::{iter::FromIterator as _, sync::Arc, time::Duration}; @@ -92,13 +92,13 @@ fn prewarmed_state( fn state_with_view( view: OurView, relay_parent: Hash, -) -> (ProtocolState, SigningContext, SyncCryptoStorePtr, ValidatorId) { +) -> (ProtocolState, SigningContext, KeystorePtr, ValidatorId) { let mut state = ProtocolState::default(); let signing_context = SigningContext { session_index: 1, parent_hash: relay_parent.clone() }; - let keystore: SyncCryptoStorePtr = Arc::new(KeyStore::new()); - let validator = SyncCryptoStore::sr25519_generate_new(&*keystore, ValidatorId::ID, None) + let keystore: KeystorePtr = Arc::new(MemoryKeystore::new()); + let validator = Keystore::sr25519_generate_new(&*keystore, ValidatorId::ID, None) .expect("generating sr25519 key not to fail"); state.per_relay_parent = view @@ -139,43 +139,43 @@ fn receive_invalid_signature() { let signing_context = SigningContext { session_index: 1, parent_hash: hash_a.clone() }; // another validator not part of the validatorset - let keystore: SyncCryptoStorePtr = Arc::new(KeyStore::new()); - let malicious = SyncCryptoStore::sr25519_generate_new(&*keystore, ValidatorId::ID, None) + let keystore: KeystorePtr = Arc::new(MemoryKeystore::new()); + let malicious = Keystore::sr25519_generate_new(&*keystore, ValidatorId::ID, None) .expect("Malicious key created"); - let validator_0 = SyncCryptoStore::sr25519_generate_new(&*keystore, ValidatorId::ID, None) - .expect("key created"); - let validator_1 = SyncCryptoStore::sr25519_generate_new(&*keystore, ValidatorId::ID, None) - .expect("key created"); + let validator_0 = + Keystore::sr25519_generate_new(&*keystore, ValidatorId::ID, None).expect("key created"); + let validator_1 = + Keystore::sr25519_generate_new(&*keystore, ValidatorId::ID, None).expect("key created"); let payload = AvailabilityBitfield(bitvec![u8, bitvec::order::Lsb0; 1u8; 32]); - let invalid_signed = executor::block_on(Signed::::sign( + let invalid_signed = Signed::::sign( &keystore, payload.clone(), &signing_context, ValidatorIndex(0), &malicious.into(), - )) + ) .ok() .flatten() .expect("should be signed"); - let invalid_signed_2 = executor::block_on(Signed::::sign( + let invalid_signed_2 = Signed::::sign( &keystore, payload.clone(), &signing_context, ValidatorIndex(1), &malicious.into(), - )) + ) .ok() .flatten() .expect("should be signed"); - let valid_signed = executor::block_on(Signed::::sign( + let valid_signed = Signed::::sign( &keystore, payload, &signing_context, ValidatorIndex(0), &validator_0.into(), - )) + ) .ok() .flatten() .expect("should be signed"); @@ -263,13 +263,13 @@ fn receive_invalid_validator_index() { state.peer_views.insert(peer_b.clone(), view![hash_a]); let payload = AvailabilityBitfield(bitvec![u8, bitvec::order::Lsb0; 1u8; 32]); - let signed = executor::block_on(Signed::::sign( + let signed = Signed::::sign( &keystore, payload, &signing_context, ValidatorIndex(42), &validator, - )) + ) .ok() .flatten() .expect("should be signed"); @@ -323,13 +323,13 @@ fn receive_duplicate_messages() { // create a signed message by validator 0 let payload = AvailabilityBitfield(bitvec![u8, bitvec::order::Lsb0; 1u8; 32]); - let signed_bitfield = executor::block_on(Signed::::sign( + let signed_bitfield = Signed::::sign( &keystore, payload, &signing_context, ValidatorIndex(0), &validator, - )) + ) .ok() .flatten() .expect("should be signed"); @@ -436,13 +436,13 @@ fn do_not_relay_message_twice() { // create a signed message by validator 0 let payload = AvailabilityBitfield(bitvec![u8, bitvec::order::Lsb0; 1u8; 32]); - let signed_bitfield = executor::block_on(Signed::::sign( + let signed_bitfield = Signed::::sign( &keystore, payload, &signing_context, ValidatorIndex(0), &validator, - )) + ) .ok() .flatten() .expect("should be signed"); @@ -547,13 +547,13 @@ fn changing_view() { // create a signed message by validator 0 let payload = AvailabilityBitfield(bitvec![u8, bitvec::order::Lsb0; 1u8; 32]); - let signed_bitfield = executor::block_on(Signed::::sign( + let signed_bitfield = Signed::::sign( &keystore, payload, &signing_context, ValidatorIndex(0), &validator, - )) + ) .ok() .flatten() .expect("should be signed"); @@ -708,13 +708,13 @@ fn do_not_send_message_back_to_origin() { // create a signed message by validator 0 let payload = AvailabilityBitfield(bitvec![u8, bitvec::order::Lsb0; 1u8; 32]); - let signed_bitfield = executor::block_on(Signed::::sign( + let signed_bitfield = Signed::::sign( &keystore, payload, &signing_context, ValidatorIndex(0), &validator, - )) + ) .ok() .flatten() .expect("should be signed"); @@ -823,13 +823,13 @@ fn topology_test() { // create a signed message by validator 0 let payload = AvailabilityBitfield(bitvec![u8, bitvec::order::Lsb0; 1u8; 32]); - let signed_bitfield = executor::block_on(Signed::::sign( + let signed_bitfield = Signed::::sign( &keystore, payload, &signing_context, ValidatorIndex(0), &validator, - )) + ) .ok() .flatten() .expect("should be signed"); diff --git a/node/network/collator-protocol/src/lib.rs b/node/network/collator-protocol/src/lib.rs index 388121cfc049..ab8718ee3be6 100644 --- a/node/network/collator-protocol/src/lib.rs +++ b/node/network/collator-protocol/src/lib.rs @@ -28,7 +28,7 @@ use futures::{ FutureExt, TryFutureExt, }; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use polkadot_node_network_protocol::{ request_response::{v1 as request_v1, IncomingRequestReceiver}, @@ -70,7 +70,7 @@ pub enum ProtocolSide { /// Validators operate on the relay chain. Validator { /// The keystore holding validator keys. - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, /// An eviction policy for inactive peers or validators. eviction_policy: CollatorEvictionPolicy, /// Prometheus metrics for validators. diff --git a/node/network/collator-protocol/src/validator_side/mod.rs b/node/network/collator-protocol/src/validator_side/mod.rs index 5d5417fb3001..8ed4fd4492c0 100644 --- a/node/network/collator-protocol/src/validator_side/mod.rs +++ b/node/network/collator-protocol/src/validator_side/mod.rs @@ -30,7 +30,7 @@ use std::{ time::{Duration, Instant}, }; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use polkadot_node_network_protocol::{ self as net_protocol, @@ -367,7 +367,7 @@ impl ActiveParas { async fn assign_incoming( &mut self, sender: &mut impl SubsystemSender, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, new_relay_parents: impl IntoIterator, ) { for relay_parent in new_relay_parents { @@ -404,7 +404,6 @@ impl ActiveParas { let para_now = match polkadot_node_subsystem_util::signing_key_and_index(&validators, keystore) - .await .and_then(|(_, index)| { polkadot_node_subsystem_util::find_validator_group(&groups, index) }) { @@ -993,7 +992,7 @@ async fn remove_relay_parent(state: &mut State, relay_parent: Hash) -> Result<() async fn handle_our_view_change( ctx: &mut Context, state: &mut State, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, view: OurView, ) -> Result<()> { let old_view = std::mem::replace(&mut state.view, view); @@ -1049,7 +1048,7 @@ async fn handle_our_view_change( async fn handle_network_msg( ctx: &mut Context, state: &mut State, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, bridge_message: NetworkBridgeEvent, ) -> Result<()> { use NetworkBridgeEvent::*; @@ -1084,7 +1083,7 @@ async fn handle_network_msg( #[overseer::contextbounds(CollatorProtocol, prefix = self::overseer)] async fn process_msg( ctx: &mut Context, - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, msg: CollatorProtocolMessage, state: &mut State, ) { @@ -1165,7 +1164,7 @@ async fn process_msg( #[overseer::contextbounds(CollatorProtocol, prefix = self::overseer)] pub(crate) async fn run( mut ctx: Context, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, eviction_policy: crate::CollatorEvictionPolicy, metrics: Metrics, ) -> std::result::Result<(), crate::error::FatalError> { diff --git a/node/network/collator-protocol/src/validator_side/tests.rs b/node/network/collator-protocol/src/validator_side/tests.rs index 7b25ff7be616..66a5dd5e0372 100644 --- a/node/network/collator-protocol/src/validator_side/tests.rs +++ b/node/network/collator-protocol/src/validator_side/tests.rs @@ -19,7 +19,7 @@ use assert_matches::assert_matches; use futures::{executor, future, Future}; use sp_core::{crypto::Pair, Encode}; use sp_keyring::Sr25519Keyring; -use sp_keystore::{testing::KeyStore as TestKeyStore, SyncCryptoStore}; +use sp_keystore::{testing::MemoryKeystore, Keystore}; use std::{iter, sync::Arc, task::Poll, time::Duration}; use polkadot_node_network_protocol::{ @@ -130,7 +130,7 @@ fn test_harness>(test: impl FnOnce(TestHarne let (context, virtual_overseer) = test_helpers::make_subsystem_context(pool.clone()); - let keystore = TestKeyStore::new(); + let keystore = MemoryKeystore::new(); keystore .sr25519_generate_new( polkadot_primitives::PARACHAIN_KEY_TYPE_ID, diff --git a/node/network/dispute-distribution/src/lib.rs b/node/network/dispute-distribution/src/lib.rs index f3325a11a659..1ac54c6219d4 100644 --- a/node/network/dispute-distribution/src/lib.rs +++ b/node/network/dispute-distribution/src/lib.rs @@ -30,7 +30,7 @@ use futures::{channel::mpsc, FutureExt, StreamExt, TryFutureExt}; use polkadot_node_network_protocol::authority_discovery::AuthorityDiscovery; use polkadot_node_subsystem_util::nesting_sender::NestingSender; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use polkadot_node_network_protocol::request_response::{incoming::IncomingRequestReceiver, v1}; use polkadot_node_primitives::DISPUTE_WINDOW; @@ -158,7 +158,7 @@ where { /// Create a new instance of the dispute distribution. pub fn new( - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, req_receiver: IncomingRequestReceiver, authority_discovery: AD, metrics: Metrics, diff --git a/node/network/dispute-distribution/src/tests/mock.rs b/node/network/dispute-distribution/src/tests/mock.rs index 6478940c9024..52d3e213ac05 100644 --- a/node/network/dispute-distribution/src/tests/mock.rs +++ b/node/network/dispute-distribution/src/tests/mock.rs @@ -30,7 +30,7 @@ use polkadot_node_network_protocol::{authority_discovery::AuthorityDiscovery, Pe use sc_keystore::LocalKeystore; use sp_application_crypto::AppKey; use sp_keyring::Sr25519Keyring; -use sp_keystore::{SyncCryptoStore, SyncCryptoStorePtr}; +use sp_keystore::{Keystore, KeystorePtr}; use polkadot_node_primitives::{DisputeMessage, SignedDisputeStatement}; use polkadot_primitives::{ @@ -126,13 +126,13 @@ pub fn make_candidate_receipt(relay_parent: Hash) -> CandidateReceipt { } } -pub async fn make_explicit_signed( +pub fn make_explicit_signed( validator: Sr25519Keyring, candidate_hash: CandidateHash, valid: bool, ) -> SignedDisputeStatement { - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); - SyncCryptoStore::sr25519_generate_new(&*keystore, ValidatorId::ID, Some(&validator.to_seed())) + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); + Keystore::sr25519_generate_new(&*keystore, ValidatorId::ID, Some(&validator.to_seed())) .expect("Insert key into keystore"); SignedDisputeStatement::sign_explicit( @@ -142,12 +142,11 @@ pub async fn make_explicit_signed( MOCK_SESSION_INDEX, validator.public().into(), ) - .await .expect("Keystore should be fine.") .expect("Signing should work.") } -pub async fn make_dispute_message( +pub fn make_dispute_message( candidate: CandidateReceipt, valid_validator: ValidatorIndex, invalid_validator: ValidatorIndex, @@ -155,16 +154,14 @@ pub async fn make_dispute_message( let candidate_hash = candidate.hash(); let before_request = Instant::now(); let valid_vote = - make_explicit_signed(MOCK_VALIDATORS[valid_validator.0 as usize], candidate_hash, true) - .await; + make_explicit_signed(MOCK_VALIDATORS[valid_validator.0 as usize], candidate_hash, true); gum::trace!( "Passed time for valid vote: {:#?}", Instant::now().saturating_duration_since(before_request) ); let before_request = Instant::now(); let invalid_vote = - make_explicit_signed(MOCK_VALIDATORS[invalid_validator.0 as usize], candidate_hash, false) - .await; + make_explicit_signed(MOCK_VALIDATORS[invalid_validator.0 as usize], candidate_hash, false); gum::trace!( "Passed time for invald vote: {:#?}", Instant::now().saturating_duration_since(before_request) diff --git a/node/network/dispute-distribution/src/tests/mod.rs b/node/network/dispute-distribution/src/tests/mod.rs index ca5f49f4a394..0b14afea2a30 100644 --- a/node/network/dispute-distribution/src/tests/mod.rs +++ b/node/network/dispute-distribution/src/tests/mod.rs @@ -123,7 +123,7 @@ async fn send_dispute( needs_session_info: bool, ) { let before_request = Instant::now(); - let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX); gum::trace!( "Passed time for making message: {:#?}", Instant::now().saturating_duration_since(before_request) @@ -190,7 +190,7 @@ fn received_non_authorities_are_dropped() { let relay_parent = Hash::random(); let candidate = make_candidate_receipt(relay_parent); - let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX); // Non validator request should get dropped: let rx_response = @@ -222,7 +222,7 @@ fn received_request_triggers_import() { let relay_parent = Hash::random(); let candidate = make_candidate_receipt(relay_parent); - let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX); nested_network_dispute_request( &mut handle, @@ -250,7 +250,7 @@ fn batching_works() { let relay_parent = Hash::random(); let candidate = make_candidate_receipt(relay_parent); - let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX); // Initial request should get forwarded immediately: nested_network_dispute_request( @@ -266,27 +266,27 @@ fn batching_works() { let mut rx_responses = Vec::new(); - let message = make_dispute_message(candidate.clone(), BOB_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), BOB_INDEX, FERDIE_INDEX); let peer = MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Bob); rx_responses.push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); - let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, FERDIE_INDEX); let peer = MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Charlie); rx_responses.push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); gum::trace!("Imported 3 votes into batch"); - Delay::new(BATCH_COLLECTING_INTERVAL).await; + Delay::new(BATCH_COLLECTING_INTERVAL); gum::trace!("Batch should still be alive"); // Batch should still be alive (2 new votes): // Let's import two more votes, but fully duplicates - should not extend batch live. gum::trace!("Importing duplicate votes"); let mut rx_responses_duplicate = Vec::new(); - let message = make_dispute_message(candidate.clone(), BOB_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), BOB_INDEX, FERDIE_INDEX); let peer = MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Bob); rx_responses_duplicate .push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); - let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, FERDIE_INDEX); let peer = MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Charlie); rx_responses_duplicate .push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); @@ -375,7 +375,7 @@ fn receive_rate_limit_is_enforced() { let relay_parent = Hash::random(); let candidate = make_candidate_receipt(relay_parent); - let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX); // Initial request should get forwarded immediately: nested_network_dispute_request( @@ -393,15 +393,15 @@ fn receive_rate_limit_is_enforced() { let peer = MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Bob); - let message = make_dispute_message(candidate.clone(), BOB_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), BOB_INDEX, FERDIE_INDEX); rx_responses.push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); - let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, FERDIE_INDEX); rx_responses.push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); gum::trace!("Import one too much:"); - let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, ALICE_INDEX).await; + let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, ALICE_INDEX); let rx_response_flood = send_network_dispute_request(req_tx, peer, message.clone().into()).await; @@ -486,7 +486,7 @@ fn send_dispute_gets_cleaned_up() { let relay_parent = Hash::random(); let candidate = make_candidate_receipt(relay_parent); - let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX); handle .send(FromOrchestra::Communication { msg: DisputeDistributionMessage::SendDispute(message.clone()), @@ -552,7 +552,7 @@ fn dispute_retries_and_works_across_session_boundaries() { let relay_parent = Hash::random(); let candidate = make_candidate_receipt(relay_parent); - let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX); handle .send(FromOrchestra::Communication { msg: DisputeDistributionMessage::SendDispute(message.clone()), diff --git a/node/network/gossip-support/src/lib.rs b/node/network/gossip-support/src/lib.rs index 03d0e2150892..5224730c14ec 100644 --- a/node/network/gossip-support/src/lib.rs +++ b/node/network/gossip-support/src/lib.rs @@ -37,7 +37,7 @@ use rand_chacha::ChaCha20Rng; use sc_network::Multiaddr; use sp_application_crypto::{AppKey, ByteArray}; -use sp_keystore::{CryptoStore, SyncCryptoStorePtr}; +use sp_keystore::{Keystore, KeystorePtr}; use polkadot_node_network_protocol::{ authority_discovery::AuthorityDiscovery, peer_set::PeerSet, GossipSupportNetworkMessage, @@ -79,7 +79,7 @@ const LOW_CONNECTIVITY_WARN_THRESHOLD: usize = 90; /// The Gossip Support subsystem. pub struct GossipSupport { - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, last_session_index: Option, // Some(timestamp) if we failed to resolve @@ -118,7 +118,7 @@ where AD: AuthorityDiscovery, { /// Create a new instance of the [`GossipSupport`] subsystem. - pub fn new(keystore: SyncCryptoStorePtr, authority_discovery: AD, metrics: Metrics) -> Self { + pub fn new(keystore: KeystorePtr, authority_discovery: AD, metrics: Metrics) -> Self { // Initialize metrics to `0`. metrics.on_is_not_authority(); metrics.on_is_not_parachain_validator(); @@ -248,7 +248,7 @@ where // Remove all of our locally controlled validator indices so we don't connect to ourself. let connections = - if remove_all_controlled(&self.keystore, &mut connections).await != 0 { + if remove_all_controlled(&self.keystore, &mut connections) != 0 { connections } else { // If we control none of them, issue an empty connection request @@ -260,7 +260,7 @@ where if is_new_session { // Gossip topology is only relevant for authorities in the current session. - let our_index = self.get_key_index_and_update_metrics(&session_info).await?; + let our_index = self.get_key_index_and_update_metrics(&session_info)?; update_gossip_topology( sender, @@ -279,12 +279,12 @@ where // Checks if the node is an authority and also updates `polkadot_node_is_authority` and // `polkadot_node_is_parachain_validator` metrics accordingly. // On success, returns the index of our keys in `session_info.discovery_keys`. - async fn get_key_index_and_update_metrics( + fn get_key_index_and_update_metrics( &mut self, session_info: &SessionInfo, ) -> Result { let authority_check_result = - ensure_i_am_an_authority(&self.keystore, &session_info.discovery_keys).await; + ensure_i_am_an_authority(&self.keystore, &session_info.discovery_keys); match authority_check_result.as_ref() { Ok(index) => { @@ -457,12 +457,12 @@ async fn authorities_past_present_future( /// Return an error if we're not a validator in the given set (do not have keys). /// Otherwise, returns the index of our keys in `authorities`. -async fn ensure_i_am_an_authority( - keystore: &SyncCryptoStorePtr, +fn ensure_i_am_an_authority( + keystore: &KeystorePtr, authorities: &[AuthorityDiscoveryId], ) -> Result { for (i, v) in authorities.iter().enumerate() { - if CryptoStore::has_keys(&**keystore, &[(v.to_raw_vec(), AuthorityDiscoveryId::ID)]).await { + if Keystore::has_keys(&**keystore, &[(v.to_raw_vec(), AuthorityDiscoveryId::ID)]) { return Ok(i) } } @@ -470,13 +470,13 @@ async fn ensure_i_am_an_authority( } /// Filter out all controlled keys in the given set. Returns the number of keys removed. -async fn remove_all_controlled( - keystore: &SyncCryptoStorePtr, +fn remove_all_controlled( + keystore: &KeystorePtr, authorities: &mut Vec, ) -> usize { let mut to_remove = Vec::new(); for (i, v) in authorities.iter().enumerate() { - if CryptoStore::has_keys(&**keystore, &[(v.to_raw_vec(), AuthorityDiscoveryId::ID)]).await { + if Keystore::has_keys(&**keystore, &[(v.to_raw_vec(), AuthorityDiscoveryId::ID)]) { to_remove.push(i); } } diff --git a/node/network/statement-distribution/src/lib.rs b/node/network/statement-distribution/src/lib.rs index 769c50322061..3677ac21565a 100644 --- a/node/network/statement-distribution/src/lib.rs +++ b/node/network/statement-distribution/src/lib.rs @@ -57,7 +57,7 @@ use futures::{ prelude::*, }; use indexmap::{map::Entry as IEntry, IndexMap}; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use util::runtime::RuntimeInfo; use std::collections::{hash_map::Entry, HashMap, HashSet, VecDeque}; @@ -119,7 +119,7 @@ const MAX_LARGE_STATEMENTS_PER_SENDER: usize = 20; /// The statement distribution subsystem. pub struct StatementDistributionSubsystem { /// Pointer to a keystore, which is required for determining this node's validator index. - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, /// Receiver for incoming large statement requests. req_receiver: Option>, /// Prometheus metrics @@ -1745,7 +1745,7 @@ async fn handle_network_update( impl StatementDistributionSubsystem { /// Create a new Statement Distribution Subsystem pub fn new( - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, req_receiver: IncomingRequestReceiver, metrics: Metrics, rng: R, diff --git a/node/network/statement-distribution/src/tests.rs b/node/network/statement-distribution/src/tests.rs index 87a7cd7a35fe..107d59d6582d 100644 --- a/node/network/statement-distribution/src/tests.rs +++ b/node/network/statement-distribution/src/tests.rs @@ -16,7 +16,7 @@ use super::{metrics::Metrics, *}; use assert_matches::assert_matches; -use futures::executor::{self, block_on}; +use futures::executor; use futures_timer::Delay; use parity_scale_codec::{Decode, Encode}; use polkadot_node_network_protocol::{ @@ -45,7 +45,7 @@ use sc_keystore::LocalKeystore; use sp_application_crypto::{sr25519::Pair, AppKey, Pair as TraitPair}; use sp_authority_discovery::AuthorityPair; use sp_keyring::Sr25519Keyring; -use sp_keystore::{CryptoStore, SyncCryptoStore, SyncCryptoStorePtr}; +use sp_keystore::{Keystore, KeystorePtr}; use std::{iter::FromIterator as _, sync::Arc, time::Duration}; // Some deterministic genesis hash for protocol names @@ -90,14 +90,14 @@ fn active_head_accepts_only_2_seconded_per_validator() { PerLeafSpan::new(Arc::new(jaeger::Span::Disabled), "test"), ); - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); - let alice_public = SyncCryptoStore::sr25519_generate_new( + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); + let alice_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Alice.to_seed()), ) .unwrap(); - let bob_public = SyncCryptoStore::sr25519_generate_new( + let bob_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Bob.to_seed()), @@ -105,13 +105,13 @@ fn active_head_accepts_only_2_seconded_per_validator() { .unwrap(); // note A - let a_seconded_val_0 = block_on(SignedFullStatement::sign( + let a_seconded_val_0 = SignedFullStatement::sign( &keystore, Statement::Seconded(candidate_a.clone()), &signing_context, ValidatorIndex(0), &alice_public.into(), - )) + ) .ok() .flatten() .expect("should be signed"); @@ -132,13 +132,13 @@ fn active_head_accepts_only_2_seconded_per_validator() { assert_matches!(noted, NotedStatement::UsefulButKnown); // note B - let statement = block_on(SignedFullStatement::sign( + let statement = SignedFullStatement::sign( &keystore, Statement::Seconded(candidate_b.clone()), &signing_context, ValidatorIndex(0), &alice_public.into(), - )) + ) .ok() .flatten() .expect("should be signed"); @@ -149,13 +149,13 @@ fn active_head_accepts_only_2_seconded_per_validator() { assert_matches!(noted, NotedStatement::Fresh(_)); // note C (beyond 2 - ignored) - let statement = block_on(SignedFullStatement::sign( + let statement = SignedFullStatement::sign( &keystore, Statement::Seconded(candidate_c.clone()), &signing_context, ValidatorIndex(0), &alice_public.into(), - )) + ) .ok() .flatten() .expect("should be signed"); @@ -167,13 +167,13 @@ fn active_head_accepts_only_2_seconded_per_validator() { assert_matches!(noted, NotedStatement::NotUseful); // note B (new validator) - let statement = block_on(SignedFullStatement::sign( + let statement = SignedFullStatement::sign( &keystore, Statement::Seconded(candidate_b.clone()), &signing_context, ValidatorIndex(1), &bob_public.into(), - )) + ) .ok() .flatten() .expect("should be signed"); @@ -184,13 +184,13 @@ fn active_head_accepts_only_2_seconded_per_validator() { assert_matches!(noted, NotedStatement::Fresh(_)); // note C (new validator) - let statement = block_on(SignedFullStatement::sign( + let statement = SignedFullStatement::sign( &keystore, Statement::Seconded(candidate_c.clone()), &signing_context, ValidatorIndex(1), &bob_public.into(), - )) + ) .ok() .flatten() .expect("should be signed"); @@ -408,21 +408,21 @@ fn peer_view_update_sends_messages() { let session_index = 1; let signing_context = SigningContext { parent_hash: hash_c, session_index }; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); - let alice_public = SyncCryptoStore::sr25519_generate_new( + let alice_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Alice.to_seed()), ) .unwrap(); - let bob_public = SyncCryptoStore::sr25519_generate_new( + let bob_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Bob.to_seed()), ) .unwrap(); - let charlie_public = SyncCryptoStore::sr25519_generate_new( + let charlie_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Charlie.to_seed()), @@ -436,13 +436,13 @@ fn peer_view_update_sends_messages() { PerLeafSpan::new(Arc::new(jaeger::Span::Disabled), "test"), ); - let statement = block_on(SignedFullStatement::sign( + let statement = SignedFullStatement::sign( &keystore, Statement::Seconded(candidate.clone()), &signing_context, ValidatorIndex(0), &alice_public.into(), - )) + ) .ok() .flatten() .expect("should be signed"); @@ -453,13 +453,13 @@ fn peer_view_update_sends_messages() { assert_matches!(noted, NotedStatement::Fresh(_)); - let statement = block_on(SignedFullStatement::sign( + let statement = SignedFullStatement::sign( &keystore, Statement::Valid(candidate_hash), &signing_context, ValidatorIndex(1), &bob_public.into(), - )) + ) .ok() .flatten() .expect("should be signed"); @@ -470,13 +470,13 @@ fn peer_view_update_sends_messages() { assert_matches!(noted, NotedStatement::Fresh(_)); - let statement = block_on(SignedFullStatement::sign( + let statement = SignedFullStatement::sign( &keystore, Statement::Valid(candidate_hash), &signing_context, ValidatorIndex(2), &charlie_public.into(), - )) + ) .ok() .flatten() .expect("should be signed"); @@ -614,13 +614,12 @@ fn circulated_statement_goes_to_all_peers_with_view() { executor::block_on(async move { let signing_context = SigningContext { parent_hash: hash_b, session_index }; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); - let alice_public = CryptoStore::sr25519_generate_new( + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); + let alice_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Alice.to_seed()), ) - .await .unwrap(); let statement = SignedFullStatement::sign( @@ -630,7 +629,6 @@ fn circulated_statement_goes_to_all_peers_with_view() { ValidatorIndex(0), &alice_public.into(), ) - .await .ok() .flatten() .expect("should be signed"); @@ -827,13 +825,12 @@ fn receiving_from_one_sends_to_another_and_to_candidate_backing() { let statement = { let signing_context = SigningContext { parent_hash: hash_a, session_index }; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); - let alice_public = CryptoStore::sr25519_generate_new( + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); + let alice_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Alice.to_seed()), ) - .await .unwrap(); SignedFullStatement::sign( @@ -843,7 +840,6 @@ fn receiving_from_one_sends_to_another_and_to_candidate_backing() { ValidatorIndex(0), &alice_public.into(), ) - .await .ok() .flatten() .expect("should be signed") @@ -1071,13 +1067,12 @@ fn receiving_large_statement_from_one_sends_to_another_and_to_candidate_backing( let statement = { let signing_context = SigningContext { parent_hash: hash_a, session_index }; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); - let alice_public = CryptoStore::sr25519_generate_new( + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); + let alice_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Alice.to_seed()), ) - .await .unwrap(); SignedFullStatement::sign( @@ -1087,7 +1082,6 @@ fn receiving_large_statement_from_one_sends_to_another_and_to_candidate_backing( ValidatorIndex(0), &alice_public.into(), ) - .await .ok() .flatten() .expect("should be signed") @@ -1627,13 +1621,12 @@ fn share_prioritizes_backing_group() { let statement = { let signing_context = SigningContext { parent_hash: hash_a, session_index }; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); - let ferdie_public = CryptoStore::sr25519_generate_new( + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); + let ferdie_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Ferdie.to_seed()), ) - .await .unwrap(); SignedFullStatement::sign( @@ -1643,7 +1636,6 @@ fn share_prioritizes_backing_group() { ValidatorIndex(4), &ferdie_public.into(), ) - .await .ok() .flatten() .expect("should be signed") @@ -1819,13 +1811,12 @@ fn peer_cant_flood_with_large_statements() { let statement = { let signing_context = SigningContext { parent_hash: hash_a, session_index }; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); - let alice_public = CryptoStore::sr25519_generate_new( + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); + let alice_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Alice.to_seed()), ) - .await .unwrap(); SignedFullStatement::sign( @@ -1835,7 +1826,6 @@ fn peer_cant_flood_with_large_statements() { ValidatorIndex(0), &alice_public.into(), ) - .await .ok() .flatten() .expect("should be signed") @@ -2108,13 +2098,12 @@ fn handle_multiple_seconded_statements() { let statement = { let signing_context = SigningContext { parent_hash: relay_parent_hash, session_index }; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); - let alice_public = CryptoStore::sr25519_generate_new( + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); + let alice_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Alice.to_seed()), ) - .await .unwrap(); SignedFullStatement::sign( @@ -2124,7 +2113,6 @@ fn handle_multiple_seconded_statements() { ValidatorIndex(0), &alice_public.into(), ) - .await .ok() .flatten() .expect("should be signed") @@ -2211,13 +2199,12 @@ fn handle_multiple_seconded_statements() { let statement = { let signing_context = SigningContext { parent_hash: relay_parent_hash, session_index }; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); - let alice_public = CryptoStore::sr25519_generate_new( + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); + let alice_public = Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Alice.to_seed()), ) - .await .unwrap(); SignedFullStatement::sign( @@ -2227,7 +2214,6 @@ fn handle_multiple_seconded_statements() { ValidatorIndex(0), &alice_public.into(), ) - .await .ok() .flatten() .expect("should be signed") diff --git a/node/primitives/src/disputes/mod.rs b/node/primitives/src/disputes/mod.rs index ebda150a3387..c47d1f561119 100644 --- a/node/primitives/src/disputes/mod.rs +++ b/node/primitives/src/disputes/mod.rs @@ -22,7 +22,7 @@ use std::collections::{ use parity_scale_codec::{Decode, Encode}; use sp_application_crypto::AppKey; -use sp_keystore::{CryptoStore, Error as KeystoreError, SyncCryptoStorePtr}; +use sp_keystore::{Error as KeystoreError, Keystore, KeystorePtr}; use super::{Statement, UncheckedSignedFullStatement}; use polkadot_primitives::{ @@ -207,8 +207,8 @@ impl SignedDisputeStatement { /// Sign this statement with the given keystore and key. Pass `valid = true` to /// indicate validity of the candidate, and `valid = false` to indicate invalidity. - pub async fn sign_explicit( - keystore: &SyncCryptoStorePtr, + pub fn sign_explicit( + keystore: &KeystorePtr, valid: bool, candidate_hash: CandidateHash, session_index: SessionIndex, @@ -221,13 +221,12 @@ impl SignedDisputeStatement { }; let data = dispute_statement.payload_data(candidate_hash, session_index); - let signature = CryptoStore::sign_with( + let signature = Keystore::sign_with( &**keystore, ValidatorId::ID, &validator_public.clone().into(), &data, - ) - .await?; + )?; let signature = match signature { Some(sig) => diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 14f3c6ba1197..28284031234c 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -560,7 +560,7 @@ where let rpc_extensions_builder = { let client = client.clone(); - let keystore = keystore_container.sync_keystore(); + let keystore = keystore_container.keystore(); let transaction_pool = transaction_pool.clone(); let select_chain = select_chain.clone(); let chain_spec = config.chain_spec.cloned_box(); @@ -924,7 +924,7 @@ where config, backend: backend.clone(), client: client.clone(), - keystore: keystore_container.sync_keystore(), + keystore: keystore_container.keystore(), network: network.clone(), sync_service: sync_service.clone(), rpc_builder: Box::new(rpc_extensions_builder), @@ -1091,7 +1091,7 @@ where overseer_handle.as_ref().ok_or(Error::AuthoritiesRequireRealOverseer)?.clone(); let slot_duration = babe_link.config().slot_duration(); let babe_config = babe::BabeParams { - keystore: keystore_container.sync_keystore(), + keystore: keystore_container.keystore(), client: client.clone(), select_chain, block_import, @@ -1135,8 +1135,7 @@ where // if the node isn't actively participating in consensus then it doesn't // need a keystore, regardless of which protocol we use below. - let keystore_opt = - if role.is_authority() { Some(keystore_container.sync_keystore()) } else { None }; + let keystore_opt = if role.is_authority() { Some(keystore_container.keystore()) } else { None }; if enable_beefy { let justifications_protocol_name = beefy_on_demand_justifications_handler.protocol_name(); diff --git a/node/subsystem-test-helpers/src/mock.rs b/node/subsystem-test-helpers/src/mock.rs index dffc65b75695..96efe63b16d2 100644 --- a/node/subsystem-test-helpers/src/mock.rs +++ b/node/subsystem-test-helpers/src/mock.rs @@ -19,20 +19,20 @@ use std::sync::Arc; use sc_keystore::LocalKeystore; use sp_application_crypto::AppKey; use sp_keyring::Sr25519Keyring; -use sp_keystore::{SyncCryptoStore, SyncCryptoStorePtr}; +use sp_keystore::{Keystore, KeystorePtr}; use polkadot_primitives::{AuthorityDiscoveryId, ValidatorId}; /// Get mock keystore with `Ferdie` key. -pub fn make_ferdie_keystore() -> SyncCryptoStorePtr { - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); - SyncCryptoStore::sr25519_generate_new( +pub fn make_ferdie_keystore() -> KeystorePtr { + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); + Keystore::sr25519_generate_new( &*keystore, ValidatorId::ID, Some(&Sr25519Keyring::Ferdie.to_seed()), ) .expect("Insert key into keystore"); - SyncCryptoStore::sr25519_generate_new( + Keystore::sr25519_generate_new( &*keystore, AuthorityDiscoveryId::ID, Some(&Sr25519Keyring::Ferdie.to_seed()), diff --git a/node/subsystem-util/src/lib.rs b/node/subsystem-util/src/lib.rs index 1fec56ef15a6..f2f1e83655e9 100644 --- a/node/subsystem-util/src/lib.rs +++ b/node/subsystem-util/src/lib.rs @@ -51,7 +51,7 @@ use polkadot_primitives::{ pub use rand; use sp_application_crypto::AppKey; use sp_core::ByteArray; -use sp_keystore::{CryptoStore, Error as KeystoreError, SyncCryptoStorePtr}; +use sp_keystore::{Error as KeystoreError, Keystore, KeystorePtr}; use std::time::Duration; use thiserror::Error; @@ -265,21 +265,18 @@ pub async fn executor_params_at_relay_parent( } /// From the given set of validators, find the first key we can sign with, if any. -pub async fn signing_key( - validators: &[ValidatorId], - keystore: &SyncCryptoStorePtr, -) -> Option { - signing_key_and_index(validators, keystore).await.map(|(k, _)| k) +pub fn signing_key(validators: &[ValidatorId], keystore: &KeystorePtr) -> Option { + signing_key_and_index(validators, keystore).map(|(k, _)| k) } /// From the given set of validators, find the first key we can sign with, if any, and return it /// along with the validator index. -pub async fn signing_key_and_index( +pub fn signing_key_and_index( validators: &[ValidatorId], - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, ) -> Option<(ValidatorId, ValidatorIndex)> { for (i, v) in validators.iter().enumerate() { - if CryptoStore::has_keys(&**keystore, &[(v.to_raw_vec(), ValidatorId::ID)]).await { + if Keystore::has_keys(&**keystore, &[(v.to_raw_vec(), ValidatorId::ID)]) { return Some((v.clone(), ValidatorIndex(i as _))) } } @@ -290,13 +287,12 @@ pub async fn signing_key_and_index( /// /// Returns `Ok(None)` if the private key that correponds to that validator ID is not found in the /// given keystore. Returns an error if the key could not be used for signing. -pub async fn sign( - keystore: &SyncCryptoStorePtr, +pub fn sign( + keystore: &KeystorePtr, key: &ValidatorId, data: &[u8], ) -> Result, KeystoreError> { - let signature = - CryptoStore::sign_with(&**keystore, ValidatorId::ID, &key.into(), &data).await?; + let signature = Keystore::sign_with(&**keystore, ValidatorId::ID, &key.into(), &data)?; match signature { Some(sig) => @@ -372,11 +368,7 @@ pub struct Validator { impl Validator { /// Get a struct representing this node's validator if this node is in fact a validator in the context of the given block. - pub async fn new( - parent: Hash, - keystore: SyncCryptoStorePtr, - sender: &mut S, - ) -> Result + pub async fn new(parent: Hash, keystore: KeystorePtr, sender: &mut S) -> Result where S: SubsystemSender, { @@ -392,19 +384,19 @@ impl Validator { let validators = validators?; - Self::construct(&validators, signing_context, keystore).await + Self::construct(&validators, signing_context, keystore) } /// Construct a validator instance without performing runtime fetches. /// /// This can be useful if external code also needs the same data. - pub async fn construct( + pub fn construct( validators: &[ValidatorId], signing_context: SigningContext, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, ) -> Result { let (key, index) = - signing_key_and_index(validators, &keystore).await.ok_or(Error::NotAValidator)?; + signing_key_and_index(validators, &keystore).ok_or(Error::NotAValidator)?; Ok(Validator { signing_context, key, index }) } @@ -425,11 +417,11 @@ impl Validator { } /// Sign a payload with this validator - pub async fn sign, RealPayload: Encode>( + pub fn sign, RealPayload: Encode>( &self, - keystore: SyncCryptoStorePtr, + keystore: KeystorePtr, payload: Payload, ) -> Result>, KeystoreError> { - Signed::sign(&keystore, payload, &self.signing_context, self.index, &self.key).await + Signed::sign(&keystore, payload, &self.signing_context, self.index, &self.key) } } diff --git a/node/subsystem-util/src/runtime/mod.rs b/node/subsystem-util/src/runtime/mod.rs index 0d3132ec1fda..b0642d6551cc 100644 --- a/node/subsystem-util/src/runtime/mod.rs +++ b/node/subsystem-util/src/runtime/mod.rs @@ -23,7 +23,7 @@ use lru::LruCache; use parity_scale_codec::Encode; use sp_application_crypto::AppKey; use sp_core::crypto::ByteArray; -use sp_keystore::{CryptoStore, SyncCryptoStorePtr}; +use sp_keystore::{Keystore, KeystorePtr}; use polkadot_node_subsystem::{messages::RuntimeApiMessage, overseer, SubsystemSender}; use polkadot_primitives::{ @@ -49,7 +49,7 @@ pub struct Config { /// Needed for retrieval of `ValidatorInfo` /// /// Pass `None` if you are not interested. - pub keystore: Option, + pub keystore: Option, /// How many sessions should we keep in the cache? pub session_cache_lru_size: NonZeroUsize, @@ -69,7 +69,7 @@ pub struct RuntimeInfo { session_info_cache: LruCache, /// Key store for determining whether we are a validator and what `ValidatorIndex` we have. - keystore: Option, + keystore: Option, } /// `SessionInfo` with additional useful data for validator nodes. @@ -102,7 +102,7 @@ impl Default for Config { impl RuntimeInfo { /// Create a new `RuntimeInfo` for convenient runtime fetches. - pub fn new(keystore: Option) -> Self { + pub fn new(keystore: Option) -> Self { Self::new_with_config(Config { keystore, ..Default::default() }) } @@ -171,7 +171,7 @@ impl RuntimeInfo { recv_runtime(request_session_info(parent, session_index, sender).await) .await? .ok_or(JfyiError::NoSuchSession(session_index))?; - let validator_info = self.get_validator_info(&session_info).await?; + let validator_info = self.get_validator_info(&session_info)?; let full_info = ExtendedSessionInfo { session_info, validator_info }; @@ -206,8 +206,8 @@ impl RuntimeInfo { /// /// /// Returns: `None` if not a parachain validator. - async fn get_validator_info(&self, session_info: &SessionInfo) -> Result { - if let Some(our_index) = self.get_our_index(&session_info.validators).await { + fn get_validator_info(&self, session_info: &SessionInfo) -> Result { + if let Some(our_index) = self.get_our_index(&session_info.validators) { // Get our group index: let our_group = session_info.validator_groups.iter().enumerate().find_map(|(i, g)| { @@ -228,13 +228,13 @@ impl RuntimeInfo { /// Get our `ValidatorIndex`. /// /// Returns: None if we are not a validator. - async fn get_our_index( + fn get_our_index( &self, validators: &IndexedVec, ) -> Option { let keystore = self.keystore.as_ref()?; for (i, v) in validators.iter().enumerate() { - if CryptoStore::has_keys(&**keystore, &[(v.to_raw_vec(), ValidatorId::ID)]).await { + if Keystore::has_keys(&**keystore, &[(v.to_raw_vec(), ValidatorId::ID)]) { return Some(ValidatorIndex(i as u32)) } } diff --git a/primitives/src/v4/signed.rs b/primitives/src/v4/signed.rs index 28c3b790039f..c57abb2e0173 100644 --- a/primitives/src/v4/signed.rs +++ b/primitives/src/v4/signed.rs @@ -20,7 +20,7 @@ use scale_info::TypeInfo; #[cfg(feature = "std")] use application_crypto::AppKey; #[cfg(feature = "std")] -use sp_keystore::{CryptoStore, Error as KeystoreError, SyncCryptoStorePtr}; +use sp_keystore::{Error as KeystoreError, Keystore, KeystorePtr}; use sp_std::prelude::Vec; use primitives::RuntimeDebug; @@ -86,14 +86,14 @@ impl, RealPayload: Encode> Signed( - keystore: &SyncCryptoStorePtr, + pub fn sign( + keystore: &KeystorePtr, payload: Payload, context: &SigningContext, validator_index: ValidatorIndex, key: &ValidatorId, ) -> Result, KeystoreError> { - let r = UncheckedSigned::sign(keystore, payload, context, validator_index, key).await?; + let r = UncheckedSigned::sign(keystore, payload, context, validator_index, key)?; Ok(r.map(Self)) } @@ -244,16 +244,15 @@ impl, RealPayload: Encode> UncheckedSigned( - keystore: &SyncCryptoStorePtr, + fn sign( + keystore: &KeystorePtr, payload: Payload, context: &SigningContext, validator_index: ValidatorIndex, key: &ValidatorId, ) -> Result, KeystoreError> { let data = Self::payload_data(&payload, context); - let signature = - CryptoStore::sign_with(&**keystore, ValidatorId::ID, &key.into(), &data).await?; + let signature = Keystore::sign_with(&**keystore, ValidatorId::ID, &key.into(), &data)?; let signature = match signature { Some(sig) => diff --git a/roadmap/implementers-guide/src/node/approval/approval-voting.md b/roadmap/implementers-guide/src/node/approval/approval-voting.md index 2761f21b1c2c..88744e50cf79 100644 --- a/roadmap/implementers-guide/src/node/approval/approval-voting.md +++ b/roadmap/implementers-guide/src/node/approval/approval-voting.md @@ -138,7 +138,7 @@ struct State { earliest_session: SessionIndex, session_info: Vec, babe_epoch: Option, // information about a cached BABE epoch. - keystore: KeyStore, + keystore: Keystore, // A scheduler which keeps at most one wakeup per hash, candidate hash pair and // maps such pairs to `Tick`s. diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index bcd8adabe933..14462f659032 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -34,7 +34,7 @@ use sp_block_builder::BlockBuilder; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; use sp_consensus::SelectChain; use sp_consensus_babe::BabeApi; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; use txpool_api::TransactionPool; /// A type representing all RPC extensions. @@ -47,7 +47,7 @@ pub struct BabeDeps { /// BABE pending epoch changes. pub shared_epoch_changes: sc_consensus_epochs::SharedEpochChanges, /// The keystore that manages the keys of the node. - pub keystore: SyncCryptoStorePtr, + pub keystore: KeystorePtr, } /// Dependencies for GRANDPA diff --git a/runtime/common/src/crowdloan/mod.rs b/runtime/common/src/crowdloan/mod.rs index 9f70ac3dd895..e8a2654044a2 100644 --- a/runtime/common/src/crowdloan/mod.rs +++ b/runtime/common/src/crowdloan/mod.rs @@ -874,7 +874,7 @@ mod tests { traits::{AuctionStatus, OnSwap}, }; use ::test_helpers::{dummy_head_data, dummy_validation_code}; - use sp_keystore::{testing::KeyStore, KeystoreExt}; + use sp_keystore::{testing::MemoryKeystore, KeystoreExt}; use sp_runtime::{ testing::Header, traits::{BlakeTwo256, IdentityLookup, TrailingZeroInput}, @@ -1109,7 +1109,7 @@ mod tests { } .assimilate_storage(&mut t) .unwrap(); - let keystore = KeyStore::new(); + let keystore = MemoryKeystore::new(); let mut t: sp_io::TestExternalities = t.into(); t.register_extension(KeystoreExt(Arc::new(keystore))); t diff --git a/runtime/common/src/integration_tests.rs b/runtime/common/src/integration_tests.rs index 84efd48b3849..1a1971e6ae4e 100644 --- a/runtime/common/src/integration_tests.rs +++ b/runtime/common/src/integration_tests.rs @@ -37,7 +37,7 @@ use runtime_parachains::{ }; use sp_core::H256; use sp_io::TestExternalities; -use sp_keystore::{testing::KeyStore, KeystoreExt}; +use sp_keystore::{testing::MemoryKeystore, KeystoreExt}; use sp_runtime::{ traits::{BlakeTwo256, IdentityLookup, One}, transaction_validity::TransactionPriority, @@ -279,7 +279,7 @@ pub fn new_test_ext() -> TestExternalities { &mut t, ) .unwrap(); - let keystore = KeyStore::new(); + let keystore = MemoryKeystore::new(); let mut ext: sp_io::TestExternalities = t.into(); ext.register_extension(KeystoreExt(Arc::new(keystore))); ext.execute_with(|| System::set_block_number(1)); diff --git a/runtime/parachains/src/inclusion/tests.rs b/runtime/parachains/src/inclusion/tests.rs index 818058d460f8..17ef7f7beac7 100644 --- a/runtime/parachains/src/inclusion/tests.rs +++ b/runtime/parachains/src/inclusion/tests.rs @@ -28,7 +28,6 @@ use crate::{ }; use assert_matches::assert_matches; use frame_support::assert_noop; -use futures::executor::block_on; use keyring::Sr25519Keyring; use primitives::{ BlockNumber, CandidateCommitments, CandidateDescriptor, CollatorId, @@ -37,7 +36,7 @@ use primitives::{ PARACHAIN_KEY_TYPE_ID, }; use sc_keystore::LocalKeystore; -use sp_keystore::{SyncCryptoStore, SyncCryptoStorePtr}; +use sp_keystore::{Keystore, KeystorePtr}; use std::sync::Arc; use test_helpers::{ dummy_candidate_receipt, dummy_collator, dummy_collator_signature, dummy_hash, @@ -103,11 +102,11 @@ pub(crate) fn collator_sign_candidate( assert!(candidate.descriptor().check_collator_signature().is_ok()); } -pub(crate) async fn back_candidate( +pub(crate) fn back_candidate( candidate: CommittedCandidateReceipt, validators: &[Sr25519Keyring], group: &[ValidatorIndex], - keystore: &SyncCryptoStorePtr, + keystore: &KeystorePtr, signing_context: &SigningContext, kind: BackingKind, ) -> BackedCandidate { @@ -134,7 +133,6 @@ pub(crate) async fn back_candidate( *val_idx, &key.public().into(), ) - .await .unwrap() .unwrap() .signature() @@ -222,8 +220,8 @@ pub(crate) fn validator_pubkeys(val_ids: &[Sr25519Keyring]) -> Vec val_ids.iter().map(|v| v.public().into()).collect() } -pub(crate) async fn sign_bitfield( - keystore: &SyncCryptoStorePtr, +pub(crate) fn sign_bitfield( + keystore: &KeystorePtr, key: &Sr25519Keyring, validator_index: ValidatorIndex, bitfield: AvailabilityBitfield, @@ -236,7 +234,6 @@ pub(crate) async fn sign_bitfield( validator_index, &key.public().into(), ) - .await .unwrap() .unwrap() } @@ -384,9 +381,9 @@ fn bitfield_checks() { Sr25519Keyring::Dave, Sr25519Keyring::Ferdie, ]; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); for validator in validators.iter() { - SyncCryptoStore::sr25519_generate_new( + Keystore::sr25519_generate_new( &*keystore, PARACHAIN_KEY_TYPE_ID, Some(&validator.to_seed()), @@ -434,13 +431,13 @@ fn bitfield_checks() { { let mut bare_bitfield = default_bitfield(); bare_bitfield.0.push(false); - let signed = block_on(sign_bitfield( + let signed = sign_bitfield( &keystore, &validators[0], ValidatorIndex(0), bare_bitfield, &signing_context, - )); + ); assert_matches!( ParaInclusion::process_bitfields( @@ -457,13 +454,13 @@ fn bitfield_checks() { // not enough bits { let bare_bitfield = default_bitfield(); - let signed = block_on(sign_bitfield( + let signed = sign_bitfield( &keystore, &validators[0], ValidatorIndex(0), bare_bitfield, &signing_context, - )); + ); assert_matches!( ParaInclusion::process_bitfields( @@ -485,13 +482,13 @@ fn bitfield_checks() { b.0.set(0, true); b }; - let signed: UncheckedSignedAvailabilityBitfield = block_on(sign_bitfield( + let signed: UncheckedSignedAvailabilityBitfield = sign_bitfield( &keystore, &validators[0], ValidatorIndex(0), back_core_0_bitfield, &signing_context, - )) + ) .into(); assert_eq!( @@ -536,22 +533,22 @@ fn bitfield_checks() { b.0.set(0, true); b }; - let signed_0 = block_on(sign_bitfield( + let signed_0 = sign_bitfield( &keystore, &validators[0], ValidatorIndex(0), back_core_0_bitfield.clone(), &signing_context, - )) + ) .into(); - let signed_1 = block_on(sign_bitfield( + let signed_1 = sign_bitfield( &keystore, &validators[1], ValidatorIndex(1), back_core_0_bitfield, &signing_context, - )) + ) .into(); assert_eq!( @@ -591,13 +588,13 @@ fn bitfield_checks() { { let mut bare_bitfield = default_bitfield(); *bare_bitfield.0.get_mut(0).unwrap() = true; - let signed = block_on(sign_bitfield( + let signed = sign_bitfield( &keystore, &validators[0], ValidatorIndex(0), bare_bitfield, &signing_context, - )); + ); assert_matches!(ParaInclusion::process_bitfields( expected_bits(), @@ -611,13 +608,13 @@ fn bitfield_checks() { // empty bitfield signed: always ok, but kind of useless. { let bare_bitfield = default_bitfield(); - let signed = block_on(sign_bitfield( + let signed = sign_bitfield( &keystore, &validators[0], ValidatorIndex(0), bare_bitfield, &signing_context, - )); + ); assert_matches!(ParaInclusion::process_bitfields( expected_bits(), @@ -651,13 +648,13 @@ fn bitfield_checks() { PendingAvailabilityCommitments::::insert(chain_a, default_candidate.commitments); *bare_bitfield.0.get_mut(0).unwrap() = true; - let signed = block_on(sign_bitfield( + let signed = sign_bitfield( &keystore, &validators[0], ValidatorIndex(0), bare_bitfield, &signing_context, - )); + ); assert_matches!(ParaInclusion::process_bitfields( expected_bits(), @@ -693,13 +690,13 @@ fn bitfield_checks() { ); *bare_bitfield.0.get_mut(0).unwrap() = true; - let signed = block_on(sign_bitfield( + let signed = sign_bitfield( &keystore, &validators[0], ValidatorIndex(0), bare_bitfield, &signing_context, - )); + ); // no core is freed assert_matches!(ParaInclusion::process_bitfields( @@ -731,9 +728,9 @@ fn supermajority_bitfields_trigger_availability() { Sr25519Keyring::Dave, Sr25519Keyring::Ferdie, ]; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); for validator in validators.iter() { - SyncCryptoStore::sr25519_generate_new( + Keystore::sr25519_generate_new( &*keystore, PARACHAIN_KEY_TYPE_ID, Some(&validator.to_seed()), @@ -836,13 +833,13 @@ fn supermajority_bitfields_trigger_availability() { }; Some( - block_on(sign_bitfield( + sign_bitfield( &keystore, key, ValidatorIndex(i as _), to_sign, &signing_context, - )) + ) .into(), ) }) @@ -923,9 +920,9 @@ fn candidate_checks() { Sr25519Keyring::Dave, Sr25519Keyring::Ferdie, ]; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); for validator in validators.iter() { - SyncCryptoStore::sr25519_generate_new( + Keystore::sr25519_generate_new( &*keystore, PARACHAIN_KEY_TYPE_ID, Some(&validator.to_seed()), @@ -989,14 +986,14 @@ fn candidate_checks() { .build(); collator_sign_candidate(Sr25519Keyring::One, &mut candidate); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); assert_noop!( ParaInclusion::process_candidates( @@ -1034,23 +1031,23 @@ fn candidate_checks() { collator_sign_candidate(Sr25519Keyring::Two, &mut candidate_b); - let backed_a = block_on(back_candidate( + let backed_a = back_candidate( candidate_a, &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); - let backed_b = block_on(back_candidate( + let backed_b = back_candidate( candidate_b, &validators, group_validators(GroupIndex::from(1)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); // out-of-order manifests as unscheduled. assert_noop!( @@ -1077,14 +1074,14 @@ fn candidate_checks() { .build(); collator_sign_candidate(Sr25519Keyring::One, &mut candidate); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Lacking, - )); + ); assert_noop!( ParaInclusion::process_candidates( @@ -1112,14 +1109,14 @@ fn candidate_checks() { .build(); collator_sign_candidate(Sr25519Keyring::One, &mut candidate); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); assert_noop!( ParaInclusion::process_candidates( @@ -1147,14 +1144,14 @@ fn candidate_checks() { assert!(CollatorId::from(Sr25519Keyring::One.public()) != thread_collator); collator_sign_candidate(Sr25519Keyring::One, &mut candidate); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(2)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); assert_noop!( ParaInclusion::process_candidates( @@ -1189,14 +1186,14 @@ fn candidate_checks() { // change the candidate after signing. candidate.descriptor.pov_hash = Hash::repeat_byte(2); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(2)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); assert_noop!( ParaInclusion::process_candidates( @@ -1223,14 +1220,14 @@ fn candidate_checks() { collator_sign_candidate(Sr25519Keyring::One, &mut candidate); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); let candidate = TestCandidateBuilder::default().build(); >::insert( @@ -1279,14 +1276,14 @@ fn candidate_checks() { // this is not supposed to happen >::insert(&chain_a, candidate.commitments.clone()); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); assert_noop!( ParaInclusion::process_candidates( @@ -1316,14 +1313,14 @@ fn candidate_checks() { collator_sign_candidate(Sr25519Keyring::One, &mut candidate); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); { let cfg = Configuration::config(); @@ -1357,14 +1354,14 @@ fn candidate_checks() { collator_sign_candidate(Sr25519Keyring::One, &mut candidate); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); assert_eq!( ParaInclusion::process_candidates( @@ -1392,14 +1389,14 @@ fn candidate_checks() { collator_sign_candidate(Sr25519Keyring::One, &mut candidate); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); assert_noop!( ParaInclusion::process_candidates( @@ -1427,14 +1424,14 @@ fn candidate_checks() { collator_sign_candidate(Sr25519Keyring::One, &mut candidate); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); assert_noop!( ParaInclusion::process_candidates( @@ -1470,9 +1467,9 @@ fn backing_works() { Sr25519Keyring::Dave, Sr25519Keyring::Ferdie, ]; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); for validator in validators.iter() { - SyncCryptoStore::sr25519_generate_new( + Keystore::sr25519_generate_new( &*keystore, PARACHAIN_KEY_TYPE_ID, Some(&validator.to_seed()), @@ -1556,32 +1553,32 @@ fn backing_works() { .build(); collator_sign_candidate(Sr25519Keyring::Two, &mut candidate_c); - let backed_a = block_on(back_candidate( + let backed_a = back_candidate( candidate_a.clone(), &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); - let backed_b = block_on(back_candidate( + let backed_b = back_candidate( candidate_b.clone(), &validators, group_validators(GroupIndex::from(1)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); - let backed_c = block_on(back_candidate( + let backed_c = back_candidate( candidate_c.clone(), &validators, group_validators(GroupIndex::from(2)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); let backed_candidates = vec![backed_a, backed_b, backed_c]; let get_backing_group_idx = { @@ -1750,9 +1747,9 @@ fn can_include_candidate_with_ok_code_upgrade() { Sr25519Keyring::Dave, Sr25519Keyring::Ferdie, ]; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); for validator in validators.iter() { - SyncCryptoStore::sr25519_generate_new( + Keystore::sr25519_generate_new( &*keystore, PARACHAIN_KEY_TYPE_ID, Some(&validator.to_seed()), @@ -1797,14 +1794,14 @@ fn can_include_candidate_with_ok_code_upgrade() { .build(); collator_sign_candidate(Sr25519Keyring::One, &mut candidate_a); - let backed_a = block_on(back_candidate( + let backed_a = back_candidate( candidate_a.clone(), &validators, group_validators(GroupIndex::from(0)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); let ProcessedCandidates { core_indices: occupied_cores, .. } = ParaInclusion::process_candidates( @@ -1859,9 +1856,9 @@ fn session_change_wipes() { Sr25519Keyring::Dave, Sr25519Keyring::Ferdie, ]; - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); for validator in validators.iter() { - SyncCryptoStore::sr25519_generate_new( + Keystore::sr25519_generate_new( &*keystore, PARACHAIN_KEY_TYPE_ID, Some(&validator.to_seed()), diff --git a/runtime/parachains/src/mock.rs b/runtime/parachains/src/mock.rs index 501e8b1a3079..ee7a79c17d27 100644 --- a/runtime/parachains/src/mock.rs +++ b/runtime/parachains/src/mock.rs @@ -427,7 +427,7 @@ impl inclusion::RewardValidators for TestRewardValidators { /// Create a new set of test externalities. pub fn new_test_ext(state: MockGenesisConfig) -> TestExternalities { - use sp_keystore::{testing::KeyStore, KeystoreExt, SyncCryptoStorePtr}; + use sp_keystore::{testing::MemoryKeystore, KeystoreExt, KeystorePtr}; use sp_std::sync::Arc; sp_tracing::try_init_simple(); @@ -440,7 +440,7 @@ pub fn new_test_ext(state: MockGenesisConfig) -> TestExternalities { GenesisBuild::::assimilate_storage(&state.paras, &mut t).unwrap(); let mut ext: TestExternalities = t.into(); - ext.register_extension(KeystoreExt(Arc::new(KeyStore::new()) as SyncCryptoStorePtr)); + ext.register_extension(KeystoreExt(Arc::new(MemoryKeystore::new()) as KeystorePtr)); ext } diff --git a/runtime/parachains/src/paras/tests.rs b/runtime/parachains/src/paras/tests.rs index 89acfc9bc9b9..567829b9aeff 100644 --- a/runtime/parachains/src/paras/tests.rs +++ b/runtime/parachains/src/paras/tests.rs @@ -19,7 +19,7 @@ use frame_support::{assert_err, assert_ok, assert_storage_noop}; use keyring::Sr25519Keyring; use primitives::{BlockNumber, ValidatorId, PARACHAIN_KEY_TYPE_ID}; use sc_keystore::LocalKeystore; -use sp_keystore::{SyncCryptoStore, SyncCryptoStorePtr}; +use sp_keystore::{Keystore, KeystorePtr}; use std::sync::Arc; use test_helpers::{dummy_head_data, dummy_validation_code}; @@ -56,9 +56,9 @@ fn sign_and_include_pvf_check_statement(stmt: PvfCheckStatement) { } fn run_to_block(to: BlockNumber, new_session: Option>) { - let keystore: SyncCryptoStorePtr = Arc::new(LocalKeystore::in_memory()); + let keystore: KeystorePtr = Arc::new(LocalKeystore::in_memory()); for validator in VALIDATORS.iter() { - SyncCryptoStore::sr25519_generate_new( + Keystore::sr25519_generate_new( &*keystore, PARACHAIN_KEY_TYPE_ID, Some(&validator.to_seed()), diff --git a/runtime/parachains/src/paras_inherent/tests.rs b/runtime/parachains/src/paras_inherent/tests.rs index fb7fd571b004..73c5ce7b0b3f 100644 --- a/runtime/parachains/src/paras_inherent/tests.rs +++ b/runtime/parachains/src/paras_inherent/tests.rs @@ -883,11 +883,10 @@ mod sanitizers { use sp_core::crypto::UncheckedFrom; use crate::mock::Test; - use futures::executor::block_on; use keyring::Sr25519Keyring; use primitives::PARACHAIN_KEY_TYPE_ID; use sc_keystore::LocalKeystore; - use sp_keystore::{SyncCryptoStore, SyncCryptoStorePtr}; + use sp_keystore::{Keystore, KeystorePtr}; use std::sync::Arc; fn validator_pubkeys(val_ids: &[keyring::Sr25519Keyring]) -> Vec { @@ -903,7 +902,7 @@ mod sanitizers { let session_index = SessionIndex::from(0_u32); let crypto_store = LocalKeystore::in_memory(); - let crypto_store = Arc::new(crypto_store) as SyncCryptoStorePtr; + let crypto_store = Arc::new(crypto_store) as KeystorePtr; let signing_context = SigningContext { parent_hash, session_index }; let validators = vec![ @@ -913,7 +912,7 @@ mod sanitizers { keyring::Sr25519Keyring::Dave, ]; for validator in validators.iter() { - SyncCryptoStore::sr25519_generate_new( + Keystore::sr25519_generate_new( &*crypto_store, PARACHAIN_KEY_TYPE_ID, Some(&validator.to_seed()), @@ -935,13 +934,13 @@ mod sanitizers { .enumerate() .map(|(vi, ab)| { let validator_index = ValidatorIndex::from(vi as u32); - block_on(SignedAvailabilityBitfield::sign( + SignedAvailabilityBitfield::sign( &crypto_store, AvailabilityBitfield::from(ab.clone()), &signing_context, validator_index, &validator_public[vi], - )) + ) .unwrap() .unwrap() .into_unchecked() @@ -1142,7 +1141,7 @@ mod sanitizers { let session_index = SessionIndex::from(0_u32); let keystore = LocalKeystore::in_memory(); - let keystore = Arc::new(keystore) as SyncCryptoStorePtr; + let keystore = Arc::new(keystore) as KeystorePtr; let signing_context = SigningContext { parent_hash: relay_parent, session_index }; let validators = vec![ @@ -1152,7 +1151,7 @@ mod sanitizers { keyring::Sr25519Keyring::Dave, ]; for validator in validators.iter() { - SyncCryptoStore::sr25519_generate_new( + Keystore::sr25519_generate_new( &*keystore, PARACHAIN_KEY_TYPE_ID, Some(&validator.to_seed()), @@ -1202,14 +1201,14 @@ mod sanitizers { collator_sign_candidate(Sr25519Keyring::One, &mut candidate); - let backed = block_on(back_candidate( + let backed = back_candidate( candidate, &validators, group_validators(GroupIndex::from(idx0 as u32)).unwrap().as_ref(), &keystore, &signing_context, BackingKind::Threshold, - )); + ); backed }) .collect::>(); From 5feae5d7e5630e9e3837a2f9517c8ae0a376dea4 Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Fri, 17 Mar 2023 17:03:55 +0100 Subject: [PATCH 07/18] changelog: template fixup (#6907) --- scripts/ci/changelog/templates/host_functions.md.tera | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/ci/changelog/templates/host_functions.md.tera b/scripts/ci/changelog/templates/host_functions.md.tera index 9337de47969f..170aaf98fec3 100644 --- a/scripts/ci/changelog/templates/host_functions.md.tera +++ b/scripts/ci/changelog/templates/host_functions.md.tera @@ -10,13 +10,12 @@ {%- if pr.meta.E and pr.meta.E.E3 -%} {%- set_global host_fn_count = host_fn_count + 1 -%} - {{ m_c::change(c=pr) }} - {% endif -%} {% endif -%} {%- if pr.meta.E and pr.meta.E.E4 -%} {%- set_global upgrade_first = upgrade_first + 1 -%} - {{ m_c::change(c=pr) }} - {% endif -%} {% endif -%} +{% endif -%} {%- endfor -%} From 680c4513f1fd587d1aed0c10a35e000e8513e8b8 Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Mon, 20 Mar 2023 13:20:22 +0000 Subject: [PATCH 08/18] Deprecate Currency: Companion for #12951 (#6780) * Some renames * Fix * Fix build for new APIs * Remove diener * Fixes * Fixes * Fix integration tests * Fixes * fix nis issuance * Update Cargo.toml * Polkadot doesn't have freezes/holds yet * No networks use freezes/holds * update lockfile for {"substrate"} * Fix tests There are more failing tests; just starting with the easy ones. Reserved balance does not count towards ED anymore, therefore reducing all the reserves by ED (1). Signed-off-by: Oliver Tale-Yazdi * Fixes for Polkadot pallets * Fix parachains benchmarks * Update Substrate Signed-off-by: Oliver Tale-Yazdi --------- Signed-off-by: Oliver Tale-Yazdi Co-authored-by: parity-processbot <> Co-authored-by: Oliver Tale-Yazdi --- Cargo.lock | 372 +++++++++--------- node/test/service/src/lib.rs | 9 +- node/test/service/tests/call-function.rs | 9 +- runtime/common/src/assigned_slots.rs | 4 + runtime/common/src/auctions.rs | 52 +-- runtime/common/src/claims.rs | 13 +- runtime/common/src/crowdloan/mod.rs | 18 +- runtime/common/src/impls.rs | 14 +- runtime/common/src/integration_tests.rs | 6 +- runtime/common/src/paras_registrar.rs | 6 +- runtime/common/src/purchase.rs | 13 +- runtime/common/src/slots/mod.rs | 10 +- runtime/kusama/src/lib.rs | 37 +- runtime/kusama/src/weights/pallet_balances.rs | 9 +- ...allet_balances_nis_counterpart_balances.rs | 9 +- runtime/parachains/src/hrmp/benchmarking.rs | 15 +- runtime/parachains/src/mock.rs | 10 +- runtime/polkadot/src/lib.rs | 4 + .../polkadot/src/weights/pallet_balances.rs | 9 +- runtime/rococo/src/lib.rs | 37 +- runtime/rococo/src/weights/pallet_balances.rs | 9 +- ...allet_balances_nis_counterpart_balances.rs | 9 +- runtime/test-runtime/src/lib.rs | 6 +- runtime/westend/src/lib.rs | 4 + .../westend/src/weights/pallet_balances.rs | 10 +- .../src/fungible/mock.rs | 8 +- xcm/pallet-xcm/src/mock.rs | 6 +- xcm/xcm-builder/src/fungibles_adapter.rs | 24 +- xcm/xcm-builder/tests/mock/mod.rs | 6 +- xcm/xcm-simulator/example/src/parachain.rs | 16 +- xcm/xcm-simulator/example/src/relay_chain.rs | 16 +- xcm/xcm-simulator/fuzzer/src/parachain.rs | 6 +- xcm/xcm-simulator/fuzzer/src/relay_chain.rs | 10 +- 33 files changed, 481 insertions(+), 305 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e8855b7f025..0fab811021cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -466,7 +466,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "hash-db", "log", @@ -2205,9 +2205,9 @@ dependencies = [ [[package]] name = "finality-grandpa" -version = "0.16.1" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e24e6c429951433ccb7c87fd528c60084834dcd14763182c1f83291bcde24c34" +checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" dependencies = [ "either", "futures", @@ -2295,7 +2295,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", ] @@ -2318,7 +2318,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-support-procedural", @@ -2343,7 +2343,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "Inflector", "array-bytes", @@ -2390,7 +2390,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2401,7 +2401,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2418,7 +2418,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -2447,7 +2447,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "log", @@ -2463,7 +2463,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "bitflags", "environmental", @@ -2496,7 +2496,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "Inflector", "cfg-expr", @@ -2511,7 +2511,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2523,7 +2523,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "proc-macro2", "quote", @@ -2533,7 +2533,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -2557,7 +2557,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -2568,7 +2568,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "log", @@ -2586,7 +2586,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -2601,7 +2601,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "sp-api", @@ -2610,7 +2610,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "parity-scale-codec", @@ -2792,7 +2792,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "chrono", "frame-election-provider-support", @@ -4571,7 +4571,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "log", @@ -4590,7 +4590,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "anyhow", "jsonrpsee", @@ -5152,7 +5152,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5167,7 +5167,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -5183,7 +5183,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -5197,7 +5197,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5221,7 +5221,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5241,7 +5241,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -5260,7 +5260,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5275,7 +5275,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -5294,7 +5294,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -5318,7 +5318,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5336,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5355,7 +5355,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5372,7 +5372,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5389,7 +5389,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5407,7 +5407,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5443,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5461,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5479,7 +5479,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5518,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5538,7 +5538,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5555,7 +5555,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5572,7 +5572,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5589,7 +5589,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5605,7 +5605,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5621,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -5638,7 +5638,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5658,7 +5658,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -5669,7 +5669,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -5686,7 +5686,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5710,7 +5710,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5727,7 +5727,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5742,7 +5742,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5760,7 +5760,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5775,7 +5775,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5794,7 +5794,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5811,7 +5811,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -5832,7 +5832,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5848,7 +5848,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -5862,7 +5862,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5885,7 +5885,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5896,7 +5896,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "log", "sp-arithmetic", @@ -5905,7 +5905,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "sp-api", @@ -5914,7 +5914,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5931,7 +5931,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -5945,7 +5945,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5963,7 +5963,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -5982,7 +5982,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-support", "frame-system", @@ -5998,7 +5998,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6014,7 +6014,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6026,7 +6026,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -6043,7 +6043,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -6058,7 +6058,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -6074,7 +6074,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -6089,7 +6089,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-benchmarking", "frame-support", @@ -9014,7 +9014,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "log", "sp-core", @@ -9025,7 +9025,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "futures", @@ -9053,7 +9053,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "futures-timer", @@ -9076,7 +9076,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -9091,7 +9091,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -9110,7 +9110,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9121,7 +9121,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "chrono", @@ -9161,7 +9161,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "fnv", "futures", @@ -9187,7 +9187,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "hash-db", "kvdb", @@ -9213,7 +9213,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "futures", @@ -9238,7 +9238,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "fork-tree", @@ -9277,7 +9277,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "jsonrpsee", @@ -9299,7 +9299,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "async-trait", @@ -9334,7 +9334,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "jsonrpsee", @@ -9353,7 +9353,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9366,7 +9366,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "ahash 0.8.2", "array-bytes", @@ -9406,7 +9406,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "finality-grandpa", "futures", @@ -9426,7 +9426,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "futures", @@ -9449,7 +9449,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "lru 0.8.1", "parity-scale-codec", @@ -9473,7 +9473,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -9486,7 +9486,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "log", "sc-allocator", @@ -9499,7 +9499,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "anyhow", "cfg-if", @@ -9517,7 +9517,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "ansi_term", "futures", @@ -9533,7 +9533,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "async-trait", @@ -9548,7 +9548,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "async-channel", @@ -9592,7 +9592,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "cid", "futures", @@ -9612,7 +9612,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "async-trait", @@ -9640,7 +9640,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "ahash 0.8.2", "futures", @@ -9659,7 +9659,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "futures", @@ -9681,7 +9681,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "async-trait", @@ -9715,7 +9715,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "futures", @@ -9735,7 +9735,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "bytes", @@ -9766,7 +9766,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "libp2p", @@ -9779,7 +9779,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9788,7 +9788,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "jsonrpsee", @@ -9818,7 +9818,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9837,7 +9837,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "http", "jsonrpsee", @@ -9852,7 +9852,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "futures", @@ -9878,7 +9878,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "directories", @@ -9944,7 +9944,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "log", "parity-scale-codec", @@ -9955,7 +9955,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "clap 4.0.15", "fs4", @@ -9971,7 +9971,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9990,7 +9990,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "libc", @@ -10009,7 +10009,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "chrono", "futures", @@ -10028,7 +10028,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "ansi_term", "atty", @@ -10059,7 +10059,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10070,7 +10070,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "futures", @@ -10097,7 +10097,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "futures", @@ -10111,7 +10111,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-channel", "futures", @@ -10626,7 +10626,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "hash-db", "log", @@ -10644,7 +10644,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "Inflector", "blake2", @@ -10658,7 +10658,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "scale-info", @@ -10671,7 +10671,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "integer-sqrt", "num-traits", @@ -10685,7 +10685,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "scale-info", @@ -10698,7 +10698,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "sp-api", @@ -10710,7 +10710,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "log", @@ -10728,7 +10728,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "futures", @@ -10743,7 +10743,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "parity-scale-codec", @@ -10761,7 +10761,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "merlin", @@ -10784,7 +10784,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "lazy_static", "parity-scale-codec", @@ -10803,7 +10803,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "finality-grandpa", "log", @@ -10821,7 +10821,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "scale-info", @@ -10833,7 +10833,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "scale-info", @@ -10846,7 +10846,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "base58", @@ -10889,7 +10889,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "blake2b_simd", "byteorder", @@ -10903,7 +10903,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "proc-macro2", "quote", @@ -10914,7 +10914,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10923,7 +10923,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "proc-macro2", "quote", @@ -10933,7 +10933,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "environmental", "parity-scale-codec", @@ -10944,7 +10944,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10959,7 +10959,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "bytes", "ed25519", @@ -10984,7 +10984,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "lazy_static", "sp-core", @@ -10995,7 +10995,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "merlin", @@ -11011,7 +11011,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "thiserror", "zstd", @@ -11020,7 +11020,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -11038,7 +11038,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "scale-info", @@ -11052,7 +11052,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "sp-api", "sp-core", @@ -11062,7 +11062,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "backtrace", "lazy_static", @@ -11072,7 +11072,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "rustc-hash", "serde", @@ -11082,7 +11082,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "either", "hash256-std-hasher", @@ -11104,7 +11104,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11122,7 +11122,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "Inflector", "proc-macro-crate", @@ -11134,7 +11134,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "scale-info", @@ -11148,7 +11148,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "scale-info", @@ -11160,7 +11160,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "hash-db", "log", @@ -11180,12 +11180,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11198,7 +11198,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "futures-timer", @@ -11213,7 +11213,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "sp-std", @@ -11225,7 +11225,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "sp-api", "sp-runtime", @@ -11234,7 +11234,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "log", @@ -11250,11 +11250,11 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "ahash 0.8.2", "hash-db", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", @@ -11273,7 +11273,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11290,7 +11290,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11301,7 +11301,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11315,7 +11315,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "parity-scale-codec", "scale-info", @@ -11535,7 +11535,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "platforms", ] @@ -11543,7 +11543,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11562,7 +11562,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "hyper", "log", @@ -11574,7 +11574,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "jsonrpsee", @@ -11587,7 +11587,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "jsonrpsee", "log", @@ -11606,7 +11606,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "array-bytes", "async-trait", @@ -11632,7 +11632,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11642,7 +11642,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11653,7 +11653,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "ansi_term", "build-helper", @@ -12454,7 +12454,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a2d4f7dfa97c1496f964c6fe833d5128f8319c77" +source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" dependencies = [ "async-trait", "clap 4.0.15", diff --git a/node/test/service/src/lib.rs b/node/test/service/src/lib.rs index f95ee9f75ed3..c895bd707b86 100644 --- a/node/test/service/src/lib.rs +++ b/node/test/service/src/lib.rs @@ -395,10 +395,11 @@ pub fn construct_transfer_extrinsic( dest: sp_keyring::AccountKeyring, value: Balance, ) -> UncheckedExtrinsic { - let function = polkadot_test_runtime::RuntimeCall::Balances(pallet_balances::Call::transfer { - dest: MultiSigner::from(dest.public()).into_account().into(), - value, - }); + let function = + polkadot_test_runtime::RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { + dest: MultiSigner::from(dest.public()).into_account().into(), + value, + }); construct_extrinsic(client, function, origin, 0) } diff --git a/node/test/service/tests/call-function.rs b/node/test/service/tests/call-function.rs index 8678a0a08a2b..7e36f18d763c 100644 --- a/node/test/service/tests/call-function.rs +++ b/node/test/service/tests/call-function.rs @@ -24,10 +24,11 @@ async fn call_function_actually_work() { let alice = run_validator_node(alice_config, None); - let function = polkadot_test_runtime::RuntimeCall::Balances(pallet_balances::Call::transfer { - dest: Charlie.to_account_id().into(), - value: 1, - }); + let function = + polkadot_test_runtime::RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { + dest: Charlie.to_account_id().into(), + value: 1, + }); let output = alice.send_extrinsic(function, Bob).await.unwrap(); let res = output.result; diff --git a/runtime/common/src/assigned_slots.rs b/runtime/common/src/assigned_slots.rs index 96e14820f751..d766b08e7329 100644 --- a/runtime/common/src/assigned_slots.rs +++ b/runtime/common/src/assigned_slots.rs @@ -631,6 +631,10 @@ mod tests { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = [u8; 8]; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<1>; + type MaxFreezes = ConstU32<1>; } impl parachains_configuration::Config for Test { diff --git a/runtime/common/src/auctions.rs b/runtime/common/src/auctions.rs index a75ca812f7b0..03ceea703532 100644 --- a/runtime/common/src/auctions.rs +++ b/runtime/common/src/auctions.rs @@ -679,7 +679,7 @@ mod tests { assert_noop, assert_ok, assert_storage_noop, dispatch::DispatchError::BadOrigin, ord_parameter_types, parameter_types, - traits::{EitherOfDiverse, OnFinalize, OnInitialize}, + traits::{ConstU32, EitherOfDiverse, OnFinalize, OnInitialize}, }; use frame_system::{EnsureRoot, EnsureSignedBy}; use pallet_balances; @@ -748,6 +748,10 @@ mod tests { type MaxLocks = (); type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<1>; + type MaxFreezes = ConstU32<1>; } #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Copy, Debug)] @@ -1412,24 +1416,25 @@ mod tests { let para_2 = ParaId::from(2_u32); // Make a bid and reserve a balance - assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), para_1, 1, 1, 4, 10)); - assert_eq!(Balances::reserved_balance(1), 10); - assert_eq!(ReservedAmounts::::get((1, para_1)), Some(10)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), para_1, 1, 1, 4, 9)); + assert_eq!(Balances::reserved_balance(1), 9); + assert_eq!(ReservedAmounts::::get((1, para_1)), Some(9)); assert_eq!(Balances::reserved_balance(2), 0); assert_eq!(ReservedAmounts::::get((2, para_2)), None); // Bigger bid, reserves new balance and returns funds - assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), para_2, 1, 1, 4, 20)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), para_2, 1, 1, 4, 19)); assert_eq!(Balances::reserved_balance(1), 0); assert_eq!(ReservedAmounts::::get((1, para_1)), None); - assert_eq!(Balances::reserved_balance(2), 20); - assert_eq!(ReservedAmounts::::get((2, para_2)), Some(20)); + assert_eq!(Balances::reserved_balance(2), 19); + assert_eq!(ReservedAmounts::::get((2, para_2)), Some(19)); }); } #[test] fn initialize_winners_in_ending_period_works() { new_test_ext().execute_with(|| { + assert_eq!(::ExistentialDeposit::get(), 1); run_to_block(1); assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 9, 1)); let para_1 = ParaId::from(1_u32); @@ -1437,16 +1442,16 @@ mod tests { let para_3 = ParaId::from(3_u32); // Make bids - assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), para_1, 1, 1, 4, 10)); - assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), para_2, 1, 3, 4, 20)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), para_1, 1, 1, 4, 9)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), para_2, 1, 3, 4, 19)); assert_eq!( Auctions::auction_status(System::block_number()), AuctionStatus::::StartingPeriod ); let mut winning = [None; SlotRange::SLOT_RANGE_COUNT]; - winning[SlotRange::ZeroThree as u8 as usize] = Some((1, para_1, 10)); - winning[SlotRange::TwoThree as u8 as usize] = Some((2, para_2, 20)); + winning[SlotRange::ZeroThree as u8 as usize] = Some((1, para_1, 9)); + winning[SlotRange::TwoThree as u8 as usize] = Some((2, para_2, 19)); assert_eq!(Auctions::winning(0), Some(winning)); run_to_block(9); @@ -1468,14 +1473,14 @@ mod tests { AuctionStatus::::EndingPeriod(1, 0) ); assert_eq!(Auctions::winning(1), Some(winning)); - assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), para_3, 1, 3, 4, 30)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), para_3, 1, 3, 4, 29)); run_to_block(12); assert_eq!( Auctions::auction_status(System::block_number()), AuctionStatus::::EndingPeriod(2, 0) ); - winning[SlotRange::TwoThree as u8 as usize] = Some((3, para_3, 30)); + winning[SlotRange::TwoThree as u8 as usize] = Some((3, para_3, 29)); assert_eq!(Auctions::winning(2), Some(winning)); }); } @@ -1542,6 +1547,7 @@ mod tests { #[test] fn less_winning_samples_work() { new_test_ext().execute_with(|| { + assert_eq!(::ExistentialDeposit::get(), 1); EndingPeriod::set(30); SampleLength::set(10); @@ -1552,16 +1558,16 @@ mod tests { let para_3 = ParaId::from(3_u32); // Make bids - assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), para_1, 1, 11, 14, 10)); - assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), para_2, 1, 13, 14, 20)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), para_1, 1, 11, 14, 9)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), para_2, 1, 13, 14, 19)); assert_eq!( Auctions::auction_status(System::block_number()), AuctionStatus::::StartingPeriod ); let mut winning = [None; SlotRange::SLOT_RANGE_COUNT]; - winning[SlotRange::ZeroThree as u8 as usize] = Some((1, para_1, 10)); - winning[SlotRange::TwoThree as u8 as usize] = Some((2, para_2, 20)); + winning[SlotRange::ZeroThree as u8 as usize] = Some((1, para_1, 9)); + winning[SlotRange::TwoThree as u8 as usize] = Some((2, para_2, 19)); assert_eq!(Auctions::winning(0), Some(winning)); run_to_block(9); @@ -1578,8 +1584,8 @@ mod tests { assert_eq!(Auctions::winning(0), Some(winning)); // New bids update the current winning - assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), para_3, 1, 14, 14, 30)); - winning[SlotRange::ThreeThree as u8 as usize] = Some((3, para_3, 30)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), para_3, 1, 14, 14, 29)); + winning[SlotRange::ThreeThree as u8 as usize] = Some((3, para_3, 29)); assert_eq!(Auctions::winning(0), Some(winning)); run_to_block(20); @@ -1590,8 +1596,8 @@ mod tests { assert_eq!(Auctions::winning(1), Some(winning)); run_to_block(25); // Overbid mid sample - assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), para_3, 1, 13, 14, 30)); - winning[SlotRange::TwoThree as u8 as usize] = Some((3, para_3, 30)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), para_3, 1, 13, 14, 29)); + winning[SlotRange::TwoThree as u8 as usize] = Some((3, para_3, 29)); assert_eq!(Auctions::winning(1), Some(winning)); run_to_block(30); @@ -1611,8 +1617,8 @@ mod tests { assert_eq!( leases(), vec![ - ((3.into(), 13), LeaseData { leaser: 3, amount: 30 }), - ((3.into(), 14), LeaseData { leaser: 3, amount: 30 }), + ((3.into(), 13), LeaseData { leaser: 3, amount: 29 }), + ((3.into(), 14), LeaseData { leaser: 3, amount: 29 }), ] ); }); diff --git a/runtime/common/src/claims.rs b/runtime/common/src/claims.rs index 82bca143e18b..7d3cdcb47d39 100644 --- a/runtime/common/src/claims.rs +++ b/runtime/common/src/claims.rs @@ -717,13 +717,14 @@ mod tests { assert_err, assert_noop, assert_ok, dispatch::{DispatchError::BadOrigin, GetDispatchInfo, Pays}, ord_parameter_types, parameter_types, - traits::{ExistenceRequirement, GenesisBuild, WithdrawReasons}, + traits::{ConstU32, ExistenceRequirement, GenesisBuild, WithdrawReasons}, }; use pallet_balances; use sp_runtime::{ testing::Header, traits::{BlakeTwo256, Identity, IdentityLookup}, transaction_validity::TransactionLongevity, + TokenError, }; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; @@ -786,6 +787,10 @@ mod tests { type MaxReserves = (); type ReserveIdentifier = [u8; 8]; type WeightInfo = (); + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<1>; + type MaxFreezes = ConstU32<1>; } parameter_types! { @@ -1206,7 +1211,7 @@ mod tests { 180, ExistenceRequirement::AllowDeath ), - pallet_balances::Error::::LiquidityRestrictions, + TokenError::Frozen, ); }); } @@ -1294,6 +1299,8 @@ mod tests { #[test] fn claiming_while_vested_doesnt_work() { new_test_ext().execute_with(|| { + CurrencyOf::::make_free_balance_be(&69, total_claims()); + assert_eq!(Balances::free_balance(69), total_claims()); // A user is already vested assert_ok!(::VestingSchedule::add_vesting_schedule( &69, @@ -1301,8 +1308,6 @@ mod tests { 100, 10 )); - CurrencyOf::::make_free_balance_be(&69, total_claims()); - assert_eq!(Balances::free_balance(69), total_claims()); assert_ok!(Claims::mint_claim( RuntimeOrigin::root(), eth(&bob()), diff --git a/runtime/common/src/crowdloan/mod.rs b/runtime/common/src/crowdloan/mod.rs index e8a2654044a2..a4f2d3ba694f 100644 --- a/runtime/common/src/crowdloan/mod.rs +++ b/runtime/common/src/crowdloan/mod.rs @@ -419,6 +419,7 @@ pub mod pallet { let deposit = T::SubmissionDeposit::get(); + frame_system::Pallet::::inc_providers(&Self::fund_account_id(fund_index)); CurrencyOf::::reserve(&depositor, deposit)?; Funds::::insert( @@ -575,6 +576,7 @@ pub mod pallet { // can take care of that. debug_assert!(Self::contribution_iterator(fund.fund_index).count().is_zero()); + frame_system::Pallet::::dec_providers(&Self::fund_account_id(fund.fund_index))?; CurrencyOf::::unreserve(&fund.depositor, fund.deposit); Funds::::remove(index); Self::deposit_event(Event::::Dissolved { para_id: index }); @@ -861,7 +863,7 @@ mod tests { use frame_support::{ assert_noop, assert_ok, parameter_types, - traits::{OnFinalize, OnInitialize}, + traits::{ConstU32, OnFinalize, OnInitialize}, }; use primitives::Id as ParaId; use sp_core::H256; @@ -943,6 +945,10 @@ mod tests { type MaxReserves = (); type ReserveIdentifier = [u8; 8]; type WeightInfo = (); + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<1>; + type MaxFreezes = ConstU32<1>; } #[derive(Copy, Clone, Eq, PartialEq, Debug)] @@ -987,9 +993,10 @@ mod tests { let fund = Funds::::get(para).unwrap(); let account_id = Crowdloan::fund_account_id(fund.fund_index); if winner { + let ed = ::ExistentialDeposit::get(); let free_balance = Balances::free_balance(&account_id); - Balances::reserve(&account_id, free_balance) - .expect("should be able to reserve free balance"); + Balances::reserve(&account_id, free_balance - ed) + .expect("should be able to reserve free balance minus ED"); } else { let reserved_balance = Balances::reserved_balance(&account_id); Balances::unreserve(&account_id, reserved_balance); @@ -1613,7 +1620,7 @@ mod tests { let account_id = Crowdloan::fund_account_id(index); // user sends the crowdloan funds trying to make an accounting error - assert_ok!(Balances::transfer(RuntimeOrigin::signed(1), account_id, 10)); + assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(1), account_id, 10)); // overfunded now assert_eq!(Balances::free_balance(&account_id), 110); @@ -1782,6 +1789,7 @@ mod tests { #[test] fn withdraw_from_finished_works() { new_test_ext().execute_with(|| { + assert_eq!(::ExistentialDeposit::get(), 1); let para = new_para(); let index = NextFundIndex::::get(); let account_id = Crowdloan::fund_account_id(index); @@ -1793,7 +1801,7 @@ mod tests { assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 100, None)); assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(3), para, 50, None)); // simulate the reserving of para's funds. this actually happens in the Slots pallet. - assert_ok!(Balances::reserve(&account_id, 150)); + assert_ok!(Balances::reserve(&account_id, 149)); run_to_block(19); assert_noop!( diff --git a/runtime/common/src/impls.rs b/runtime/common/src/impls.rs index de6e415b8606..42760eab105a 100644 --- a/runtime/common/src/impls.rs +++ b/runtime/common/src/impls.rs @@ -102,11 +102,15 @@ pub fn era_payout( mod tests { use super::*; use frame_support::{ - dispatch::DispatchClass, parameter_types, traits::FindAuthor, weights::Weight, PalletId, + dispatch::DispatchClass, + parameter_types, + traits::{ConstU32, FindAuthor}, + weights::Weight, + PalletId, }; use frame_system::limits; use primitives::AccountId; - use sp_core::H256; + use sp_core::{ConstU64, H256}; use sp_runtime::{ testing::Header, traits::{BlakeTwo256, IdentityLookup}, @@ -176,12 +180,16 @@ mod tests { type Balance = u64; type RuntimeEvent = RuntimeEvent; type DustRemoval = (); - type ExistentialDeposit = (); + type ExistentialDeposit = ConstU64<1>; type AccountStore = System; type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = [u8; 8]; type WeightInfo = (); + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<1>; + type MaxFreezes = ConstU32<1>; } parameter_types! { diff --git a/runtime/common/src/integration_tests.rs b/runtime/common/src/integration_tests.rs index 1a1971e6ae4e..8f0d27c122ec 100644 --- a/runtime/common/src/integration_tests.rs +++ b/runtime/common/src/integration_tests.rs @@ -24,7 +24,7 @@ use crate::{ }; use frame_support::{ assert_noop, assert_ok, parameter_types, - traits::{Currency, GenesisBuild, OnFinalize, OnInitialize}, + traits::{ConstU32, Currency, GenesisBuild, OnFinalize, OnInitialize}, weights::Weight, PalletId, }; @@ -178,6 +178,10 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } impl configuration::Config for Test { diff --git a/runtime/common/src/paras_registrar.rs b/runtime/common/src/paras_registrar.rs index 2fe16f141683..b41a5c555967 100644 --- a/runtime/common/src/paras_registrar.rs +++ b/runtime/common/src/paras_registrar.rs @@ -658,7 +658,7 @@ mod tests { assert_noop, assert_ok, error::BadOrigin, parameter_types, - traits::{GenesisBuild, OnFinalize, OnInitialize}, + traits::{ConstU32, GenesisBuild, OnFinalize, OnInitialize}, }; use frame_system::limits; use pallet_balances::Error as BalancesError; @@ -750,6 +750,10 @@ mod tests { type MaxReserves = (); type ReserveIdentifier = [u8; 8]; type WeightInfo = (); + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<1>; + type MaxFreezes = ConstU32<1>; } impl shared::Config for Test {} diff --git a/runtime/common/src/purchase.rs b/runtime/common/src/purchase.rs index 47190c5f2690..95e279499840 100644 --- a/runtime/common/src/purchase.rs +++ b/runtime/common/src/purchase.rs @@ -485,11 +485,10 @@ mod tests { ord_parameter_types, parameter_types, traits::{Currency, WithdrawReasons}, }; - use pallet_balances::Error as BalancesError; use sp_runtime::{ testing::Header, traits::{BlakeTwo256, Dispatchable, IdentifyAccount, Identity, IdentityLookup, Verify}, - MultiSignature, + ArithmeticError, MultiSignature, }; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; @@ -554,6 +553,10 @@ mod tests { type MaxReserves = (); type ReserveIdentifier = [u8; 8]; type WeightInfo = (); + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<1>; + type MaxFreezes = ConstU32<1>; } parameter_types! { @@ -815,6 +818,7 @@ mod tests { ); // Account with vesting + Balances::make_free_balance_be(&alice(), 100); assert_ok!(::VestingSchedule::add_vesting_schedule( &alice(), 100, @@ -1127,6 +1131,7 @@ mod tests { // Wrong Origin assert_noop!(Purchase::payout(RuntimeOrigin::signed(alice()), alice(),), BadOrigin); // Account with Existing Vesting Schedule + Balances::make_free_balance_be(&bob(), 100); assert_ok!( ::VestingSchedule::add_vesting_schedule(&bob(), 100, 1, 50,) ); @@ -1163,8 +1168,8 @@ mod tests { Permill::zero(), )); assert_noop!( - Purchase::payout(RuntimeOrigin::signed(payment_account()), alice(),), - BalancesError::::InsufficientBalance + Purchase::payout(RuntimeOrigin::signed(payment_account()), alice()), + ArithmeticError::Underflow ); }); } diff --git a/runtime/common/src/slots/mod.rs b/runtime/common/src/slots/mod.rs index 2c3fd39ae00a..c9f3388e66ff 100644 --- a/runtime/common/src/slots/mod.rs +++ b/runtime/common/src/slots/mod.rs @@ -568,6 +568,10 @@ mod tests { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = [u8; 8]; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<1>; + type MaxFreezes = ConstU32<1>; } parameter_types! { @@ -844,9 +848,9 @@ mod tests { // max_num different people are reserved for leases to Para ID 1 for i in 1u32..=max_num { let j: u64 = i.into(); - assert_ok!(Slots::lease_out(1.into(), &j, j * 10, i * i, i)); - assert_eq!(Slots::deposit_held(1.into(), &j), j * 10); - assert_eq!(Balances::reserved_balance(j), j * 10); + assert_ok!(Slots::lease_out(1.into(), &j, j * 10 - 1, i * i, i)); + assert_eq!(Slots::deposit_held(1.into(), &j), j * 10 - 1); + assert_eq!(Balances::reserved_balance(j), j * 10 - 1); } assert_ok!(Slots::clear_all_leases(RuntimeOrigin::root(), 1.into())); diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 03c04ad9cb5d..54a3f648f39a 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -34,6 +34,7 @@ use runtime_common::{ prod_or_fast, slots, BalanceToU256, BlockHashCount, BlockLength, CurrencyToVote, SlowAdjustingFeeUpdate, U256ToBalance, }; +use scale_info::TypeInfo; use sp_std::{cmp::Ordering, collections::btree_map::BTreeMap, prelude::*}; use runtime_parachains::{ @@ -303,6 +304,10 @@ impl pallet_balances::Config for Runtime { type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; type WeightInfo = weights::pallet_balances::WeightInfo; + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = HoldReason; + type MaxHolds = ConstU32<1>; } parameter_types! { @@ -1236,7 +1241,6 @@ impl pallet_balances::Config for Runtime { type ExistentialDeposit = ConstU128<10_000_000_000>; // One KTC cent type AccountStore = StorageMapShim< pallet_balances::Account, - frame_system::Provider, AccountId, pallet_balances::AccountData, >; @@ -1244,10 +1248,13 @@ impl pallet_balances::Config for Runtime { type MaxReserves = ConstU32<4>; type ReserveIdentifier = [u8; 8]; type WeightInfo = weights::pallet_balances_nis_counterpart_balances::WeightInfo; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } parameter_types! { - pub IgnoredIssuance: Balance = Treasury::pot(); pub const NisBasePeriod: BlockNumber = 7 * DAYS; pub const MinBid: Balance = 100 * QUID; pub MinReceipt: Perquintill = Perquintill::from_rational(1u64, 10_000_000u64); @@ -1256,7 +1263,27 @@ parameter_types! { pub const ThawThrottle: (Perquintill, BlockNumber) = (Perquintill::from_percent(25), 5); pub storage NisTarget: Perquintill = Perquintill::zero(); pub const NisPalletId: PalletId = PalletId(*b"py/nis "); - pub const NisReserveId: [u8; 8] = *b"py/nis "; + pub const NisHoldReason: HoldReason = HoldReason::Nis(HoldReasonNis::NftReceipt); +} + +/// A reason for placing a hold on funds. +#[derive( + Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, MaxEncodedLen, Debug, TypeInfo, +)] +pub enum HoldReason { + /// Some reason of the NIS pallet. + #[codec(index = 38)] + Nis(HoldReasonNis), +} + +/// A reason for the NIS pallet placing a hold on funds. +#[derive( + Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, MaxEncodedLen, Debug, TypeInfo, +)] +pub enum HoldReasonNis { + /// The NIS Pallet has reserved it for a non-fungible receipt. + #[codec(index = 0)] + NftReceipt = 0, } impl pallet_nis::Config for Runtime { @@ -1268,7 +1295,7 @@ impl pallet_nis::Config for Runtime { type Counterpart = NisCounterpartBalances; type CounterpartAmount = WithMaximumOf>; type Deficit = (); // Mint - type IgnoredIssuance = IgnoredIssuance; + type IgnoredIssuance = (); type Target = NisTarget; type PalletId = NisPalletId; type QueueCount = ConstU32<500>; @@ -1280,7 +1307,7 @@ impl pallet_nis::Config for Runtime { type IntakePeriod = IntakePeriod; type MaxIntakeWeight = MaxIntakeWeight; type ThawThrottle = ThawThrottle; - type ReserveId = NisReserveId; + type HoldReason = NisHoldReason; } parameter_types! { diff --git a/runtime/kusama/src/weights/pallet_balances.rs b/runtime/kusama/src/weights/pallet_balances.rs index ebe7d8bc43d1..1187d68ae859 100644 --- a/runtime/kusama/src/weights/pallet_balances.rs +++ b/runtime/kusama/src/weights/pallet_balances.rs @@ -45,7 +45,7 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) - fn transfer() -> Weight { + fn transfer_allow_death() -> Weight { // Minimum execution time: 40_902 nanoseconds. Weight::from_parts(41_638_000 as u64, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) @@ -59,14 +59,14 @@ impl pallet_balances::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) - fn set_balance_creating() -> Weight { + fn force_set_balance_creating() -> Weight { // Minimum execution time: 23_901 nanoseconds. Weight::from_parts(24_238_000 as u64, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) - fn set_balance_killing() -> Weight { + fn force_set_balance_killing() -> Weight { // Minimum execution time: 26_402 nanoseconds. Weight::from_parts(27_026_000 as u64, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) @@ -93,4 +93,7 @@ impl pallet_balances::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + fn upgrade_accounts(_: u32) -> Weight { + Weight::from_parts(0, 0) + } } diff --git a/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs b/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs index cdd715608a52..521efd5b95da 100644 --- a/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs +++ b/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs @@ -51,7 +51,7 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn transfer() -> Weight { + fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `11258` @@ -79,7 +79,7 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_balance_creating() -> Weight { + fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `5078` @@ -95,7 +95,7 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_balance_killing() -> Weight { + fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `8671` @@ -147,4 +147,7 @@ impl pallet_balances::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + fn upgrade_accounts(_: u32) -> Weight { + Weight::from_parts(0, 0) + } } diff --git a/runtime/parachains/src/hrmp/benchmarking.rs b/runtime/parachains/src/hrmp/benchmarking.rs index 562e735e6a50..a2d0e0a2c5a4 100644 --- a/runtime/parachains/src/hrmp/benchmarking.rs +++ b/runtime/parachains/src/hrmp/benchmarking.rs @@ -69,6 +69,7 @@ where ::RuntimeOrigin: From, { let config = Configuration::::config(); + let ed = T::Currency::minimum_balance(); let deposit: BalanceOf = config.hrmp_sender_deposit.unique_saturated_into(); let capacity = config.hrmp_channel_max_capacity; let message_size = config.hrmp_channel_max_message_size; @@ -83,10 +84,10 @@ where // Make both a parachain if they are already not. if !Paras::::is_parachain(sender) { - register_parachain_with_balance::(sender, deposit); + register_parachain_with_balance::(sender, deposit + ed); } if !Paras::::is_parachain(recipient) { - register_parachain_with_balance::(recipient, deposit); + register_parachain_with_balance::(recipient, deposit + ed); } assert_ok!(Hrmp::::hrmp_init_open_channel( @@ -147,9 +148,10 @@ frame_benchmarking::benchmarks! { let recipient_id: ParaId = 2u32.into(); // make sure para is registered, and has enough balance. + let ed = T::Currency::minimum_balance(); let deposit: BalanceOf = Configuration::::config().hrmp_sender_deposit.unique_saturated_into(); - register_parachain_with_balance::(sender_id, deposit); - register_parachain_with_balance::(recipient_id, deposit); + register_parachain_with_balance::(sender_id, deposit + ed); + register_parachain_with_balance::(recipient_id, deposit + ed); let capacity = Configuration::::config().hrmp_channel_max_capacity; let message_size = Configuration::::config().hrmp_channel_max_message_size; @@ -302,12 +304,13 @@ frame_benchmarking::benchmarks! { let recipient_id: ParaId = 2u32.into(); // make sure para is registered, and has enough balance. + let ed = T::Currency::minimum_balance(); let sender_deposit: BalanceOf = Configuration::::config().hrmp_sender_deposit.unique_saturated_into(); let recipient_deposit: BalanceOf = Configuration::::config().hrmp_recipient_deposit.unique_saturated_into(); - register_parachain_with_balance::(sender_id, sender_deposit); - register_parachain_with_balance::(recipient_id, recipient_deposit); + register_parachain_with_balance::(sender_id, sender_deposit + ed); + register_parachain_with_balance::(recipient_id, recipient_deposit + ed); let capacity = Configuration::::config().hrmp_channel_max_capacity; let message_size = Configuration::::config().hrmp_channel_max_message_size; diff --git a/runtime/parachains/src/mock.rs b/runtime/parachains/src/mock.rs index ee7a79c17d27..fb6946a0161d 100644 --- a/runtime/parachains/src/mock.rs +++ b/runtime/parachains/src/mock.rs @@ -25,7 +25,7 @@ use crate::{ use frame_support::{ parameter_types, - traits::{GenesisBuild, ValidatorSet, ValidatorSetWithIdentification}, + traits::{ConstU32, GenesisBuild, ValidatorSet, ValidatorSetWithIdentification}, weights::Weight, }; use frame_support_test::TestRandomness; @@ -113,11 +113,11 @@ impl frame_system::Config for Test { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = ConstU32<16>; } parameter_types! { - pub static ExistentialDeposit: u64 = 0; + pub static ExistentialDeposit: u64 = 1; } impl pallet_balances::Config for Test { @@ -130,6 +130,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } parameter_types! { diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 98b8f69d2ecf..12441342f852 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -296,6 +296,10 @@ impl pallet_balances::Config for Runtime { type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; type WeightInfo = weights::pallet_balances::WeightInfo; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } parameter_types! { diff --git a/runtime/polkadot/src/weights/pallet_balances.rs b/runtime/polkadot/src/weights/pallet_balances.rs index 7b4d22eb0da4..8828c2ac9ed2 100644 --- a/runtime/polkadot/src/weights/pallet_balances.rs +++ b/runtime/polkadot/src/weights/pallet_balances.rs @@ -47,7 +47,7 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn transfer() -> Weight { + fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` @@ -71,7 +71,7 @@ impl pallet_balances::WeightInfo for WeightInfo { } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn set_balance_creating() -> Weight { + fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` @@ -83,7 +83,7 @@ impl pallet_balances::WeightInfo for WeightInfo { } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn set_balance_killing() -> Weight { + fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` @@ -129,4 +129,7 @@ impl pallet_balances::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + fn upgrade_accounts(_: u32) -> Weight { + Weight::from_parts(0, 0) + } } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 3e5a8849b88d..0d5f9a74a603 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -34,6 +34,7 @@ use runtime_common::{ paras_registrar, paras_sudo_wrapper, prod_or_fast, slots, BlockHashCount, BlockLength, SlowAdjustingFeeUpdate, }; +use scale_info::TypeInfo; use sp_std::{cmp::Ordering, collections::btree_map::BTreeMap, prelude::*}; use runtime_parachains::{ @@ -281,6 +282,10 @@ impl pallet_balances::Config for Runtime { type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; type WeightInfo = weights::pallet_balances::WeightInfo; + type FreezeIdentifier = (); + type MaxFreezes = ConstU32<1>; + type HoldIdentifier = HoldReason; + type MaxHolds = ConstU32<1>; } parameter_types! { @@ -1169,7 +1174,6 @@ impl pallet_balances::Config for Runtime { type ExistentialDeposit = ConstU128<10_000_000_000>; // One RTC cent type AccountStore = StorageMapShim< pallet_balances::Account, - frame_system::Provider, AccountId, pallet_balances::AccountData, >; @@ -1177,10 +1181,13 @@ impl pallet_balances::Config for Runtime { type MaxReserves = ConstU32<4>; type ReserveIdentifier = [u8; 8]; type WeightInfo = weights::pallet_balances_nis_counterpart_balances::WeightInfo; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } parameter_types! { - pub IgnoredIssuance: Balance = Treasury::pot(); pub const NisBasePeriod: BlockNumber = 30 * DAYS; pub const MinBid: Balance = 100 * UNITS; pub MinReceipt: Perquintill = Perquintill::from_rational(1u64, 10_000_000u64); @@ -1189,7 +1196,27 @@ parameter_types! { pub const ThawThrottle: (Perquintill, BlockNumber) = (Perquintill::from_percent(25), 5); pub storage NisTarget: Perquintill = Perquintill::zero(); pub const NisPalletId: PalletId = PalletId(*b"py/nis "); - pub const NisReserveId: [u8; 8] = *b"py/nis "; + pub const NisHoldReason: HoldReason = HoldReason::Nis(HoldReasonNis::NftReceipt); +} + +/// A reason for placing a hold on funds. +#[derive( + Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, MaxEncodedLen, Debug, TypeInfo, +)] +pub enum HoldReason { + /// Some reason of the NIS pallet. + #[codec(index = 38)] + Nis(HoldReasonNis), +} + +/// A reason for the NIS pallet placing a hold on funds. +#[derive( + Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, MaxEncodedLen, Debug, TypeInfo, +)] +pub enum HoldReasonNis { + /// The NIS Pallet has reserved it for a non-fungible receipt. + #[codec(index = 0)] + NftReceipt = 0, } impl pallet_nis::Config for Runtime { @@ -1201,7 +1228,7 @@ impl pallet_nis::Config for Runtime { type Counterpart = NisCounterpartBalances; type CounterpartAmount = WithMaximumOf>; type Deficit = (); // Mint - type IgnoredIssuance = IgnoredIssuance; + type IgnoredIssuance = (); type Target = NisTarget; type PalletId = NisPalletId; type QueueCount = ConstU32<300>; @@ -1213,7 +1240,7 @@ impl pallet_nis::Config for Runtime { type IntakePeriod = IntakePeriod; type MaxIntakeWeight = MaxIntakeWeight; type ThawThrottle = ThawThrottle; - type ReserveId = NisReserveId; + type HoldReason = NisHoldReason; } parameter_types! { diff --git a/runtime/rococo/src/weights/pallet_balances.rs b/runtime/rococo/src/weights/pallet_balances.rs index 94599ca312df..463f0a2e87b1 100644 --- a/runtime/rococo/src/weights/pallet_balances.rs +++ b/runtime/rococo/src/weights/pallet_balances.rs @@ -45,7 +45,7 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) - fn transfer() -> Weight { + fn transfer_allow_death() -> Weight { // Minimum execution time: 40_106 nanoseconds. Weight::from_parts(40_750_000 as u64, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) @@ -59,14 +59,14 @@ impl pallet_balances::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) - fn set_balance_creating() -> Weight { + fn force_set_balance_creating() -> Weight { // Minimum execution time: 23_902 nanoseconds. Weight::from_parts(24_338_000 as u64, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) - fn set_balance_killing() -> Weight { + fn force_set_balance_killing() -> Weight { // Minimum execution time: 26_492 nanoseconds. Weight::from_parts(26_866_000 as u64, 0) .saturating_add(T::DbWeight::get().reads(1 as u64)) @@ -93,4 +93,7 @@ impl pallet_balances::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + fn upgrade_accounts(_: u32) -> Weight { + Weight::from_parts(0, 0) + } } diff --git a/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs b/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs index 3f6c52e8140c..045f0627345b 100644 --- a/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs +++ b/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs @@ -51,7 +51,7 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn transfer() -> Weight { + fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `11258` @@ -79,7 +79,7 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_balance_creating() -> Weight { + fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `5078` @@ -95,7 +95,7 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) /// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_balance_killing() -> Weight { + fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `393` // Estimated: `8671` @@ -147,4 +147,7 @@ impl pallet_balances::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + fn upgrade_accounts(_: u32) -> Weight { + Weight::from_parts(0, 0) + } } diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 2247adfe1733..e2d881b429bc 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -56,7 +56,7 @@ use runtime_common::{ claims, impl_runtime_weights, paras_sudo_wrapper, BlockHashCount, BlockLength, SlowAdjustingFeeUpdate, }; -use sp_core::OpaqueMetadata; +use sp_core::{ConstU32, OpaqueMetadata}; use sp_mmr_primitives as mmr; use sp_runtime::{ create_runtime_str, @@ -217,6 +217,10 @@ impl pallet_balances::Config for Runtime { type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; type WeightInfo = (); + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } parameter_types! { diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 06e48de4c32b..9b213e00786a 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -258,6 +258,10 @@ impl pallet_balances::Config for Runtime { type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; type WeightInfo = weights::pallet_balances::WeightInfo; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } parameter_types! { diff --git a/runtime/westend/src/weights/pallet_balances.rs b/runtime/westend/src/weights/pallet_balances.rs index 10582a691dce..812ba9137c07 100644 --- a/runtime/westend/src/weights/pallet_balances.rs +++ b/runtime/westend/src/weights/pallet_balances.rs @@ -47,7 +47,7 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn transfer() -> Weight { + fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` @@ -71,7 +71,7 @@ impl pallet_balances::WeightInfo for WeightInfo { } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn set_balance_creating() -> Weight { + fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` @@ -83,7 +83,7 @@ impl pallet_balances::WeightInfo for WeightInfo { } /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn set_balance_killing() -> Weight { + fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` @@ -129,4 +129,8 @@ impl pallet_balances::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + fn upgrade_accounts(_: u32) -> Weight { + Weight::from_parts(0, 0) + } + } diff --git a/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs b/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs index e3a02a9bcf94..56bbd913a010 100644 --- a/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs @@ -20,7 +20,7 @@ use crate::{fungible as xcm_balances_benchmark, mock::*}; use frame_benchmarking::BenchmarkError; use frame_support::{ parameter_types, - traits::{Everything, Nothing}, + traits::{ConstU32, Everything, Nothing}, weights::Weight, }; use sp_core::H256; @@ -77,7 +77,7 @@ impl frame_system::Config for Test { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = ConstU32<16>; } parameter_types! { @@ -94,6 +94,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } parameter_types! { diff --git a/xcm/pallet-xcm/src/mock.rs b/xcm/pallet-xcm/src/mock.rs index 74e69c55b31c..1e23af66b2fc 100644 --- a/xcm/pallet-xcm/src/mock.rs +++ b/xcm/pallet-xcm/src/mock.rs @@ -17,7 +17,7 @@ use codec::Encode; use frame_support::{ construct_runtime, parameter_types, - traits::{Everything, Nothing}, + traits::{ConstU32, Everything, Nothing}, weights::Weight, }; use polkadot_parachain::primitives::Id as ParaId; @@ -242,6 +242,10 @@ impl pallet_balances::Config for Test { type WeightInfo = (); type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } parameter_types! { diff --git a/xcm/xcm-builder/src/fungibles_adapter.rs b/xcm/xcm-builder/src/fungibles_adapter.rs index c20fc9926712..33e451393106 100644 --- a/xcm/xcm-builder/src/fungibles_adapter.rs +++ b/xcm/xcm-builder/src/fungibles_adapter.rs @@ -16,7 +16,12 @@ //! Adapters to work with `frame_support::traits::tokens::fungibles` through XCM. -use frame_support::traits::{tokens::fungibles, Contains, Get}; +use frame_support::traits::{ + tokens::{ + fungibles, Fortitude::Polite, Precision::Exact, Preservation::Preserve, Provenance::Minted, + }, + Contains, Get, +}; use sp_std::{marker::PhantomData, prelude::*, result}; use xcm::latest::prelude::*; use xcm_executor::traits::{Convert, Error as MatchError, MatchesFungibles, TransactAsset}; @@ -26,7 +31,7 @@ pub struct FungiblesTransferAdapter, ); impl< - Assets: fungibles::Transfer, + Assets: fungibles::Mutate, Matcher: MatchesFungibles, AccountIdConverter: Convert, AccountId: Clone, // can't get away without it since Currency is generic over it. @@ -49,7 +54,7 @@ impl< .map_err(|()| MatchError::AccountIdConversionFailed)?; let dest = AccountIdConverter::convert_ref(to) .map_err(|()| MatchError::AccountIdConversionFailed)?; - Assets::transfer(asset_id, &source, &dest, amount, true) + Assets::transfer(asset_id, &source, &dest, amount, Preserve) .map_err(|e| XcmError::FailedToTransactAsset(e.into()))?; Ok(what.clone().into()) } @@ -153,14 +158,14 @@ impl< { fn can_accrue_checked(asset_id: Assets::AssetId, amount: Assets::Balance) -> XcmResult { let checking_account = CheckingAccount::get(); - Assets::can_deposit(asset_id, &checking_account, amount, true) + Assets::can_deposit(asset_id, &checking_account, amount, Minted) .into_result() .map_err(|_| XcmError::NotDepositable) } fn can_reduce_checked(asset_id: Assets::AssetId, amount: Assets::Balance) -> XcmResult { let checking_account = CheckingAccount::get(); Assets::can_withdraw(asset_id, &checking_account, amount) - .into_result() + .into_result(false) .map_err(|_| XcmError::NotWithdrawable) .map(|_| ()) } @@ -171,7 +176,7 @@ impl< } fn reduce_checked(asset_id: Assets::AssetId, amount: Assets::Balance) { let checking_account = CheckingAccount::get(); - let ok = Assets::burn_from(asset_id, &checking_account, amount).is_ok(); + let ok = Assets::burn_from(asset_id, &checking_account, amount, Exact, Polite).is_ok(); debug_assert!(ok, "`can_reduce_checked` must have returned `true` immediately prior; qed"); } } @@ -280,7 +285,8 @@ impl< let who = AccountIdConverter::convert_ref(who) .map_err(|()| MatchError::AccountIdConversionFailed)?; Assets::mint_into(asset_id, &who, amount) - .map_err(|e| XcmError::FailedToTransactAsset(e.into())) + .map_err(|e| XcmError::FailedToTransactAsset(e.into()))?; + Ok(()) } fn withdraw_asset( @@ -297,7 +303,7 @@ impl< let (asset_id, amount) = Matcher::matches_fungibles(what)?; let who = AccountIdConverter::convert_ref(who) .map_err(|()| MatchError::AccountIdConversionFailed)?; - Assets::burn_from(asset_id, &who, amount) + Assets::burn_from(asset_id, &who, amount, Exact, Polite) .map_err(|e| XcmError::FailedToTransactAsset(e.into()))?; Ok(what.clone().into()) } @@ -312,7 +318,7 @@ pub struct FungiblesAdapter< CheckingAccount, >(PhantomData<(Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount)>); impl< - Assets: fungibles::Mutate + fungibles::Transfer, + Assets: fungibles::Mutate, Matcher: MatchesFungibles, AccountIdConverter: Convert, AccountId: Clone, // can't get away without it since Currency is generic over it. diff --git a/xcm/xcm-builder/tests/mock/mod.rs b/xcm/xcm-builder/tests/mock/mod.rs index a265bff1e352..450ef181869d 100644 --- a/xcm/xcm-builder/tests/mock/mod.rs +++ b/xcm/xcm-builder/tests/mock/mod.rs @@ -16,7 +16,7 @@ use frame_support::{ construct_runtime, parameter_types, - traits::{Everything, Nothing}, + traits::{ConstU32, Everything, Nothing}, weights::Weight, }; use parity_scale_codec::Encode; @@ -116,6 +116,10 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } impl shared::Config for Runtime {} diff --git a/xcm/xcm-simulator/example/src/parachain.rs b/xcm/xcm-simulator/example/src/parachain.rs index 9801a847b712..344ccfb9dbcc 100644 --- a/xcm/xcm-simulator/example/src/parachain.rs +++ b/xcm/xcm-simulator/example/src/parachain.rs @@ -22,7 +22,7 @@ use frame_support::{ traits::{EnsureOrigin, EnsureOriginWithArg, Everything, EverythingBut, Nothing}, weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight}, }; -use sp_core::H256; +use sp_core::{ConstU32, H256}; use sp_runtime::{ testing::Header, traits::{Hash, IdentityLookup}, @@ -85,7 +85,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = ConstU32<16>; } parameter_types! { @@ -104,6 +104,10 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } #[cfg(feature = "runtime-benchmarks")] @@ -130,9 +134,9 @@ impl pallet_uniques::Config for Runtime { type MetadataDepositBase = frame_support::traits::ConstU128<1_000>; type AttributeDepositBase = frame_support::traits::ConstU128<1_000>; type DepositPerByte = frame_support::traits::ConstU128<1>; - type StringLimit = frame_support::traits::ConstU32<64>; - type KeyLimit = frame_support::traits::ConstU32<64>; - type ValueLimit = frame_support::traits::ConstU32<128>; + type StringLimit = ConstU32<64>; + type KeyLimit = ConstU32<64>; + type ValueLimit = ConstU32<128>; type Locker = (); type WeightInfo = (); #[cfg(feature = "runtime-benchmarks")] @@ -416,7 +420,7 @@ impl pallet_xcm::Config for Runtime { type CurrencyMatcher = (); type TrustedLockers = (); type SovereignAccountOf = LocationToAccountId; - type MaxLockers = frame_support::traits::ConstU32<8>; + type MaxLockers = ConstU32<8>; type WeightInfo = pallet_xcm::TestWeightInfo; #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; diff --git a/xcm/xcm-simulator/example/src/relay_chain.rs b/xcm/xcm-simulator/example/src/relay_chain.rs index 9e095270e673..b44200378a8b 100644 --- a/xcm/xcm-simulator/example/src/relay_chain.rs +++ b/xcm/xcm-simulator/example/src/relay_chain.rs @@ -21,7 +21,7 @@ use frame_support::{ traits::{AsEnsureOriginWithArg, Everything, Nothing}, weights::Weight, }; -use sp_core::H256; +use sp_core::{ConstU32, H256}; use sp_runtime::{testing::Header, traits::IdentityLookup, AccountId32}; use polkadot_parachain::primitives::Id as ParaId; @@ -67,7 +67,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = ConstU32<16>; } parameter_types! { @@ -86,6 +86,10 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } impl pallet_uniques::Config for Runtime { @@ -100,9 +104,9 @@ impl pallet_uniques::Config for Runtime { type MetadataDepositBase = frame_support::traits::ConstU128<1_000>; type AttributeDepositBase = frame_support::traits::ConstU128<1_000>; type DepositPerByte = frame_support::traits::ConstU128<1>; - type StringLimit = frame_support::traits::ConstU32<64>; - type KeyLimit = frame_support::traits::ConstU32<64>; - type ValueLimit = frame_support::traits::ConstU32<128>; + type StringLimit = ConstU32<64>; + type KeyLimit = ConstU32<64>; + type ValueLimit = ConstU32<128>; type Locker = (); type WeightInfo = (); #[cfg(feature = "runtime-benchmarks")] @@ -213,7 +217,7 @@ impl pallet_xcm::Config for Runtime { type CurrencyMatcher = IsConcrete; type TrustedLockers = (); type SovereignAccountOf = LocationToAccountId; - type MaxLockers = frame_support::traits::ConstU32<8>; + type MaxLockers = ConstU32<8>; type WeightInfo = pallet_xcm::TestWeightInfo; #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; diff --git a/xcm/xcm-simulator/fuzzer/src/parachain.rs b/xcm/xcm-simulator/fuzzer/src/parachain.rs index adf134124c93..66e9673394af 100644 --- a/xcm/xcm-simulator/fuzzer/src/parachain.rs +++ b/xcm/xcm-simulator/fuzzer/src/parachain.rs @@ -22,7 +22,7 @@ use frame_support::{ traits::{Everything, Nothing}, weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight}, }; -use sp_core::H256; +use sp_core::{ConstU32, H256}; use sp_runtime::{ testing::Header, traits::{Hash, IdentityLookup}, @@ -94,6 +94,10 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } parameter_types! { diff --git a/xcm/xcm-simulator/fuzzer/src/relay_chain.rs b/xcm/xcm-simulator/fuzzer/src/relay_chain.rs index fe08a056cdc1..3d49a71cc98a 100644 --- a/xcm/xcm-simulator/fuzzer/src/relay_chain.rs +++ b/xcm/xcm-simulator/fuzzer/src/relay_chain.rs @@ -21,7 +21,7 @@ use frame_support::{ traits::{Everything, Nothing}, weights::Weight, }; -use sp_core::H256; +use sp_core::{ConstU32, H256}; use sp_runtime::{testing::Header, traits::IdentityLookup, AccountId32}; use polkadot_parachain::primitives::Id as ParaId; @@ -66,7 +66,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = ConstU32<16>; } parameter_types! { @@ -85,6 +85,10 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; + type HoldIdentifier = (); + type FreezeIdentifier = (); + type MaxHolds = ConstU32<0>; + type MaxFreezes = ConstU32<0>; } impl shared::Config for Runtime {} @@ -177,7 +181,7 @@ impl pallet_xcm::Config for Runtime { type CurrencyMatcher = (); type TrustedLockers = (); type SovereignAccountOf = SovereignAccountOf; - type MaxLockers = frame_support::traits::ConstU32<8>; + type MaxLockers = ConstU32<8>; type WeightInfo = pallet_xcm::TestWeightInfo; #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; From 7dea63643ba0736d0dad30ee3b657cb1d755fe14 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 20 Mar 2023 15:08:05 +0000 Subject: [PATCH 09/18] Revert "Update orchestra to the recent version (#6854)" (#6916) This reverts commit 70598a19e57a84db9be16ad189f505be19f70db8. --- Cargo.lock | 24 +++++++++++++----------- node/core/pvf/Cargo.toml | 2 +- node/metrics/Cargo.toml | 2 +- node/overseer/Cargo.toml | 4 ++-- node/overseer/src/lib.rs | 5 ++--- node/overseer/src/tests.rs | 1 - node/subsystem-types/Cargo.toml | 2 +- node/subsystem-util/Cargo.toml | 2 +- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0fab811021cc..d0409b361508 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5067,9 +5067,9 @@ dependencies = [ [[package]] name = "orchestra" -version = "0.2.0" +version = "0.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecae97f74ddeb5c6ff00c98ef368423b4ec9a4d5ab48c0d909e84b7594b09718" +checksum = "17e7d5b6bb115db09390bed8842c94180893dd83df3dfce7354f2a2aa090a4ee" dependencies = [ "async-trait", "dyn-clonable", @@ -5084,9 +5084,9 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.2.0" +version = "0.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a9846c70b1df02657dbe5b54fadbad0ea3b944623ebf3fcbf7f33ef859dcba" +checksum = "c2af4dabb2286b0be0e9711d2d24e25f6217048b71210cffd3daddc3b5c84e1f" dependencies = [ "expander 0.0.6", "itertools", @@ -8108,11 +8108,10 @@ dependencies = [ [[package]] name = "prioritized-metered-channel" -version = "0.4.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3caef72a78ca8e77cbdfa87dd516ebb79d4cbe5b42e3b8435b463a8261339ff" +checksum = "382698e48a268c832d0b181ed438374a6bb708a82a8ca273bb0f61c74cf209c4" dependencies = [ - "async-channel", "coarsetime", "crossbeam-queue", "derive_more", @@ -8446,23 +8445,26 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.7.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" dependencies = [ + "autocfg", + "crossbeam-deque", "either", "rayon-core", ] [[package]] name = "rayon-core" -version = "1.11.0" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" dependencies = [ "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", + "lazy_static", "num_cpus", ] diff --git a/node/core/pvf/Cargo.toml b/node/core/pvf/Cargo.toml index 11301d4ec3ee..a810c3887c96 100644 --- a/node/core/pvf/Cargo.toml +++ b/node/core/pvf/Cargo.toml @@ -17,7 +17,7 @@ futures-timer = "3.0.2" gum = { package = "tracing-gum", path = "../../gum" } pin-project = "1.0.9" rand = "0.8.5" -rayon = "1.6.1" +rayon = "1.5.1" slotmap = "1.0" tempfile = "3.3.0" tikv-jemalloc-ctl = { version = "0.5.0", optional = true } diff --git a/node/metrics/Cargo.toml b/node/metrics/Cargo.toml index 63864c15a24d..8a6938190887 100644 --- a/node/metrics/Cargo.toml +++ b/node/metrics/Cargo.toml @@ -10,7 +10,7 @@ futures = "0.3.21" futures-timer = "3.0.2" gum = { package = "tracing-gum", path = "../gum" } -metered = { package = "prioritized-metered-channel", version = "0.4.0" } +metered = { package = "prioritized-metered-channel", version = "0.2.0" } # Both `sc-service` and `sc-cli` are required by runtime metrics `logger_hook()`. sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index 7f668ec20ad6..5d26c0b6e2bf 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -15,7 +15,7 @@ polkadot-node-primitives = { path = "../primitives" } polkadot-node-subsystem-types = { path = "../subsystem-types" } polkadot-node-metrics = { path = "../metrics" } polkadot-primitives = { path = "../../primitives" } -orchestra = "0.2.0" +orchestra = "0.0.4" gum = { package = "tracing-gum", path = "../gum" } lru = "0.9" sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -23,7 +23,7 @@ async-trait = "0.1.57" tikv-jemalloc-ctl = { version = "0.5.0", optional = true } [dev-dependencies] -metered = { package = "prioritized-metered-channel", version = "0.4.0" } +metered = { package = "prioritized-metered-channel", version = "0.2.0" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } futures = { version = "0.3.21", features = ["thread-pool"] } diff --git a/node/overseer/src/lib.rs b/node/overseer/src/lib.rs index f72426b1cb64..810f08af4857 100644 --- a/node/overseer/src/lib.rs +++ b/node/overseer/src/lib.rs @@ -661,9 +661,8 @@ where ); metrics.memory_stats_snapshot(memory_stats_snapshot); }, - Err(e) => { - gum::debug!(target: LOG_TARGET, "Failed to obtain memory stats: {:?}", e) - }, + Err(e) => + gum::debug!(target: LOG_TARGET, "Failed to obtain memory stats: {:?}", e), }), Err(_) => { gum::debug!( diff --git a/node/overseer/src/tests.rs b/node/overseer/src/tests.rs index f461196606e1..bc26402aedea 100644 --- a/node/overseer/src/tests.rs +++ b/node/overseer/src/tests.rs @@ -1034,7 +1034,6 @@ fn overseer_all_subsystems_receive_signals_and_messages() { #[test] fn context_holds_onto_message_until_enough_signals_received() { - const CHANNEL_CAPACITY: usize = 1024; let (candidate_validation_bounded_tx, _) = metered::channel(CHANNEL_CAPACITY); let (candidate_backing_bounded_tx, _) = metered::channel(CHANNEL_CAPACITY); let (statement_distribution_bounded_tx, _) = metered::channel(CHANNEL_CAPACITY); diff --git a/node/subsystem-types/Cargo.toml b/node/subsystem-types/Cargo.toml index 9ed095622cb5..22528503ccc4 100644 --- a/node/subsystem-types/Cargo.toml +++ b/node/subsystem-types/Cargo.toml @@ -13,7 +13,7 @@ polkadot-node-primitives = { path = "../primitives" } polkadot-node-network-protocol = { path = "../network/protocol" } polkadot-statement-table = { path = "../../statement-table" } polkadot-node-jaeger = { path = "../jaeger" } -orchestra = "0.2.0" +orchestra = "0.0.4" sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index 20314afed06f..9fd4af14cde1 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -27,7 +27,7 @@ polkadot-node-network-protocol = { path = "../network/protocol" } polkadot-primitives = { path = "../../primitives" } polkadot-node-primitives = { path = "../primitives" } polkadot-overseer = { path = "../overseer" } -metered = { package = "prioritized-metered-channel", version = "0.4.0" } +metered = { package = "prioritized-metered-channel", version = "0.2.0" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } From f4848e023394393ac8ce67c27d954a2586a6ba13 Mon Sep 17 00:00:00 2001 From: Mira Ressel Date: Wed, 15 Mar 2023 22:28:42 +0100 Subject: [PATCH 10/18] Bump ci-linux image for rust 1.68 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6ebde20a866..4208b230a4a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,7 @@ variables: GIT_STRATEGY: fetch GIT_DEPTH: 100 CI_SERVER_NAME: "GitLab CI" - CI_IMAGE: "paritytech/ci-linux:production" + CI_IMAGE: "paritytech/ci-linux@sha256:7c76c3f9639f919447abbf9db535588178fde4df583d6926444d44cc20c094e6" # staging 2023-03-20 BUILDAH_IMAGE: "quay.io/buildah/stable:v1.27" DOCKER_OS: "debian:stretch" ARCH: "x86_64" From 0eaf99ad81230d800119f3a9db05dc67dea6177e Mon Sep 17 00:00:00 2001 From: Mira Ressel Date: Thu, 16 Mar 2023 15:46:34 +0100 Subject: [PATCH 11/18] tweak some pattern matches to address a new clippy warning --- node/core/bitfield-signing/src/lib.rs | 2 +- node/subsystem-util/src/determine_new_blocks.rs | 2 +- runtime/parachains/src/configuration.rs | 2 +- runtime/parachains/src/inclusion/mod.rs | 2 +- runtime/parachains/src/paras/mod.rs | 4 ++-- runtime/parachains/src/scheduler.rs | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/node/core/bitfield-signing/src/lib.rs b/node/core/bitfield-signing/src/lib.rs index 8ea847a4143f..f02467d7f296 100644 --- a/node/core/bitfield-signing/src/lib.rs +++ b/node/core/bitfield-signing/src/lib.rs @@ -83,7 +83,7 @@ async fn get_core_availability( sender: &Mutex<&mut impl SubsystemSender>, span: &jaeger::Span, ) -> Result { - if let &CoreState::Occupied(ref core) = core { + if let CoreState::Occupied(core) = core { let _span = span.child("query-chunk-availability"); let (tx, rx) = oneshot::channel(); diff --git a/node/subsystem-util/src/determine_new_blocks.rs b/node/subsystem-util/src/determine_new_blocks.rs index 5a032c38aa1e..8bebe969cb78 100644 --- a/node/subsystem-util/src/determine_new_blocks.rs +++ b/node/subsystem-util/src/determine_new_blocks.rs @@ -65,7 +65,7 @@ where } 'outer: loop { - let &(ref last_hash, ref last_header) = ancestry + let (last_hash, last_header) = ancestry .last() .expect("ancestry has length 1 at initialization and is only added to; qed"); diff --git a/runtime/parachains/src/configuration.rs b/runtime/parachains/src/configuration.rs index 14926c726b48..baeb31ef501a 100644 --- a/runtime/parachains/src/configuration.rs +++ b/runtime/parachains/src/configuration.rs @@ -1291,7 +1291,7 @@ impl Pallet { // First, we need to decide what we should use as the base configuration. let mut base_config = pending_configs .last() - .map(|&(_, ref config)| config.clone()) + .map(|(_, config)| config.clone()) .unwrap_or_else(Self::config); let base_config_consistent = base_config.check_consistency().is_ok(); diff --git a/runtime/parachains/src/inclusion/mod.rs b/runtime/parachains/src/inclusion/mod.rs index d73dac903128..e2bd5f8511d7 100644 --- a/runtime/parachains/src/inclusion/mod.rs +++ b/runtime/parachains/src/inclusion/mod.rs @@ -643,7 +643,7 @@ impl Pallet { }; // one more sweep for actually writing to storage. - let core_indices = core_indices_and_backers.iter().map(|&(ref c, _, _)| *c).collect(); + let core_indices = core_indices_and_backers.iter().map(|(c, _, _)| *c).collect(); for (candidate, (core, backers, group)) in candidates.into_iter().zip(core_indices_and_backers) { diff --git a/runtime/parachains/src/paras/mod.rs b/runtime/parachains/src/paras/mod.rs index 420ed3e6409e..93988c5a65e6 100644 --- a/runtime/parachains/src/paras/mod.rs +++ b/runtime/parachains/src/paras/mod.rs @@ -1260,13 +1260,13 @@ impl Pallet { UpcomingUpgrades::::mutate(|upcoming_upgrades| { *upcoming_upgrades = mem::take(upcoming_upgrades) .into_iter() - .filter(|&(ref para, _)| !outgoing.contains(para)) + .filter(|(para, _)| !outgoing.contains(para)) .collect(); }); UpgradeCooldowns::::mutate(|upgrade_cooldowns| { *upgrade_cooldowns = mem::take(upgrade_cooldowns) .into_iter() - .filter(|&(ref para, _)| !outgoing.contains(para)) + .filter(|(para, _)| !outgoing.contains(para)) .collect(); }); } diff --git a/runtime/parachains/src/scheduler.rs b/runtime/parachains/src/scheduler.rs index 58509350a3a6..c27bfb6fc4c6 100644 --- a/runtime/parachains/src/scheduler.rs +++ b/runtime/parachains/src/scheduler.rs @@ -235,7 +235,7 @@ impl Pallet { pub(crate) fn initializer_on_new_session( notification: &SessionChangeNotification, ) { - let &SessionChangeNotification { ref validators, ref new_config, .. } = notification; + let SessionChangeNotification { validators, new_config, .. } = notification; let config = new_config; let mut thread_queue = ParathreadQueue::::get(); From 435e50b48600aa5ad971fc79957593d6673c7228 Mon Sep 17 00:00:00 2001 From: Davide Galassi Date: Mon, 20 Mar 2023 20:33:54 +0100 Subject: [PATCH 12/18] [Companion #13634] keystore overhaul (iter2) (#6913) * removed 'remote_keystore' parameter * Keystore can't be None * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <> --- Cargo.lock | 366 +++++++++++++++++------------------ node/service/src/lib.rs | 17 +- node/test/service/src/lib.rs | 1 - 3 files changed, 187 insertions(+), 197 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d0409b361508..ee09389c4359 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -466,7 +466,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "hash-db", "log", @@ -2295,7 +2295,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", ] @@ -2318,7 +2318,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-support-procedural", @@ -2343,7 +2343,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "Inflector", "array-bytes", @@ -2390,7 +2390,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2401,7 +2401,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2418,7 +2418,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -2447,7 +2447,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "log", @@ -2463,7 +2463,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "bitflags", "environmental", @@ -2496,7 +2496,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "Inflector", "cfg-expr", @@ -2511,7 +2511,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2523,7 +2523,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "proc-macro2", "quote", @@ -2533,7 +2533,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -2557,7 +2557,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -2568,7 +2568,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "log", @@ -2586,7 +2586,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -2601,7 +2601,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "sp-api", @@ -2610,7 +2610,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "parity-scale-codec", @@ -2792,7 +2792,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "chrono", "frame-election-provider-support", @@ -4571,7 +4571,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "log", @@ -4590,7 +4590,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "anyhow", "jsonrpsee", @@ -5152,7 +5152,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5167,7 +5167,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -5183,7 +5183,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -5197,7 +5197,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5221,7 +5221,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5241,7 +5241,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -5260,7 +5260,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5275,7 +5275,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -5294,7 +5294,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -5318,7 +5318,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5336,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5355,7 +5355,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5372,7 +5372,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5389,7 +5389,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5407,7 +5407,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5443,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5461,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5479,7 +5479,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5518,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5538,7 +5538,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5555,7 +5555,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5572,7 +5572,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5589,7 +5589,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5605,7 +5605,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5621,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -5638,7 +5638,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5658,7 +5658,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -5669,7 +5669,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -5686,7 +5686,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5710,7 +5710,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5727,7 +5727,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5742,7 +5742,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5760,7 +5760,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5775,7 +5775,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5794,7 +5794,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5811,7 +5811,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -5832,7 +5832,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5848,7 +5848,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -5862,7 +5862,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5885,7 +5885,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5896,7 +5896,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "log", "sp-arithmetic", @@ -5905,7 +5905,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "sp-api", @@ -5914,7 +5914,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5931,7 +5931,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -5945,7 +5945,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5963,7 +5963,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5982,7 +5982,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-support", "frame-system", @@ -5998,7 +5998,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6014,7 +6014,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6026,7 +6026,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -6043,7 +6043,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -6058,7 +6058,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -6074,7 +6074,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -6089,7 +6089,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-benchmarking", "frame-support", @@ -9016,7 +9016,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "log", "sp-core", @@ -9027,7 +9027,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "futures", @@ -9055,7 +9055,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "futures-timer", @@ -9078,7 +9078,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -9093,7 +9093,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -9112,7 +9112,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9123,7 +9123,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "chrono", @@ -9163,7 +9163,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "fnv", "futures", @@ -9189,7 +9189,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "hash-db", "kvdb", @@ -9215,7 +9215,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "futures", @@ -9240,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "fork-tree", @@ -9279,7 +9279,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "jsonrpsee", @@ -9301,7 +9301,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "async-trait", @@ -9336,7 +9336,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "jsonrpsee", @@ -9355,7 +9355,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9368,7 +9368,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "ahash 0.8.2", "array-bytes", @@ -9408,7 +9408,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "finality-grandpa", "futures", @@ -9428,7 +9428,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "futures", @@ -9451,7 +9451,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "lru 0.8.1", "parity-scale-codec", @@ -9475,7 +9475,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -9488,7 +9488,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "log", "sc-allocator", @@ -9501,7 +9501,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "anyhow", "cfg-if", @@ -9519,7 +9519,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "ansi_term", "futures", @@ -9535,7 +9535,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "async-trait", @@ -9550,7 +9550,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "async-channel", @@ -9594,7 +9594,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "cid", "futures", @@ -9614,7 +9614,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "async-trait", @@ -9642,7 +9642,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "ahash 0.8.2", "futures", @@ -9661,7 +9661,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "futures", @@ -9683,7 +9683,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "async-trait", @@ -9717,7 +9717,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "futures", @@ -9737,7 +9737,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "bytes", @@ -9768,7 +9768,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "libp2p", @@ -9781,7 +9781,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9790,7 +9790,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "jsonrpsee", @@ -9820,7 +9820,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9839,7 +9839,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "http", "jsonrpsee", @@ -9854,7 +9854,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "futures", @@ -9880,7 +9880,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "directories", @@ -9946,7 +9946,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "log", "parity-scale-codec", @@ -9957,7 +9957,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "clap 4.0.15", "fs4", @@ -9973,7 +9973,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9992,7 +9992,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "libc", @@ -10011,7 +10011,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "chrono", "futures", @@ -10030,7 +10030,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "ansi_term", "atty", @@ -10061,7 +10061,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10072,7 +10072,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "futures", @@ -10099,7 +10099,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "futures", @@ -10113,7 +10113,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-channel", "futures", @@ -10628,7 +10628,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "hash-db", "log", @@ -10646,7 +10646,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "Inflector", "blake2", @@ -10660,7 +10660,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10673,7 +10673,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "integer-sqrt", "num-traits", @@ -10687,7 +10687,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10700,7 +10700,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "sp-api", @@ -10712,7 +10712,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "log", @@ -10730,7 +10730,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "futures", @@ -10745,7 +10745,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "parity-scale-codec", @@ -10763,7 +10763,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "merlin", @@ -10786,7 +10786,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "lazy_static", "parity-scale-codec", @@ -10805,7 +10805,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "finality-grandpa", "log", @@ -10823,7 +10823,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10835,7 +10835,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10848,7 +10848,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "base58", @@ -10891,7 +10891,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "blake2b_simd", "byteorder", @@ -10905,7 +10905,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "proc-macro2", "quote", @@ -10916,7 +10916,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10925,7 +10925,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "proc-macro2", "quote", @@ -10935,7 +10935,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "environmental", "parity-scale-codec", @@ -10946,7 +10946,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10961,7 +10961,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "bytes", "ed25519", @@ -10986,7 +10986,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "lazy_static", "sp-core", @@ -10997,7 +10997,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "merlin", @@ -11013,7 +11013,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "thiserror", "zstd", @@ -11022,7 +11022,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -11040,7 +11040,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "scale-info", @@ -11054,7 +11054,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "sp-api", "sp-core", @@ -11064,7 +11064,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "backtrace", "lazy_static", @@ -11074,7 +11074,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "rustc-hash", "serde", @@ -11084,7 +11084,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "either", "hash256-std-hasher", @@ -11106,7 +11106,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11124,7 +11124,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "Inflector", "proc-macro-crate", @@ -11136,7 +11136,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "scale-info", @@ -11150,7 +11150,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "scale-info", @@ -11162,7 +11162,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "hash-db", "log", @@ -11182,12 +11182,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11200,7 +11200,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "futures-timer", @@ -11215,7 +11215,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "sp-std", @@ -11227,7 +11227,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "sp-api", "sp-runtime", @@ -11236,7 +11236,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "log", @@ -11252,7 +11252,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "ahash 0.8.2", "hash-db", @@ -11275,7 +11275,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11292,7 +11292,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11303,7 +11303,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11317,7 +11317,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "parity-scale-codec", "scale-info", @@ -11537,7 +11537,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "platforms", ] @@ -11545,7 +11545,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11564,7 +11564,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "hyper", "log", @@ -11576,7 +11576,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "jsonrpsee", @@ -11589,7 +11589,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "jsonrpsee", "log", @@ -11608,7 +11608,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "array-bytes", "async-trait", @@ -11634,7 +11634,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11644,7 +11644,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11655,7 +11655,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "ansi_term", "build-helper", @@ -12456,7 +12456,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9795fa31435426137d91936a52cab8e50ebe2f50" +source = "git+https://github.com/paritytech/substrate?branch=master#9d2d020c5134d8c7870396cb04bca63a674abfd5" dependencies = [ "async-trait", "clap 4.0.15", diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 28284031234c..913c30b46c4e 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -751,13 +751,11 @@ where let chain_spec = config.chain_spec.cloned_box(); - let local_keystore = basics.keystore_container.local_keystore(); + let keystore = basics.keystore_container.local_keystore(); let auth_or_collator = role.is_authority() || is_collator.is_collator(); - let requires_overseer_for_chain_sel = local_keystore.is_some() && auth_or_collator; - let pvf_checker_enabled = role.is_authority() && !is_collator.is_collator(); - let select_chain = if requires_overseer_for_chain_sel { + let select_chain = if auth_or_collator { let metrics = polkadot_node_subsystem_util::metrics::Metrics::register(prometheus_registry.as_ref())?; @@ -1000,14 +998,7 @@ where None }; - if local_keystore.is_none() { - gum::info!("Cannot run as validator without local keystore."); - } - - let maybe_params = - local_keystore.and_then(move |k| authority_discovery_service.map(|a| (a, k))); - - let overseer_handle = if let Some((authority_discovery_service, keystore)) = maybe_params { + let overseer_handle = if let Some(authority_discovery_service) = authority_discovery_service { let (overseer, overseer_handle) = overseer_gen .generate::>( overseer_connector, @@ -1071,7 +1062,7 @@ where Some(handle) } else { assert!( - !requires_overseer_for_chain_sel, + !auth_or_collator, "Precondition congruence (false) is guaranteed by manual checking. qed" ); None diff --git a/node/test/service/src/lib.rs b/node/test/service/src/lib.rs index c895bd707b86..f2a3c18197b3 100644 --- a/node/test/service/src/lib.rs +++ b/node/test/service/src/lib.rs @@ -173,7 +173,6 @@ pub fn node_config( transaction_pool: Default::default(), network: network_config, keystore: KeystoreConfig::InMemory, - keystore_remote: Default::default(), database: DatabaseSource::RocksDb { path: root.join("db"), cache_size: 128 }, trie_cache_maximum_size: Some(64 * 1024 * 1024), state_pruning: Default::default(), From ad0c8a9ae4d402b3ec4f69582e392ec4eea58642 Mon Sep 17 00:00:00 2001 From: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com> Date: Mon, 20 Mar 2023 17:55:35 -0700 Subject: [PATCH 13/18] Handling timers for repeat dispute participation requests (#6901) * Added participation and queue sizes metrics * First draft of all metric code * Tests pass * Changed Metrics to field on participation + queues * fmt * Improving naming * Refactor, placing timer in ParticipationRequest * fmt * Final cleanup * Revert "Final cleanup" This reverts commit 02e5608df64b2e0f7810905e4508673b2037d351. * Changing metric names * Implementing Eq only for unit tests * fmt * Removing Clone trait from ParticipationRequest * fmt * Moved clone functionality to tests helper * fmt * Fixing dropped timers on repeat requests * Keep older best effort timers * Removing comment redundency and explaining better * Updating queue() to use single mem read * fmt --- .../src/participation/queues/mod.rs | 70 +++++++++++++------ .../src/participation/queues/tests.rs | 2 +- 2 files changed, 51 insertions(+), 21 deletions(-) diff --git a/node/core/dispute-coordinator/src/participation/queues/mod.rs b/node/core/dispute-coordinator/src/participation/queues/mod.rs index ebe742ac8f37..a5a5ab962f5a 100644 --- a/node/core/dispute-coordinator/src/participation/queues/mod.rs +++ b/node/core/dispute-coordinator/src/participation/queues/mod.rs @@ -14,7 +14,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use std::{cmp::Ordering, collections::BTreeMap}; +use std::{ + cmp::Ordering, + collections::{btree_map::Entry, BTreeMap}, +}; use futures::channel::oneshot; use polkadot_node_subsystem::{messages::ChainApiMessage, overseer}; @@ -70,7 +73,7 @@ pub struct ParticipationRequest { candidate_hash: CandidateHash, candidate_receipt: CandidateReceipt, session: SessionIndex, - _request_timer: Option, // Sends metric data when request is dropped + request_timer: Option, // Sends metric data when request is dropped } /// Whether a `ParticipationRequest` should be put on best-effort or the priority queue. @@ -119,12 +122,7 @@ impl ParticipationRequest { session: SessionIndex, request_timer: Option, ) -> Self { - Self { - candidate_hash: candidate_receipt.hash(), - candidate_receipt, - session, - _request_timer: request_timer, - } + Self { candidate_hash: candidate_receipt.hash(), candidate_receipt, session, request_timer } } pub fn candidate_receipt(&'_ self) -> &'_ CandidateReceipt { @@ -147,15 +145,11 @@ impl ParticipationRequest { #[cfg(test)] impl PartialEq for ParticipationRequest { fn eq(&self, other: &Self) -> bool { - let ParticipationRequest { - candidate_receipt, - candidate_hash, - session: _session, - _request_timer, - } = self; + let ParticipationRequest { candidate_receipt, candidate_hash, session, request_timer: _ } = + self; candidate_receipt == other.candidate_receipt() && candidate_hash == other.candidate_hash() && - self.session == other.session() + *session == other.session() } } #[cfg(test)] @@ -227,19 +221,46 @@ impl Queues { Ok(()) } + /// Will put message in queue, either priority or best effort depending on priority. + /// + /// If the message was already previously present on best effort, it will be moved to priority + /// if it is considered priority now. + /// + /// Returns error in case a queue was found full already. + /// + /// # Request timers + /// + /// [`ParticipationRequest`]s contain request timers. + /// Where an old request would be replaced by a new one, we keep the old request. + /// This prevents request timers from resetting on each new request. fn queue_with_comparator( &mut self, comparator: CandidateComparator, priority: ParticipationPriority, - req: ParticipationRequest, + mut req: ParticipationRequest, ) -> std::result::Result<(), QueueError> { if priority.is_priority() { if self.priority.len() >= PRIORITY_QUEUE_SIZE { return Err(QueueError::PriorityFull) } - // Remove any best effort entry: - self.best_effort.remove(&comparator); - self.priority.insert(comparator, req); + // Remove any best effort entry, using it to replace our new + // request. + if let Some(older_request) = self.best_effort.remove(&comparator) { + if let Some(timer) = req.request_timer { + timer.stop_and_discard(); + } + req = older_request; + } + // Keeping old request if any. + match self.priority.entry(comparator) { + Entry::Occupied(_) => + if let Some(timer) = req.request_timer { + timer.stop_and_discard(); + }, + Entry::Vacant(vac) => { + vac.insert(req); + }, + } self.metrics.report_priority_queue_size(self.priority.len() as u64); self.metrics.report_best_effort_queue_size(self.best_effort.len() as u64); } else { @@ -251,7 +272,16 @@ impl Queues { if self.best_effort.len() >= BEST_EFFORT_QUEUE_SIZE { return Err(QueueError::BestEffortFull) } - self.best_effort.insert(comparator, req); + // Keeping old request if any. + match self.best_effort.entry(comparator) { + Entry::Occupied(_) => + if let Some(timer) = req.request_timer { + timer.stop_and_discard(); + }, + Entry::Vacant(vac) => { + vac.insert(req); + }, + } self.metrics.report_best_effort_queue_size(self.best_effort.len() as u64); } Ok(()) diff --git a/node/core/dispute-coordinator/src/participation/queues/tests.rs b/node/core/dispute-coordinator/src/participation/queues/tests.rs index f4623e76389c..e4ccd0de8d9f 100644 --- a/node/core/dispute-coordinator/src/participation/queues/tests.rs +++ b/node/core/dispute-coordinator/src/participation/queues/tests.rs @@ -46,7 +46,7 @@ fn clone_request(request: &ParticipationRequest) -> ParticipationRequest { candidate_receipt: request.candidate_receipt.clone(), candidate_hash: request.candidate_hash.clone(), session: request.session, - _request_timer: None, + request_timer: None, } } From 5dc0704d68555a8355356de648ae238f2c16c3fc Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Tue, 21 Mar 2023 09:54:57 +0100 Subject: [PATCH 14/18] Bump parity-db (#6921) --- Cargo.lock | 4 ++-- node/service/Cargo.toml | 2 +- node/subsystem-util/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee09389c4359..ee12ffeaf1c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6152,9 +6152,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df89dd8311063c54ae4e03d9aeb597b04212a57e82c339344130a9cad9b3e2d9" +checksum = "00bfb81cf5c90a222db2fb7b3a7cbf8cc7f38dfb6647aca4d98edf8281f56ed5" dependencies = [ "blake2", "crc32fast", diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 922d0cc87c46..abcea3cc033c 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -75,7 +75,7 @@ serde_json = "1.0.81" thiserror = "1.0.31" kvdb = "0.13.0" kvdb-rocksdb = { version = "0.17.0", optional = true } -parity-db = { version = "0.4.4", optional = true } +parity-db = { version = "0.4.6", optional = true } async-trait = "0.1.57" lru = "0.9" diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index 9fd4af14cde1..983061e6a52a 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -34,7 +34,7 @@ sp-application-crypto = { git = "https://github.com/paritytech/substrate", branc sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } kvdb = "0.13.0" -parity-db = { version = "0.4.4"} +parity-db = { version = "0.4.6"} [dev-dependencies] assert_matches = "1.4.0" From 6efc49f35234de23a71af351d4b3d66b372d55d9 Mon Sep 17 00:00:00 2001 From: Martin Pugh Date: Tue, 21 Mar 2023 12:36:47 +0000 Subject: [PATCH 15/18] [CI] Add bootnode checking CI jobs (#6889) * Add check_bootnode script and github action * fix mktemp for linux machines * Update check_bootnodes.sh show logs to see what's going wrong * fix ephemeral ports and fetch polkadot * fix check-bootnodes.yml * increase node spawn holdoff * disable fail-fast * refactor, separate out check_bootnodes and make it posix-compliant * add new job for detecting new bootnodes * fix check-bootnodes.yml * only check all bootnodes on release * Add test bad bootnode REVERT ME before merging PR. Should cause the test to fail, then when we remove it, we should succeed. Sadly doesn't account for a new successful bootnode, should ask if we have one we can use for testing. * fix paths * fix paths and git... hopefully * this better work... * fix * test * last test * Revert "Add test bad bootnode" This reverts commit 540dd9754a1f8e2d3fef33f7f5a033b8c2aa4dcb. * Update check_bootnodes.sh * optimisations Begin polling the RPC node right after spawning, allowing us to break early on detecting peers * increase holdoff to 5 seconds * dont delete chainspec til we kill the node * Update check-bootnodes.yml * Remove checking bootnodes on pushing of this branch --------- Co-authored-by: parity-processbot <> --- .github/workflows/check-bootnodes.yml | 31 ++++++++++ .github/workflows/check-new-bootnodes.yml | 28 +++++++++ scripts/ci/common/lib.sh | 54 +++++++++++++++++ scripts/ci/github/check_bootnodes.sh | 71 +++++++++++++++++++++++ scripts/ci/github/check_new_bootnodes.sh | 42 ++++++++++++++ 5 files changed, 226 insertions(+) create mode 100644 .github/workflows/check-bootnodes.yml create mode 100644 .github/workflows/check-new-bootnodes.yml create mode 100755 scripts/ci/github/check_bootnodes.sh create mode 100755 scripts/ci/github/check_new_bootnodes.sh diff --git a/.github/workflows/check-bootnodes.yml b/.github/workflows/check-bootnodes.yml new file mode 100644 index 000000000000..897a90d3ae92 --- /dev/null +++ b/.github/workflows/check-bootnodes.yml @@ -0,0 +1,31 @@ +# checks all networks we care about (kusama, polkadot, westend) and ensures +# the bootnodes in their respective chainspecs are contactable + +name: Check all bootnodes +on: + push: + branches: + # Catches v1.2.3 and v1.2.3-rc1 + - release-v[0-9]+.[0-9]+.[0-9]+* + +jobs: + check_bootnodes: + strategy: + fail-fast: false + matrix: + runtime: [westend, kusama, polkadot] + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v3 + - name: Install polkadot + shell: bash + run: | + curl -L "$(curl -s https://api.github.com/repos/paritytech/polkadot/releases/latest \ + | jq -r '.assets | .[] | select(.name == "polkadot").browser_download_url')" \ + | sudo tee /usr/local/bin/polkadot > /dev/null + sudo chmod +x /usr/local/bin/polkadot + polkadot --version + - name: Check ${{ matrix.runtime }} bootnodes + shell: bash + run: scripts/ci/github/check_bootnodes.sh node/service/chain-specs/${{ matrix.runtime }}.json diff --git a/.github/workflows/check-new-bootnodes.yml b/.github/workflows/check-new-bootnodes.yml new file mode 100644 index 000000000000..25b2a0a56fe5 --- /dev/null +++ b/.github/workflows/check-new-bootnodes.yml @@ -0,0 +1,28 @@ +# If a chainspec file is updated with new bootnodes, we check to make sure those bootnodes are contactable + +name: Check new bootnodes +on: + pull_request: + paths: + - 'node/service/chain-specs/*.json' + +jobs: + check_bootnodes: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Install polkadot + shell: bash + run: | + curl -L "$(curl -s https://api.github.com/repos/paritytech/polkadot/releases/latest \ + | jq -r '.assets | .[] | select(.name == "polkadot").browser_download_url')" \ + | sudo tee /usr/local/bin/polkadot > /dev/null + sudo chmod +x /usr/local/bin/polkadot + polkadot --version + - name: Check new bootnodes + shell: bash + run: | + scripts/ci/github/check_new_bootnodes.sh diff --git a/scripts/ci/common/lib.sh b/scripts/ci/common/lib.sh index 93e0392b3e29..ba5b17148728 100755 --- a/scripts/ci/common/lib.sh +++ b/scripts/ci/common/lib.sh @@ -139,3 +139,57 @@ has_runtime_changes() { return 1 fi } + +# given a bootnode and the path to a chainspec file, this function will create a new chainspec file +# with only the bootnode specified and test whether that bootnode provides peers +# The optional third argument is the index of the bootnode in the list of bootnodes, this is just used to pick an ephemeral +# port for the node to run on. If you're only testing one, it'll just use the first ephemeral port +# BOOTNODE: /dns/polkadot-connect-0.parity.io/tcp/443/wss/p2p/12D3KooWEPmjoRpDSUuiTjvyNDd8fejZ9eNWH5bE965nyBMDrB4o +# CHAINSPEC_FILE: /path/to/polkadot.json +check_bootnode(){ + BOOTNODE=$1 + BASE_CHAINSPEC=$2 + RUNTIME=$(basename "$BASE_CHAINSPEC" | cut -d '.' -f 1) + MIN_PEERS=1 + + # Generate a temporary chainspec file containing only the bootnode we care about + TMP_CHAINSPEC_FILE="$RUNTIME.$(echo "$BOOTNODE" | tr '/' '_').tmp.json" + jq ".bootNodes = [\"$BOOTNODE\"] " < "$CHAINSPEC_FILE" > "$TMP_CHAINSPEC_FILE" + + # Grab an unused port by binding to port 0 and then immediately closing the socket + # This is a bit of a hack, but it's the only way to do it in the shell + RPC_PORT=$(python -c "import socket; s=socket.socket(); s.bind(('', 0)); print(s.getsockname()[1]); s.close()") + + echo "[+] Checking bootnode $BOOTNODE" + polkadot --chain "$TMP_CHAINSPEC_FILE" --no-mdns --rpc-port="$RPC_PORT" --tmp > /dev/null 2>&1 & + # Wait a few seconds for the node to start up + sleep 5 + POLKADOT_PID=$! + + MAX_POLLS=10 + TIME_BETWEEN_POLLS=3 + for _ in $(seq 1 "$MAX_POLLS"); do + # Check the health endpoint of the RPC node + PEERS="$(curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"system_health","params":[],"id":1}' http://localhost:"$RPC_PORT" | jq -r '.result.peers')" + # Sometimes due to machine load or other reasons, we don't get a response from the RPC node + # If $PEERS is an empty variable, make it 0 so we can still do the comparison + if [ -z "$PEERS" ]; then + PEERS=0 + fi + if [ "$PEERS" -ge $MIN_PEERS ]; then + echo "[+] $PEERS peers found for $BOOTNODE" + echo " Bootnode appears contactable" + kill $POLKADOT_PID + # Delete the temporary chainspec file now we're done running the node + rm "$TMP_CHAINSPEC_FILE" + return 0 + fi + sleep "$TIME_BETWEEN_POLLS" + done + kill $POLKADOT_PID + # Delete the temporary chainspec file now we're done running the node + rm "$TMP_CHAINSPEC_FILE" + echo "[!] No peers found for $BOOTNODE" + echo " Bootnode appears unreachable" + return 1 +} diff --git a/scripts/ci/github/check_bootnodes.sh b/scripts/ci/github/check_bootnodes.sh new file mode 100755 index 000000000000..f98a58cda2c8 --- /dev/null +++ b/scripts/ci/github/check_bootnodes.sh @@ -0,0 +1,71 @@ +#!/usr/bin/env bash + +# In this script, we check each bootnode for a given chainspec file and ensure they are contactable. +# We do this by removing every bootnode from the chainspec with the exception of the one +# we want to check. Then we spin up a node using this new chainspec, wait a little while +# and then check our local node's RPC endpoint for the number of peers. If the node hasn't +# been able to contact any other nodes, we can reason that the bootnode we used is not well-connected +# or is otherwise uncontactable. + +# shellcheck source=scripts/ci/common/lib.sh +source "$(dirname "${0}")/../common/lib.sh" +CHAINSPEC_FILE="$1" +RUNTIME=$(basename "$CHAINSPEC_FILE" | cut -d '.' -f 1) + +trap cleanup EXIT INT TERM + +cleanup(){ + echo "[+] Script interrupted or ended. Cleaning up..." + # Kill all the polkadot processes + killall polkadot > /dev/null 2>&1 + exit $1 +} + +# count the number of bootnodes +BOOTNODES=$( jq -r '.bootNodes | length' "$CHAINSPEC_FILE" ) +# Make a temporary dir for chainspec files +# Store an array of the bad bootnodes +BAD_BOOTNODES=() +GOOD_BOOTNODES=() +PIDS=() + +echo "[+] Checking $BOOTNODES bootnodes for $RUNTIME" +for i in $(seq 0 $((BOOTNODES-1))); do + BOOTNODE=$( jq -r .bootNodes["$i"] < "$CHAINSPEC_FILE" ) + # Check each bootnode in parallel + check_bootnode "$BOOTNODE" "$CHAINSPEC_FILE" & + PIDS+=($!) + # Hold off 5 seconds between attempting to spawn nodes to stop the machine from getting overloaded + sleep 5 +done +RESPS=() +# Wait for all the nodes to finish +for pid in "${PIDS[@]}"; do + wait "$pid" + RESPS+=($?) +done +echo +# For any bootnodes that failed, add them to the bad bootnodes array +for i in "${!RESPS[@]}"; do + if [ "${RESPS[$i]}" -ne 0 ]; then + BAD_BOOTNODES+=("$( jq -r .bootNodes["$i"] < "$CHAINSPEC_FILE" )") + fi +done +# For any bootnodes that succeeded, add them to the good bootnodes array +for i in "${!RESPS[@]}"; do + if [ "${RESPS[$i]}" -eq 0 ]; then + GOOD_BOOTNODES+=("$( jq -r .bootNodes["$i"] < "$CHAINSPEC_FILE" )") + fi +done + +# If we've got any uncontactable bootnodes for this runtime, print them +if [ ${#BAD_BOOTNODES[@]} -gt 0 ]; then + echo "[!] Bad bootnodes found for $RUNTIME:" + for i in "${BAD_BOOTNODES[@]}"; do + echo " $i" + done + cleanup 1 +else + echo "[+] All bootnodes for $RUNTIME are contactable" + cleanup 0 +fi diff --git a/scripts/ci/github/check_new_bootnodes.sh b/scripts/ci/github/check_new_bootnodes.sh new file mode 100755 index 000000000000..604db6a4e367 --- /dev/null +++ b/scripts/ci/github/check_new_bootnodes.sh @@ -0,0 +1,42 @@ +#!/bin/bash +set -e +# shellcheck source=scripts/ci/common/lib.sh +source "$(dirname "${0}")/../common/lib.sh" + +# This script checks any new bootnodes added since the last git commit + +RUNTIMES=( kusama westend polkadot ) + +WAS_ERROR=0 + +for RUNTIME in "${RUNTIMES[@]}"; do + CHAINSPEC_FILE="node/service/chain-specs/$RUNTIME.json" + # Get the bootnodes from master's chainspec + git show origin/master:"$CHAINSPEC_FILE" | jq '{"oldNodes": .bootNodes}' > "$RUNTIME-old-bootnodes.json" + # Get the bootnodes from the current branch's chainspec + git show HEAD:"$CHAINSPEC_FILE" | jq '{"newNodes": .bootNodes}' > "$RUNTIME-new-bootnodes.json" + # Make a chainspec containing only the new bootnodes + jq ".bootNodes = $(jq -rs '.[0] * .[1] | .newNodes-.oldNodes' \ + "$RUNTIME-new-bootnodes.json" "$RUNTIME-old-bootnodes.json")" \ + < "node/service/chain-specs/$RUNTIME.json" \ + > "$RUNTIME-new-chainspec.json" + # exit early if the new chainspec has no bootnodes + if [ "$(jq -r '.bootNodes | length' "$RUNTIME-new-chainspec.json")" -eq 0 ]; then + echo "[+] No new bootnodes for $RUNTIME" + # Clean up the temporary files + rm "$RUNTIME-new-chainspec.json" "$RUNTIME-old-bootnodes.json" "$RUNTIME-new-bootnodes.json" + continue + fi + # Check the new bootnodes + if ! "scripts/ci/github/check_bootnodes.sh" "$RUNTIME-new-chainspec.json"; then + WAS_ERROR=1 + fi + # Clean up the temporary files + rm "$RUNTIME-new-chainspec.json" "$RUNTIME-old-bootnodes.json" "$RUNTIME-new-bootnodes.json" +done + + +if [ $WAS_ERROR -eq 1 ]; then + echo "[!] One of the new bootnodes failed to connect. Please check logs above." + exit 1 +fi From 1c2421fbc3b1d86288620050195966bb91488e71 Mon Sep 17 00:00:00 2001 From: Chris Sosnin <48099298+slumber@users.noreply.github.com> Date: Tue, 21 Mar 2023 16:13:20 +0300 Subject: [PATCH 16/18] introduce new well known key (#6915) --- primitives/src/v4/mod.rs | 17 +++++++++++++++++ runtime/parachains/src/paras/tests.rs | 15 +++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/primitives/src/v4/mod.rs b/primitives/src/v4/mod.rs index 82d7954b8090..efd6db836c21 100644 --- a/primitives/src/v4/mod.rs +++ b/primitives/src/v4/mod.rs @@ -187,6 +187,23 @@ pub mod well_known_keys { pub const ACTIVE_CONFIG: &[u8] = &hex!["06de3d8a54d27e44a9d5ce189618f22db4b49d95320d9021994c850f25b8e385"]; + /// Hash of the committed head data for a given registered para. + /// + /// The storage entry stores wrapped `HeadData(Vec)`. + pub fn para_head(para_id: Id) -> Vec { + let prefix = hex!["cd710b30bd2eab0352ddcc26417aa1941b3c252fcb29d88eff4f3de5de4476c3"]; + + para_id.using_encoded(|para_id: &[u8]| { + prefix + .as_ref() + .iter() + .chain(twox_64(para_id).iter()) + .chain(para_id.iter()) + .cloned() + .collect() + }) + } + /// The upward message dispatch queue for the given para id. /// /// The storage entry stores a tuple of two values: diff --git a/runtime/parachains/src/paras/tests.rs b/runtime/parachains/src/paras/tests.rs index 567829b9aeff..dff5222baa3c 100644 --- a/runtime/parachains/src/paras/tests.rs +++ b/runtime/parachains/src/paras/tests.rs @@ -1700,6 +1700,21 @@ fn verify_upgrade_restriction_signal_is_externally_accessible() { }); } +#[test] +fn verify_para_head_is_externally_accessible() { + use primitives::well_known_keys; + + let a = ParaId::from(2020); + let expected_head_data = HeadData(vec![0, 1, 2, 3]); + + new_test_ext(Default::default()).execute_with(|| { + Heads::::insert(&a, expected_head_data.clone()); + let encoded = sp_io::storage::get(&well_known_keys::para_head(a)).unwrap(); + let head_data = HeadData::decode(&mut encoded.as_ref()); + assert_eq!(head_data, Ok(expected_head_data)); + }); +} + #[test] fn parakind_encodes_decodes_to_bool_scale() { let chain_kind = ParaKind::Parachain.encode(); From c175af714ce1c467df40dfc02f3509cd29a393cf Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Tue, 21 Mar 2023 13:59:54 +0000 Subject: [PATCH 17/18] Introduce OpenGov into Polkadot (#6701) * OpenGov for Polkadot * Integrate OpenGov into XCM * Formatting * Missing files * Remove Gov1 from Kusama * Fixes * Update runtime/polkadot/src/governance/origins.rs Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com> * Revert scheduler origin changes * Fixes * Docs * Remove todo * Docs * Move Fellowship to Collectives (#6718) * FellowshipAdmin origin over xcm * accept Fellows origin from Collectives * remove Fellowship * remove unreachable arm * define benchmarks * correct comment for DOLLARS constant * Add OpenGov Calls to Proxy Definitions (#6729) * add opengov calls to proxy definitions * fix build * Update runtime/polkadot/src/governance/mod.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Update runtime/polkadot/src/governance/tracks.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Update runtime/polkadot/src/lib.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Update runtime/polkadot/src/governance/origins.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Update runtime/polkadot/src/governance/mod.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Update old.rs * Update old.rs * weights with new api * XCM tweaks for OpenGov (#6855) * pass xcm origin, allow unpaid form Collectives and Fellows, whitelist call * unpaid execution only for Fellows * Apply suggestions from code review Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * rename const namespace to system_parachains * remove prod_or_fast --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * remove unused import --------- Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com> Co-authored-by: parity-processbot <> Co-authored-by: Muharem Ismailov Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> --- Cargo.lock | 4 + node/service/src/chain_spec.rs | 16 - runtime/kusama/src/governance/fellowship.rs | 13 +- runtime/kusama/src/governance/mod.rs | 3 - runtime/kusama/src/lib.rs | 58 +- runtime/kusama/src/xcm_config.rs | 66 +-- runtime/polkadot/Cargo.toml | 14 + runtime/polkadot/constants/src/lib.rs | 9 + runtime/polkadot/src/governance/mod.rs | 100 ++++ .../src/governance/old.rs | 78 +-- runtime/polkadot/src/governance/origins.rs | 151 +++++ runtime/polkadot/src/governance/tracks.rs | 319 +++++++++++ runtime/polkadot/src/lib.rs | 262 ++------- runtime/polkadot/src/weights/mod.rs | 3 + .../src/weights/pallet_conviction_voting.rs | 172 ++++++ .../polkadot/src/weights/pallet_referenda.rs | 520 ++++++++++++++++++ .../polkadot/src/weights/pallet_whitelist.rs | 108 ++++ runtime/polkadot/src/xcm_config.rs | 64 ++- 18 files changed, 1547 insertions(+), 413 deletions(-) create mode 100644 runtime/polkadot/src/governance/mod.rs rename runtime/{kusama => polkadot}/src/governance/old.rs (78%) create mode 100644 runtime/polkadot/src/governance/origins.rs create mode 100644 runtime/polkadot/src/governance/tracks.rs create mode 100644 runtime/polkadot/src/weights/pallet_conviction_voting.rs create mode 100644 runtime/polkadot/src/weights/pallet_referenda.rs create mode 100644 runtime/polkadot/src/weights/pallet_whitelist.rs diff --git a/Cargo.lock b/Cargo.lock index ee12ffeaf1c6..11c0847f1a92 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7437,6 +7437,7 @@ dependencies = [ "pallet-bounties", "pallet-child-bounties", "pallet-collective", + "pallet-conviction-voting", "pallet-democracy", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", @@ -7455,6 +7456,7 @@ dependencies = [ "pallet-offences-benchmarking", "pallet-preimage", "pallet-proxy", + "pallet-referenda", "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", @@ -7468,6 +7470,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "parity-scale-codec", "polkadot-primitives", @@ -7482,6 +7485,7 @@ dependencies = [ "serde_json", "smallvec", "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 12b65c7ba853..f867cf97ca7d 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -743,14 +743,6 @@ fn kusama_staging_testnet_config_genesis(wasm_binary: &[u8]) -> kusama::GenesisC slash_reward_fraction: Perbill::from_percent(10), ..Default::default() }, - phragmen_election: Default::default(), - democracy: Default::default(), - council: kusama::CouncilConfig { members: vec![], phantom: Default::default() }, - technical_committee: kusama::TechnicalCommitteeConfig { - members: vec![], - phantom: Default::default(), - }, - technical_membership: Default::default(), babe: kusama::BabeConfig { authorities: Default::default(), epoch_config: Some(kusama::BABE_GENESIS_EPOCH_CONFIG), @@ -1442,14 +1434,6 @@ pub fn kusama_testnet_genesis( slash_reward_fraction: Perbill::from_percent(10), ..Default::default() }, - phragmen_election: Default::default(), - democracy: kusama::DemocracyConfig::default(), - council: kusama::CouncilConfig { members: vec![], phantom: Default::default() }, - technical_committee: kusama::TechnicalCommitteeConfig { - members: vec![], - phantom: Default::default(), - }, - technical_membership: Default::default(), babe: kusama::BabeConfig { authorities: Default::default(), epoch_config: Some(kusama::BABE_GENESIS_EPOCH_CONFIG), diff --git a/runtime/kusama/src/governance/fellowship.rs b/runtime/kusama/src/governance/fellowship.rs index 6d01780ebc0c..3e5acf0b4f5f 100644 --- a/runtime/kusama/src/governance/fellowship.rs +++ b/runtime/kusama/src/governance/fellowship.rs @@ -335,18 +335,7 @@ impl pallet_ranked_collective::Config for Runtime // - the FellowshipAdmin origin (i.e. token holder referendum); // - a vote by the rank *above* the new rank. type PromoteOrigin = EitherOf< - EitherOf< - frame_system::EnsureRootWithSuccess>, - MapSuccess< - pallet_collective::EnsureProportionAtLeast< - Self::AccountId, - super::old::TechnicalCollective, - 2, - 3, - >, - Replace>, - >, - >, + frame_system::EnsureRootWithSuccess>, EitherOf< MapSuccess>>, TryMapSuccess>>, diff --git a/runtime/kusama/src/governance/mod.rs b/runtime/kusama/src/governance/mod.rs index c2db914f647e..d7812e39d7a1 100644 --- a/runtime/kusama/src/governance/mod.rs +++ b/runtime/kusama/src/governance/mod.rs @@ -23,9 +23,6 @@ use frame_support::{ }; use frame_system::EnsureRootWithSuccess; -// Old governance configurations. -pub mod old; - mod origins; pub use origins::{ pallet_custom_origins, AuctionAdmin, Fellows, FellowshipAdmin, FellowshipExperts, diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 54a3f648f39a..57ab3ea654ca 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -55,7 +55,7 @@ use frame_support::{ construct_runtime, parameter_types, traits::{ ConstU32, Contains, EitherOf, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, - LockIdentifier, PrivilegeCmp, StorageMapShim, WithdrawReasons, + PrivilegeCmp, StorageMapShim, WithdrawReasons, }, weights::ConstantMultiplier, PalletId, RuntimeDebug, @@ -80,7 +80,6 @@ use sp_staking::SessionIndex; #[cfg(any(feature = "std", test))] use sp_version::NativeVersion; use sp_version::RuntimeVersion; -use static_assertions::const_assert; pub use frame_system::Call as SystemCall; pub use pallet_balances::Call as BalancesCall; @@ -107,8 +106,8 @@ pub mod xcm_config; // Governance configurations. pub mod governance; use governance::{ - old::CouncilCollective, pallet_custom_origins, AuctionAdmin, Fellows, GeneralAdmin, LeaseAdmin, - StakingAdmin, Treasurer, TreasurySpender, + pallet_custom_origins, AuctionAdmin, Fellows, GeneralAdmin, LeaseAdmin, StakingAdmin, + Treasurer, TreasurySpender, }; #[cfg(test)] @@ -207,11 +206,6 @@ impl PrivilegeCmp for OriginPrivilegeCmp { match (left, right) { // Root is greater than anything. (OriginCaller::system(frame_system::RawOrigin::Root), _) => Some(Ordering::Greater), - // Check which one has more yes votes. - ( - OriginCaller::Council(pallet_collective::RawOrigin::Members(l_yes_votes, l_count)), - OriginCaller::Council(pallet_collective::RawOrigin::Members(r_yes_votes, r_count)), - ) => Some((l_yes_votes * r_count).cmp(&(r_yes_votes * l_count))), // For every other origin we don't care, as they are not used for `ScheduleOrigin`. _ => None, } @@ -224,6 +218,8 @@ impl pallet_scheduler::Config for Runtime { type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; type MaximumWeight = MaximumSchedulerWeight; + // The goal of having ScheduleOrigin include AuctionAdmin is to allow the auctions track of + // OpenGov to schedule periodic auctions. type ScheduleOrigin = EitherOf, AuctionAdmin>; type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; @@ -594,10 +590,7 @@ impl pallet_fast_unstake::Config for Runtime { type Currency = Balances; type BatchSize = frame_support::traits::ConstU32<64>; type Deposit = frame_support::traits::ConstU128<{ CENTS * 100 }>; - type ControlOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, - >; + type ControlOrigin = EnsureRoot; type Staking = Staking; type MaxErasToCheckPerBlock = ConstU32<1>; #[cfg(feature = "runtime-benchmarks")] @@ -681,17 +674,6 @@ impl pallet_child_bounties::Config for Runtime { type WeightInfo = weights::pallet_child_bounties::WeightInfo; } -impl pallet_tips::Config for Runtime { - type MaximumReasonLength = MaximumReasonLength; - type DataDepositPerByte = DataDepositPerByte; - type Tippers = PhragmenElection; - type TipCountdown = TipCountdown; - type TipFindersFee = TipFindersFee; - type TipReportDepositBase = TipReportDepositBase; - type RuntimeEvent = RuntimeEvent; - type WeightInfo = weights::pallet_tips::WeightInfo; -} - impl pallet_offences::Config for Runtime { type RuntimeEvent = RuntimeEvent; type IdentificationTuple = pallet_session::historical::IdentificationTuple; @@ -983,15 +965,9 @@ impl InstanceFilter for ProxyType { RuntimeCall::Session(..) | RuntimeCall::Grandpa(..) | RuntimeCall::ImOnline(..) | - RuntimeCall::Democracy(..) | - RuntimeCall::Council(..) | - RuntimeCall::TechnicalCommittee(..) | - RuntimeCall::PhragmenElection(..) | - RuntimeCall::TechnicalMembership(..) | RuntimeCall::Treasury(..) | RuntimeCall::Bounties(..) | RuntimeCall::ChildBounties(..) | - RuntimeCall::Tips(..) | RuntimeCall::ConvictionVoting(..) | RuntimeCall::Referenda(..) | RuntimeCall::FellowshipCollective(..) | @@ -1028,12 +1004,9 @@ impl InstanceFilter for ProxyType { ), ProxyType::Governance => matches!( c, - RuntimeCall::Democracy(..) | - RuntimeCall::Council(..) | RuntimeCall::TechnicalCommittee(..) | - RuntimeCall::PhragmenElection(..) | - RuntimeCall::Treasury(..) | + RuntimeCall::Treasury(..) | RuntimeCall::Bounties(..) | - RuntimeCall::Tips(..) | RuntimeCall::Utility(..) | + RuntimeCall::Utility(..) | RuntimeCall::ChildBounties(..) | // OpenGov calls RuntimeCall::ConvictionVoting(..) | @@ -1361,13 +1334,7 @@ construct_runtime! { AuthorityDiscovery: pallet_authority_discovery::{Pallet, Config} = 12, // Governance stuff. - Democracy: pallet_democracy::{Pallet, Call, Storage, Config, Event} = 13, - Council: pallet_collective::::{Pallet, Call, Storage, Origin, Event, Config} = 14, - TechnicalCommittee: pallet_collective::::{Pallet, Call, Storage, Origin, Event, Config} = 15, - PhragmenElection: pallet_elections_phragmen::{Pallet, Call, Storage, Event, Config} = 16, - TechnicalMembership: pallet_membership::::{Pallet, Call, Storage, Event, Config} = 17, Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event} = 18, - ConvictionVoting: pallet_conviction_voting::{Pallet, Call, Storage, Event} = 20, Referenda: pallet_referenda::{Pallet, Call, Storage, Event} = 21, // pub type FellowshipCollectiveInstance = pallet_ranked_collective::Instance1; @@ -1415,9 +1382,6 @@ construct_runtime! { Bounties: pallet_bounties::{Pallet, Call, Storage, Event} = 35, ChildBounties: pallet_child_bounties = 40, - // Tips module. - Tips: pallet_tips::{Pallet, Call, Storage, Event} = 36, - // Election pallet. Only works with staking, but placed here to maintain indices. ElectionProviderMultiPhase: pallet_election_provider_multi_phase::{Pallet, Call, Storage, Event, ValidateUnsigned} = 37, @@ -1544,11 +1508,7 @@ mod benches { [frame_benchmarking::baseline, Baseline::] [pallet_bounties, Bounties] [pallet_child_bounties, ChildBounties] - [pallet_collective, Council] - [pallet_collective, TechnicalCommittee] [pallet_conviction_voting, ConvictionVoting] - [pallet_democracy, Democracy] - [pallet_elections_phragmen, PhragmenElection] [pallet_election_provider_multi_phase, ElectionProviderMultiPhase] [frame_election_provider_support, ElectionProviderBench::] [pallet_fast_unstake, FastUnstake] @@ -1556,7 +1516,6 @@ mod benches { [pallet_identity, Identity] [pallet_im_online, ImOnline] [pallet_indices, Indices] - [pallet_membership, TechnicalMembership] [pallet_multisig, Multisig] [pallet_nomination_pools, NominationPoolsBench::] [pallet_offences, OffencesBench::] @@ -1571,7 +1530,6 @@ mod benches { [pallet_staking, Staking] [frame_system, SystemBench::] [pallet_timestamp, Timestamp] - [pallet_tips, Tips] [pallet_treasury, Treasury] [pallet_utility, Utility] [pallet_vesting, Vesting] diff --git a/runtime/kusama/src/xcm_config.rs b/runtime/kusama/src/xcm_config.rs index 33ca3a810aea..06bb829b042b 100644 --- a/runtime/kusama/src/xcm_config.rs +++ b/runtime/kusama/src/xcm_config.rs @@ -17,9 +17,8 @@ //! XCM configurations for the Kusama runtime. use super::{ - parachains_origin, AccountId, AllPalletsWithSystem, Balances, CouncilCollective, Fellows, - ParaId, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, StakingAdmin, WeightToFee, - XcmPallet, + parachains_origin, AccountId, AllPalletsWithSystem, Balances, Fellows, ParaId, Runtime, + RuntimeCall, RuntimeEvent, RuntimeOrigin, StakingAdmin, WeightToFee, XcmPallet, }; use frame_support::{ match_types, parameter_types, @@ -31,8 +30,8 @@ use sp_core::ConstU32; use xcm::latest::prelude::*; use xcm_builder::{ AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, - AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, BackingToPlurality, - ChildParachainAsNative, ChildParachainConvertsVia, ChildSystemParachainAsSuperuser, + AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, ChildParachainAsNative, + ChildParachainConvertsVia, ChildSystemParachainAsSuperuser, CurrencyAdapter as XcmCurrencyAdapter, FixedWeightBounds, IsChildSystemParachain, IsConcrete, MintLocation, OriginToPluralityVoice, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds, @@ -200,49 +199,6 @@ impl Contains for SafeCallFilter { RuntimeCall::Session(pallet_session::Call::purge_keys { .. }) | RuntimeCall::Grandpa(..) | RuntimeCall::ImOnline(..) | - RuntimeCall::Democracy( - pallet_democracy::Call::second { .. } | - pallet_democracy::Call::vote { .. } | - pallet_democracy::Call::emergency_cancel { .. } | - pallet_democracy::Call::fast_track { .. } | - pallet_democracy::Call::veto_external { .. } | - pallet_democracy::Call::cancel_referendum { .. } | - pallet_democracy::Call::delegate { .. } | - pallet_democracy::Call::undelegate { .. } | - pallet_democracy::Call::clear_public_proposals { .. } | - pallet_democracy::Call::unlock { .. } | - pallet_democracy::Call::remove_vote { .. } | - pallet_democracy::Call::remove_other_vote { .. } | - pallet_democracy::Call::blacklist { .. } | - pallet_democracy::Call::cancel_proposal { .. }, - ) | - RuntimeCall::Council( - pallet_collective::Call::vote { .. } | - pallet_collective::Call::close_old_weight { .. } | - pallet_collective::Call::disapprove_proposal { .. } | - pallet_collective::Call::close { .. }, - ) | - RuntimeCall::TechnicalCommittee( - pallet_collective::Call::vote { .. } | - pallet_collective::Call::close_old_weight { .. } | - pallet_collective::Call::disapprove_proposal { .. } | - pallet_collective::Call::close { .. }, - ) | - RuntimeCall::PhragmenElection( - pallet_elections_phragmen::Call::remove_voter { .. } | - pallet_elections_phragmen::Call::submit_candidacy { .. } | - pallet_elections_phragmen::Call::renounce_candidacy { .. } | - pallet_elections_phragmen::Call::remove_member { .. } | - pallet_elections_phragmen::Call::clean_defunct_voters { .. }, - ) | - RuntimeCall::TechnicalMembership( - pallet_membership::Call::add_member { .. } | - pallet_membership::Call::remove_member { .. } | - pallet_membership::Call::swap_member { .. } | - pallet_membership::Call::change_key { .. } | - pallet_membership::Call::set_prime { .. } | - pallet_membership::Call::clear_prime { .. }, - ) | RuntimeCall::Treasury(..) | RuntimeCall::ConvictionVoting(..) | RuntimeCall::Referenda( @@ -377,7 +333,6 @@ impl xcm_executor::Config for XcmConfig { } parameter_types! { - pub const CouncilBodyId: BodyId = BodyId::Executive; // StakingAdmin pluralistic body. pub const StakingAdminBodyId: BodyId = BodyId::Defense; // Fellows pluralistic body. @@ -389,19 +344,9 @@ parameter_types! { pub ReachableDest: Option = Some(Parachain(1000).into()); } -/// Type to convert the council origin to a Plurality `MultiLocation` value. -pub type CouncilToPlurality = BackingToPlurality< - RuntimeOrigin, - pallet_collective::Origin, - CouncilBodyId, ->; - /// Type to convert an `Origin` type value into a `MultiLocation` value which represents an interior location /// of this chain. pub type LocalOriginToLocation = ( - // We allow an origin from the Collective pallet to be used in XCM as a corresponding Plurality of the - // `Unit` body. - CouncilToPlurality, // And a usual Signed origin to be used in XCM as a corresponding AccountId32 SignedToAccountId32, ); @@ -416,9 +361,6 @@ pub type FellowsToPlurality = OriginToPluralityVoice. + +//! New governance configurations for the Polkadot runtime. + +use super::*; +use crate::xcm_config::CollectivesLocation; +use frame_support::{parameter_types, traits::EitherOf}; +use frame_system::EnsureRootWithSuccess; +use pallet_xcm::{EnsureXcm, IsVoiceOfBody}; +use xcm::latest::BodyId; + +// Old governance configurations. +pub mod old; + +mod origins; +pub use origins::{ + pallet_custom_origins, AuctionAdmin, FellowshipAdmin, GeneralAdmin, LeaseAdmin, + ReferendumCanceller, ReferendumKiller, Spender, StakingAdmin, Treasurer, WhitelistedCaller, +}; +mod tracks; +pub use tracks::TracksInfo; + +parameter_types! { + pub const VoteLockingPeriod: BlockNumber = 7 * DAYS; +} + +impl pallet_conviction_voting::Config for Runtime { + type WeightInfo = weights::pallet_conviction_voting::WeightInfo; + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type VoteLockingPeriod = VoteLockingPeriod; + type MaxVotes = ConstU32<512>; + type MaxTurnout = + frame_support::traits::tokens::currency::ActiveIssuanceOf; + type Polls = Referenda; +} + +parameter_types! { + pub const AlarmInterval: BlockNumber = 1; + pub const SubmissionDeposit: Balance = 1 * DOLLARS; + pub const UndecidingTimeout: BlockNumber = 14 * DAYS; +} + +parameter_types! { + pub const MaxBalance: Balance = Balance::max_value(); +} +pub type TreasurySpender = EitherOf, Spender>; + +impl origins::pallet_custom_origins::Config for Runtime {} + +parameter_types! { + // Fellows pluralistic body. + pub const FellowsBodyId: BodyId = BodyId::Technical; +} + +impl pallet_whitelist::Config for Runtime { + type WeightInfo = weights::pallet_whitelist::WeightInfo; + type RuntimeCall = RuntimeCall; + type RuntimeEvent = RuntimeEvent; + type WhitelistOrigin = EitherOfDiverse< + EnsureRoot, + EnsureXcm>, + >; + type DispatchWhitelistedOrigin = EitherOf, WhitelistedCaller>; + type Preimages = Preimage; +} + +impl pallet_referenda::Config for Runtime { + type WeightInfo = weights::pallet_referenda::WeightInfo; + type RuntimeCall = RuntimeCall; + type RuntimeEvent = RuntimeEvent; + type Scheduler = Scheduler; + type Currency = Balances; + type SubmitOrigin = frame_system::EnsureSigned; + type CancelOrigin = EitherOf, ReferendumCanceller>; + type KillOrigin = EitherOf, ReferendumKiller>; + type Slash = Treasury; + type Votes = pallet_conviction_voting::VotesOf; + type Tally = pallet_conviction_voting::TallyOf; + type SubmissionDeposit = SubmissionDeposit; + type MaxQueued = ConstU32<100>; + type UndecidingTimeout = UndecidingTimeout; + type AlarmInterval = AlarmInterval; + type Tracks = TracksInfo; + type Preimages = Preimage; +} diff --git a/runtime/kusama/src/governance/old.rs b/runtime/polkadot/src/governance/old.rs similarity index 78% rename from runtime/kusama/src/governance/old.rs rename to runtime/polkadot/src/governance/old.rs index e50c778d56f8..fcded42a20df 100644 --- a/runtime/kusama/src/governance/old.rs +++ b/runtime/polkadot/src/governance/old.rs @@ -1,4 +1,4 @@ -// Copyright 2022 Parity Technologies (UK) Ltd. +// Copyright 2023 Parity Technologies (UK) Ltd. // This file is part of Polkadot. // Polkadot is free software: you can redistribute it and/or modify @@ -14,18 +14,18 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Old governance configurations for the Kusama runtime. +//! Old governance configurations for the Polkadot runtime. use crate::*; use frame_support::{parameter_types, traits::EitherOfDiverse}; parameter_types! { - pub LaunchPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1, "KSM_LAUNCH_PERIOD"); - pub VotingPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1 * MINUTES, "KSM_VOTING_PERIOD"); - pub FastTrackVotingPeriod: BlockNumber = prod_or_fast!(3 * HOURS, 1 * MINUTES, "KSM_FAST_TRACK_VOTING_PERIOD"); - pub const MinimumDeposit: Balance = 100 * CENTS; - pub EnactmentPeriod: BlockNumber = prod_or_fast!(8 * DAYS, 1, "KSM_ENACTMENT_PERIOD"); - pub CooloffPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1 * MINUTES, "KSM_COOLOFF_PERIOD"); + pub LaunchPeriod: BlockNumber = prod_or_fast!(28 * DAYS, 1, "DOT_LAUNCH_PERIOD"); + pub VotingPeriod: BlockNumber = prod_or_fast!(28 * DAYS, 1 * MINUTES, "DOT_VOTING_PERIOD"); + pub FastTrackVotingPeriod: BlockNumber = prod_or_fast!(3 * HOURS, 1 * MINUTES, "DOT_FAST_TRACK_VOTING_PERIOD"); + pub const MinimumDeposit: Balance = 100 * DOLLARS; + pub EnactmentPeriod: BlockNumber = prod_or_fast!(28 * DAYS, 1, "DOT_ENACTMENT_PERIOD"); + pub CooloffPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1, "DOT_COOLOFF_PERIOD"); pub const InstantAllowed: bool = true; pub const MaxVotes: u32 = 100; pub const MaxProposals: u32 = 100; @@ -41,35 +41,45 @@ impl pallet_democracy::Config for Runtime { type MinimumDeposit = MinimumDeposit; type SubmitOrigin = frame_system::EnsureSigned; /// A straight majority of the council can decide what their next motion is. - type ExternalOrigin = - pallet_collective::EnsureProportionAtLeast; - /// A majority can have the next scheduled referendum be a straight majority-carries vote. - type ExternalMajorityOrigin = - pallet_collective::EnsureProportionAtLeast; + type ExternalOrigin = EitherOfDiverse< + pallet_collective::EnsureProportionAtLeast, + frame_system::EnsureRoot, + >; + /// A 60% super-majority can have the next scheduled referendum be a straight majority-carries vote. + type ExternalMajorityOrigin = EitherOfDiverse< + pallet_collective::EnsureProportionAtLeast, + frame_system::EnsureRoot, + >; /// A unanimous council can have the next scheduled referendum be a straight default-carries /// (NTB) vote. - type ExternalDefaultOrigin = - pallet_collective::EnsureProportionAtLeast; + type ExternalDefaultOrigin = EitherOfDiverse< + pallet_collective::EnsureProportionAtLeast, + frame_system::EnsureRoot, + >; /// Two thirds of the technical committee can have an `ExternalMajority/ExternalDefault` vote /// be tabled immediately and with a shorter voting/enactment period. - type FastTrackOrigin = - pallet_collective::EnsureProportionAtLeast; - type InstantOrigin = - pallet_collective::EnsureProportionAtLeast; + type FastTrackOrigin = EitherOfDiverse< + pallet_collective::EnsureProportionAtLeast, + frame_system::EnsureRoot, + >; + type InstantOrigin = EitherOfDiverse< + pallet_collective::EnsureProportionAtLeast, + frame_system::EnsureRoot, + >; type InstantAllowed = InstantAllowed; type FastTrackVotingPeriod = FastTrackVotingPeriod; // To cancel a proposal which has been passed, 2/3 of the council must agree to it. type CancellationOrigin = EitherOfDiverse< - EnsureRoot, pallet_collective::EnsureProportionAtLeast, + EnsureRoot, >; - type BlacklistOrigin = EnsureRoot; // To cancel a proposal before it has been passed, the technical committee must be unanimous or // Root must agree. type CancelProposalOrigin = EitherOfDiverse< - EnsureRoot, pallet_collective::EnsureProportionAtLeast, + EnsureRoot, >; + type BlacklistOrigin = EnsureRoot; // Any single technical committee member may veto a coming council proposal, however they can // only do it once and it lasts only for the cooloff period. type VetoOrigin = pallet_collective::EnsureMember; @@ -86,7 +96,7 @@ impl pallet_democracy::Config for Runtime { } parameter_types! { - pub CouncilMotionDuration: BlockNumber = prod_or_fast!(3 * DAYS, 2 * MINUTES, "KSM_MOTION_DURATION"); + pub CouncilMotionDuration: BlockNumber = prod_or_fast!(7 * DAYS, 2 * MINUTES, "DOT_MOTION_DURATION"); pub const CouncilMaxProposals: u32 = 100; pub const CouncilMaxMembers: u32 = 100; } @@ -105,26 +115,27 @@ impl pallet_collective::Config for Runtime { } parameter_types! { - pub const CandidacyBond: Balance = 100 * CENTS; + pub const CandidacyBond: Balance = 100 * DOLLARS; // 1 storage item created, key size is 32 bytes, value size is 16+16. pub const VotingBondBase: Balance = deposit(1, 64); // additional data per vote is 32 bytes (account id). pub const VotingBondFactor: Balance = deposit(0, 32); - /// Daily council elections - pub TermDuration: BlockNumber = prod_or_fast!(24 * HOURS, 2 * MINUTES, "KSM_TERM_DURATION"); - pub const DesiredMembers: u32 = 19; - pub const DesiredRunnersUp: u32 = 19; - pub const MaxVotesPerVoter: u32 = 16; + /// Weekly council elections; scaling up to monthly eventually. + pub TermDuration: BlockNumber = prod_or_fast!(7 * DAYS, 2 * MINUTES, "DOT_TERM_DURATION"); + /// 13 members initially, to be increased to 23 eventually. + pub const DesiredMembers: u32 = 13; + pub const DesiredRunnersUp: u32 = 20; pub const MaxVoters: u32 = 10 * 1000; + pub const MaxVotesPerVoter: u32 = 16; pub const MaxCandidates: u32 = 1000; pub const PhragmenElectionPalletId: LockIdentifier = *b"phrelect"; } - -// Make sure that there are no more than `MaxMembers` members elected via Phragmen. +// Make sure that there are no more than `MaxMembers` members elected via phragmen. const_assert!(DesiredMembers::get() <= CouncilMaxMembers::get()); impl pallet_elections_phragmen::Config for Runtime { type RuntimeEvent = RuntimeEvent; + type PalletId = PhragmenElectionPalletId; type Currency = Balances; type ChangeMembers = Council; type InitializeMembers = Council; @@ -138,14 +149,13 @@ impl pallet_elections_phragmen::Config for Runtime { type DesiredRunnersUp = DesiredRunnersUp; type TermDuration = TermDuration; type MaxVoters = MaxVoters; - type MaxCandidates = MaxCandidates; type MaxVotesPerVoter = MaxVotesPerVoter; - type PalletId = PhragmenElectionPalletId; + type MaxCandidates = MaxCandidates; type WeightInfo = weights::pallet_elections_phragmen::WeightInfo; } parameter_types! { - pub TechnicalMotionDuration: BlockNumber = prod_or_fast!(3 * DAYS, 2 * MINUTES, "KSM_MOTION_DURATION"); + pub const TechnicalMotionDuration: BlockNumber = 7 * DAYS; pub const TechnicalMaxProposals: u32 = 100; pub const TechnicalMaxMembers: u32 = 100; } diff --git a/runtime/polkadot/src/governance/origins.rs b/runtime/polkadot/src/governance/origins.rs new file mode 100644 index 000000000000..0cf5834d1f49 --- /dev/null +++ b/runtime/polkadot/src/governance/origins.rs @@ -0,0 +1,151 @@ +// Copyright 2023 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Custom origins for governance interventions. + +pub use pallet_custom_origins::*; + +#[frame_support::pallet] +pub mod pallet_custom_origins { + use crate::{Balance, DOLLARS, GRAND}; + use frame_support::pallet_prelude::*; + + #[pallet::config] + pub trait Config: frame_system::Config {} + + #[pallet::pallet] + pub struct Pallet(_); + + #[derive(PartialEq, Eq, Clone, MaxEncodedLen, Encode, Decode, TypeInfo, RuntimeDebug)] + #[pallet::origin] + pub enum Origin { + /// Origin able to cancel slashes and manage minimum commission. + StakingAdmin, + /// Origin for spending up to $10,000,000 DOT from the treasury as well as generally + /// administering it. + Treasurer, + /// Origin for managing the composition of the fellowship. + FellowshipAdmin, + /// Origin for managing the registrar. + GeneralAdmin, + /// Origin for starting auctions. + AuctionAdmin, + /// Origin able to force slot leases. + LeaseAdmin, + /// Origin able to cancel referenda. + ReferendumCanceller, + /// Origin able to kill referenda. + ReferendumKiller, + /// Origin able to spend around $250 from the treasury at once. + SmallTipper, + /// Origin able to spend around $1,000 from the treasury at once. + BigTipper, + /// Origin able to spend around $10,000 from the treasury at once. + SmallSpender, + /// Origin able to spend around $100,000 from the treasury at once. + MediumSpender, + /// Origin able to spend up to $1,000,000 DOT from the treasury at once. + BigSpender, + /// Origin able to dispatch a whitelisted call. + WhitelistedCaller, + } + + macro_rules! decl_unit_ensures { + ( $name:ident: $success_type:ty = $success:expr ) => { + pub struct $name; + impl> + From> + EnsureOrigin for $name + { + type Success = $success_type; + fn try_origin(o: O) -> Result { + o.into().and_then(|o| match o { + Origin::$name => Ok($success), + r => Err(O::from(r)), + }) + } + #[cfg(feature = "runtime-benchmarks")] + fn try_successful_origin() -> Result { + Ok(O::from(Origin::$name)) + } + } + }; + ( $name:ident ) => { decl_unit_ensures! { $name : () = () } }; + ( $name:ident: $success_type:ty = $success:expr, $( $rest:tt )* ) => { + decl_unit_ensures! { $name: $success_type = $success } + decl_unit_ensures! { $( $rest )* } + }; + ( $name:ident, $( $rest:tt )* ) => { + decl_unit_ensures! { $name } + decl_unit_ensures! { $( $rest )* } + }; + () => {} + } + decl_unit_ensures!( + StakingAdmin, + Treasurer, + FellowshipAdmin, + GeneralAdmin, + AuctionAdmin, + LeaseAdmin, + ReferendumCanceller, + ReferendumKiller, + WhitelistedCaller, + ); + + macro_rules! decl_ensure { + ( + $vis:vis type $name:ident: EnsureOrigin { + $( $item:ident = $success:expr, )* + } + ) => { + $vis struct $name; + impl> + From> + EnsureOrigin for $name + { + type Success = $success_type; + fn try_origin(o: O) -> Result { + o.into().and_then(|o| match o { + $( + Origin::$item => Ok($success), + )* + r => Err(O::from(r)), + }) + } + #[cfg(feature = "runtime-benchmarks")] + fn try_successful_origin() -> Result { + // By convention the more privileged origins go later, so for greatest chance + // of success, we want the last one. + let _result: Result = Err(()); + $( + let _result: Result = Ok(O::from(Origin::$item)); + )* + _result + } + } + } + } + + decl_ensure! { + pub type Spender: EnsureOrigin { + SmallTipper = 250 * DOLLARS, + BigTipper = 1 * GRAND, + SmallSpender = 10 * GRAND, + MediumSpender = 100 * GRAND, + BigSpender = 1_000 * GRAND, + Treasurer = 10_000 * GRAND, + } + } +} diff --git a/runtime/polkadot/src/governance/tracks.rs b/runtime/polkadot/src/governance/tracks.rs new file mode 100644 index 000000000000..862ab79c73a6 --- /dev/null +++ b/runtime/polkadot/src/governance/tracks.rs @@ -0,0 +1,319 @@ +// Copyright 2023 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Track configurations for governance. + +use super::*; + +const fn percent(x: i32) -> sp_arithmetic::FixedI64 { + sp_arithmetic::FixedI64::from_rational(x as u128, 100) +} +use pallet_referenda::Curve; +const APP_ROOT: Curve = Curve::make_reciprocal(4, 28, percent(80), percent(50), percent(100)); +const SUP_ROOT: Curve = Curve::make_linear(28, 28, percent(0), percent(50)); +const APP_STAKING_ADMIN: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_STAKING_ADMIN: Curve = + Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_TREASURER: Curve = Curve::make_reciprocal(4, 28, percent(80), percent(50), percent(100)); +const SUP_TREASURER: Curve = Curve::make_linear(28, 28, percent(0), percent(50)); +const APP_FELLOWSHIP_ADMIN: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_FELLOWSHIP_ADMIN: Curve = + Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_GENERAL_ADMIN: Curve = + Curve::make_reciprocal(4, 28, percent(80), percent(50), percent(100)); +const SUP_GENERAL_ADMIN: Curve = + Curve::make_reciprocal(7, 28, percent(10), percent(0), percent(50)); +const APP_AUCTION_ADMIN: Curve = + Curve::make_reciprocal(4, 28, percent(80), percent(50), percent(100)); +const SUP_AUCTION_ADMIN: Curve = + Curve::make_reciprocal(7, 28, percent(10), percent(0), percent(50)); +const APP_LEASE_ADMIN: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_LEASE_ADMIN: Curve = Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_REFERENDUM_CANCELLER: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_REFERENDUM_CANCELLER: Curve = + Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_REFERENDUM_KILLER: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_REFERENDUM_KILLER: Curve = + Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_SMALL_TIPPER: Curve = Curve::make_linear(10, 28, percent(50), percent(100)); +const SUP_SMALL_TIPPER: Curve = Curve::make_reciprocal(1, 28, percent(4), percent(0), percent(50)); +const APP_BIG_TIPPER: Curve = Curve::make_linear(10, 28, percent(50), percent(100)); +const SUP_BIG_TIPPER: Curve = Curve::make_reciprocal(8, 28, percent(1), percent(0), percent(50)); +const APP_SMALL_SPENDER: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_SMALL_SPENDER: Curve = + Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_MEDIUM_SPENDER: Curve = Curve::make_linear(23, 28, percent(50), percent(100)); +const SUP_MEDIUM_SPENDER: Curve = + Curve::make_reciprocal(16, 28, percent(1), percent(0), percent(50)); +const APP_BIG_SPENDER: Curve = Curve::make_linear(28, 28, percent(50), percent(100)); +const SUP_BIG_SPENDER: Curve = Curve::make_reciprocal(20, 28, percent(1), percent(0), percent(50)); +const APP_WHITELISTED_CALLER: Curve = + Curve::make_reciprocal(16, 28 * 24, percent(96), percent(50), percent(100)); +const SUP_WHITELISTED_CALLER: Curve = + Curve::make_reciprocal(1, 28, percent(20), percent(5), percent(50)); + +const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15] = [ + ( + 0, + pallet_referenda::TrackInfo { + name: "root", + max_deciding: 1, + decision_deposit: 100 * GRAND, + prepare_period: 2 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 24 * HOURS, + min_enactment_period: 24 * HOURS, + min_approval: APP_ROOT, + min_support: SUP_ROOT, + }, + ), + ( + 1, + pallet_referenda::TrackInfo { + name: "whitelisted_caller", + max_deciding: 100, + decision_deposit: 10 * GRAND, + prepare_period: 30 * MINUTES, + decision_period: 28 * DAYS, + confirm_period: 10 * MINUTES, + min_enactment_period: 10 * MINUTES, + min_approval: APP_WHITELISTED_CALLER, + min_support: SUP_WHITELISTED_CALLER, + }, + ), + ( + 10, + pallet_referenda::TrackInfo { + name: "staking_admin", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 2 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_STAKING_ADMIN, + min_support: SUP_STAKING_ADMIN, + }, + ), + ( + 11, + pallet_referenda::TrackInfo { + name: "treasurer", + max_deciding: 10, + decision_deposit: 1 * GRAND, + prepare_period: 2 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 24 * HOURS, + min_approval: APP_TREASURER, + min_support: SUP_TREASURER, + }, + ), + ( + 12, + pallet_referenda::TrackInfo { + name: "lease_admin", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 2 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_LEASE_ADMIN, + min_support: SUP_LEASE_ADMIN, + }, + ), + ( + 13, + pallet_referenda::TrackInfo { + name: "fellowship_admin", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 2 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_FELLOWSHIP_ADMIN, + min_support: SUP_FELLOWSHIP_ADMIN, + }, + ), + ( + 14, + pallet_referenda::TrackInfo { + name: "general_admin", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 2 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_GENERAL_ADMIN, + min_support: SUP_GENERAL_ADMIN, + }, + ), + ( + 15, + pallet_referenda::TrackInfo { + name: "auction_admin", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 2 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_AUCTION_ADMIN, + min_support: SUP_AUCTION_ADMIN, + }, + ), + ( + 20, + pallet_referenda::TrackInfo { + name: "referendum_canceller", + max_deciding: 1_000, + decision_deposit: 10 * GRAND, + prepare_period: 2 * HOURS, + decision_period: 7 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_REFERENDUM_CANCELLER, + min_support: SUP_REFERENDUM_CANCELLER, + }, + ), + ( + 21, + pallet_referenda::TrackInfo { + name: "referendum_killer", + max_deciding: 1_000, + decision_deposit: 50 * GRAND, + prepare_period: 2 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_REFERENDUM_KILLER, + min_support: SUP_REFERENDUM_KILLER, + }, + ), + ( + 30, + pallet_referenda::TrackInfo { + name: "small_tipper", + max_deciding: 200, + decision_deposit: 1 * DOLLARS, + prepare_period: 1 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 10 * MINUTES, + min_enactment_period: 1 * MINUTES, + min_approval: APP_SMALL_TIPPER, + min_support: SUP_SMALL_TIPPER, + }, + ), + ( + 31, + pallet_referenda::TrackInfo { + name: "big_tipper", + max_deciding: 100, + decision_deposit: 10 * DOLLARS, + prepare_period: 10 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 1 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_BIG_TIPPER, + min_support: SUP_BIG_TIPPER, + }, + ), + ( + 32, + pallet_referenda::TrackInfo { + name: "small_spender", + max_deciding: 50, + decision_deposit: 100 * DOLLARS, + prepare_period: 4 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 12 * HOURS, + min_enactment_period: 24 * HOURS, + min_approval: APP_SMALL_SPENDER, + min_support: SUP_SMALL_SPENDER, + }, + ), + ( + 33, + pallet_referenda::TrackInfo { + name: "medium_spender", + max_deciding: 50, + decision_deposit: 200 * DOLLARS, + prepare_period: 4 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 24 * HOURS, + min_enactment_period: 24 * HOURS, + min_approval: APP_MEDIUM_SPENDER, + min_support: SUP_MEDIUM_SPENDER, + }, + ), + ( + 34, + pallet_referenda::TrackInfo { + name: "big_spender", + max_deciding: 50, + decision_deposit: 400 * DOLLARS, + prepare_period: 4 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 48 * HOURS, + min_enactment_period: 24 * HOURS, + min_approval: APP_BIG_SPENDER, + min_support: SUP_BIG_SPENDER, + }, + ), +]; + +pub struct TracksInfo; +impl pallet_referenda::TracksInfo for TracksInfo { + type Id = u16; + type RuntimeOrigin = ::PalletsOrigin; + fn tracks() -> &'static [(Self::Id, pallet_referenda::TrackInfo)] { + &TRACKS_DATA[..] + } + fn track_for(id: &Self::RuntimeOrigin) -> Result { + if let Ok(system_origin) = frame_system::RawOrigin::try_from(id.clone()) { + match system_origin { + frame_system::RawOrigin::Root => Ok(0), + _ => Err(()), + } + } else if let Ok(custom_origin) = origins::Origin::try_from(id.clone()) { + match custom_origin { + origins::Origin::WhitelistedCaller => Ok(1), + // General admin + origins::Origin::StakingAdmin => Ok(10), + origins::Origin::Treasurer => Ok(11), + origins::Origin::LeaseAdmin => Ok(12), + origins::Origin::FellowshipAdmin => Ok(13), + origins::Origin::GeneralAdmin => Ok(14), + origins::Origin::AuctionAdmin => Ok(15), + // Referendum admins + origins::Origin::ReferendumCanceller => Ok(20), + origins::Origin::ReferendumKiller => Ok(21), + // Limited treasury spenders + origins::Origin::SmallTipper => Ok(30), + origins::Origin::BigTipper => Ok(31), + origins::Origin::SmallSpender => Ok(32), + origins::Origin::MediumSpender => Ok(33), + origins::Origin::BigSpender => Ok(34), + } + } else { + Err(()) + } + } +} +pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 12441342f852..cf1bb606fcac 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -47,7 +47,7 @@ use frame_support::{ weights::ConstantMultiplier, PalletId, RuntimeDebug, }; -use frame_system::{EnsureRoot, EnsureWithSuccess}; +use frame_system::EnsureRoot; use pallet_grandpa::{fg_primitives, AuthorityId as GrandpaId}; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; use pallet_session::historical as session_historical; @@ -99,6 +99,13 @@ mod weights; mod bag_thresholds; +// Governance configurations. +pub mod governance; +use governance::{ + old::CouncilCollective, pallet_custom_origins, AuctionAdmin, FellowshipAdmin, GeneralAdmin, + LeaseAdmin, StakingAdmin, Treasurer, TreasurySpender, +}; + pub mod xcm_config; impl_runtime_weights!(polkadot_runtime_constants); @@ -137,11 +144,6 @@ pub fn native_version() -> NativeVersion { NativeVersion { runtime_version: VERSION, can_author_with: Default::default() } } -type MoreThanHalfCouncil = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionMoreThan, ->; - parameter_types! { pub const Version: RuntimeVersion = VERSION; pub const SS58Prefix: u8 = 0; @@ -181,11 +183,6 @@ parameter_types! { pub const NoPreimagePostponement: Option = Some(10); } -type ScheduleOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, ->; - /// Used the compare the privilege of an origin inside the scheduler. pub struct OriginPrivilegeCmp; @@ -215,7 +212,9 @@ impl pallet_scheduler::Config for Runtime { type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; type MaximumWeight = MaximumSchedulerWeight; - type ScheduleOrigin = ScheduleOrigin; + // The goal of having ScheduleOrigin include AuctionAdmin is to allow the auctions track of + // OpenGov to schedule periodic auctions. + type ScheduleOrigin = EitherOf, AuctionAdmin>; type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = OriginPrivilegeCmp; @@ -481,10 +480,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime { (), >; type BenchmarkingConfig = runtime_common::elections::BenchmarkConfig; - type ForceOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, - >; + type ForceOrigin = EitherOf, StakingAdmin>; type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo; type MaxElectingVoters = MaxElectingVoters; type MaxElectableTargets = MaxElectableTargets; @@ -542,11 +538,6 @@ parameter_types! { pub const MaxNominations: u32 = ::LIMIT as u32; } -type StakingAdminOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, ->; - pub struct EraPayout; impl pallet_staking::EraPayout for EraPayout { fn era_payout( @@ -588,7 +579,7 @@ impl pallet_staking::Config for Runtime { type SessionsPerEra = SessionsPerEra; type BondingDuration = BondingDuration; type SlashDeferDuration = SlashDeferDuration; - type AdminOrigin = StakingAdminOrigin; + type AdminOrigin = EitherOf, StakingAdmin>; type SessionInterface = Self; type EraPayout = EraPayout; type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; @@ -610,10 +601,7 @@ impl pallet_fast_unstake::Config for Runtime { type Currency = Balances; type BatchSize = frame_support::traits::ConstU32<16>; type Deposit = frame_support::traits::ConstU128<{ UNITS }>; - type ControlOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, - >; + type ControlOrigin = EnsureRoot; type Staking = Staking; type MaxErasToCheckPerBlock = ConstU32<1>; #[cfg(feature = "runtime-benchmarks")] @@ -641,178 +629,11 @@ impl pallet_identity::Config for Runtime { type MaxAdditionalFields = MaxAdditionalFields; type MaxRegistrars = MaxRegistrars; type Slashed = Treasury; - type ForceOrigin = MoreThanHalfCouncil; - type RegistrarOrigin = MoreThanHalfCouncil; + type ForceOrigin = EitherOf, GeneralAdmin>; + type RegistrarOrigin = EitherOf, GeneralAdmin>; type WeightInfo = weights::pallet_identity::WeightInfo; } -parameter_types! { - pub LaunchPeriod: BlockNumber = prod_or_fast!(28 * DAYS, 1, "DOT_LAUNCH_PERIOD"); - pub VotingPeriod: BlockNumber = prod_or_fast!(28 * DAYS, 1 * MINUTES, "DOT_VOTING_PERIOD"); - pub FastTrackVotingPeriod: BlockNumber = prod_or_fast!(3 * HOURS, 1 * MINUTES, "DOT_FAST_TRACK_VOTING_PERIOD"); - pub const MinimumDeposit: Balance = 100 * DOLLARS; - pub EnactmentPeriod: BlockNumber = prod_or_fast!(28 * DAYS, 1, "DOT_ENACTMENT_PERIOD"); - pub CooloffPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1, "DOT_COOLOFF_PERIOD"); - pub const InstantAllowed: bool = true; - pub const MaxVotes: u32 = 100; - pub const MaxProposals: u32 = 100; -} - -impl pallet_democracy::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Currency = Balances; - type EnactmentPeriod = EnactmentPeriod; - type VoteLockingPeriod = EnactmentPeriod; - type LaunchPeriod = LaunchPeriod; - type VotingPeriod = VotingPeriod; - type MinimumDeposit = MinimumDeposit; - type SubmitOrigin = frame_system::EnsureSigned; - /// A straight majority of the council can decide what their next motion is. - type ExternalOrigin = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - frame_system::EnsureRoot, - >; - /// A 60% super-majority can have the next scheduled referendum be a straight majority-carries vote. - type ExternalMajorityOrigin = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - frame_system::EnsureRoot, - >; - /// A unanimous council can have the next scheduled referendum be a straight default-carries - /// (NTB) vote. - type ExternalDefaultOrigin = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - frame_system::EnsureRoot, - >; - /// Two thirds of the technical committee can have an `ExternalMajority/ExternalDefault` vote - /// be tabled immediately and with a shorter voting/enactment period. - type FastTrackOrigin = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - frame_system::EnsureRoot, - >; - type InstantOrigin = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - frame_system::EnsureRoot, - >; - type InstantAllowed = InstantAllowed; - type FastTrackVotingPeriod = FastTrackVotingPeriod; - // To cancel a proposal which has been passed, 2/3 of the council must agree to it. - type CancellationOrigin = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - EnsureRoot, - >; - // To cancel a proposal before it has been passed, the technical committee must be unanimous or - // Root must agree. - type CancelProposalOrigin = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - EnsureRoot, - >; - type BlacklistOrigin = EnsureRoot; - // Any single technical committee member may veto a coming council proposal, however they can - // only do it once and it lasts only for the cooloff period. - type VetoOrigin = pallet_collective::EnsureMember; - type CooloffPeriod = CooloffPeriod; - type Slash = Treasury; - type Scheduler = Scheduler; - type PalletsOrigin = OriginCaller; - type MaxVotes = MaxVotes; - type WeightInfo = weights::pallet_democracy::WeightInfo; - type MaxProposals = MaxProposals; - type Preimages = Preimage; - type MaxDeposits = ConstU32<100>; - type MaxBlacklisted = ConstU32<100>; -} - -parameter_types! { - pub CouncilMotionDuration: BlockNumber = prod_or_fast!(7 * DAYS, 2 * MINUTES, "DOT_MOTION_DURATION"); - pub const CouncilMaxProposals: u32 = 100; - pub const CouncilMaxMembers: u32 = 100; -} - -pub type CouncilCollective = pallet_collective::Instance1; -impl pallet_collective::Config for Runtime { - type RuntimeOrigin = RuntimeOrigin; - type Proposal = RuntimeCall; - type RuntimeEvent = RuntimeEvent; - type MotionDuration = CouncilMotionDuration; - type MaxProposals = CouncilMaxProposals; - type MaxMembers = CouncilMaxMembers; - type DefaultVote = pallet_collective::PrimeDefaultVote; - type SetMembersOrigin = EnsureRoot; - type WeightInfo = weights::pallet_collective_council::WeightInfo; -} - -parameter_types! { - pub const CandidacyBond: Balance = 100 * DOLLARS; - // 1 storage item created, key size is 32 bytes, value size is 16+16. - pub const VotingBondBase: Balance = deposit(1, 64); - // additional data per vote is 32 bytes (account id). - pub const VotingBondFactor: Balance = deposit(0, 32); - /// Weekly council elections; scaling up to monthly eventually. - pub TermDuration: BlockNumber = prod_or_fast!(7 * DAYS, 2 * MINUTES, "DOT_TERM_DURATION"); - /// 13 members initially, to be increased to 23 eventually. - pub const DesiredMembers: u32 = 13; - pub const DesiredRunnersUp: u32 = 20; - pub const MaxVoters: u32 = 10 * 1000; - pub const MaxVotesPerVoter: u32 = 16; - pub const MaxCandidates: u32 = 1000; - pub const PhragmenElectionPalletId: LockIdentifier = *b"phrelect"; -} -// Make sure that there are no more than `MaxMembers` members elected via phragmen. -const_assert!(DesiredMembers::get() <= CouncilMaxMembers::get()); - -impl pallet_elections_phragmen::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type PalletId = PhragmenElectionPalletId; - type Currency = Balances; - type ChangeMembers = Council; - type InitializeMembers = Council; - type CurrencyToVote = frame_support::traits::U128CurrencyToVote; - type CandidacyBond = CandidacyBond; - type VotingBondBase = VotingBondBase; - type VotingBondFactor = VotingBondFactor; - type LoserCandidate = Treasury; - type KickedMember = Treasury; - type DesiredMembers = DesiredMembers; - type DesiredRunnersUp = DesiredRunnersUp; - type TermDuration = TermDuration; - type MaxVoters = MaxVoters; - type MaxVotesPerVoter = MaxVotesPerVoter; - type MaxCandidates = MaxCandidates; - type WeightInfo = weights::pallet_elections_phragmen::WeightInfo; -} - -parameter_types! { - pub const TechnicalMotionDuration: BlockNumber = 7 * DAYS; - pub const TechnicalMaxProposals: u32 = 100; - pub const TechnicalMaxMembers: u32 = 100; -} - -pub type TechnicalCollective = pallet_collective::Instance2; -impl pallet_collective::Config for Runtime { - type RuntimeOrigin = RuntimeOrigin; - type Proposal = RuntimeCall; - type RuntimeEvent = RuntimeEvent; - type MotionDuration = TechnicalMotionDuration; - type MaxProposals = TechnicalMaxProposals; - type MaxMembers = TechnicalMaxMembers; - type DefaultVote = pallet_collective::PrimeDefaultVote; - type SetMembersOrigin = EnsureRoot; - type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; -} - -impl pallet_membership::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type AddOrigin = MoreThanHalfCouncil; - type RemoveOrigin = MoreThanHalfCouncil; - type SwapOrigin = MoreThanHalfCouncil; - type ResetOrigin = MoreThanHalfCouncil; - type PrimeOrigin = MoreThanHalfCouncil; - type MembershipInitialized = TechnicalCommittee; - type MembershipChanged = TechnicalCommittee; - type MaxMembers = TechnicalMaxMembers; - type WeightInfo = weights::pallet_membership::WeightInfo; -} - parameter_types! { pub const ProposalBond: Permill = Permill::from_percent(5); pub const ProposalBondMinimum: Balance = 100 * DOLLARS; @@ -834,16 +655,11 @@ parameter_types! { pub const CouncilSpendOriginMaxAmount: Balance = Balance::MAX; } -type ApproveOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, ->; - impl pallet_treasury::Config for Runtime { type PalletId = TreasuryPalletId; type Currency = Balances; - type ApproveOrigin = ApproveOrigin; - type RejectOrigin = MoreThanHalfCouncil; + type ApproveOrigin = EitherOfDiverse, Treasurer>; + type RejectOrigin = EitherOfDiverse, Treasurer>; type RuntimeEvent = RuntimeEvent; type OnSlash = Treasury; type ProposalBond = ProposalBond; @@ -855,14 +671,7 @@ impl pallet_treasury::Config for Runtime { type SpendFunds = Bounties; type MaxApprovals = MaxApprovals; type WeightInfo = weights::pallet_treasury::WeightInfo; - type SpendOrigin = EitherOf< - frame_system::EnsureRootWithSuccess, - EnsureWithSuccess< - pallet_collective::EnsureProportionAtLeast, - AccountId, - CouncilSpendOriginMaxAmount, - >, - >; + type SpendOrigin = TreasurySpender; } parameter_types! { @@ -1035,9 +844,8 @@ impl claims::Config for Runtime { type RuntimeEvent = RuntimeEvent; type VestingSchedule = Vesting; type Prefix = Prefix; - /// At least 3/4 of the council must agree to a claim move before it can happen. - type MoveClaimOrigin = - pallet_collective::EnsureProportionAtLeast; + /// Only Root can move a claim. + type MoveClaimOrigin = EnsureRoot; type WeightInfo = weights::runtime_common_claims::WeightInfo; } @@ -1182,6 +990,9 @@ impl InstanceFilter for ProxyType { RuntimeCall::Bounties(..) | RuntimeCall::ChildBounties(..) | RuntimeCall::Tips(..) | + RuntimeCall::ConvictionVoting(..) | + RuntimeCall::Referenda(..) | + RuntimeCall::Whitelist(..) | RuntimeCall::Claims(..) | RuntimeCall::Vesting(pallet_vesting::Call::vest{..}) | RuntimeCall::Vesting(pallet_vesting::Call::vest_other{..}) | @@ -1210,7 +1021,10 @@ impl InstanceFilter for ProxyType { RuntimeCall::Treasury(..) | RuntimeCall::Bounties(..) | RuntimeCall::Tips(..) | RuntimeCall::Utility(..) | - RuntimeCall::ChildBounties(..) + RuntimeCall::ChildBounties(..) | + RuntimeCall::ConvictionVoting(..) | + RuntimeCall::Referenda(..) | + RuntimeCall::Whitelist(..) ), ProxyType::Staking => { matches!( @@ -1367,7 +1181,7 @@ impl slots::Config for Runtime { type Registrar = Registrar; type LeasePeriod = LeasePeriod; type LeaseOffset = LeaseOffset; - type ForceOrigin = MoreThanHalfCouncil; + type ForceOrigin = EitherOf, LeaseAdmin>; type WeightInfo = weights::runtime_common_slots::WeightInfo; } @@ -1403,11 +1217,6 @@ parameter_types! { pub const SampleLength: BlockNumber = 2 * MINUTES; } -type AuctionInitiate = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, ->; - impl auctions::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Leaser = Slots; @@ -1415,7 +1224,7 @@ impl auctions::Config for Runtime { type EndingPeriod = EndingPeriod; type SampleLength = SampleLength; type Randomness = pallet_babe::RandomnessFromOneEpochAgo; - type InitiateOrigin = AuctionInitiate; + type InitiateOrigin = AuctionAdmin; type WeightInfo = weights::runtime_common_auctions::WeightInfo; } @@ -1496,7 +1305,7 @@ construct_runtime! { ImOnline: pallet_im_online::{Pallet, Call, Storage, Event, ValidateUnsigned, Config} = 12, AuthorityDiscovery: pallet_authority_discovery::{Pallet, Config} = 13, - // Governance stuff. + // Old governance stuff. Democracy: pallet_democracy::{Pallet, Call, Storage, Config, Event} = 14, Council: pallet_collective::::{Pallet, Call, Storage, Origin, Event, Config} = 15, TechnicalCommittee: pallet_collective::::{Pallet, Call, Storage, Origin, Event, Config} = 16, @@ -1504,6 +1313,11 @@ construct_runtime! { TechnicalMembership: pallet_membership::::{Pallet, Call, Storage, Event, Config} = 18, Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event} = 19, + // OpenGov stuff. + ConvictionVoting: pallet_conviction_voting::{Pallet, Call, Storage, Event} = 20, + Referenda: pallet_referenda::{Pallet, Call, Storage, Event} = 21, + Origins: pallet_custom_origins::{Origin} = 22, + Whitelist: pallet_whitelist::{Pallet, Call, Storage, Event} = 23, // Claims. Usable initially. Claims: claims::{Pallet, Call, Storage, Event, Config, ValidateUnsigned} = 24, @@ -1675,6 +1489,9 @@ mod benches { [pallet_treasury, Treasury] [pallet_utility, Utility] [pallet_vesting, Vesting] + [pallet_conviction_voting, ConvictionVoting] + [pallet_referenda, Referenda] + [pallet_whitelist, Whitelist] // XCM [pallet_xcm, XcmPallet] ); @@ -2177,6 +1994,7 @@ sp_api::impl_runtime_apis! { #[cfg(test)] mod test_fees { use super::*; + use crate::governance::old::*; use frame_support::{dispatch::GetDispatchInfo, weights::WeightToFee as WeightToFeeT}; use keyring::Sr25519Keyring::{Alice, Charlie}; use pallet_transaction_payment::Multiplier; diff --git a/runtime/polkadot/src/weights/mod.rs b/runtime/polkadot/src/weights/mod.rs index cef8d5d00aa0..f14ee2eef6fc 100644 --- a/runtime/polkadot/src/weights/mod.rs +++ b/runtime/polkadot/src/weights/mod.rs @@ -23,6 +23,7 @@ pub mod pallet_bounties; pub mod pallet_child_bounties; pub mod pallet_collective_council; pub mod pallet_collective_technical_committee; +pub mod pallet_conviction_voting; pub mod pallet_democracy; pub mod pallet_election_provider_multi_phase; pub mod pallet_elections_phragmen; @@ -35,6 +36,7 @@ pub mod pallet_multisig; pub mod pallet_nomination_pools; pub mod pallet_preimage; pub mod pallet_proxy; +pub mod pallet_referenda; pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_staking; @@ -43,6 +45,7 @@ pub mod pallet_tips; pub mod pallet_treasury; pub mod pallet_utility; pub mod pallet_vesting; +pub mod pallet_whitelist; pub mod pallet_xcm; pub mod runtime_common_auctions; pub mod runtime_common_claims; diff --git a/runtime/polkadot/src/weights/pallet_conviction_voting.rs b/runtime/polkadot/src/weights/pallet_conviction_voting.rs new file mode 100644 index 000000000000..82f6ea3acb83 --- /dev/null +++ b/runtime/polkadot/src/weights/pallet_conviction_voting.rs @@ -0,0 +1,172 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . +//! Autogenerated weights for `pallet_conviction_voting` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-07, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `cob`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/polkadot +// benchmark +// pallet +// --chain=polkadot-dev +// --steps=2 +// --repeat=1 +// --pallet=pallet_conviction_voting +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --header=./file_header.txt +// --output=./runtime/polkadot/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_conviction_voting`. +pub struct WeightInfo(PhantomData); +impl pallet_conviction_voting::WeightInfo for WeightInfo { + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn vote_new() -> Weight { + // Proof Size summary in bytes: + // Measured: `13612` + // Estimated: `86075` + // Minimum execution time: 174_000_000 picoseconds. + Weight::from_parts(174_000_000, 0) + .saturating_add(Weight::from_parts(0, 86075)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn vote_existing() -> Weight { + // Proof Size summary in bytes: + // Measured: `14364` + // Estimated: `127513` + // Minimum execution time: 240_000_000 picoseconds. + Weight::from_parts(240_000_000, 0) + .saturating_add(Weight::from_parts(0, 127513)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn remove_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `14084` + // Estimated: `118973` + // Minimum execution time: 219_000_000 picoseconds. + Weight::from_parts(219_000_000, 0) + .saturating_add(Weight::from_parts(0, 118973)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:0) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + fn remove_other_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `13139` + // Estimated: `35107` + // Minimum execution time: 109_000_000 picoseconds. + Weight::from_parts(109_000_000, 0) + .saturating_add(Weight::from_parts(0, 35107)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: ConvictionVoting VotingFor (r:2 w:2) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:512 w:512) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 512]`. + fn delegate(_r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `272 + r * (427 ±0)` + // Estimated: `1900250` + // Minimum execution time: 86_000_000 picoseconds. + Weight::from_parts(27_182_000_000, 0) + .saturating_add(Weight::from_parts(0, 1900250)) + .saturating_add(T::DbWeight::get().reads(518)) + .saturating_add(T::DbWeight::get().writes(518)) + } + /// Storage: ConvictionVoting VotingFor (r:2 w:2) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:512 w:512) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 512]`. + fn undelegate(_r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `470 + r * (426 ±0)` + // Estimated: `1891710` + // Minimum execution time: 59_000_000 picoseconds. + Weight::from_parts(27_242_000_000, 0) + .saturating_add(Weight::from_parts(0, 1891710)) + .saturating_add(T::DbWeight::get().reads(516)) + .saturating_add(T::DbWeight::get().writes(516)) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + fn unlock() -> Weight { + // Proof Size summary in bytes: + // Measured: `12385` + // Estimated: `39246` + // Minimum execution time: 121_000_000 picoseconds. + Weight::from_parts(121_000_000, 0) + .saturating_add(Weight::from_parts(0, 39246)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } +} diff --git a/runtime/polkadot/src/weights/pallet_referenda.rs b/runtime/polkadot/src/weights/pallet_referenda.rs new file mode 100644 index 000000000000..5ebe89b6948b --- /dev/null +++ b/runtime/polkadot/src/weights/pallet_referenda.rs @@ -0,0 +1,520 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . +//! Autogenerated weights for `pallet_referenda` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-07, STEPS: `1`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `cob`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/polkadot +// benchmark +// pallet +// --chain=polkadot-dev +// --steps=1 +// --repeat=1 +// --pallet=pallet_referenda +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --header=./file_header.txt +// --output=./runtime/polkadot/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_referenda`. +pub struct WeightInfo(PhantomData); +impl pallet_referenda::WeightInfo for WeightInfo { + /// Storage: Referenda ReferendumCount (r:1 w:1) + /// Proof: Referenda ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:0 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + fn submit() -> Weight { + // Proof Size summary in bytes: + // Measured: `290` + // Estimated: `43917` + // Minimum execution time: 54_000_000 picoseconds. + Weight::from_parts(54_000_000, 0) + .saturating_add(Weight::from_parts(0, 43917)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn place_decision_deposit_preparing() -> Weight { + // Proof Size summary in bytes: + // Measured: `575` + // Estimated: `88267` + // Minimum execution time: 64_000_000 picoseconds. + Weight::from_parts(64_000_000, 0) + .saturating_add(Weight::from_parts(0, 88267)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:0) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + fn place_decision_deposit_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3203` + // Estimated: `13357` + // Minimum execution time: 82_000_000 picoseconds. + Weight::from_parts(82_000_000, 0) + .saturating_add(Weight::from_parts(0, 13357)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:0) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + fn place_decision_deposit_not_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3223` + // Estimated: `13357` + // Minimum execution time: 59_000_000 picoseconds. + Weight::from_parts(59_000_000, 0) + .saturating_add(Weight::from_parts(0, 13357)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:1) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn place_decision_deposit_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `575` + // Estimated: `93247` + // Minimum execution time: 142_000_000 picoseconds. + Weight::from_parts(142_000_000, 0) + .saturating_add(Weight::from_parts(0, 93247)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:1) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + fn place_decision_deposit_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `482` + // Estimated: `9381` + // Minimum execution time: 54_000_000 picoseconds. + Weight::from_parts(54_000_000, 0) + .saturating_add(Weight::from_parts(0, 9381)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + fn refund_decision_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `415` + // Estimated: `4401` + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(35_000_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + fn refund_submission_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `405` + // Estimated: `4401` + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn cancel() -> Weight { + // Proof Size summary in bytes: + // Measured: `451` + // Estimated: `88267` + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(52_000_000, 0) + .saturating_add(Weight::from_parts(0, 88267)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: Referenda MetadataOf (r:1 w:0) + /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + fn kill() -> Weight { + // Proof Size summary in bytes: + // Measured: `756` + // Estimated: `91784` + // Minimum execution time: 141_000_000 picoseconds. + Weight::from_parts(141_000_000, 0) + .saturating_add(Weight::from_parts(0, 91784)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda TrackQueue (r:1 w:0) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:1) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + fn one_fewer_deciding_queue_empty() -> Weight { + // Proof Size summary in bytes: + // Measured: `174` + // Estimated: `8956` + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) + .saturating_add(Weight::from_parts(0, 8956)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn one_fewer_deciding_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `3972` + // Estimated: `95245` + // Minimum execution time: 139_000_000 picoseconds. + Weight::from_parts(139_000_000, 0) + .saturating_add(Weight::from_parts(0, 95245)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn one_fewer_deciding_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `3972` + // Estimated: `95245` + // Minimum execution time: 153_000_000 picoseconds. + Weight::from_parts(153_000_000, 0) + .saturating_add(Weight::from_parts(0, 95245)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:0) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_requeued_insertion() -> Weight { + // Proof Size summary in bytes: + // Measured: `3990` + // Estimated: `52306` + // Minimum execution time: 82_000_000 picoseconds. + Weight::from_parts(82_000_000, 0) + .saturating_add(Weight::from_parts(0, 52306)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:0) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_requeued_slide() -> Weight { + // Proof Size summary in bytes: + // Measured: `3990` + // Estimated: `52306` + // Minimum execution time: 76_000_000 picoseconds. + Weight::from_parts(76_000_000, 0) + .saturating_add(Weight::from_parts(0, 52306)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:0) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:0) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3964` + // Estimated: `55785` + // Minimum execution time: 108_000_000 picoseconds. + Weight::from_parts(108_000_000, 0) + .saturating_add(Weight::from_parts(0, 55785)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:0) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:0) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_not_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3984` + // Estimated: `55785` + // Minimum execution time: 85_000_000 picoseconds. + Weight::from_parts(85_000_000, 0) + .saturating_add(Weight::from_parts(0, 55785)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_no_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `403` + // Estimated: `46829` + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(37_000_000, 0) + .saturating_add(Weight::from_parts(0, 46829)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_preparing() -> Weight { + // Proof Size summary in bytes: + // Measured: `451` + // Estimated: `46829` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) + .saturating_add(Weight::from_parts(0, 46829)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + fn nudge_referendum_timed_out() -> Weight { + // Proof Size summary in bytes: + // Measured: `310` + // Estimated: `4401` + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:1) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_begin_deciding_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `451` + // Estimated: `51809` + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(46_000_000, 0) + .saturating_add(Weight::from_parts(0, 51809)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:1) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_begin_deciding_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `451` + // Estimated: `51809` + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(49_000_000, 0) + .saturating_add(Weight::from_parts(0, 51809)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_begin_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `504` + // Estimated: `48330` + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(39_000_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_end_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `487` + // Estimated: `48330` + // Minimum execution time: 41_000_000 picoseconds. + Weight::from_parts(41_000_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_continue_not_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `504` + // Estimated: `48330` + // Minimum execution time: 34_000_000 picoseconds. + Weight::from_parts(34_000_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_continue_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `508` + // Estimated: `48330` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(32_000_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: Scheduler Lookup (r:1 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + fn nudge_referendum_approved() -> Weight { + // Proof Size summary in bytes: + // Measured: `508` + // Estimated: `93281` + // Minimum execution time: 73_000_000 picoseconds. + Weight::from_parts(73_000_000, 0) + .saturating_add(Weight::from_parts(0, 93281)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_rejected() -> Weight { + // Proof Size summary in bytes: + // Measured: `504` + // Estimated: `48330` + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(40_000_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:0) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:0) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Referenda MetadataOf (r:0 w:1) + /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + fn set_some_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `454` + // Estimated: `7957` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) + .saturating_add(Weight::from_parts(0, 7957)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:0) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda MetadataOf (r:1 w:1) + /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + fn clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `387` + // Estimated: `7918` + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) + .saturating_add(Weight::from_parts(0, 7918)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/polkadot/src/weights/pallet_whitelist.rs b/runtime/polkadot/src/weights/pallet_whitelist.rs new file mode 100644 index 000000000000..552d0df1890b --- /dev/null +++ b/runtime/polkadot/src/weights/pallet_whitelist.rs @@ -0,0 +1,108 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . +//! Autogenerated weights for `pallet_whitelist` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-07, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `cob`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/polkadot +// benchmark +// pallet +// --chain=polkadot-dev +// --steps=2 +// --repeat=1 +// --pallet=pallet_whitelist +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --header=./file_header.txt +// --output=./runtime/polkadot/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_whitelist`. +pub struct WeightInfo(PhantomData); +impl pallet_whitelist::WeightInfo for WeightInfo { + /// Storage: Whitelist WhitelistedCall (r:1 w:1) + /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + fn whitelist_call() -> Weight { + // Proof Size summary in bytes: + // Measured: `118` + // Estimated: `7061` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) + .saturating_add(Weight::from_parts(0, 7061)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Whitelist WhitelistedCall (r:1 w:1) + /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + fn remove_whitelisted_call() -> Weight { + // Proof Size summary in bytes: + // Measured: `247` + // Estimated: `7061` + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(24_000_000, 0) + .saturating_add(Weight::from_parts(0, 7061)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Whitelist WhitelistedCall (r:1 w:1) + /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Preimage PreimageFor (r:1 w:1) + /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 4194294]`. + fn dispatch_whitelisted_call(_n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `311 + n * (1 ±0)` + // Estimated: `4205175` + // Minimum execution time: 43_000_000 picoseconds. + Weight::from_parts(4_138_000_000, 0) + .saturating_add(Weight::from_parts(0, 4205175)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Whitelist WhitelistedCall (r:1 w:1) + /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10000]`. + fn dispatch_whitelisted_call_with_preimage(_n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `247` + // Estimated: `7061` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(45_000_000, 0) + .saturating_add(Weight::from_parts(0, 7061)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} diff --git a/runtime/polkadot/src/xcm_config.rs b/runtime/polkadot/src/xcm_config.rs index 4f817093703a..d853b27132c7 100644 --- a/runtime/polkadot/src/xcm_config.rs +++ b/runtime/polkadot/src/xcm_config.rs @@ -17,23 +17,27 @@ //! XCM configuration for Polkadot. use super::{ - parachains_origin, AccountId, AllPalletsWithSystem, Balances, CouncilCollective, ParaId, - Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, WeightToFee, XcmPallet, + parachains_origin, AccountId, AllPalletsWithSystem, Balances, CouncilCollective, + FellowshipAdmin, ParaId, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, StakingAdmin, + WeightToFee, XcmPallet, }; use frame_support::{ match_types, parameter_types, traits::{Contains, Everything, Nothing}, weights::Weight, }; +use pallet_xcm::XcmPassthrough; +use polkadot_runtime_constants::{system_parachain::*, xcm::body::FELLOWSHIP_ADMIN_INDEX}; use runtime_common::{paras_registrar, xcm_sender, ToAuthor}; use sp_core::ConstU32; use xcm::latest::prelude::*; use xcm_builder::{ - AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, BackingToPlurality, ChildParachainAsNative, - ChildParachainConvertsVia, CurrencyAdapter as XcmCurrencyAdapter, FixedWeightBounds, - IsConcrete, MintLocation, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WithComputedOrigin, + AccountId32Aliases, AllowExplicitUnpaidExecutionFrom, AllowKnownQueryResponses, + AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, BackingToPlurality, + ChildParachainAsNative, ChildParachainConvertsVia, CurrencyAdapter as XcmCurrencyAdapter, + FixedWeightBounds, IsConcrete, MintLocation, OriginToPluralityVoice, SignedAccountId32AsNative, + SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, + WithComputedOrigin, }; use xcm_executor::traits::WithOriginFilter; @@ -91,6 +95,8 @@ type LocalOriginConverter = ( // If the origin kind is `Native` and the XCM origin is the `AccountId32` location, then it can // be expressed using the `Signed` origin variant. SignedAccountId32AsNative, + // Xcm origins can be represented natively under the Xcm pallet's Xcm origin. + XcmPassthrough, ); parameter_types! { @@ -110,8 +116,9 @@ pub type XcmRouter = ( parameter_types! { pub const Dot: MultiAssetFilter = Wild(AllOf { fun: WildFungible, id: Concrete(TokenLocation::get()) }); - pub const DotForStatemint: (MultiAssetFilter, MultiLocation) = (Dot::get(), Parachain(1000).into_location()); - pub const DotForCollectives: (MultiAssetFilter, MultiLocation) = (Dot::get(), Parachain(1001).into_location()); + pub const DotForStatemint: (MultiAssetFilter, MultiLocation) = (Dot::get(), Parachain(STATEMINT_ID).into_location()); + pub const CollectivesLocation: MultiLocation = Parachain(COLLECTIVES_ID).into_location(); + pub const DotForCollectives: (MultiAssetFilter, MultiLocation) = (Dot::get(), CollectivesLocation::get()); pub const MaxAssetsIntoHolding: u32 = 64; } @@ -123,6 +130,10 @@ match_types! { pub type OnlyParachains: impl Contains = { MultiLocation { parents: 0, interior: X1(Parachain(_)) } }; + pub type CollectivesOrFellows: impl Contains = { + MultiLocation { parents: 0, interior: X1(Parachain(COLLECTIVES_ID)) } | + MultiLocation { parents: 0, interior: X2(Parachain(COLLECTIVES_ID), Plurality { id: BodyId::Technical, .. }) } + }; } /// The barriers one of which must be passed for an XCM message to be executed. @@ -137,6 +148,8 @@ pub type Barrier = ( AllowTopLevelPaidExecutionFrom, // Subscriptions for version tracking are OK. AllowSubscriptionsFrom, + // Collectives and Fellows plurality get free execution. + AllowExplicitUnpaidExecutionFrom, ), UniversalLocation, ConstU32<8>, @@ -300,7 +313,8 @@ impl Contains for SafeCallFilter { ) | RuntimeCall::XcmPallet(pallet_xcm::Call::limited_reserve_transfer_assets { .. - }) => true, + }) | + RuntimeCall::Whitelist(pallet_whitelist::Call::whitelist_call { .. }) => true, _ => false, } } @@ -339,6 +353,10 @@ impl xcm_executor::Config for XcmConfig { parameter_types! { pub const CouncilBodyId: BodyId = BodyId::Executive; + // StakingAdmin pluralistic body. + pub const StakingAdminBodyId: BodyId = BodyId::Defense; + // FellowshipAdmin pluralistic body. + pub const FellowshipAdminBodyId: BodyId = BodyId::Index(FELLOWSHIP_ADMIN_INDEX); } #[cfg(feature = "runtime-benchmarks")] @@ -356,17 +374,35 @@ pub type CouncilToPlurality = BackingToPlurality< /// Type to convert an `Origin` type value into a `MultiLocation` value which represents an interior location /// of this chain. pub type LocalOriginToLocation = ( - // We allow an origin from the Collective pallet to be used in XCM as a corresponding Plurality of the - // `Unit` body. CouncilToPlurality, // And a usual Signed origin to be used in XCM as a corresponding AccountId32 SignedToAccountId32, ); +/// Type to convert the `StakingAdmin` origin to a Plurality `MultiLocation` value. +pub type StakingAdminToPlurality = + OriginToPluralityVoice; + +/// Type to convert the FellowshipAdmin origin to a Plurality `MultiLocation` value. +pub type FellowshipAdminToPlurality = + OriginToPluralityVoice; + +/// Type to convert a pallet `Origin` type value into a `MultiLocation` value which represents an interior location +/// of this chain for a destination chain. +pub type LocalPalletOriginToLocation = ( + // We allow an origin from the Collective pallet to be used in XCM as a corresponding Plurality of the + // `Unit` body. + CouncilToPlurality, + // StakingAdmin origin to be used in XCM as a corresponding Plurality `MultiLocation` value. + StakingAdminToPlurality, + // FellowshipAdmin origin to be used in XCM as a corresponding Plurality `MultiLocation` value. + FellowshipAdminToPlurality, +); + impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - // Only allow the council to send messages. - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + // We only allow the root, the council, the fellowship admin and the staking admin to send messages. + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmRouter = XcmRouter; // Anyone can execute XCM messages locally... type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; From 2a831be11aea5fe083d89fe6a37e10350da2065a Mon Sep 17 00:00:00 2001 From: ordian Date: Tue, 21 Mar 2023 15:10:21 +0100 Subject: [PATCH 18/18] kusama: enable dispute slashes (#5974) * disputes: runtime part of slashing * disputes: reward winners * disputes/slashing: validate_unsigned impl * fmt * disputes/slashing: report_dispute_lost_unsigned * disputes/slashing: separate winners from losers and report winners * disputes/slashing: refactoring * impl HandleReports * enable on Wenstend * fmt * add slashing pallet to the mock and test runtimes * fix a bug in report_dispute_lost_unsigned * fmt * disputes: remove new_participants from summary * disputes: remove punish_inconclusive * impl SlashingHandler for Pallet for type-safety * do not impl slashing::Config on mainnets yet * teach spellcheck deduplication * simplify interfaces and resolve some TODOs * resolve some more TODOs * minor typos * move slashing into a folder * remove unnecessary clone * fix validator_set_count calculation * introduce ValidatorSetCount * store ValidatorSetCount * fmt * add the benchmark * fmt * unflatten slashing * post-rebase fixes * remove winners eagerly * use real slashing weights for westend * remove bench test suite * zombinet: modify disputes test to check for an offence report * zombinet: add a timeout * add slashing pallet to Rococo * zombienet: revert back to rococo-local * fmt * remove TODOs * revert some accidental changes * slashing is submodule of disputes * Change the log target Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * wrap comments with rustfmt, more docs, constants * use Defensive trait * cargo update -p sp-io * merge offence types, remove rewards for now * cargo update -p sp-io * benchmark fixes * fmt * unused var * fix block_author impl * ressurect RewardValidators trait * remove outdated comment * more module docs * introduce BenchmarkingConfig * typo fix * teach spellcheck unapplied * use Weight::new() * fix mocking rewards * use RefTimeWeight * ".git/.scripts/bench-bot.sh" runtime westend-dev runtime_parachains::disputes::slashing * refactor maybe_identify_validators * no more ticket in disguise * remove outdated comments * lower against valid to 0.1% * bump zombienet version for debug * use from_perthousand * post-merge fixes * another day, another Weight changes * Revert "bump zombienet version for debug" This reverts commit 0d9978711f8ec9a746a5e1c45e8ffbe7c75e7b5c. * do not reward block authors * fix outdated comment * use Pays from frame_support::dispatch::Pays * kusama: enable dispute slashing * ".git/.scripts/bench-bot.sh" runtime kusama-dev runtime_parachains::disputes::slashing * post merge fixes * ".git/.scripts/commands/bench/bench.sh" runtime kusama-dev runtime_parachains::disputes::slashing * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::disputes::slashing --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: command-bot <> Co-authored-by: Javier Viola Co-authored-by: Javier Viola --- runtime/kusama/src/lib.rs | 31 +++++- runtime/kusama/src/weights/mod.rs | 1 + .../runtime_parachains_disputes_slashing.rs | 102 ++++++++++++++++++ 3 files changed, 129 insertions(+), 5 deletions(-) create mode 100644 runtime/kusama/src/weights/runtime_parachains_disputes_slashing.rs diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 57ab3ea654ca..3101feb24483 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -39,8 +39,9 @@ use sp_std::{cmp::Ordering, collections::btree_map::BTreeMap, prelude::*}; use runtime_parachains::{ configuration as parachains_configuration, disputes as parachains_disputes, - dmp as parachains_dmp, hrmp as parachains_hrmp, inclusion as parachains_inclusion, - initializer as parachains_initializer, origin as parachains_origin, paras as parachains_paras, + disputes::slashing as parachains_slashing, dmp as parachains_dmp, hrmp as parachains_hrmp, + inclusion as parachains_inclusion, initializer as parachains_initializer, + origin as parachains_origin, paras as parachains_paras, paras_inherent as parachains_paras_inherent, reward_points as parachains_reward_points, runtime_api_impl::v4 as parachains_runtime_api_impl, scheduler as parachains_scheduler, session_info as parachains_session_info, shared as parachains_shared, ump as parachains_ump, @@ -469,9 +470,9 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type OffchainRepeat = OffchainRepeat; type MinerTxPriority = NposSolutionPriority; type DataProvider = Staking; - #[cfg(feature = "fast-runtime")] + #[cfg(any(feature = "fast-runtime", feature = "runtime-benchmarks"))] type Fallback = onchain::OnChainExecution; - #[cfg(not(feature = "fast-runtime"))] + #[cfg(not(any(feature = "fast-runtime", feature = "runtime-benchmarks")))] type Fallback = frame_election_provider_support::NoElection<( AccountId, BlockNumber, @@ -1133,10 +1134,27 @@ impl parachains_initializer::Config for Runtime { impl parachains_disputes::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RewardValidators = parachains_reward_points::RewardValidatorsWithEraPoints; - type SlashingHandler = (); + type SlashingHandler = parachains_slashing::SlashValidatorsForDisputes; type WeightInfo = weights::runtime_parachains_disputes::WeightInfo; } +impl parachains_slashing::Config for Runtime { + type KeyOwnerProofSystem = Historical; + type KeyOwnerProof = + >::Proof; + type KeyOwnerIdentification = >::IdentificationTuple; + type HandleReports = parachains_slashing::SlashingReportHandler< + Self::KeyOwnerIdentification, + Offences, + ReportLongevity, + >; + type WeightInfo = weights::runtime_parachains_disputes_slashing::WeightInfo; + type BenchmarkingConfig = parachains_slashing::BenchConfig<1000>; +} + parameter_types! { pub const ParaDeposit: Balance = 40 * UNITS; } @@ -1413,6 +1431,7 @@ construct_runtime! { Hrmp: parachains_hrmp::{Pallet, Call, Storage, Event, Config} = 60, ParaSessionInfo: parachains_session_info::{Pallet, Storage} = 61, ParasDisputes: parachains_disputes::{Pallet, Call, Storage, Event} = 62, + ParasSlashing: parachains_slashing::{Pallet, Call, Storage, ValidateUnsigned} = 63, // Parachain Onboarding Pallets. Start indices at 70 to leave room. Registrar: paras_registrar::{Pallet, Call, Storage, Event} = 70, @@ -1497,6 +1516,7 @@ mod benches { [runtime_parachains::configuration, Configuration] [runtime_parachains::hrmp, Hrmp] [runtime_parachains::disputes, ParasDisputes] + [runtime_parachains::disputes::slashing, ParasSlashing] [runtime_parachains::initializer, Initializer] [runtime_parachains::paras_inherent, ParaInherent] [runtime_parachains::paras, Paras] @@ -2013,6 +2033,7 @@ sp_api::impl_runtime_apis! { impl frame_system_benchmarking::Config for Runtime {} impl frame_benchmarking::baseline::Config for Runtime {} impl pallet_nomination_pools_benchmarking::Config for Runtime {} + impl runtime_parachains::disputes::slashing::benchmarking::Config for Runtime {} impl pallet_xcm_benchmarks::Config for Runtime { type XcmConfig = XcmConfig; diff --git a/runtime/kusama/src/weights/mod.rs b/runtime/kusama/src/weights/mod.rs index 014204074484..ecc4e9822a6d 100644 --- a/runtime/kusama/src/weights/mod.rs +++ b/runtime/kusama/src/weights/mod.rs @@ -58,6 +58,7 @@ pub mod runtime_common_paras_registrar; pub mod runtime_common_slots; pub mod runtime_parachains_configuration; pub mod runtime_parachains_disputes; +pub mod runtime_parachains_disputes_slashing; pub mod runtime_parachains_hrmp; pub mod runtime_parachains_initializer; pub mod runtime_parachains_paras; diff --git a/runtime/kusama/src/weights/runtime_parachains_disputes_slashing.rs b/runtime/kusama/src/weights/runtime_parachains_disputes_slashing.rs new file mode 100644 index 000000000000..269e53034e9f --- /dev/null +++ b/runtime/kusama/src/weights/runtime_parachains_disputes_slashing.rs @@ -0,0 +1,102 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . +//! Autogenerated weights for `runtime_parachains::disputes::slashing` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 + +// Executed Command: +// target/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json +// --pallet=runtime_parachains::disputes::slashing +// --chain=kusama-dev +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `runtime_parachains::disputes::slashing`. +pub struct WeightInfo(PhantomData); +impl runtime_parachains::disputes::slashing::WeightInfo for WeightInfo { + /// Storage: Session CurrentIndex (r:1 w:0) + /// Proof Skipped: Session CurrentIndex (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Historical HistoricalSessions (r:1 w:0) + /// Proof: Historical HistoricalSessions (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: ParaSessionInfo Sessions (r:1 w:0) + /// Proof Skipped: ParaSessionInfo Sessions (max_values: None, max_size: None, mode: Measured) + /// Storage: ParasSlashing UnappliedSlashes (r:1 w:1) + /// Proof Skipped: ParasSlashing UnappliedSlashes (max_values: None, max_size: None, mode: Measured) + /// Storage: Offences ReportsByKindIndex (r:1 w:1) + /// Proof Skipped: Offences ReportsByKindIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Offences ConcurrentReportsIndex (r:1 w:1) + /// Proof Skipped: Offences ConcurrentReportsIndex (max_values: None, max_size: None, mode: Measured) + /// Storage: Offences Reports (r:1 w:1) + /// Proof Skipped: Offences Reports (max_values: None, max_size: None, mode: Measured) + /// Storage: Staking SlashRewardFraction (r:1 w:0) + /// Proof: Staking SlashRewardFraction (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Staking ActiveEra (r:1 w:0) + /// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen) + /// Storage: Staking ErasStartSessionIndex (r:1 w:0) + /// Proof: Staking ErasStartSessionIndex (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen) + /// Storage: Staking Invulnerables (r:1 w:0) + /// Proof Skipped: Staking Invulnerables (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Staking ValidatorSlashInEra (r:1 w:1) + /// Proof: Staking ValidatorSlashInEra (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) + /// Storage: Staking SlashingSpans (r:1 w:1) + /// Proof Skipped: Staking SlashingSpans (max_values: None, max_size: None, mode: Measured) + /// Storage: Staking SpanSlash (r:1 w:1) + /// Proof: Staking SpanSlash (max_values: None, max_size: Some(76), added: 2551, mode: MaxEncodedLen) + /// Storage: Staking OffendingValidators (r:1 w:1) + /// Proof Skipped: Staking OffendingValidators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Session Validators (r:1 w:0) + /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Session DisabledValidators (r:1 w:1) + /// Proof Skipped: Session DisabledValidators (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: Staking UnappliedSlashes (r:1 w:1) + /// Proof Skipped: Staking UnappliedSlashes (max_values: None, max_size: None, mode: Measured) + /// The range of component `n` is `[4, 1000]`. + fn report_dispute_lost(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `5724 + n * (284 ±0)` + // Estimated: `106621 + n * (3726 ±0)` + // Minimum execution time: 117_366_000 picoseconds. + Weight::from_parts(141_256_413, 0) + .saturating_add(Weight::from_parts(0, 106621)) + // Standard Error: 2_293 + .saturating_add(Weight::from_parts(290_124, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(19)) + .saturating_add(T::DbWeight::get().writes(11)) + .saturating_add(Weight::from_parts(0, 3726).saturating_mul(n.into())) + } +}