mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-08-06 00:15:43 +00:00
3ea40ba1f7
* polkadot: update weights * kusama: update weights * westend: update weights * rococo: update weights
146 lines
5.7 KiB
Rust
146 lines
5.7 KiB
Rust
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
|
// This file is part of Polkadot.
|
|
|
|
// Polkadot is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
|
|
// Polkadot is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
|
//! Autogenerated weights for `pallet_multisig`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
|
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! 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
|
|
// --pallet=pallet_multisig
|
|
// --extrinsic=*
|
|
// --execution=wasm
|
|
// --wasm-execution=compiled
|
|
// --heap-pages=4096
|
|
// --header=./file_header.txt
|
|
// --output=./runtime/kusama/src/weights/pallet_multisig.rs
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
|
|
use frame_support::{traits::Get, weights::Weight};
|
|
use sp_std::marker::PhantomData;
|
|
|
|
/// Weight functions for `pallet_multisig`.
|
|
pub struct WeightInfo<T>(PhantomData<T>);
|
|
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
|
(8_963_000 as Weight)
|
|
// Standard Error: 0
|
|
.saturating_add((1_000 as Weight).saturating_mul(z as Weight))
|
|
}
|
|
// Storage: Multisig Multisigs (r:1 w:1)
|
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
|
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
|
(27_778_000 as Weight)
|
|
// Standard Error: 0
|
|
.saturating_add((93_000 as Weight).saturating_mul(s as Weight))
|
|
// Standard Error: 0
|
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
}
|
|
// Storage: Multisig Multisigs (r:1 w:1)
|
|
// Storage: Multisig Calls (r:1 w:1)
|
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
|
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
|
(29_693_000 as Weight)
|
|
// Standard Error: 0
|
|
.saturating_add((103_000 as Weight).saturating_mul(s as Weight))
|
|
// Standard Error: 0
|
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
|
}
|
|
// Storage: Multisig Multisigs (r:1 w:1)
|
|
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
|
(17_124_000 as Weight)
|
|
// Standard Error: 0
|
|
.saturating_add((95_000 as Weight).saturating_mul(s as Weight))
|
|
// Standard Error: 0
|
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
}
|
|
// Storage: Multisig Multisigs (r:1 w:1)
|
|
// Storage: Multisig Calls (r:1 w:1)
|
|
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
|
(28_262_000 as Weight)
|
|
// Standard Error: 0
|
|
.saturating_add((113_000 as Weight).saturating_mul(s as Weight))
|
|
// Standard Error: 0
|
|
.saturating_add((2_000 as Weight).saturating_mul(z as Weight))
|
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
|
}
|
|
// Storage: Multisig Multisigs (r:1 w:1)
|
|
// Storage: Multisig Calls (r:1 w:1)
|
|
// Storage: System Account (r:1 w:1)
|
|
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
|
(35_294_000 as Weight)
|
|
// Standard Error: 1_000
|
|
.saturating_add((143_000 as Weight).saturating_mul(s as Weight))
|
|
// Standard Error: 0
|
|
.saturating_add((4_000 as Weight).saturating_mul(z as Weight))
|
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
|
}
|
|
// Storage: Multisig Multisigs (r:1 w:1)
|
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
|
fn approve_as_multi_create(s: u32, ) -> Weight {
|
|
(26_485_000 as Weight)
|
|
// Standard Error: 0
|
|
.saturating_add((101_000 as Weight).saturating_mul(s as Weight))
|
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
}
|
|
// Storage: Multisig Multisigs (r:1 w:1)
|
|
// Storage: Multisig Calls (r:1 w:0)
|
|
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
|
(16_583_000 as Weight)
|
|
// Standard Error: 0
|
|
.saturating_add((97_000 as Weight).saturating_mul(s as Weight))
|
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
|
}
|
|
// Storage: Multisig Multisigs (r:1 w:1)
|
|
// Storage: Multisig Calls (r:1 w:1)
|
|
// Storage: System Account (r:1 w:1)
|
|
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
|
(68_765_000 as Weight)
|
|
// Standard Error: 0
|
|
.saturating_add((143_000 as Weight).saturating_mul(s as Weight))
|
|
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
|
}
|
|
// Storage: Multisig Multisigs (r:1 w:1)
|
|
// Storage: Multisig Calls (r:1 w:1)
|
|
fn cancel_as_multi(s: u32, ) -> Weight {
|
|
(46_982_000 as Weight)
|
|
// Standard Error: 0
|
|
.saturating_add((110_000 as Weight).saturating_mul(s as Weight))
|
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
|
}
|
|
}
|