b6d35f6faf
Updated 4763 files with dual copyright: - Parity Technologies (UK) Ltd. - Dijital Kurdistan Tech Institute
466 lines
22 KiB
Rust
466 lines
22 KiB
Rust
// This file is part of Bizinikiwi.
|
|
|
|
// Copyright (C) Parity Technologies (UK) Ltd. and Dijital Kurdistan Tech Institute
|
|
// 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.
|
|
|
|
// This file is part of Bizinikiwi.
|
|
|
|
// Copyright (C) Parity Technologies (UK) Ltd. and Dijital Kurdistan Tech Institute
|
|
// 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 `pezpallet_proxy`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
|
//! DATE: 2025-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `99fc4dfa9c86`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
|
|
|
|
// Executed Command:
|
|
// frame-omni-bencher
|
|
// v1
|
|
// benchmark
|
|
// pezpallet
|
|
// --extrinsic=*
|
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
|
// --pezpallet=pezpallet_proxy
|
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/proxy/src/weights.rs
|
|
// --wasm-execution=compiled
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --heap-pages=4096
|
|
// --template=bizinikiwi/.maintain/frame-umbrella-weight-template.hbs
|
|
// --no-storage-info
|
|
// --no-min-squares
|
|
// --no-median-slopes
|
|
// --exclude-pallets=pezpallet_xcm,pezpallet_xcm_benchmarks::fungible,pezpallet_xcm_benchmarks::generic,pezpallet_nomination_pools,pezpallet_remark,pezpallet_transaction_storage,pezpallet_election_provider_multi_block,pezpallet_election_provider_multi_block::signed,pezpallet_election_provider_multi_block::unsigned,pezpallet_election_provider_multi_block::verifier
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
#![allow(missing_docs)]
|
|
#![allow(dead_code)]
|
|
|
|
use frame::weights_prelude::*;
|
|
|
|
/// Weight functions needed for `pezpallet_proxy`.
|
|
pub trait WeightInfo {
|
|
fn proxy(p: u32, ) -> Weight;
|
|
fn proxy_announced(a: u32, p: u32, ) -> Weight;
|
|
fn remove_announcement(a: u32, p: u32, ) -> Weight;
|
|
fn reject_announcement(a: u32, p: u32, ) -> Weight;
|
|
fn announce(a: u32, p: u32, ) -> Weight;
|
|
fn add_proxy(p: u32, ) -> Weight;
|
|
fn remove_proxy(p: u32, ) -> Weight;
|
|
fn remove_proxies(p: u32, ) -> Weight;
|
|
fn create_pure(p: u32, ) -> Weight;
|
|
fn kill_pure(p: u32, ) -> Weight;
|
|
fn poke_deposit() -> Weight;
|
|
}
|
|
|
|
/// Weights for `pezpallet_proxy` using the Bizinikiwi node and recommended hardware.
|
|
pub struct BizinikiwiWeight<T>(PhantomData<T>);
|
|
impl<T: pezframe_system::Config> WeightInfo for BizinikiwiWeight<T> {
|
|
/// Storage: `Proxy::Proxies` (r:1 w:0)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
|
|
/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
|
/// Storage: `TxPause::PausedCalls` (r:1 w:0)
|
|
/// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn proxy(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `339 + p * (37 ±0)`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 23_353_000 picoseconds.
|
|
Weight::from_parts(25_084_085, 4706)
|
|
// Standard Error: 2_569
|
|
.saturating_add(Weight::from_parts(33_574, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:0)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// Storage: `Proxy::Announcements` (r:1 w:1)
|
|
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
|
|
/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
|
/// Storage: `TxPause::PausedCalls` (r:1 w:0)
|
|
/// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
|
|
/// The range of component `a` is `[0, 31]`.
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `666 + a * (68 ±0) + p * (37 ±0)`
|
|
// Estimated: `5698`
|
|
// Minimum execution time: 47_196_000 picoseconds.
|
|
Weight::from_parts(48_686_812, 5698)
|
|
// Standard Error: 3_711
|
|
.saturating_add(Weight::from_parts(171_107, 0).saturating_mul(a.into()))
|
|
// Standard Error: 3_834
|
|
.saturating_add(Weight::from_parts(34_523, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(5_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: `Proxy::Announcements` (r:1 w:1)
|
|
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// The range of component `a` is `[0, 31]`.
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `436 + a * (68 ±0)`
|
|
// Estimated: `5698`
|
|
// Minimum execution time: 29_341_000 picoseconds.
|
|
Weight::from_parts(30_320_504, 5698)
|
|
// Standard Error: 1_821
|
|
.saturating_add(Weight::from_parts(158_572, 0).saturating_mul(a.into()))
|
|
// Standard Error: 1_881
|
|
.saturating_add(Weight::from_parts(8_433, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: `Proxy::Announcements` (r:1 w:1)
|
|
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// The range of component `a` is `[0, 31]`.
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `436 + a * (68 ±0)`
|
|
// Estimated: `5698`
|
|
// Minimum execution time: 28_422_000 picoseconds.
|
|
Weight::from_parts(29_754_384, 5698)
|
|
// Standard Error: 1_840
|
|
.saturating_add(Weight::from_parts(176_827, 0).saturating_mul(a.into()))
|
|
// Standard Error: 1_901
|
|
.saturating_add(Weight::from_parts(9_607, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:0)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// Storage: `Proxy::Announcements` (r:1 w:1)
|
|
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// The range of component `a` is `[0, 31]`.
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn announce(a: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `453 + a * (68 ±0) + p * (37 ±0)`
|
|
// Estimated: `5698`
|
|
// Minimum execution time: 36_885_000 picoseconds.
|
|
Weight::from_parts(38_080_636, 5698)
|
|
// Standard Error: 2_642
|
|
.saturating_add(Weight::from_parts(157_335, 0).saturating_mul(a.into()))
|
|
// Standard Error: 2_730
|
|
.saturating_add(Weight::from_parts(28_872, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn add_proxy(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `194 + p * (37 ±0)`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 27_016_000 picoseconds.
|
|
Weight::from_parts(28_296_216, 4706)
|
|
// Standard Error: 1_643
|
|
.saturating_add(Weight::from_parts(50_271, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn remove_proxy(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `194 + p * (37 ±0)`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 26_955_000 picoseconds.
|
|
Weight::from_parts(28_379_566, 4706)
|
|
// Standard Error: 1_547
|
|
.saturating_add(Weight::from_parts(45_784, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn remove_proxies(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `194 + p * (37 ±0)`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 24_656_000 picoseconds.
|
|
Weight::from_parts(25_821_878, 4706)
|
|
// Standard Error: 2_300
|
|
.saturating_add(Weight::from_parts(33_972, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn create_pure(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `206`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 28_416_000 picoseconds.
|
|
Weight::from_parts(29_662_728, 4706)
|
|
// Standard Error: 1_851
|
|
.saturating_add(Weight::from_parts(29_928, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[0, 30]`.
|
|
fn kill_pure(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `231 + p * (37 ±0)`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 25_505_000 picoseconds.
|
|
Weight::from_parts(26_780_627, 4706)
|
|
// Standard Error: 1_581
|
|
.saturating_add(Weight::from_parts(33_085, 0).saturating_mul(p.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// Storage: `Proxy::Announcements` (r:1 w:1)
|
|
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
|
|
fn poke_deposit() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `519`
|
|
// Estimated: `5698`
|
|
// Minimum execution time: 46_733_000 picoseconds.
|
|
Weight::from_parts(47_972_000, 5698)
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
}
|
|
|
|
// For backwards compatibility and tests.
|
|
impl WeightInfo for () {
|
|
/// Storage: `Proxy::Proxies` (r:1 w:0)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
|
|
/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
|
/// Storage: `TxPause::PausedCalls` (r:1 w:0)
|
|
/// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn proxy(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `339 + p * (37 ±0)`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 23_353_000 picoseconds.
|
|
Weight::from_parts(25_084_085, 4706)
|
|
// Standard Error: 2_569
|
|
.saturating_add(Weight::from_parts(33_574, 0).saturating_mul(p.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:0)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// Storage: `Proxy::Announcements` (r:1 w:1)
|
|
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
|
|
/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
|
/// Storage: `TxPause::PausedCalls` (r:1 w:0)
|
|
/// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
|
|
/// The range of component `a` is `[0, 31]`.
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `666 + a * (68 ±0) + p * (37 ±0)`
|
|
// Estimated: `5698`
|
|
// Minimum execution time: 47_196_000 picoseconds.
|
|
Weight::from_parts(48_686_812, 5698)
|
|
// Standard Error: 3_711
|
|
.saturating_add(Weight::from_parts(171_107, 0).saturating_mul(a.into()))
|
|
// Standard Error: 3_834
|
|
.saturating_add(Weight::from_parts(34_523, 0).saturating_mul(p.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: `Proxy::Announcements` (r:1 w:1)
|
|
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// The range of component `a` is `[0, 31]`.
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `436 + a * (68 ±0)`
|
|
// Estimated: `5698`
|
|
// Minimum execution time: 29_341_000 picoseconds.
|
|
Weight::from_parts(30_320_504, 5698)
|
|
// Standard Error: 1_821
|
|
.saturating_add(Weight::from_parts(158_572, 0).saturating_mul(a.into()))
|
|
// Standard Error: 1_881
|
|
.saturating_add(Weight::from_parts(8_433, 0).saturating_mul(p.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: `Proxy::Announcements` (r:1 w:1)
|
|
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// The range of component `a` is `[0, 31]`.
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `436 + a * (68 ±0)`
|
|
// Estimated: `5698`
|
|
// Minimum execution time: 28_422_000 picoseconds.
|
|
Weight::from_parts(29_754_384, 5698)
|
|
// Standard Error: 1_840
|
|
.saturating_add(Weight::from_parts(176_827, 0).saturating_mul(a.into()))
|
|
// Standard Error: 1_901
|
|
.saturating_add(Weight::from_parts(9_607, 0).saturating_mul(p.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:0)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// Storage: `Proxy::Announcements` (r:1 w:1)
|
|
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// The range of component `a` is `[0, 31]`.
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn announce(a: u32, p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `453 + a * (68 ±0) + p * (37 ±0)`
|
|
// Estimated: `5698`
|
|
// Minimum execution time: 36_885_000 picoseconds.
|
|
Weight::from_parts(38_080_636, 5698)
|
|
// Standard Error: 2_642
|
|
.saturating_add(Weight::from_parts(157_335, 0).saturating_mul(a.into()))
|
|
// Standard Error: 2_730
|
|
.saturating_add(Weight::from_parts(28_872, 0).saturating_mul(p.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn add_proxy(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `194 + p * (37 ±0)`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 27_016_000 picoseconds.
|
|
Weight::from_parts(28_296_216, 4706)
|
|
// Standard Error: 1_643
|
|
.saturating_add(Weight::from_parts(50_271, 0).saturating_mul(p.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn remove_proxy(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `194 + p * (37 ±0)`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 26_955_000 picoseconds.
|
|
Weight::from_parts(28_379_566, 4706)
|
|
// Standard Error: 1_547
|
|
.saturating_add(Weight::from_parts(45_784, 0).saturating_mul(p.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn remove_proxies(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `194 + p * (37 ±0)`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 24_656_000 picoseconds.
|
|
Weight::from_parts(25_821_878, 4706)
|
|
// Standard Error: 2_300
|
|
.saturating_add(Weight::from_parts(33_972, 0).saturating_mul(p.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[1, 31]`.
|
|
fn create_pure(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `206`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 28_416_000 picoseconds.
|
|
Weight::from_parts(29_662_728, 4706)
|
|
// Standard Error: 1_851
|
|
.saturating_add(Weight::from_parts(29_928, 0).saturating_mul(p.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// The range of component `p` is `[0, 30]`.
|
|
fn kill_pure(p: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `231 + p * (37 ±0)`
|
|
// Estimated: `4706`
|
|
// Minimum execution time: 25_505_000 picoseconds.
|
|
Weight::from_parts(26_780_627, 4706)
|
|
// Standard Error: 1_581
|
|
.saturating_add(Weight::from_parts(33_085, 0).saturating_mul(p.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Proxy::Proxies` (r:1 w:1)
|
|
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// Storage: `Proxy::Announcements` (r:1 w:1)
|
|
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
|
|
fn poke_deposit() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `519`
|
|
// Estimated: `5698`
|
|
// Minimum execution time: 46_733_000 picoseconds.
|
|
Weight::from_parts(47_972_000, 5698)
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
}
|