mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 03:27:58 +00:00
Alliance: remove unused func from weight trait (#13001)
* Alliance: remove unused weight func * ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance Co-authored-by: command-bot <>
This commit is contained in:
@@ -1,22 +1,42 @@
|
||||
// This file is part of Substrate.
|
||||
|
||||
// Copyright (C) 2022 Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! Autogenerated weights for pallet_alliance
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-22, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `cob`, CPU: `<UNKNOWN>`
|
||||
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
//! DATE: 2022-12-22, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/release/substrate
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet-alliance
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/alliance/src/._weights.rs
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_alliance
|
||||
// --chain=dev
|
||||
// --header=./HEADER-APACHE2
|
||||
// --output=./frame/alliance/src/weights.rs
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -30,7 +50,6 @@ use sp_std::marker::PhantomData;
|
||||
pub trait WeightInfo {
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight;
|
||||
fn vote(m: u32, ) -> Weight;
|
||||
fn veto(p: u32, ) -> Weight;
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight;
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight;
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight;
|
||||
@@ -62,41 +81,26 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_000 nanoseconds.
|
||||
Weight::from_ref_time(24_357_172 as u64)
|
||||
// Standard Error: 428
|
||||
.saturating_add(Weight::from_ref_time(233 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 4_474
|
||||
.saturating_add(Weight::from_ref_time(48_024 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 4_418
|
||||
.saturating_add(Weight::from_ref_time(97_604 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
fn propose_proposed(_b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 45_945 nanoseconds.
|
||||
Weight::from_ref_time(44_195_340)
|
||||
// Standard Error: 2_212
|
||||
.saturating_add(Weight::from_ref_time(73_715).saturating_mul(m.into()))
|
||||
// Standard Error: 2_184
|
||||
.saturating_add(Weight::from_ref_time(172_373).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 24_000 nanoseconds.
|
||||
Weight::from_ref_time(26_617_201 as u64)
|
||||
// Standard Error: 4_280
|
||||
.saturating_add(Weight::from_ref_time(43_152 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
// Storage: AllianceMotion Voting (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn veto(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_000 nanoseconds.
|
||||
Weight::from_ref_time(26_045_752 as u64)
|
||||
// Standard Error: 2_154
|
||||
.saturating_add(Weight::from_ref_time(61_220 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 41_578 nanoseconds.
|
||||
Weight::from_ref_time(44_299_385)
|
||||
// Standard Error: 3_727
|
||||
.saturating_add(Weight::from_ref_time(138_681).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -106,14 +110,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 30_000 nanoseconds.
|
||||
Weight::from_ref_time(25_697_866 as u64)
|
||||
// Standard Error: 3_827
|
||||
.saturating_add(Weight::from_ref_time(48_360 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 3_731
|
||||
.saturating_add(Weight::from_ref_time(116_922 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 53_033 nanoseconds.
|
||||
Weight::from_ref_time(44_608_804)
|
||||
// Standard Error: 2_306
|
||||
.saturating_add(Weight::from_ref_time(102_842).saturating_mul(m.into()))
|
||||
// Standard Error: 2_248
|
||||
.saturating_add(Weight::from_ref_time(172_018).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -124,16 +128,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_000 nanoseconds.
|
||||
Weight::from_ref_time(30_725_464 as u64)
|
||||
// Standard Error: 370
|
||||
.saturating_add(Weight::from_ref_time(2_367 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 3_920
|
||||
.saturating_add(Weight::from_ref_time(40_710 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 3_822
|
||||
.saturating_add(Weight::from_ref_time(111_866 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 61_157 nanoseconds.
|
||||
Weight::from_ref_time(53_647_510)
|
||||
// Standard Error: 235
|
||||
.saturating_add(Weight::from_ref_time(88).saturating_mul(b.into()))
|
||||
// Standard Error: 2_486
|
||||
.saturating_add(Weight::from_ref_time(103_912).saturating_mul(m.into()))
|
||||
// Standard Error: 2_424
|
||||
.saturating_add(Weight::from_ref_time(197_471).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -144,14 +148,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 31_000 nanoseconds.
|
||||
Weight::from_ref_time(29_444_599 as u64)
|
||||
// Standard Error: 4_043
|
||||
.saturating_add(Weight::from_ref_time(48_928 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 3_994
|
||||
.saturating_add(Weight::from_ref_time(76_527 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 53_830 nanoseconds.
|
||||
Weight::from_ref_time(43_926_698)
|
||||
// Standard Error: 2_495
|
||||
.saturating_add(Weight::from_ref_time(112_814).saturating_mul(m.into()))
|
||||
// Standard Error: 2_465
|
||||
.saturating_add(Weight::from_ref_time(186_422).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -163,28 +167,28 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(_b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 29_000 nanoseconds.
|
||||
Weight::from_ref_time(32_315_075 as u64)
|
||||
// Standard Error: 4_502
|
||||
.saturating_add(Weight::from_ref_time(43_205 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 4_340
|
||||
.saturating_add(Weight::from_ref_time(101_872 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 53_665 nanoseconds.
|
||||
Weight::from_ref_time(44_914_913)
|
||||
// Standard Error: 2_244
|
||||
.saturating_add(Weight::from_ref_time(105_848).saturating_mul(m.into()))
|
||||
// Standard Error: 2_164
|
||||
.saturating_add(Weight::from_ref_time(190_830).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:2 w:2)
|
||||
// Storage: AllianceMotion Members (r:1 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `z` is `[0, 100]`.
|
||||
fn init_members(m: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 22_000 nanoseconds.
|
||||
Weight::from_ref_time(13_523_882 as u64)
|
||||
// Standard Error: 1_823
|
||||
.saturating_add(Weight::from_ref_time(91_625 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_802
|
||||
.saturating_add(Weight::from_ref_time(98_184 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 46_486 nanoseconds.
|
||||
Weight::from_ref_time(34_596_922)
|
||||
// Standard Error: 1_807
|
||||
.saturating_add(Weight::from_ref_time(143_225).saturating_mul(m.into()))
|
||||
// Standard Error: 1_786
|
||||
.saturating_add(Weight::from_ref_time(125_729).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:2 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
@@ -196,68 +200,68 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `y` is `[0, 100]`.
|
||||
/// The range of component `z` is `[0, 50]`.
|
||||
fn disband(x: u32, y: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 145_000 nanoseconds.
|
||||
Weight::from_ref_time(147_000_000 as u64)
|
||||
// Standard Error: 13_290
|
||||
.saturating_add(Weight::from_ref_time(304_371 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 13_226
|
||||
.saturating_add(Weight::from_ref_time(330_798 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 26_428
|
||||
.saturating_add(Weight::from_ref_time(7_207_748 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(y as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(z as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(z as u64)))
|
||||
// Minimum execution time: 251_640 nanoseconds.
|
||||
Weight::from_ref_time(252_446_000)
|
||||
// Standard Error: 20_419
|
||||
.saturating_add(Weight::from_ref_time(486_667).saturating_mul(x.into()))
|
||||
// Standard Error: 20_320
|
||||
.saturating_add(Weight::from_ref_time(498_890).saturating_mul(y.into()))
|
||||
// Standard Error: 40_604
|
||||
.saturating_add(Weight::from_ref_time(9_411_242).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(z.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(z.into())))
|
||||
}
|
||||
// Storage: Alliance Rule (r:0 w:1)
|
||||
fn set_rule() -> Weight {
|
||||
// Minimum execution time: 11_000 nanoseconds.
|
||||
Weight::from_ref_time(12_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 18_867 nanoseconds.
|
||||
Weight::from_ref_time(19_155_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn announce() -> Weight {
|
||||
// Minimum execution time: 13_000 nanoseconds.
|
||||
Weight::from_ref_time(14_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 21_942 nanoseconds.
|
||||
Weight::from_ref_time(22_319_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn remove_announcement() -> Weight {
|
||||
// Minimum execution time: 14_000 nanoseconds.
|
||||
Weight::from_ref_time(14_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 23_419 nanoseconds.
|
||||
Weight::from_ref_time(23_854_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 w:1)
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Alliance DepositOf (r:0 w:1)
|
||||
fn join_alliance() -> Weight {
|
||||
// Minimum execution time: 39_000 nanoseconds.
|
||||
Weight::from_ref_time(41_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 53_016 nanoseconds.
|
||||
Weight::from_ref_time(53_768_000)
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 w:1)
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||
fn nominate_ally() -> Weight {
|
||||
// Minimum execution time: 29_000 nanoseconds.
|
||||
Weight::from_ref_time(30_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 40_019 nanoseconds.
|
||||
Weight::from_ref_time(41_087_000)
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Members (r:2 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn elevate_ally() -> Weight {
|
||||
// Minimum execution time: 23_000 nanoseconds.
|
||||
Weight::from_ref_time(24_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 35_973 nanoseconds.
|
||||
Weight::from_ref_time(36_365_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Alliance Members (r:4 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
@@ -265,20 +269,20 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
// Storage: Alliance RetiringMembers (r:0 w:1)
|
||||
fn give_retirement_notice() -> Weight {
|
||||
// Minimum execution time: 31_000 nanoseconds.
|
||||
Weight::from_ref_time(32_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
// Minimum execution time: 44_949 nanoseconds.
|
||||
Weight::from_ref_time(46_284_000)
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: Alliance RetiringMembers (r:1 w:1)
|
||||
// Storage: Alliance Members (r:1 w:1)
|
||||
// Storage: Alliance DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn retire() -> Weight {
|
||||
// Minimum execution time: 29_000 nanoseconds.
|
||||
Weight::from_ref_time(30_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 45_989 nanoseconds.
|
||||
Weight::from_ref_time(46_586_000)
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 w:1)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
@@ -287,46 +291,48 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn kick_member() -> Weight {
|
||||
// Minimum execution time: 45_000 nanoseconds.
|
||||
Weight::from_ref_time(47_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
// Minimum execution time: 67_333 nanoseconds.
|
||||
Weight::from_ref_time(68_302_000)
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `l` is `[0, 255]`.
|
||||
fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||
// Minimum execution time: 9_000 nanoseconds.
|
||||
Weight::from_ref_time(9_512_816 as u64)
|
||||
// Standard Error: 2_976
|
||||
.saturating_add(Weight::from_ref_time(560_175 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 1_169
|
||||
.saturating_add(Weight::from_ref_time(24_530 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 16_911 nanoseconds.
|
||||
Weight::from_ref_time(17_204_000)
|
||||
// Standard Error: 2_688
|
||||
.saturating_add(Weight::from_ref_time(1_324_527).saturating_mul(n.into()))
|
||||
// Standard Error: 1_052
|
||||
.saturating_add(Weight::from_ref_time(73_828).saturating_mul(l.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `l` is `[0, 255]`.
|
||||
fn remove_unscrupulous_items(n: u32, _l: u32, ) -> Weight {
|
||||
// Minimum execution time: 10_000 nanoseconds.
|
||||
Weight::from_ref_time(10_000_000 as u64)
|
||||
// Standard Error: 94_049
|
||||
.saturating_add(Weight::from_ref_time(10_887_604 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||
// Minimum execution time: 17_117 nanoseconds.
|
||||
Weight::from_ref_time(17_291_000)
|
||||
// Standard Error: 166_132
|
||||
.saturating_add(Weight::from_ref_time(13_173_211).saturating_mul(n.into()))
|
||||
// Standard Error: 65_064
|
||||
.saturating_add(Weight::from_ref_time(478_626).saturating_mul(l.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn abdicate_fellow_status() -> Weight {
|
||||
// Minimum execution time: 29_000 nanoseconds.
|
||||
Weight::from_ref_time(30_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 43_347 nanoseconds.
|
||||
Weight::from_ref_time(43_986_000)
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -340,41 +346,26 @@ impl WeightInfo for () {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_000 nanoseconds.
|
||||
Weight::from_ref_time(24_357_172 as u64)
|
||||
// Standard Error: 428
|
||||
.saturating_add(Weight::from_ref_time(233 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 4_474
|
||||
.saturating_add(Weight::from_ref_time(48_024 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 4_418
|
||||
.saturating_add(Weight::from_ref_time(97_604 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
fn propose_proposed(_b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 45_945 nanoseconds.
|
||||
Weight::from_ref_time(44_195_340)
|
||||
// Standard Error: 2_212
|
||||
.saturating_add(Weight::from_ref_time(73_715).saturating_mul(m.into()))
|
||||
// Standard Error: 2_184
|
||||
.saturating_add(Weight::from_ref_time(172_373).saturating_mul(p.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4))
|
||||
.saturating_add(RocksDbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 24_000 nanoseconds.
|
||||
Weight::from_ref_time(26_617_201 as u64)
|
||||
// Standard Error: 4_280
|
||||
.saturating_add(Weight::from_ref_time(43_152 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
// Storage: AllianceMotion Voting (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn veto(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_000 nanoseconds.
|
||||
Weight::from_ref_time(26_045_752 as u64)
|
||||
// Standard Error: 2_154
|
||||
.saturating_add(Weight::from_ref_time(61_220 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 41_578 nanoseconds.
|
||||
Weight::from_ref_time(44_299_385)
|
||||
// Standard Error: 3_727
|
||||
.saturating_add(Weight::from_ref_time(138_681).saturating_mul(m.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2))
|
||||
.saturating_add(RocksDbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -384,14 +375,14 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 30_000 nanoseconds.
|
||||
Weight::from_ref_time(25_697_866 as u64)
|
||||
// Standard Error: 3_827
|
||||
.saturating_add(Weight::from_ref_time(48_360 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 3_731
|
||||
.saturating_add(Weight::from_ref_time(116_922 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 53_033 nanoseconds.
|
||||
Weight::from_ref_time(44_608_804)
|
||||
// Standard Error: 2_306
|
||||
.saturating_add(Weight::from_ref_time(102_842).saturating_mul(m.into()))
|
||||
// Standard Error: 2_248
|
||||
.saturating_add(Weight::from_ref_time(172_018).saturating_mul(p.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4))
|
||||
.saturating_add(RocksDbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -402,16 +393,16 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_000 nanoseconds.
|
||||
Weight::from_ref_time(30_725_464 as u64)
|
||||
// Standard Error: 370
|
||||
.saturating_add(Weight::from_ref_time(2_367 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 3_920
|
||||
.saturating_add(Weight::from_ref_time(40_710 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 3_822
|
||||
.saturating_add(Weight::from_ref_time(111_866 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 61_157 nanoseconds.
|
||||
Weight::from_ref_time(53_647_510)
|
||||
// Standard Error: 235
|
||||
.saturating_add(Weight::from_ref_time(88).saturating_mul(b.into()))
|
||||
// Standard Error: 2_486
|
||||
.saturating_add(Weight::from_ref_time(103_912).saturating_mul(m.into()))
|
||||
// Standard Error: 2_424
|
||||
.saturating_add(Weight::from_ref_time(197_471).saturating_mul(p.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(5))
|
||||
.saturating_add(RocksDbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -422,14 +413,14 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 31_000 nanoseconds.
|
||||
Weight::from_ref_time(29_444_599 as u64)
|
||||
// Standard Error: 4_043
|
||||
.saturating_add(Weight::from_ref_time(48_928 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 3_994
|
||||
.saturating_add(Weight::from_ref_time(76_527 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 53_830 nanoseconds.
|
||||
Weight::from_ref_time(43_926_698)
|
||||
// Standard Error: 2_495
|
||||
.saturating_add(Weight::from_ref_time(112_814).saturating_mul(m.into()))
|
||||
// Standard Error: 2_465
|
||||
.saturating_add(Weight::from_ref_time(186_422).saturating_mul(p.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(5))
|
||||
.saturating_add(RocksDbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
@@ -441,28 +432,28 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(_b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 29_000 nanoseconds.
|
||||
Weight::from_ref_time(32_315_075 as u64)
|
||||
// Standard Error: 4_502
|
||||
.saturating_add(Weight::from_ref_time(43_205 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 4_340
|
||||
.saturating_add(Weight::from_ref_time(101_872 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 53_665 nanoseconds.
|
||||
Weight::from_ref_time(44_914_913)
|
||||
// Standard Error: 2_244
|
||||
.saturating_add(Weight::from_ref_time(105_848).saturating_mul(m.into()))
|
||||
// Standard Error: 2_164
|
||||
.saturating_add(Weight::from_ref_time(190_830).saturating_mul(p.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(5))
|
||||
.saturating_add(RocksDbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:2 w:2)
|
||||
// Storage: AllianceMotion Members (r:1 w:1)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `z` is `[0, 100]`.
|
||||
fn init_members(m: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 22_000 nanoseconds.
|
||||
Weight::from_ref_time(13_523_882 as u64)
|
||||
// Standard Error: 1_823
|
||||
.saturating_add(Weight::from_ref_time(91_625 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_802
|
||||
.saturating_add(Weight::from_ref_time(98_184 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 46_486 nanoseconds.
|
||||
Weight::from_ref_time(34_596_922)
|
||||
// Standard Error: 1_807
|
||||
.saturating_add(Weight::from_ref_time(143_225).saturating_mul(m.into()))
|
||||
// Standard Error: 1_786
|
||||
.saturating_add(Weight::from_ref_time(125_729).saturating_mul(z.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3))
|
||||
.saturating_add(RocksDbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:2 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
@@ -474,68 +465,68 @@ impl WeightInfo for () {
|
||||
/// The range of component `y` is `[0, 100]`.
|
||||
/// The range of component `z` is `[0, 50]`.
|
||||
fn disband(x: u32, y: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 145_000 nanoseconds.
|
||||
Weight::from_ref_time(147_000_000 as u64)
|
||||
// Standard Error: 13_290
|
||||
.saturating_add(Weight::from_ref_time(304_371 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 13_226
|
||||
.saturating_add(Weight::from_ref_time(330_798 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 26_428
|
||||
.saturating_add(Weight::from_ref_time(7_207_748 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(y as u64)))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(z as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(z as u64)))
|
||||
// Minimum execution time: 251_640 nanoseconds.
|
||||
Weight::from_ref_time(252_446_000)
|
||||
// Standard Error: 20_419
|
||||
.saturating_add(Weight::from_ref_time(486_667).saturating_mul(x.into()))
|
||||
// Standard Error: 20_320
|
||||
.saturating_add(Weight::from_ref_time(498_890).saturating_mul(y.into()))
|
||||
// Standard Error: 40_604
|
||||
.saturating_add(Weight::from_ref_time(9_411_242).saturating_mul(z.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(x.into())))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(y.into())))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(z.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes(4))
|
||||
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(z.into())))
|
||||
}
|
||||
// Storage: Alliance Rule (r:0 w:1)
|
||||
fn set_rule() -> Weight {
|
||||
// Minimum execution time: 11_000 nanoseconds.
|
||||
Weight::from_ref_time(12_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 18_867 nanoseconds.
|
||||
Weight::from_ref_time(19_155_000)
|
||||
.saturating_add(RocksDbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn announce() -> Weight {
|
||||
// Minimum execution time: 13_000 nanoseconds.
|
||||
Weight::from_ref_time(14_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 21_942 nanoseconds.
|
||||
Weight::from_ref_time(22_319_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(1))
|
||||
.saturating_add(RocksDbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn remove_announcement() -> Weight {
|
||||
// Minimum execution time: 14_000 nanoseconds.
|
||||
Weight::from_ref_time(14_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 23_419 nanoseconds.
|
||||
Weight::from_ref_time(23_854_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(1))
|
||||
.saturating_add(RocksDbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 w:1)
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Alliance DepositOf (r:0 w:1)
|
||||
fn join_alliance() -> Weight {
|
||||
// Minimum execution time: 39_000 nanoseconds.
|
||||
Weight::from_ref_time(41_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 53_016 nanoseconds.
|
||||
Weight::from_ref_time(53_768_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(5))
|
||||
.saturating_add(RocksDbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 w:1)
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||
fn nominate_ally() -> Weight {
|
||||
// Minimum execution time: 29_000 nanoseconds.
|
||||
Weight::from_ref_time(30_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 40_019 nanoseconds.
|
||||
Weight::from_ref_time(41_087_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(4))
|
||||
.saturating_add(RocksDbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Alliance Members (r:2 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn elevate_ally() -> Weight {
|
||||
// Minimum execution time: 23_000 nanoseconds.
|
||||
Weight::from_ref_time(24_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 35_973 nanoseconds.
|
||||
Weight::from_ref_time(36_365_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(3))
|
||||
.saturating_add(RocksDbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Alliance Members (r:4 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
@@ -543,20 +534,20 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
// Storage: Alliance RetiringMembers (r:0 w:1)
|
||||
fn give_retirement_notice() -> Weight {
|
||||
// Minimum execution time: 31_000 nanoseconds.
|
||||
Weight::from_ref_time(32_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
// Minimum execution time: 44_949 nanoseconds.
|
||||
Weight::from_ref_time(46_284_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(5))
|
||||
.saturating_add(RocksDbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: Alliance RetiringMembers (r:1 w:1)
|
||||
// Storage: Alliance Members (r:1 w:1)
|
||||
// Storage: Alliance DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn retire() -> Weight {
|
||||
// Minimum execution time: 29_000 nanoseconds.
|
||||
Weight::from_ref_time(30_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 45_989 nanoseconds.
|
||||
Weight::from_ref_time(46_586_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(4))
|
||||
.saturating_add(RocksDbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 w:1)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
@@ -565,45 +556,47 @@ impl WeightInfo for () {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn kick_member() -> Weight {
|
||||
// Minimum execution time: 45_000 nanoseconds.
|
||||
Weight::from_ref_time(47_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(6 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5 as u64))
|
||||
// Minimum execution time: 67_333 nanoseconds.
|
||||
Weight::from_ref_time(68_302_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(6))
|
||||
.saturating_add(RocksDbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `l` is `[0, 255]`.
|
||||
fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||
// Minimum execution time: 9_000 nanoseconds.
|
||||
Weight::from_ref_time(9_512_816 as u64)
|
||||
// Standard Error: 2_976
|
||||
.saturating_add(Weight::from_ref_time(560_175 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 1_169
|
||||
.saturating_add(Weight::from_ref_time(24_530 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 16_911 nanoseconds.
|
||||
Weight::from_ref_time(17_204_000)
|
||||
// Standard Error: 2_688
|
||||
.saturating_add(Weight::from_ref_time(1_324_527).saturating_mul(n.into()))
|
||||
// Standard Error: 1_052
|
||||
.saturating_add(Weight::from_ref_time(73_828).saturating_mul(l.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2))
|
||||
.saturating_add(RocksDbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `l` is `[0, 255]`.
|
||||
fn remove_unscrupulous_items(n: u32, _l: u32, ) -> Weight {
|
||||
// Minimum execution time: 10_000 nanoseconds.
|
||||
Weight::from_ref_time(10_000_000 as u64)
|
||||
// Standard Error: 94_049
|
||||
.saturating_add(Weight::from_ref_time(10_887_604 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||
// Minimum execution time: 17_117 nanoseconds.
|
||||
Weight::from_ref_time(17_291_000)
|
||||
// Standard Error: 166_132
|
||||
.saturating_add(Weight::from_ref_time(13_173_211).saturating_mul(n.into()))
|
||||
// Standard Error: 65_064
|
||||
.saturating_add(Weight::from_ref_time(478_626).saturating_mul(l.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2))
|
||||
.saturating_add(RocksDbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Alliance Members (r:3 w:2)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn abdicate_fellow_status() -> Weight {
|
||||
// Minimum execution time: 29_000 nanoseconds.
|
||||
Weight::from_ref_time(30_000_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 43_347 nanoseconds.
|
||||
Weight::from_ref_time(43_986_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(4))
|
||||
.saturating_add(RocksDbWeight::get().writes(4))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user