mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 19:11:02 +00:00
69ed3087e1
Migrating [PR from the archived polkadot repo](https://github.com/paritytech/polkadot/pull/7272) As per https://github.com/paritytech/polkadot/pull/7272#issuecomment-1559240466, the changes in this MR include the following pallets into [x] Rococo and [x] Westend runtimes: pallet_conviction_voting pallet_referenda pallet_ranked_collective pallet_custom_origins pallet_whitelist And only for westend-runtime: pallet_treasury Following [Kusama runtime config](https://github.com/paritytech/polkadot/tree/dbae30efe080a1d41fe54ef4da8af47614c9ca93/runtime/kusama/src) as a baseline. Benchmarking of the following pallets done for both Rococo and Westend: pallet_conviction_voting pallet_referenda pallet_ranked_collective (only on Rococo) pallet_whitelist And only for Westend: pallet_treasury Removed Gov1 from Rococo as in https://github.com/paritytech/polkadot/pull/6701 Rococo Gov1 storage will be cleaned in a different PR - [issue ](https://github.com/paritytech/polkadot-sdk/issues/1618) --------- Co-authored-by: Giles Cope <gilescope@gmail.com>
526 lines
27 KiB
Rust
526 lines
27 KiB
Rust
// Copyright (C) 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 <http://www.gnu.org/licenses/>.
|
|
|
|
//! Autogenerated weights for `pallet_referenda`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
|
//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `runner-e8ezs4ez-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// ./target/production/polkadot
|
|
// benchmark
|
|
// pallet
|
|
// --chain=kusama-dev
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --no-storage-info
|
|
// --no-median-slopes
|
|
// --no-min-squares
|
|
// --pallet=pallet_referenda
|
|
// --extrinsic=*
|
|
// --execution=wasm
|
|
// --wasm-execution=compiled
|
|
// --header=./file_header.txt
|
|
// --output=./runtime/kusama/src/weights/
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
#![allow(missing_docs)]
|
|
|
|
use frame_support::{traits::Get, weights::Weight};
|
|
use core::marker::PhantomData;
|
|
|
|
/// Weight functions for `pallet_referenda`.
|
|
pub struct WeightInfo<T>(PhantomData<T>);
|
|
impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
|
/// Storage: FellowshipCollective Members (r:1 w:0)
|
|
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda ReferendumCount (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:0 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
fn submit() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `327`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 28_969_000 picoseconds.
|
|
Weight::from_parts(30_902_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:2 w:2)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn place_decision_deposit_preparing() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `404`
|
|
// Estimated: `83866`
|
|
// Minimum execution time: 53_500_000 picoseconds.
|
|
Weight::from_parts(54_447_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 83866))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
|
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
|
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn place_decision_deposit_queued() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `2042`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 114_321_000 picoseconds.
|
|
Weight::from_parts(122_607_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(4))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
|
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
|
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn place_decision_deposit_not_queued() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `2083`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 113_476_000 picoseconds.
|
|
Weight::from_parts(120_078_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(4))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
|
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:2 w:2)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn place_decision_deposit_passing() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `774`
|
|
// Estimated: `83866`
|
|
// Minimum execution time: 194_798_000 picoseconds.
|
|
Weight::from_parts(208_378_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 83866))
|
|
.saturating_add(T::DbWeight::get().reads(5))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
|
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:2 w:2)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn place_decision_deposit_failing() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `639`
|
|
// Estimated: `83866`
|
|
// Minimum execution time: 69_502_000 picoseconds.
|
|
Weight::from_parts(71_500_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 83866))
|
|
.saturating_add(T::DbWeight::get().reads(5))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
fn refund_decision_deposit() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `317`
|
|
// Estimated: `4365`
|
|
// Minimum execution time: 30_561_000 picoseconds.
|
|
Weight::from_parts(31_427_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4365))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
fn refund_submission_deposit() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `167`
|
|
// Estimated: `4365`
|
|
// Minimum execution time: 14_535_000 picoseconds.
|
|
Weight::from_parts(14_999_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4365))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:2 w:2)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn cancel() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `349`
|
|
// Estimated: `83866`
|
|
// Minimum execution time: 38_532_000 picoseconds.
|
|
Weight::from_parts(39_361_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 83866))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:2 w:2)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda MetadataOf (r:1 w:0)
|
|
/// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
|
fn kill() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `450`
|
|
// Estimated: `83866`
|
|
// Minimum execution time: 78_956_000 picoseconds.
|
|
Weight::from_parts(80_594_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 83866))
|
|
.saturating_add(T::DbWeight::get().reads(4))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: FellowshipReferenda TrackQueue (r:1 w:0)
|
|
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
|
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
fn one_fewer_deciding_queue_empty() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `140`
|
|
// Estimated: `4277`
|
|
// Minimum execution time: 9_450_000 picoseconds.
|
|
Weight::from_parts(9_881_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4277))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
|
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn one_fewer_deciding_failing() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `2376`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 98_126_000 picoseconds.
|
|
Weight::from_parts(102_511_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(4))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
|
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn one_fewer_deciding_passing() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `2362`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 99_398_000 picoseconds.
|
|
Weight::from_parts(104_045_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(4))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
|
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
|
fn nudge_referendum_requeued_insertion() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1807`
|
|
// Estimated: `4365`
|
|
// Minimum execution time: 43_734_000 picoseconds.
|
|
Weight::from_parts(46_962_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4365))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
|
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
|
fn nudge_referendum_requeued_slide() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1774`
|
|
// Estimated: `4365`
|
|
// Minimum execution time: 42_863_000 picoseconds.
|
|
Weight::from_parts(46_241_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4365))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
|
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
|
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
|
fn nudge_referendum_queued() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1790`
|
|
// Estimated: `4365`
|
|
// Minimum execution time: 57_511_000 picoseconds.
|
|
Weight::from_parts(64_027_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4365))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
|
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
|
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
|
fn nudge_referendum_not_queued() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1831`
|
|
// Estimated: `4365`
|
|
// Minimum execution time: 56_726_000 picoseconds.
|
|
Weight::from_parts(61_962_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4365))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn nudge_referendum_no_deposit() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `301`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 24_870_000 picoseconds.
|
|
Weight::from_parts(25_837_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn nudge_referendum_preparing() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `349`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 25_297_000 picoseconds.
|
|
Weight::from_parts(26_086_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
fn nudge_referendum_timed_out() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `208`
|
|
// Estimated: `4365`
|
|
// Minimum execution time: 16_776_000 picoseconds.
|
|
Weight::from_parts(17_396_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4365))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
|
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn nudge_referendum_begin_deciding_failing() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `584`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 37_780_000 picoseconds.
|
|
Weight::from_parts(38_626_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(4))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
|
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn nudge_referendum_begin_deciding_passing() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `719`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 85_265_000 picoseconds.
|
|
Weight::from_parts(89_986_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(4))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn nudge_referendum_begin_confirming() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `770`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 143_283_000 picoseconds.
|
|
Weight::from_parts(158_540_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn nudge_referendum_end_confirming() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `755`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 143_736_000 picoseconds.
|
|
Weight::from_parts(162_755_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn nudge_referendum_continue_not_confirming() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `770`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 139_021_000 picoseconds.
|
|
Weight::from_parts(157_398_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn nudge_referendum_continue_confirming() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `776`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 78_530_000 picoseconds.
|
|
Weight::from_parts(83_556_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:2 w:2)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Lookup (r:1 w:1)
|
|
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
fn nudge_referendum_approved() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `776`
|
|
// Estimated: `83866`
|
|
// Minimum execution time: 174_165_000 picoseconds.
|
|
Weight::from_parts(188_496_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 83866))
|
|
.saturating_add(T::DbWeight::get().reads(5))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
|
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
|
/// Storage: Scheduler Agenda (r:1 w:1)
|
|
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
|
fn nudge_referendum_rejected() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `772`
|
|
// Estimated: `42428`
|
|
// Minimum execution time: 142_964_000 picoseconds.
|
|
Weight::from_parts(157_257_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 42428))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: Preimage StatusFor (r:1 w:0)
|
|
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda MetadataOf (r:0 w:1)
|
|
/// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
|
fn set_some_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `352`
|
|
// Estimated: `4365`
|
|
// Minimum execution time: 20_126_000 picoseconds.
|
|
Weight::from_parts(20_635_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4365))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
|
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
|
/// Storage: FellowshipReferenda MetadataOf (r:1 w:1)
|
|
/// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
|
fn clear_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `285`
|
|
// Estimated: `4365`
|
|
// Minimum execution time: 17_716_000 picoseconds.
|
|
Weight::from_parts(18_324_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 4365))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
}
|