From 71669e75627deb93b8d5e0974538292d50e4d579 Mon Sep 17 00:00:00 2001 From: thiolliere Date: Thu, 22 Jul 2021 14:13:48 +0200 Subject: [PATCH 01/17] collectives have different weight --- runtime/kusama/src/lib.rs | 5 +- ...ective.rs => pallet_collective_council.rs} | 0 .../pallet_collective_technical_committee.rs | 140 ++++++++++++++++++ runtime/polkadot/src/lib.rs | 5 +- ...ective.rs => pallet_collective_council.rs} | 0 .../pallet_collective_technical_committee.rs | 140 ++++++++++++++++++ 6 files changed, 286 insertions(+), 4 deletions(-) rename runtime/kusama/src/weights/{pallet_collective.rs => pallet_collective_council.rs} (100%) create mode 100644 runtime/kusama/src/weights/pallet_collective_technical_committee.rs rename runtime/polkadot/src/weights/{pallet_collective.rs => pallet_collective_council.rs} (100%) create mode 100644 runtime/polkadot/src/weights/pallet_collective_technical_committee.rs diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 324c8b951749..97ddc4a5bcf6 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -602,7 +602,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = CouncilMaxProposals; type MaxMembers = CouncilMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::pallet_collective::WeightInfo; + type WeightInfo = weights::pallet_collective_council::WeightInfo; } parameter_types! { @@ -654,7 +654,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = TechnicalMaxProposals; type MaxMembers = TechnicalMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::pallet_collective::WeightInfo; + type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; } impl pallet_membership::Config for Runtime { @@ -1886,6 +1886,7 @@ sp_api::impl_runtime_apis! { add_benchmark!(params, batches, pallet_balances, Balances); add_benchmark!(params, batches, pallet_bounties, Bounties); add_benchmark!(params, batches, pallet_collective, Council); + add_benchmark!(params, batches, pallet_collective, TechnicalCommittee); add_benchmark!(params, batches, pallet_democracy, Democracy); add_benchmark!(params, batches, pallet_elections_phragmen, PhragmenElection); add_benchmark!(params, batches, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); diff --git a/runtime/kusama/src/weights/pallet_collective.rs b/runtime/kusama/src/weights/pallet_collective_council.rs similarity index 100% rename from runtime/kusama/src/weights/pallet_collective.rs rename to runtime/kusama/src/weights/pallet_collective_council.rs diff --git a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs new file mode 100644 index 000000000000..9a59fb34bb01 --- /dev/null +++ b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs @@ -0,0 +1,140 @@ +// Copyright 2017-2020 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_collective` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 +//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 + +// Executed Command: +// target/release/polkadot +// benchmark +// --chain=kusama-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_collective +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + + +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_collective`. +pub struct WeightInfo(PhantomData); +impl pallet_collective::WeightInfo for WeightInfo { + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 4_000 + .saturating_add((14_115_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 4_000 + .saturating_add((60_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 4_000 + .saturating_add((19_459_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) + } + fn execute(b: u32, m: u32, ) -> Weight { + (23_670_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + } + fn propose_execute(b: u32, m: u32, ) -> Weight { + (28_523_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((163_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + } + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + (44_252_000 as Weight) + // Standard Error: 0 + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((91_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((399_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn vote(m: u32, ) -> Weight { + (32_883_000 as Weight) + // Standard Error: 0 + .saturating_add((214_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + (42_090_000 as Weight) + // Standard Error: 0 + .saturating_add((166_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((374_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + (62_491_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((380_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_disapproved(m: u32, p: u32, ) -> Weight { + (46_976_000 as Weight) + // Standard Error: 0 + .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((374_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + (66_976_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((378_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn disapprove_proposal(p: u32, ) -> Weight { + (26_129_000 as Weight) + // Standard Error: 0 + .saturating_add((379_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } +} diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 96c11958f5e1..04830d7f61bf 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -574,7 +574,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = CouncilMaxProposals; type MaxMembers = CouncilMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::pallet_collective::WeightInfo; + type WeightInfo = weights::pallet_collective_council::WeightInfo; } parameter_types! { @@ -626,7 +626,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = TechnicalMaxProposals; type MaxMembers = TechnicalMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::pallet_collective::WeightInfo; + type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; } impl pallet_membership::Config for Runtime { @@ -1437,6 +1437,7 @@ sp_api::impl_runtime_apis! { add_benchmark!(params, batches, pallet_balances, Balances); add_benchmark!(params, batches, pallet_bounties, Bounties); add_benchmark!(params, batches, pallet_collective, Council); + add_benchmark!(params, batches, pallet_collective, TechnicalCommitee); add_benchmark!(params, batches, pallet_democracy, Democracy); add_benchmark!(params, batches, pallet_elections_phragmen, PhragmenElection); add_benchmark!(params, batches, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); diff --git a/runtime/polkadot/src/weights/pallet_collective.rs b/runtime/polkadot/src/weights/pallet_collective_council.rs similarity index 100% rename from runtime/polkadot/src/weights/pallet_collective.rs rename to runtime/polkadot/src/weights/pallet_collective_council.rs diff --git a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs new file mode 100644 index 000000000000..ec3c568d25e9 --- /dev/null +++ b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs @@ -0,0 +1,140 @@ +// Copyright 2017-2020 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_collective` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 +//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 + +// Executed Command: +// target/release/polkadot +// benchmark +// --chain=polkadot-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_collective +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --header=./file_header.txt +// --output=./runtime/polkadot/src/weights/ + + +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_collective`. +pub struct WeightInfo(PhantomData); +impl pallet_collective::WeightInfo for WeightInfo { + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 4_000 + .saturating_add((14_051_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 4_000 + .saturating_add((57_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 4_000 + .saturating_add((19_434_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) + } + fn execute(b: u32, m: u32, ) -> Weight { + (20_424_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + } + fn propose_execute(b: u32, m: u32, ) -> Weight { + (24_961_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((160_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + } + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + (41_826_000 as Weight) + // Standard Error: 0 + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((90_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((405_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn vote(m: u32, ) -> Weight { + (31_640_000 as Weight) + // Standard Error: 0 + .saturating_add((216_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + (40_355_000 as Weight) + // Standard Error: 0 + .saturating_add((165_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((376_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + (55_837_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((382_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_disapproved(m: u32, p: u32, ) -> Weight { + (44_700_000 as Weight) + // Standard Error: 0 + .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((380_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + (60_051_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((385_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn disapprove_proposal(p: u32, ) -> Weight { + (24_750_000 as Weight) + // Standard Error: 0 + .saturating_add((380_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } +} From 4a4988faaa170ff60ff22681e36c8c109c9c602a Mon Sep 17 00:00:00 2001 From: thiolliere Date: Thu, 22 Jul 2021 14:39:22 +0200 Subject: [PATCH 02/17] fix path --- runtime/kusama/src/weights/mod.rs | 3 ++- runtime/polkadot/src/weights/mod.rs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/kusama/src/weights/mod.rs b/runtime/kusama/src/weights/mod.rs index a83b57bfcdf8..6742d20ee323 100644 --- a/runtime/kusama/src/weights/mod.rs +++ b/runtime/kusama/src/weights/mod.rs @@ -18,7 +18,8 @@ pub mod frame_system; pub mod pallet_balances; pub mod pallet_bounties; -pub mod pallet_collective; +pub mod pallet_collective_council; +pub mod pallet_collective_technical_committee; pub mod pallet_democracy; pub mod pallet_elections_phragmen; pub mod pallet_election_provider_multi_phase; diff --git a/runtime/polkadot/src/weights/mod.rs b/runtime/polkadot/src/weights/mod.rs index 6f72ddc2d70e..f71c03ccd88a 100644 --- a/runtime/polkadot/src/weights/mod.rs +++ b/runtime/polkadot/src/weights/mod.rs @@ -17,7 +17,8 @@ pub mod frame_system; pub mod pallet_balances; -pub mod pallet_collective; +pub mod pallet_collective_council; +pub mod pallet_collective_technical_committee; pub mod pallet_democracy; pub mod pallet_elections_phragmen; pub mod pallet_election_provider_multi_phase; From 2d89b8a15844caf1387dc154b165c837980e8fa6 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Thu, 22 Jul 2021 09:56:05 -0400 Subject: [PATCH 03/17] fix typo --- runtime/polkadot/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 04830d7f61bf..c0ed19892dc9 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1437,7 +1437,7 @@ sp_api::impl_runtime_apis! { add_benchmark!(params, batches, pallet_balances, Balances); add_benchmark!(params, batches, pallet_bounties, Bounties); add_benchmark!(params, batches, pallet_collective, Council); - add_benchmark!(params, batches, pallet_collective, TechnicalCommitee); + add_benchmark!(params, batches, pallet_collective, TechnicalCommittee); add_benchmark!(params, batches, pallet_democracy, Democracy); add_benchmark!(params, batches, pallet_elections_phragmen, PhragmenElection); add_benchmark!(params, batches, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); From fbca3618612fa5f61c9f36cc614ff18de24a1fd3 Mon Sep 17 00:00:00 2001 From: Parity Benchmarking Bot Date: Thu, 22 Jul 2021 16:01:03 +0000 Subject: [PATCH 04/17] cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_collective --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ --- .../src/weights/pallet_collective_council.rs | 70 +++++++++---------- .../pallet_collective_technical_committee.rs | 70 +++++++++---------- 2 files changed, 70 insertions(+), 70 deletions(-) diff --git a/runtime/polkadot/src/weights/pallet_collective_council.rs b/runtime/polkadot/src/weights/pallet_collective_council.rs index ec3c568d25e9..82d368ee148c 100644 --- a/runtime/polkadot/src/weights/pallet_collective_council.rs +++ b/runtime/polkadot/src/weights/pallet_collective_council.rs @@ -1,4 +1,4 @@ -// Copyright 2017-2020 Parity Technologies (UK) Ltd. +// Copyright 2017-2021 Parity Technologies (UK) Ltd. // This file is part of Polkadot. // Polkadot is free software: you can redistribute it and/or modify @@ -13,10 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for `pallet_collective` +//! Autogenerated weights for pallet_collective //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: @@ -40,100 +40,100 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for `pallet_collective`. +/// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 4_000 - .saturating_add((14_051_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 4_000 - .saturating_add((57_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 4_000 - .saturating_add((19_434_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 8_000 + .saturating_add((13_547_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 8_000 + .saturating_add((55_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 8_000 + .saturating_add((18_718_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn execute(b: u32, m: u32, ) -> Weight { - (20_424_000 as Weight) + (20_740_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } fn propose_execute(b: u32, m: u32, ) -> Weight { - (24_961_000 as Weight) + (25_029_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((160_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((161_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (41_826_000 as Weight) + (40_967_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((90_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((88_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((405_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((360_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn vote(m: u32, ) -> Weight { - (31_640_000 as Weight) + (31_482_000 as Weight) // Standard Error: 0 - .saturating_add((216_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((196_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (40_355_000 as Weight) + (39_539_000 as Weight) // Standard Error: 0 - .saturating_add((165_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((376_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (55_837_000 as Weight) + (55_157_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((382_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_disapproved(m: u32, p: u32, ) -> Weight { - (44_700_000 as Weight) + (44_796_000 as Weight) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((380_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((332_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (60_051_000 as Weight) + (60_358_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((385_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn disapprove_proposal(p: u32, ) -> Weight { - (24_750_000 as Weight) + (24_861_000 as Weight) // Standard Error: 0 - .saturating_add((380_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs index ec3c568d25e9..f77373349b04 100644 --- a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs @@ -1,4 +1,4 @@ -// Copyright 2017-2020 Parity Technologies (UK) Ltd. +// Copyright 2017-2021 Parity Technologies (UK) Ltd. // This file is part of Polkadot. // Polkadot is free software: you can redistribute it and/or modify @@ -13,10 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for `pallet_collective` +//! Autogenerated weights for pallet_collective //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: @@ -40,100 +40,100 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for `pallet_collective`. +/// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 4_000 - .saturating_add((14_051_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 4_000 - .saturating_add((57_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 4_000 - .saturating_add((19_434_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 8_000 + .saturating_add((13_570_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 8_000 + .saturating_add((67_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 8_000 + .saturating_add((18_712_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn execute(b: u32, m: u32, ) -> Weight { - (20_424_000 as Weight) + (20_740_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } fn propose_execute(b: u32, m: u32, ) -> Weight { - (24_961_000 as Weight) + (25_270_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 .saturating_add((160_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (41_826_000 as Weight) + (40_236_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 .saturating_add((90_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((405_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((359_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn vote(m: u32, ) -> Weight { - (31_640_000 as Weight) + (31_191_000 as Weight) // Standard Error: 0 - .saturating_add((216_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((197_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (40_355_000 as Weight) + (39_705_000 as Weight) // Standard Error: 0 - .saturating_add((165_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((376_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((328_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (55_837_000 as Weight) + (54_531_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((172_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((382_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((339_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_disapproved(m: u32, p: u32, ) -> Weight { - (44_700_000 as Weight) + (44_028_000 as Weight) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((171_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((380_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (60_051_000 as Weight) + (59_888_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((385_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((338_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn disapprove_proposal(p: u32, ) -> Weight { - (24_750_000 as Weight) + (24_559_000 as Weight) // Standard Error: 0 - .saturating_add((380_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((335_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } From 04bf2a1340db32c99fe7088907c56a91694fcfea Mon Sep 17 00:00:00 2001 From: Parity Benchmarking Bot Date: Thu, 22 Jul 2021 17:45:55 +0000 Subject: [PATCH 05/17] cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_collective --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ --- .../src/weights/pallet_collective_council.rs | 70 +++++++++---------- .../pallet_collective_technical_committee.rs | 68 +++++++++--------- 2 files changed, 69 insertions(+), 69 deletions(-) diff --git a/runtime/kusama/src/weights/pallet_collective_council.rs b/runtime/kusama/src/weights/pallet_collective_council.rs index 9a59fb34bb01..94269e36583d 100644 --- a/runtime/kusama/src/weights/pallet_collective_council.rs +++ b/runtime/kusama/src/weights/pallet_collective_council.rs @@ -1,4 +1,4 @@ -// Copyright 2017-2020 Parity Technologies (UK) Ltd. +// Copyright 2017-2021 Parity Technologies (UK) Ltd. // This file is part of Polkadot. // Polkadot is free software: you can redistribute it and/or modify @@ -13,10 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for `pallet_collective` +//! Autogenerated weights for pallet_collective //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: @@ -40,100 +40,100 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for `pallet_collective`. +/// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 4_000 - .saturating_add((14_115_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 4_000 - .saturating_add((60_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 4_000 - .saturating_add((19_459_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 9_000 + .saturating_add((14_178_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 9_000 + .saturating_add((36_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 9_000 + .saturating_add((19_359_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn execute(b: u32, m: u32, ) -> Weight { - (23_670_000 as Weight) + (23_178_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((80_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } fn propose_execute(b: u32, m: u32, ) -> Weight { - (28_523_000 as Weight) + (27_648_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((163_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((160_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (44_252_000 as Weight) + (41_922_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 .saturating_add((91_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((399_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((360_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn vote(m: u32, ) -> Weight { - (32_883_000 as Weight) + (32_188_000 as Weight) // Standard Error: 0 - .saturating_add((214_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((198_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (42_090_000 as Weight) + (40_963_000 as Weight) // Standard Error: 0 - .saturating_add((166_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((374_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (62_491_000 as Weight) + (60_849_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((380_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_disapproved(m: u32, p: u32, ) -> Weight { - (46_976_000 as Weight) + (46_030_000 as Weight) // Standard Error: 0 .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((374_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((331_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (66_976_000 as Weight) - // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + (64_640_000 as Weight) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((378_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 1_000 + .saturating_add((173_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 1_000 + .saturating_add((341_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn disapprove_proposal(p: u32, ) -> Weight { - (26_129_000 as Weight) + (25_309_000 as Weight) // Standard Error: 0 - .saturating_add((379_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((336_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs index 9a59fb34bb01..7e5024f28253 100644 --- a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs @@ -1,4 +1,4 @@ -// Copyright 2017-2020 Parity Technologies (UK) Ltd. +// Copyright 2017-2021 Parity Technologies (UK) Ltd. // This file is part of Polkadot. // Polkadot is free software: you can redistribute it and/or modify @@ -13,10 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for `pallet_collective` +//! Autogenerated weights for pallet_collective //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: @@ -40,100 +40,100 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions for `pallet_collective`. +/// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 4_000 - .saturating_add((14_115_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 4_000 - .saturating_add((60_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 4_000 - .saturating_add((19_459_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 8_000 + .saturating_add((14_103_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 8_000 + .saturating_add((105_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 8_000 + .saturating_add((19_274_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } fn execute(b: u32, m: u32, ) -> Weight { - (23_670_000 as Weight) + (23_019_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } fn propose_execute(b: u32, m: u32, ) -> Weight { - (28_523_000 as Weight) + (27_690_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((163_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((159_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (44_252_000 as Weight) + (41_790_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((91_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((90_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((399_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((356_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } fn vote(m: u32, ) -> Weight { - (32_883_000 as Weight) + (32_016_000 as Weight) // Standard Error: 0 - .saturating_add((214_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((195_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (42_090_000 as Weight) + (40_775_000 as Weight) // Standard Error: 0 - .saturating_add((166_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((374_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((331_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (62_491_000 as Weight) + (61_691_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((380_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((335_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_disapproved(m: u32, p: u32, ) -> Weight { - (46_976_000 as Weight) + (45_373_000 as Weight) // Standard Error: 0 .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((374_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (66_976_000 as Weight) + (65_746_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((378_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((336_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } fn disapprove_proposal(p: u32, ) -> Weight { - (26_129_000 as Weight) + (25_286_000 as Weight) // Standard Error: 0 - .saturating_add((379_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } From 026cf2f82aed01b012dafdd9cd46ca444ee4e5b4 Mon Sep 17 00:00:00 2001 From: thiolliere Date: Fri, 20 Aug 2021 13:19:13 +0200 Subject: [PATCH 06/17] add description for technical committee --- runtime/kusama/src/lib.rs | 1 + runtime/polkadot/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 8a9f58cc8f15..3c16b28d43c3 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1821,6 +1821,7 @@ sp_api::impl_runtime_apis! { list_benchmark!(list, extra, pallet_balances, Balances); list_benchmark!(list, extra, pallet_bounties, Bounties); list_benchmark!(list, extra, pallet_collective, Council); + list_benchmark!(list, extra, pallet_collective, TechnicalCommittee); list_benchmark!(list, extra, pallet_democracy, Democracy); list_benchmark!(list, extra, pallet_elections_phragmen, PhragmenElection); list_benchmark!(list, extra, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 6063285b1a4c..de8cc9a208bd 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1448,6 +1448,7 @@ sp_api::impl_runtime_apis! { list_benchmark!(list, extra, pallet_balances, Balances); list_benchmark!(list, extra, pallet_bounties, Bounties); list_benchmark!(list, extra, pallet_collective, Council); + list_benchmark!(list, extra, pallet_collective, TechnicalCommittee); list_benchmark!(list, extra, pallet_democracy, Democracy); list_benchmark!(list, extra, pallet_elections_phragmen, PhragmenElection); list_benchmark!(list, extra, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); From 7c39e87a3422f2d82556fda21cdf84ca68be3aa2 Mon Sep 17 00:00:00 2001 From: Parity Benchmarking Bot Date: Fri, 20 Aug 2021 14:08:19 +0000 Subject: [PATCH 07/17] cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_collective --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ --- .../src/weights/pallet_collective_council.rs | 104 ++---------------- .../pallet_collective_technical_committee.rs | 99 ++--------------- 2 files changed, 18 insertions(+), 185 deletions(-) diff --git a/runtime/kusama/src/weights/pallet_collective_council.rs b/runtime/kusama/src/weights/pallet_collective_council.rs index 5570b74b0ad1..e7eff71687ac 100644 --- a/runtime/kusama/src/weights/pallet_collective_council.rs +++ b/runtime/kusama/src/weights/pallet_collective_council.rs @@ -13,10 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for pallet_collective +//! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2021-08-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: @@ -33,6 +33,8 @@ // --header=./file_header.txt // --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -42,99 +44,13 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - fn set_members(m: u32, n: u32, p: u32) -> Weight { - (0 as Weight) - // Standard Error: 9_000 - .saturating_add((14_178_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 9_000 - .saturating_add((36_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 9_000 - .saturating_add((19_359_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) - .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) - } - fn execute(b: u32, m: u32) -> Weight { - (23_670_000 as Weight) - // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((80_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - } - fn propose_execute(b: u32, m: u32) -> Weight { - (28_523_000 as Weight) - // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((160_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - } - fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { - (44_252_000 as Weight) - // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((91_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((360_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) - } - fn vote(m: u32) -> Weight { - (32_883_000 as Weight) - // Standard Error: 0 - .saturating_add((198_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) - } - fn close_early_disapproved(m: u32, p: u32) -> Weight { - (42_090_000 as Weight) - // Standard Error: 0 - .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } - fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { - (62_491_000 as Weight) - // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } - fn close_disapproved(m: u32, p: u32) -> Weight { - (46_976_000 as Weight) - // Standard Error: 0 - .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((331_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } - fn close_approved(b: u32, m: u32, p: u32) -> Weight { - (66_976_000 as Weight) - // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 - .saturating_add((173_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 1_000 - .saturating_add((341_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(5 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } - fn disapprove_proposal(p: u32) -> Weight { - (26_129_000 as Weight) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective Voting (r:0 w:1) + // Storage: Instance1Collective ProposalOf (r:0 w:1) + fn disapprove_proposal(p: u32, ) -> Weight { + (24_875_000 as Weight) // Standard Error: 0 - .saturating_add((336_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((342_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs index 7e5024f28253..15235390333c 100644 --- a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs @@ -13,10 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for pallet_collective +//! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2021-08-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: @@ -34,6 +34,7 @@ // --output=./runtime/kusama/src/weights/ +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -43,97 +44,13 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - fn set_members(m: u32, n: u32, p: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 8_000 - .saturating_add((14_103_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 8_000 - .saturating_add((105_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 8_000 - .saturating_add((19_274_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) - .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) - } - fn execute(b: u32, m: u32, ) -> Weight { - (23_019_000 as Weight) - // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - } - fn propose_execute(b: u32, m: u32, ) -> Weight { - (27_690_000 as Weight) - // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((159_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - } - fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (41_790_000 as Weight) - // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((90_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((356_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) - } - fn vote(m: u32, ) -> Weight { - (32_016_000 as Weight) - // Standard Error: 0 - .saturating_add((195_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) - } - fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (40_775_000 as Weight) - // Standard Error: 0 - .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((331_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } - fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (61_691_000 as Weight) - // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((335_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } - fn close_disapproved(m: u32, p: u32, ) -> Weight { - (45_373_000 as Weight) - // Standard Error: 0 - .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } - fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (65_746_000 as Weight) - // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((336_000 as Weight).saturating_mul(p as Weight)) - .saturating_add(T::DbWeight::get().reads(5 as Weight)) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - } + // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: Instance2Collective Voting (r:0 w:1) + // Storage: Instance2Collective ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (25_286_000 as Weight) + (25_032_000 as Weight) // Standard Error: 0 - .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } From 74d31ca452923c7d1aa227c12fb72cb5978f6e2a Mon Sep 17 00:00:00 2001 From: thiolliere Date: Mon, 23 Aug 2021 12:39:57 +0200 Subject: [PATCH 08/17] use unique names --- runtime/kusama/src/lib.rs | 8 ++++---- runtime/polkadot/src/lib.rs | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 3c16b28d43c3..75ee829303ad 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1820,8 +1820,8 @@ sp_api::impl_runtime_apis! { // Substrate list_benchmark!(list, extra, pallet_balances, Balances); list_benchmark!(list, extra, pallet_bounties, Bounties); - list_benchmark!(list, extra, pallet_collective, Council); - list_benchmark!(list, extra, pallet_collective, TechnicalCommittee); + list_benchmark!(list, extra, pallet_collective_council, Council); + list_benchmark!(list, extra, pallet_collective_technical_committee, TechnicalCommittee); list_benchmark!(list, extra, pallet_democracy, Democracy); list_benchmark!(list, extra, pallet_elections_phragmen, PhragmenElection); list_benchmark!(list, extra, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); @@ -1893,8 +1893,8 @@ sp_api::impl_runtime_apis! { // Substrate add_benchmark!(params, batches, pallet_balances, Balances); add_benchmark!(params, batches, pallet_bounties, Bounties); - add_benchmark!(params, batches, pallet_collective, Council); - add_benchmark!(params, batches, pallet_collective, TechnicalCommittee); + add_benchmark!(params, batches, pallet_collective_council, Council); + add_benchmark!(params, batches, pallet_collective_technical_committee, TechnicalCommittee); add_benchmark!(params, batches, pallet_democracy, Democracy); add_benchmark!(params, batches, pallet_elections_phragmen, PhragmenElection); add_benchmark!(params, batches, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index de8cc9a208bd..5a76d3bf6a8e 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1447,8 +1447,8 @@ sp_api::impl_runtime_apis! { // Substrate list_benchmark!(list, extra, pallet_balances, Balances); list_benchmark!(list, extra, pallet_bounties, Bounties); - list_benchmark!(list, extra, pallet_collective, Council); - list_benchmark!(list, extra, pallet_collective, TechnicalCommittee); + list_benchmark!(list, extra, pallet_collective_council, Council); + list_benchmark!(list, extra, pallet_collective_technical_committee, TechnicalCommittee); list_benchmark!(list, extra, pallet_democracy, Democracy); list_benchmark!(list, extra, pallet_elections_phragmen, PhragmenElection); list_benchmark!(list, extra, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); @@ -1515,8 +1515,8 @@ sp_api::impl_runtime_apis! { // Substrate add_benchmark!(params, batches, pallet_balances, Balances); add_benchmark!(params, batches, pallet_bounties, Bounties); - add_benchmark!(params, batches, pallet_collective, Council); - add_benchmark!(params, batches, pallet_collective, TechnicalCommittee); + add_benchmark!(params, batches, pallet_collective_council, Council); + add_benchmark!(params, batches, pallet_collective_technical_committee, TechnicalCommittee); add_benchmark!(params, batches, pallet_democracy, Democracy); add_benchmark!(params, batches, pallet_elections_phragmen, PhragmenElection); add_benchmark!(params, batches, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); From 9d98379055a08b4216193bea1cffa0a16662e91c Mon Sep 17 00:00:00 2001 From: thiolliere Date: Mon, 23 Aug 2021 12:46:59 +0200 Subject: [PATCH 09/17] makes compiling weights result --- .../src/weights/pallet_collective_council.rs | 108 +++++++++++++++--- .../pallet_collective_technical_committee.rs | 105 +++++++++++++++-- 2 files changed, 189 insertions(+), 24 deletions(-) diff --git a/runtime/kusama/src/weights/pallet_collective_council.rs b/runtime/kusama/src/weights/pallet_collective_council.rs index e7eff71687ac..874c6c4aec47 100644 --- a/runtime/kusama/src/weights/pallet_collective_council.rs +++ b/runtime/kusama/src/weights/pallet_collective_council.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for `pallet_collective` +//! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-08-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 +//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: // target/release/polkadot // benchmark -// --chain=kusama-dev +// --chain=polkadot-dev // --steps=50 // --repeat=20 // --pallet=pallet_collective @@ -31,10 +31,8 @@ // --wasm-execution=compiled // --heap-pages=4096 // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=./runtime/polkadot/src/weights/ - -#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -44,13 +42,97 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - // Storage: Instance1Collective Proposals (r:1 w:1) - // Storage: Instance1Collective Voting (r:0 w:1) - // Storage: Instance1Collective ProposalOf (r:0 w:1) - fn disapprove_proposal(p: u32, ) -> Weight { - (24_875_000 as Weight) + fn set_members(m: u32, n: u32, p: u32) -> Weight { + (0 as Weight) + // Standard Error: 8_000 + .saturating_add((13_547_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 8_000 + .saturating_add((55_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 8_000 + .saturating_add((18_718_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) + } + fn execute(b: u32, m: u32) -> Weight { + (20_424_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + } + fn propose_execute(b: u32, m: u32) -> Weight { + (24_961_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((161_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + } + fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { + (41_826_000 as Weight) + // Standard Error: 0 + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((88_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((360_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn vote(m: u32) -> Weight { + (31_640_000 as Weight) + // Standard Error: 0 + .saturating_add((196_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn close_early_disapproved(m: u32, p: u32) -> Weight { + (40_355_000 as Weight) + // Standard Error: 0 + .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { + (55_837_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_disapproved(m: u32, p: u32) -> Weight { + (44_700_000 as Weight) + // Standard Error: 0 + .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((332_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_approved(b: u32, m: u32, p: u32) -> Weight { + (60_051_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn disapprove_proposal(p: u32) -> Weight { + (24_750_000 as Weight) // Standard Error: 0 - .saturating_add((342_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs index 15235390333c..f77373349b04 100644 --- a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for `pallet_collective` +//! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-08-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 +//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: // target/release/polkadot // benchmark -// --chain=kusama-dev +// --chain=polkadot-dev // --steps=50 // --repeat=20 // --pallet=pallet_collective @@ -31,10 +31,9 @@ // --wasm-execution=compiled // --heap-pages=4096 // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=./runtime/polkadot/src/weights/ -#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -44,13 +43,97 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - // Storage: Instance2Collective Proposals (r:1 w:1) - // Storage: Instance2Collective Voting (r:0 w:1) - // Storage: Instance2Collective ProposalOf (r:0 w:1) + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 8_000 + .saturating_add((13_570_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 8_000 + .saturating_add((67_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 8_000 + .saturating_add((18_712_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) + } + fn execute(b: u32, m: u32, ) -> Weight { + (20_740_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) + } + fn propose_execute(b: u32, m: u32, ) -> Weight { + (25_270_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((160_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + } + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + (40_236_000 as Weight) + // Standard Error: 0 + .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((90_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((359_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(4 as Weight)) + } + fn vote(m: u32, ) -> Weight { + (31_191_000 as Weight) + // Standard Error: 0 + .saturating_add((197_000 as Weight).saturating_mul(m as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + } + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + (39_705_000 as Weight) + // Standard Error: 0 + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((328_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + (54_531_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((172_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((339_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_disapproved(m: u32, p: u32, ) -> Weight { + (44_028_000 as Weight) + // Standard Error: 0 + .saturating_add((171_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + (59_888_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((338_000 as Weight).saturating_mul(p as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + } fn disapprove_proposal(p: u32, ) -> Weight { - (25_032_000 as Weight) + (24_559_000 as Weight) // Standard Error: 0 - .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((335_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } From 690fdb65af58d5413fb16d4da82aff83977d3454 Mon Sep 17 00:00:00 2001 From: Parity Benchmarking Bot Date: Mon, 23 Aug 2021 11:29:15 +0000 Subject: [PATCH 10/17] cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_collective_council --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ --- .../src/weights/pallet_collective_council.rs | 135 +++++++++++------- 1 file changed, 86 insertions(+), 49 deletions(-) diff --git a/runtime/polkadot/src/weights/pallet_collective_council.rs b/runtime/polkadot/src/weights/pallet_collective_council.rs index 874c6c4aec47..a030fe3876a2 100644 --- a/runtime/polkadot/src/weights/pallet_collective_council.rs +++ b/runtime/polkadot/src/weights/pallet_collective_council.rs @@ -13,10 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for pallet_collective +//! Autogenerated weights for `pallet_collective_council` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2021-08-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: @@ -25,7 +25,7 @@ // --chain=polkadot-dev // --steps=50 // --repeat=20 -// --pallet=pallet_collective +// --pallet=pallet_collective_council // --extrinsic=* // --execution=wasm // --wasm-execution=compiled @@ -33,106 +33,143 @@ // --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_collective. +/// Weight functions for pallet_collective_council. pub struct WeightInfo(PhantomData); -impl pallet_collective::WeightInfo for WeightInfo { - fn set_members(m: u32, n: u32, p: u32) -> Weight { +impl pallet_collective_council::WeightInfo for WeightInfo { + // Storage: Instance1Collective Members (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:0) + // Storage: Instance1Collective Voting (r:100 w:100) + // Storage: Instance1Collective Prime (r:0 w:1) + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 8_000 - .saturating_add((13_547_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 8_000 - .saturating_add((55_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 8_000 - .saturating_add((18_718_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 9_000 + .saturating_add((13_562_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 9_000 + .saturating_add((92_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 9_000 + .saturating_add((18_581_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } - fn execute(b: u32, m: u32) -> Weight { - (20_424_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + fn execute(b: u32, m: u32, ) -> Weight { + (20_932_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } - fn propose_execute(b: u32, m: u32) -> Weight { - (24_961_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:0) + fn propose_execute(b: u32, m: u32, ) -> Weight { + (25_173_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((161_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((163_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } - fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { - (41_826_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective ProposalCount (r:1 w:1) + // Storage: Instance1Collective Voting (r:0 w:1) + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + (40_324_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((88_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((86_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((360_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((364_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } - fn vote(m: u32) -> Weight { - (31_640_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Voting (r:1 w:1) + fn vote(m: u32, ) -> Weight { + (31_400_000 as Weight) // Standard Error: 0 - .saturating_add((196_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((198_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } - fn close_early_disapproved(m: u32, p: u32) -> Weight { - (40_355_000 as Weight) - // Standard Error: 0 - .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 0 - .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective ProposalOf (r:0 w:1) + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + (39_537_000 as Weight) + // Standard Error: 1_000 + .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 1_000 + .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { - (55_837_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:1) + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + (55_434_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 1_000 + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((348_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn close_disapproved(m: u32, p: u32) -> Weight { - (44_700_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Prime (r:1 w:0) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective ProposalOf (r:0 w:1) + fn close_disapproved(m: u32, p: u32, ) -> Weight { + (43_827_000 as Weight) // Standard Error: 0 - .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((332_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((339_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn close_approved(b: u32, m: u32, p: u32) -> Weight { - (60_051_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Prime (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:1) + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + (58_395_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((351_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn disapprove_proposal(p: u32) -> Weight { - (24_750_000 as Weight) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective Voting (r:0 w:1) + // Storage: Instance1Collective ProposalOf (r:0 w:1) + fn disapprove_proposal(p: u32, ) -> Weight { + (24_352_000 as Weight) // Standard Error: 0 - .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((341_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } From e9818fd62d72ef6f8d8219e4cccbd1adecfe19b6 Mon Sep 17 00:00:00 2001 From: thiolliere Date: Wed, 25 Aug 2021 13:32:15 +0200 Subject: [PATCH 11/17] Revert "cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_collective_council --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/" This reverts commit 690fdb65af58d5413fb16d4da82aff83977d3454. --- .../src/weights/pallet_collective_council.rs | 135 +++++++----------- 1 file changed, 49 insertions(+), 86 deletions(-) diff --git a/runtime/polkadot/src/weights/pallet_collective_council.rs b/runtime/polkadot/src/weights/pallet_collective_council.rs index a030fe3876a2..874c6c4aec47 100644 --- a/runtime/polkadot/src/weights/pallet_collective_council.rs +++ b/runtime/polkadot/src/weights/pallet_collective_council.rs @@ -13,10 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for `pallet_collective_council` +//! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-08-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: @@ -25,7 +25,7 @@ // --chain=polkadot-dev // --steps=50 // --repeat=20 -// --pallet=pallet_collective_council +// --pallet=pallet_collective // --extrinsic=* // --execution=wasm // --wasm-execution=compiled @@ -33,143 +33,106 @@ // --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_collective_council. +/// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); -impl pallet_collective_council::WeightInfo for WeightInfo { - // Storage: Instance1Collective Members (r:1 w:1) - // Storage: Instance1Collective Proposals (r:1 w:0) - // Storage: Instance1Collective Voting (r:100 w:100) - // Storage: Instance1Collective Prime (r:0 w:1) - fn set_members(m: u32, n: u32, p: u32, ) -> Weight { +impl pallet_collective::WeightInfo for WeightInfo { + fn set_members(m: u32, n: u32, p: u32) -> Weight { (0 as Weight) - // Standard Error: 9_000 - .saturating_add((13_562_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 9_000 - .saturating_add((92_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 9_000 - .saturating_add((18_581_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 8_000 + .saturating_add((13_547_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 8_000 + .saturating_add((55_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 8_000 + .saturating_add((18_718_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } - // Storage: Instance1Collective Members (r:1 w:0) - fn execute(b: u32, m: u32, ) -> Weight { - (20_932_000 as Weight) + fn execute(b: u32, m: u32) -> Weight { + (20_424_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective ProposalOf (r:1 w:0) - fn propose_execute(b: u32, m: u32, ) -> Weight { - (25_173_000 as Weight) + fn propose_execute(b: u32, m: u32) -> Weight { + (24_961_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((163_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((161_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective ProposalOf (r:1 w:1) - // Storage: Instance1Collective Proposals (r:1 w:1) - // Storage: Instance1Collective ProposalCount (r:1 w:1) - // Storage: Instance1Collective Voting (r:0 w:1) - fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (40_324_000 as Weight) + fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { + (41_826_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((86_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((88_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((364_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((360_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective Voting (r:1 w:1) - fn vote(m: u32, ) -> Weight { - (31_400_000 as Weight) + fn vote(m: u32) -> Weight { + (31_640_000 as Weight) // Standard Error: 0 - .saturating_add((198_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((196_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } - // Storage: Instance1Collective Voting (r:1 w:1) - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective Proposals (r:1 w:1) - // Storage: Instance1Collective ProposalOf (r:0 w:1) - fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (39_537_000 as Weight) - // Standard Error: 1_000 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 1_000 - .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) + fn close_early_disapproved(m: u32, p: u32) -> Weight { + (40_355_000 as Weight) + // Standard Error: 0 + .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 0 + .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - // Storage: Instance1Collective Voting (r:1 w:1) - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective ProposalOf (r:1 w:1) - // Storage: Instance1Collective Proposals (r:1 w:1) - fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (55_434_000 as Weight) + fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { + (55_837_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 - .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((348_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - // Storage: Instance1Collective Voting (r:1 w:1) - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective Prime (r:1 w:0) - // Storage: Instance1Collective Proposals (r:1 w:1) - // Storage: Instance1Collective ProposalOf (r:0 w:1) - fn close_disapproved(m: u32, p: u32, ) -> Weight { - (43_827_000 as Weight) + fn close_disapproved(m: u32, p: u32) -> Weight { + (44_700_000 as Weight) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((339_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((332_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - // Storage: Instance1Collective Voting (r:1 w:1) - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective Prime (r:1 w:0) - // Storage: Instance1Collective ProposalOf (r:1 w:1) - // Storage: Instance1Collective Proposals (r:1 w:1) - fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (58_395_000 as Weight) + fn close_approved(b: u32, m: u32, p: u32) -> Weight { + (60_051_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((351_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - // Storage: Instance1Collective Proposals (r:1 w:1) - // Storage: Instance1Collective Voting (r:0 w:1) - // Storage: Instance1Collective ProposalOf (r:0 w:1) - fn disapprove_proposal(p: u32, ) -> Weight { - (24_352_000 as Weight) + fn disapprove_proposal(p: u32) -> Weight { + (24_750_000 as Weight) // Standard Error: 0 - .saturating_add((341_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } From e72394abeef578226c4513bc37478233f6ab4413 Mon Sep 17 00:00:00 2001 From: thiolliere Date: Wed, 25 Aug 2021 13:32:36 +0200 Subject: [PATCH 12/17] revert unique names --- runtime/kusama/src/lib.rs | 4 ++-- runtime/polkadot/src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 75ee829303ad..586c89ae2304 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1893,8 +1893,8 @@ sp_api::impl_runtime_apis! { // Substrate add_benchmark!(params, batches, pallet_balances, Balances); add_benchmark!(params, batches, pallet_bounties, Bounties); - add_benchmark!(params, batches, pallet_collective_council, Council); - add_benchmark!(params, batches, pallet_collective_technical_committee, TechnicalCommittee); + add_benchmark!(params, batches, pallet_collective, Council); + add_benchmark!(params, batches, pallet_collective, TechnicalCommittee); add_benchmark!(params, batches, pallet_democracy, Democracy); add_benchmark!(params, batches, pallet_elections_phragmen, PhragmenElection); add_benchmark!(params, batches, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 5a76d3bf6a8e..061dd4bb5910 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1447,8 +1447,8 @@ sp_api::impl_runtime_apis! { // Substrate list_benchmark!(list, extra, pallet_balances, Balances); list_benchmark!(list, extra, pallet_bounties, Bounties); - list_benchmark!(list, extra, pallet_collective_council, Council); - list_benchmark!(list, extra, pallet_collective_technical_committee, TechnicalCommittee); + list_benchmark!(list, extra, pallet_collective, Council); + list_benchmark!(list, extra, pallet_collective, TechnicalCommittee); list_benchmark!(list, extra, pallet_democracy, Democracy); list_benchmark!(list, extra, pallet_elections_phragmen, PhragmenElection); list_benchmark!(list, extra, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); From 6fd583619c1ac0427de3489b645febece782d86b Mon Sep 17 00:00:00 2001 From: thiolliere Date: Fri, 27 Aug 2021 16:31:49 +0200 Subject: [PATCH 13/17] cargo update -p sp-io --- Cargo.lock | 388 ++++++++++++++++++++++++++--------------------------- 1 file changed, 189 insertions(+), 199 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f55eca42ee65..1eae6423f7fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -445,12 +445,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5024ee8015f02155eee35c711107ddd9a9bf3cb689cf2a9089c97e79b6e1ae83" -[[package]] -name = "base64" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" - [[package]] name = "base64" version = "0.12.3" @@ -572,9 +566,9 @@ dependencies = [ [[package]] name = "bitflags" -version = "1.2.1" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitvec" @@ -1529,9 +1523,9 @@ dependencies = [ [[package]] name = "directories" -version = "3.0.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8fed639d60b58d0f53498ab13d26f621fd77569cc6edb031f4cc36a2ad9da0f" +checksum = "e69600ff1703123957937708eb27f7a564e48885c537782722ed0ba3189ce1d7" dependencies = [ "dirs-sys", ] @@ -1548,12 +1542,12 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e93d7f5705de3e49895a2b5e0b8855a1c27f080192ae9c32a6432d50741a57a" +checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780" dependencies = [ "libc", - "redox_users 0.3.4", + "redox_users", "winapi 0.3.9", ] @@ -1564,7 +1558,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" dependencies = [ "libc", - "redox_users 0.4.0", + "redox_users", "winapi 0.3.9", ] @@ -1923,7 +1917,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", ] @@ -1941,7 +1935,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -1960,7 +1954,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "Inflector", "chrono", @@ -1986,7 +1980,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -1999,7 +1993,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -2014,7 +2008,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "14.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "serde", @@ -2025,7 +2019,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "bitflags", "frame-metadata", @@ -2051,7 +2045,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2063,7 +2057,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2075,7 +2069,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro2", "quote", @@ -2085,7 +2079,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-metadata", "frame-support", @@ -2106,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -2116,7 +2110,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "log", @@ -2132,7 +2126,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2146,7 +2140,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-api", @@ -2155,7 +2149,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "sp-api", @@ -3121,8 +3115,11 @@ dependencies = [ "soketto 0.6.0", "thiserror", "tokio 0.2.21", + "tokio 1.10.0", "tokio-rustls 0.15.0", + "tokio-rustls 0.22.0", "tokio-util 0.3.1", + "tokio-util 0.6.7", "url 2.2.0", ] @@ -4554,7 +4551,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -4569,7 +4566,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -4583,7 +4580,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4606,7 +4603,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4661,7 +4658,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4739,7 +4736,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4755,7 +4752,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4770,7 +4767,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4793,7 +4790,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4807,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4824,7 +4821,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4846,7 +4843,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4861,7 +4858,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4880,7 +4877,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4896,7 +4893,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4911,7 +4908,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4928,7 +4925,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -4944,7 +4941,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4961,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4975,7 +4972,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -4988,7 +4985,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5004,7 +5001,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5026,7 +5023,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5040,7 +5037,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5053,7 +5050,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5068,7 +5065,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5088,7 +5085,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5104,7 +5101,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5117,7 +5114,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5139,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5150,7 +5147,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "sp-arithmetic", @@ -5159,7 +5156,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5172,7 +5169,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5189,7 +5186,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5204,7 +5201,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5220,7 +5217,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5237,7 +5234,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5248,7 +5245,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5264,7 +5261,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5279,11 +5276,12 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "sp-runtime", "sp-std", @@ -7705,17 +7703,6 @@ dependencies = [ "bitflags", ] -[[package]] -name = "redox_users" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b23093265f8d200fa7b4c2c76297f47e681c655f6f1285a8780d6a022f7431" -dependencies = [ - "getrandom 0.1.14", - "redox_syscall 0.1.56", - "rust-argon2", -] - [[package]] name = "redox_users" version = "0.4.0" @@ -7814,7 +7801,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "env_logger 0.9.0", "jsonrpsee-proc-macros", @@ -7826,6 +7813,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-version", ] [[package]] @@ -7969,18 +7957,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "rust-argon2" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bc8af4bda8e1ff4932523b94d3dd20ee30a87232323eda55903ffd71d2fb017" -dependencies = [ - "base64 0.11.0", - "blake2b_simd", - "constant_time_eq", - "crossbeam-utils 0.7.2", -] - [[package]] name = "rustc-demangle" version = "0.1.16" @@ -8096,7 +8072,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "sp-core", @@ -8107,7 +8083,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "derive_more", @@ -8117,7 +8093,7 @@ dependencies = [ "libp2p", "log", "parity-scale-codec", - "prost 0.7.0", + "prost 0.8.0", "prost-build 0.7.0", "rand 0.7.3", "sc-client-api", @@ -8134,7 +8110,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", @@ -8157,7 +8133,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8173,7 +8149,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8189,7 +8165,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8200,7 +8176,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "chrono", "fdlimit", @@ -8232,13 +8208,13 @@ dependencies = [ "structopt", "thiserror", "tiny-bip39", - "tokio 0.2.21", + "tokio 1.10.0", ] [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "fnv", "futures 0.3.16", @@ -8266,7 +8242,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "hash-db", "kvdb", @@ -8291,7 +8267,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "futures 0.3.16", @@ -8315,7 +8291,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "derive_more", @@ -8358,7 +8334,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "derive_more", "futures 0.3.16", @@ -8382,7 +8358,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8395,7 +8371,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "assert_matches", "async-trait", @@ -8429,7 +8405,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "futures 0.3.16", @@ -8455,7 +8431,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "sc-client-api", "sp-authorship", @@ -8466,7 +8442,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "lazy_static", "libsecp256k1 0.6.0", @@ -8492,7 +8468,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "derive_more", "parity-scale-codec", @@ -8509,7 +8485,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "parity-scale-codec", @@ -8525,7 +8501,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8544,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "derive_more", @@ -8581,7 +8557,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "derive_more", "finality-grandpa", @@ -8605,7 +8581,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "ansi_term 0.12.1", "futures 0.3.16", @@ -8622,7 +8598,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "derive_more", @@ -8637,7 +8613,7 @@ dependencies = [ [[package]] name = "sc-light" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "hash-db", "parity-scale-codec", @@ -8655,7 +8631,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-std", "async-trait", @@ -8679,7 +8655,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.11.1", "pin-project 1.0.8", - "prost 0.7.0", + "prost 0.8.0", "prost-build 0.7.0", "rand 0.7.3", "sc-block-builder", @@ -8706,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", @@ -8722,7 +8698,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "bytes 1.0.1", "fnv", @@ -8749,7 +8725,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "libp2p", @@ -8762,7 +8738,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8771,7 +8747,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "hash-db", @@ -8802,9 +8778,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ - "derive_more", "futures 0.3.16", "jsonrpc-core", "jsonrpc-core-client", @@ -8822,12 +8797,13 @@ dependencies = [ "sp-runtime", "sp-tracing", "sp-version", + "thiserror", ] [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "jsonrpc-core", @@ -8843,7 +8819,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "directories", @@ -8907,7 +8883,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "parity-scale-codec", @@ -8921,7 +8897,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8943,7 +8919,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "chrono", "futures 0.3.16", @@ -8961,7 +8937,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8992,7 +8968,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9003,7 +8979,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "intervalier", @@ -9030,7 +9006,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "derive_more", "futures 0.3.16", @@ -9464,7 +9440,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "hash-db", "log", @@ -9481,7 +9457,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9493,7 +9469,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "serde", @@ -9505,7 +9481,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "integer-sqrt", "num-traits", @@ -9519,7 +9495,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9531,7 +9507,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9543,7 +9519,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9555,7 +9531,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "log", @@ -9573,7 +9549,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "futures 0.3.16", @@ -9592,7 +9568,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "merlin", @@ -9614,7 +9590,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9624,7 +9600,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9636,7 +9612,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "base58", "blake2-rfc", @@ -9680,7 +9656,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9689,7 +9665,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro2", "quote", @@ -9699,7 +9675,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "environmental", "parity-scale-codec", @@ -9710,7 +9686,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "finality-grandpa", "log", @@ -9727,7 +9703,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9741,7 +9717,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "hash-db", @@ -9766,7 +9742,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "lazy_static", "sp-core", @@ -9777,7 +9753,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "derive_more", @@ -9794,7 +9770,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "ruzstd", "zstd", @@ -9803,7 +9779,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "serde", @@ -9816,7 +9792,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9827,7 +9803,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "sp-api", "sp-core", @@ -9837,7 +9813,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "backtrace", ] @@ -9845,7 +9821,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "rustc-hash", "serde", @@ -9855,7 +9831,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "either", "hash256-std-hasher", @@ -9876,7 +9852,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9893,7 +9869,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9905,7 +9881,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "serde", "serde_json", @@ -9914,7 +9890,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9927,7 +9903,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9937,7 +9913,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "hash-db", "log", @@ -9960,12 +9936,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" [[package]] name = "sp-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9978,7 +9954,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "sp-core", @@ -9991,7 +9967,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -10007,7 +9983,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "erased-serde", "log", @@ -10025,7 +10001,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "sp-api", "sp-runtime", @@ -10034,7 +10010,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "log", @@ -10049,7 +10025,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "hash-db", "memory-db", @@ -10063,7 +10039,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", @@ -10074,7 +10050,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10089,7 +10065,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10100,7 +10076,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10298,7 +10274,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "platforms", ] @@ -10306,7 +10282,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.16", @@ -10328,7 +10304,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-std", "derive_more", @@ -10342,7 +10318,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "futures 0.3.16", @@ -10369,19 +10345,20 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "substrate-test-utils-derive", - "tokio 0.2.21", + "tokio 1.10.0", ] [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro-crate 1.0.0", + "proc-macro2", "quote", "syn", ] @@ -10389,7 +10366,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "ansi_term 0.12.1", "build-helper", @@ -10544,7 +10521,7 @@ dependencies = [ [[package]] name = "test-runner" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-system", "futures 0.3.16", @@ -10583,7 +10560,7 @@ dependencies = [ "sp-state-machine", "sp-transaction-pool", "sp-wasm-interface", - "tokio 0.2.21", + "tokio 1.10.0", ] [[package]] @@ -10719,10 +10696,8 @@ dependencies = [ "mio-uds", "num_cpus", "pin-project-lite 0.1.7", - "signal-hook-registry", "slab", - "tokio-macros", - "winapi 0.3.9", + "tokio-macros 0.2.5", ] [[package]] @@ -10737,7 +10712,10 @@ dependencies = [ "memchr", "mio 0.7.13", "num_cpus", + "once_cell", "pin-project-lite 0.2.4", + "signal-hook-registry", + "tokio-macros 1.3.0", "winapi 0.3.9", ] @@ -10752,6 +10730,17 @@ dependencies = [ "syn", ] +[[package]] +name = "tokio-macros" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54473be61f4ebe4efd09cec9bd5d16fa51d70ea0192213d754d2d500457db110" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tokio-rustls" version = "0.15.0" @@ -10809,6 +10798,7 @@ checksum = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592" dependencies = [ "bytes 1.0.1", "futures-core", + "futures-io", "futures-sink", "log", "pin-project-lite 0.2.4", @@ -10995,7 +10985,7 @@ checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#74e839b8690725873423885bef2e0af7d878fc6e" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "parity-scale-codec", From 3670ddec0aff4ce1e09a48d06412b35f7be881d0 Mon Sep 17 00:00:00 2001 From: thiolliere Date: Fri, 27 Aug 2021 16:51:07 +0200 Subject: [PATCH 14/17] fix --- runtime/kusama/src/lib.rs | 4 ++-- runtime/polkadot/src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 30c94f235b14..1ccf0ebc207a 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1826,8 +1826,8 @@ sp_api::impl_runtime_apis! { // Substrate list_benchmark!(list, extra, pallet_balances, Balances); list_benchmark!(list, extra, pallet_bounties, Bounties); - list_benchmark!(list, extra, pallet_collective_council, Council); - list_benchmark!(list, extra, pallet_collective_technical_committee, TechnicalCommittee); + list_benchmark!(list, extra, pallet_collective, Council); + list_benchmark!(list, extra, pallet_collective, TechnicalCommittee); list_benchmark!(list, extra, pallet_democracy, Democracy); list_benchmark!(list, extra, pallet_elections_phragmen, PhragmenElection); list_benchmark!(list, extra, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 5de7cf2209c6..a93ec3be3bd9 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1516,8 +1516,8 @@ sp_api::impl_runtime_apis! { // Substrate add_benchmark!(params, batches, pallet_balances, Balances); add_benchmark!(params, batches, pallet_bounties, Bounties); - add_benchmark!(params, batches, pallet_collective_council, Council); - add_benchmark!(params, batches, pallet_collective_technical_committee, TechnicalCommittee); + add_benchmark!(params, batches, pallet_collective, Council); + add_benchmark!(params, batches, pallet_collective, TechnicalCommittee); add_benchmark!(params, batches, pallet_democracy, Democracy); add_benchmark!(params, batches, pallet_elections_phragmen, PhragmenElection); add_benchmark!(params, batches, pallet_election_provider_multi_phase, ElectionProviderMultiPhase); From c4765796e61407a2fe989eccc091d6c254efa620 Mon Sep 17 00:00:00 2001 From: thiolliere Date: Fri, 27 Aug 2021 19:43:33 +0200 Subject: [PATCH 15/17] cargo update -p sp-io --- Cargo.lock | 308 ++++++++++++++++++++++++++--------------------------- 1 file changed, 154 insertions(+), 154 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1dc406ccad2f..09f262130fac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1926,7 +1926,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", ] @@ -1944,7 +1944,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -1963,7 +1963,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "Inflector", "chrono", @@ -1989,7 +1989,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -2002,7 +2002,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -2017,7 +2017,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "14.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "serde", @@ -2028,7 +2028,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "bitflags", "frame-metadata", @@ -2054,7 +2054,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2066,7 +2066,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2078,7 +2078,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro2", "quote", @@ -2088,7 +2088,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-metadata", "frame-support", @@ -2109,7 +2109,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -2119,7 +2119,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "log", @@ -2135,7 +2135,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2149,7 +2149,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-api", @@ -2158,7 +2158,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "sp-api", @@ -4546,7 +4546,7 @@ checksum = "13370dae44474229701bb69b90b4f4dca6404cb0357a2d50d635f1171dc3aa7b" [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -4561,7 +4561,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -4575,7 +4575,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4598,7 +4598,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4653,7 +4653,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4731,7 +4731,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4747,7 +4747,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4762,7 +4762,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4785,7 +4785,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4802,7 +4802,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4816,7 +4816,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4838,7 +4838,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4853,7 +4853,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4872,7 +4872,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4888,7 +4888,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4903,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -4920,7 +4920,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -4936,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -4953,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4967,7 +4967,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -4980,7 +4980,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5018,7 +5018,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5032,7 +5032,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5045,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5060,7 +5060,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5080,7 +5080,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5096,7 +5096,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5109,7 +5109,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5131,7 +5131,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5142,7 +5142,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "sp-arithmetic", @@ -5151,7 +5151,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5164,7 +5164,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5181,7 +5181,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5196,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-support", "frame-system", @@ -5212,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5229,7 +5229,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5240,7 +5240,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5256,7 +5256,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5271,7 +5271,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7797,7 +7797,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "env_logger 0.9.0", "jsonrpsee-proc-macros", @@ -8068,7 +8068,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "sp-core", @@ -8079,7 +8079,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "derive_more", @@ -8106,7 +8106,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", @@ -8129,7 +8129,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8145,7 +8145,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8161,7 +8161,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8172,7 +8172,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "chrono", "fdlimit", @@ -8210,7 +8210,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "fnv", "futures 0.3.16", @@ -8238,7 +8238,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "hash-db", "kvdb", @@ -8263,7 +8263,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "futures 0.3.16", @@ -8287,7 +8287,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "derive_more", @@ -8330,7 +8330,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "derive_more", "futures 0.3.16", @@ -8354,7 +8354,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8367,7 +8367,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "assert_matches", "async-trait", @@ -8401,7 +8401,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "futures 0.3.16", @@ -8427,7 +8427,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "sc-client-api", "sp-authorship", @@ -8438,7 +8438,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "lazy_static", "libsecp256k1 0.6.0", @@ -8464,7 +8464,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "derive_more", "parity-scale-codec", @@ -8481,7 +8481,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "parity-scale-codec", @@ -8497,7 +8497,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8516,7 +8516,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "derive_more", @@ -8553,7 +8553,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "derive_more", "finality-grandpa", @@ -8577,7 +8577,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "ansi_term 0.12.1", "futures 0.3.16", @@ -8594,7 +8594,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "derive_more", @@ -8609,7 +8609,7 @@ dependencies = [ [[package]] name = "sc-light" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "hash-db", "parity-scale-codec", @@ -8627,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-std", "async-trait", @@ -8678,7 +8678,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", @@ -8694,7 +8694,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "bytes 1.0.1", "fnv", @@ -8721,7 +8721,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "libp2p", @@ -8734,7 +8734,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "hash-db", @@ -8774,9 +8774,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ - "derive_more", "futures 0.3.16", "jsonrpc-core", "jsonrpc-core-client", @@ -8794,12 +8793,13 @@ dependencies = [ "sp-runtime", "sp-tracing", "sp-version", + "thiserror", ] [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "jsonrpc-core", @@ -8815,7 +8815,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "directories", @@ -8879,7 +8879,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "parity-scale-codec", @@ -8893,7 +8893,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8915,7 +8915,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "chrono", "futures 0.3.16", @@ -8933,7 +8933,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "ansi_term 0.12.1", "atty", @@ -8964,7 +8964,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8975,7 +8975,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "intervalier", @@ -9002,7 +9002,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "derive_more", "futures 0.3.16", @@ -9436,7 +9436,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "hash-db", "log", @@ -9453,7 +9453,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9465,7 +9465,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "serde", @@ -9477,7 +9477,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "integer-sqrt", "num-traits", @@ -9491,7 +9491,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9503,7 +9503,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9515,7 +9515,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9527,7 +9527,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "log", @@ -9545,7 +9545,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "futures 0.3.16", @@ -9564,7 +9564,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "merlin", @@ -9586,7 +9586,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -9596,7 +9596,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -9608,7 +9608,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "base58", "blake2-rfc", @@ -9652,7 +9652,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -9661,7 +9661,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro2", "quote", @@ -9671,7 +9671,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "environmental", "parity-scale-codec", @@ -9682,7 +9682,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "finality-grandpa", "log", @@ -9699,7 +9699,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9713,7 +9713,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "hash-db", @@ -9738,7 +9738,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "lazy_static", "sp-core", @@ -9749,7 +9749,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "derive_more", @@ -9766,7 +9766,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "ruzstd", "zstd", @@ -9775,7 +9775,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "serde", @@ -9788,7 +9788,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9799,7 +9799,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "sp-api", "sp-core", @@ -9809,7 +9809,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "backtrace", ] @@ -9817,7 +9817,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "rustc-hash", "serde", @@ -9827,7 +9827,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "either", "hash256-std-hasher", @@ -9848,7 +9848,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9865,7 +9865,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -9877,7 +9877,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "serde", "serde_json", @@ -9886,7 +9886,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9899,7 +9899,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -9909,7 +9909,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "hash-db", "log", @@ -9932,12 +9932,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" [[package]] name = "sp-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9950,7 +9950,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "sp-core", @@ -9963,7 +9963,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -9979,7 +9979,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "erased-serde", "log", @@ -9997,7 +9997,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "sp-api", "sp-runtime", @@ -10006,7 +10006,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "log", @@ -10021,7 +10021,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "hash-db", "memory-db", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", @@ -10046,7 +10046,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10061,7 +10061,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10072,7 +10072,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10270,7 +10270,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "platforms", ] @@ -10278,7 +10278,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.16", @@ -10300,7 +10300,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-std", "derive_more", @@ -10314,7 +10314,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "async-trait", "futures 0.3.16", @@ -10341,7 +10341,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "futures 0.3.16", "substrate-test-utils-derive", @@ -10351,7 +10351,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -10362,7 +10362,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "ansi_term 0.12.1", "build-helper", @@ -10517,7 +10517,7 @@ dependencies = [ [[package]] name = "test-runner" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "frame-system", "futures 0.3.16", @@ -10924,7 +10924,7 @@ checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#69e5b50896ff743f4725cb9747750c4093963a66" +source = "git+https://github.com/paritytech/substrate?branch=master#f7b6dca4200069b5100da46e5ab748bc6f04517f" dependencies = [ "log", "parity-scale-codec", From dc5176a7e5d06b61cf7a1a9657f8c7acbbb89bd8 Mon Sep 17 00:00:00 2001 From: Parity Benchmarking Bot Date: Fri, 27 Aug 2021 20:11:16 +0000 Subject: [PATCH 16/17] cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_collective --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ --- .../src/weights/pallet_collective_council.rs | 115 ++++++++++++------ .../pallet_collective_technical_committee.rs | 102 +++++++++++----- 2 files changed, 145 insertions(+), 72 deletions(-) diff --git a/runtime/polkadot/src/weights/pallet_collective_council.rs b/runtime/polkadot/src/weights/pallet_collective_council.rs index 874c6c4aec47..d0a389bfac09 100644 --- a/runtime/polkadot/src/weights/pallet_collective_council.rs +++ b/runtime/polkadot/src/weights/pallet_collective_council.rs @@ -13,10 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for pallet_collective +//! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2021-08-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: @@ -33,6 +33,8 @@ // --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -42,97 +44,132 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - fn set_members(m: u32, n: u32, p: u32) -> Weight { + // Storage: Instance1Collective Members (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:0) + // Storage: Instance1Collective Voting (r:100 w:100) + // Storage: Instance1Collective Prime (r:0 w:1) + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 8_000 - .saturating_add((13_547_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 8_000 - .saturating_add((55_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 8_000 - .saturating_add((18_718_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 6_000 + .saturating_add((14_248_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 6_000 + .saturating_add((320_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 6_000 + .saturating_add((19_166_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } - fn execute(b: u32, m: u32) -> Weight { - (20_424_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + fn execute(b: u32, m: u32, ) -> Weight { + (21_101_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } - fn propose_execute(b: u32, m: u32) -> Weight { - (24_961_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:0) + fn propose_execute(b: u32, m: u32, ) -> Weight { + (25_378_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((161_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((163_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } - fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { - (41_826_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective ProposalCount (r:1 w:1) + // Storage: Instance1Collective Voting (r:0 w:1) + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + (40_063_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 .saturating_add((88_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((360_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((373_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } - fn vote(m: u32) -> Weight { - (31_640_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Voting (r:1 w:1) + fn vote(m: u32, ) -> Weight { + (31_307_000 as Weight) // Standard Error: 0 .saturating_add((196_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } - fn close_early_disapproved(m: u32, p: u32) -> Weight { - (40_355_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective ProposalOf (r:0 w:1) + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + (39_515_000 as Weight) // Standard Error: 0 - .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((165_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((333_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((343_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { - (55_837_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:1) + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + (54_757_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((163_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn close_disapproved(m: u32, p: u32) -> Weight { - (44_700_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Prime (r:1 w:0) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective ProposalOf (r:0 w:1) + fn close_disapproved(m: u32, p: u32, ) -> Weight { + (43_851_000 as Weight) // Standard Error: 0 - .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((332_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((344_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn close_approved(b: u32, m: u32, p: u32) -> Weight { - (60_051_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Prime (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:1) + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + (57_946_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((344_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn disapprove_proposal(p: u32) -> Weight { - (24_750_000 as Weight) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective Voting (r:0 w:1) + // Storage: Instance1Collective ProposalOf (r:0 w:1) + fn disapprove_proposal(p: u32, ) -> Weight { + (24_228_000 as Weight) // Standard Error: 0 - .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((348_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs index f77373349b04..9c50b3b58ba1 100644 --- a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs @@ -13,10 +13,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for pallet_collective +//! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2021-08-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 // Executed Command: @@ -34,6 +34,7 @@ // --output=./runtime/polkadot/src/weights/ +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -43,97 +44,132 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { + // Storage: Instance2Collective Members (r:1 w:1) + // Storage: Instance2Collective Proposals (r:1 w:0) + // Storage: Instance2Collective Voting (r:100 w:100) + // Storage: Instance2Collective Prime (r:0 w:1) fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 8_000 - .saturating_add((13_570_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 8_000 - .saturating_add((67_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 8_000 - .saturating_add((18_712_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 6_000 + .saturating_add((14_085_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 6_000 + .saturating_add((40_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 6_000 + .saturating_add((19_086_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } + // Storage: Instance2Collective Members (r:1 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (20_740_000 as Weight) + (21_082_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((79_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective ProposalOf (r:1 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (25_270_000 as Weight) + (25_580_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((160_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((157_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective ProposalOf (r:1 w:1) + // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: Instance2Collective ProposalCount (r:1 w:1) + // Storage: Instance2Collective Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (40_236_000 as Weight) + (40_015_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((90_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((85_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((359_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((371_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - (31_191_000 as Weight) + (31_124_000 as Weight) // Standard Error: 0 - .saturating_add((197_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((195_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Instance2Collective Voting (r:1 w:1) + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: Instance2Collective ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (39_705_000 as Weight) + (39_289_000 as Weight) // Standard Error: 0 .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((328_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((342_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Instance2Collective Voting (r:1 w:1) + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective ProposalOf (r:1 w:1) + // Storage: Instance2Collective Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (54_531_000 as Weight) + (54_722_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((172_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((163_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 .saturating_add((339_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Instance2Collective Voting (r:1 w:1) + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective Prime (r:1 w:0) + // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: Instance2Collective ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - (44_028_000 as Weight) + (43_840_000 as Weight) // Standard Error: 0 - .saturating_add((171_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Instance2Collective Voting (r:1 w:1) + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective Prime (r:1 w:0) + // Storage: Instance2Collective ProposalOf (r:1 w:1) + // Storage: Instance2Collective Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (59_888_000 as Weight) + (58_145_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((338_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((341_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: Instance2Collective Voting (r:0 w:1) + // Storage: Instance2Collective ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (24_559_000 as Weight) + (24_137_000 as Weight) // Standard Error: 0 - .saturating_add((335_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((348_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } From 4ef75ae0c36b1ee97462f713f571a6fe93e4f574 Mon Sep 17 00:00:00 2001 From: Parity Benchmarking Bot Date: Fri, 27 Aug 2021 22:33:51 +0000 Subject: [PATCH 17/17] cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_collective --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ --- .../src/weights/pallet_collective_council.rs | 123 ++++++++++++------ .../pallet_collective_technical_committee.rs | 110 ++++++++++------ 2 files changed, 153 insertions(+), 80 deletions(-) diff --git a/runtime/kusama/src/weights/pallet_collective_council.rs b/runtime/kusama/src/weights/pallet_collective_council.rs index 874c6c4aec47..21abbb70bf35 100644 --- a/runtime/kusama/src/weights/pallet_collective_council.rs +++ b/runtime/kusama/src/weights/pallet_collective_council.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for pallet_collective +//! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 +//! DATE: 2021-08-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: // target/release/polkadot // benchmark -// --chain=polkadot-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_collective @@ -31,8 +31,10 @@ // --wasm-execution=compiled // --heap-pages=4096 // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -42,55 +44,73 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - fn set_members(m: u32, n: u32, p: u32) -> Weight { + // Storage: Instance1Collective Members (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:0) + // Storage: Instance1Collective Voting (r:100 w:100) + // Storage: Instance1Collective Prime (r:0 w:1) + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 8_000 - .saturating_add((13_547_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 8_000 - .saturating_add((55_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 8_000 - .saturating_add((18_718_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 6_000 + .saturating_add((14_448_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 6_000 + .saturating_add((85_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 6_000 + .saturating_add((19_620_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } - fn execute(b: u32, m: u32) -> Weight { - (20_424_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + fn execute(b: u32, m: u32, ) -> Weight { + (22_536_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((84_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } - fn propose_execute(b: u32, m: u32) -> Weight { - (24_961_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:0) + fn propose_execute(b: u32, m: u32, ) -> Weight { + (27_600_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 .saturating_add((161_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } - fn propose_proposed(b: u32, m: u32, p: u32) -> Weight { - (41_826_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective ProposalCount (r:1 w:1) + // Storage: Instance1Collective Voting (r:0 w:1) + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + (42_192_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((88_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((87_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((360_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((361_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } - fn vote(m: u32) -> Weight { - (31_640_000 as Weight) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Voting (r:1 w:1) + fn vote(m: u32, ) -> Weight { + (32_307_000 as Weight) // Standard Error: 0 - .saturating_add((196_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((199_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } - fn close_early_disapproved(m: u32, p: u32) -> Weight { - (40_355_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective ProposalOf (r:0 w:1) + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + (41_436_000 as Weight) // Standard Error: 0 .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 @@ -98,41 +118,58 @@ impl pallet_collective::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn close_early_approved(b: u32, m: u32, p: u32) -> Weight { - (55_837_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:1) + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + (57_836_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((340_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((339_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn close_disapproved(m: u32, p: u32) -> Weight { - (44_700_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Prime (r:1 w:0) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective ProposalOf (r:0 w:1) + fn close_disapproved(m: u32, p: u32, ) -> Weight { + (45_551_000 as Weight) // Standard Error: 0 - .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((172_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((332_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((338_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn close_approved(b: u32, m: u32, p: u32) -> Weight { - (60_051_000 as Weight) + // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Instance1Collective Prime (r:1 w:0) + // Storage: Instance1Collective ProposalOf (r:1 w:1) + // Storage: Instance1Collective Proposals (r:1 w:1) + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + (61_497_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((168_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((171_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((343_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } - fn disapprove_proposal(p: u32) -> Weight { - (24_750_000 as Weight) + // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Instance1Collective Voting (r:0 w:1) + // Storage: Instance1Collective ProposalOf (r:0 w:1) + fn disapprove_proposal(p: u32, ) -> Weight { + (25_573_000 as Weight) // Standard Error: 0 - .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((335_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs index f77373349b04..e860a1d224e7 100644 --- a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs @@ -13,16 +13,16 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Autogenerated weights for pallet_collective +//! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-07-22, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 128 +//! DATE: 2021-08-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 // Executed Command: // target/release/polkadot // benchmark -// --chain=polkadot-dev +// --chain=kusama-dev // --steps=50 // --repeat=20 // --pallet=pallet_collective @@ -31,9 +31,10 @@ // --wasm-execution=compiled // --heap-pages=4096 // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --output=./runtime/kusama/src/weights/ +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -43,97 +44,132 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collective. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { + // Storage: Instance2Collective Members (r:1 w:1) + // Storage: Instance2Collective Proposals (r:1 w:0) + // Storage: Instance2Collective Voting (r:100 w:100) + // Storage: Instance2Collective Prime (r:0 w:1) fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) - // Standard Error: 8_000 - .saturating_add((13_570_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 8_000 - .saturating_add((67_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 8_000 - .saturating_add((18_712_000 as Weight).saturating_mul(p as Weight)) + // Standard Error: 6_000 + .saturating_add((14_473_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 6_000 + .saturating_add((73_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 6_000 + .saturating_add((19_551_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } + // Storage: Instance2Collective Members (r:1 w:0) fn execute(b: u32, m: u32, ) -> Weight { - (20_740_000 as Weight) + (22_690_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((80_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective ProposalOf (r:1 w:0) fn propose_execute(b: u32, m: u32, ) -> Weight { - (25_270_000 as Weight) + (27_473_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((160_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((159_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective ProposalOf (r:1 w:1) + // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: Instance2Collective ProposalCount (r:1 w:1) + // Storage: Instance2Collective Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (40_236_000 as Weight) + (42_047_000 as Weight) // Standard Error: 0 .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((90_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((85_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((359_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((360_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - (31_191_000 as Weight) + (32_023_000 as Weight) // Standard Error: 0 - .saturating_add((197_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((199_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Instance2Collective Voting (r:1 w:1) + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: Instance2Collective ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (39_705_000 as Weight) + (41_107_000 as Weight) // Standard Error: 0 - .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((171_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((328_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((332_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Instance2Collective Voting (r:1 w:1) + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective ProposalOf (r:1 w:1) + // Storage: Instance2Collective Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (54_531_000 as Weight) + (57_783_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((172_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((339_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((336_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Instance2Collective Voting (r:1 w:1) + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective Prime (r:1 w:0) + // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: Instance2Collective ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - (44_028_000 as Weight) + (45_646_000 as Weight) // Standard Error: 0 - .saturating_add((171_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((170_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((337_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((335_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Instance2Collective Voting (r:1 w:1) + // Storage: Instance2Collective Members (r:1 w:0) + // Storage: Instance2Collective Prime (r:1 w:0) + // Storage: Instance2Collective ProposalOf (r:1 w:1) + // Storage: Instance2Collective Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (59_888_000 as Weight) + (61_376_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((167_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((172_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((338_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((339_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: Instance2Collective Voting (r:0 w:1) + // Storage: Instance2Collective ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - (24_559_000 as Weight) + (25_286_000 as Weight) // Standard Error: 0 - .saturating_add((335_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((336_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) }