moonriver_runtime/weights/
pallet_multisig.rs

1// Copyright 2025 Moonbeam foundation
2// This file is part of Moonbeam.
3
4// Moonbeam is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Moonbeam is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Moonbeam.  If not, see <http://www.gnu.org/licenses/>.
16
17
18//! Autogenerated weights for `pallet_multisig`
19//!
20//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.0.0
21//! DATE: 2025-12-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22//! WORST CASE MAP SIZE: `1000000`
23//! HOSTNAME: `ip-10-0-0-36`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
24//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
25
26// Executed Command:
27// ./frame-omni-bencher
28// v1
29// benchmark
30// pallet
31// --runtime=./target/production/wbuild/moonriver-runtime/moonriver_runtime.wasm
32// --genesis-builder=runtime
33// --genesis-builder-preset=development
34// --steps=50
35// --repeat=20
36// --pallet=pallet_multisig
37// --extrinsic=*
38// --wasm-execution=compiled
39// --header=./file_header.txt
40// --template=./benchmarking/frame-weight-template.hbs
41// --output=./runtime/moonriver/src/weights
42
43#![cfg_attr(rustfmt, rustfmt_skip)]
44#![allow(unused_parens)]
45#![allow(unused_imports)]
46
47use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
48use sp_std::marker::PhantomData;
49
50/// Weights for `pallet_multisig`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
53	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
54	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
55	/// The range of component `z` is `[0, 10000]`.
56	fn as_multi_threshold_1(z: u32, ) -> Weight {
57		// Proof Size summary in bytes:
58		//  Measured:  `80`
59		//  Estimated: `1565`
60		// Minimum execution time: 22_998_000 picoseconds.
61		Weight::from_parts(24_110_632, 1565)
62			// Standard Error: 4
63			.saturating_add(Weight::from_parts(1_933, 0).saturating_mul(z.into()))
64			.saturating_add(T::DbWeight::get().reads(1_u64))
65	}
66	/// Storage: `Multisig::Multisigs` (r:1 w:1)
67	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`)
68	/// The range of component `s` is `[2, 100]`.
69	/// The range of component `z` is `[0, 10000]`.
70	fn as_multi_create(s: u32, z: u32, ) -> Weight {
71		// Proof Size summary in bytes:
72		//  Measured:  `304`
73		//  Estimated: `5587`
74		// Minimum execution time: 44_370_000 picoseconds.
75		Weight::from_parts(33_917_951, 5587)
76			// Standard Error: 1_590
77			.saturating_add(Weight::from_parts(117_002, 0).saturating_mul(s.into()))
78			// Standard Error: 15
79			.saturating_add(Weight::from_parts(2_028, 0).saturating_mul(z.into()))
80			.saturating_add(T::DbWeight::get().reads(1_u64))
81			.saturating_add(T::DbWeight::get().writes(1_u64))
82	}
83	/// Storage: `Multisig::Multisigs` (r:1 w:1)
84	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`)
85	/// The range of component `s` is `[3, 100]`.
86	/// The range of component `z` is `[0, 10000]`.
87	fn as_multi_approve(s: u32, z: u32, ) -> Weight {
88		// Proof Size summary in bytes:
89		//  Measured:  `312`
90		//  Estimated: `5587`
91		// Minimum execution time: 27_997_000 picoseconds.
92		Weight::from_parts(18_268_339, 5587)
93			// Standard Error: 445
94			.saturating_add(Weight::from_parts(107_112, 0).saturating_mul(s.into()))
95			// Standard Error: 4
96			.saturating_add(Weight::from_parts(1_966, 0).saturating_mul(z.into()))
97			.saturating_add(T::DbWeight::get().reads(1_u64))
98			.saturating_add(T::DbWeight::get().writes(1_u64))
99	}
100	/// Storage: `Multisig::Multisigs` (r:1 w:1)
101	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`)
102	/// Storage: `System::Account` (r:1 w:1)
103	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
104	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
105	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
106	/// The range of component `s` is `[2, 100]`.
107	/// The range of component `z` is `[0, 10000]`.
108	fn as_multi_complete(s: u32, z: u32, ) -> Weight {
109		// Proof Size summary in bytes:
110		//  Measured:  `513 + s * (20 ±0)`
111		//  Estimated: `5587 + s * (20 ±0)`
112		// Minimum execution time: 55_671_000 picoseconds.
113		Weight::from_parts(42_920_297, 5587)
114			// Standard Error: 1_003
115			.saturating_add(Weight::from_parts(153_430, 0).saturating_mul(s.into()))
116			// Standard Error: 9
117			.saturating_add(Weight::from_parts(1_972, 0).saturating_mul(z.into()))
118			.saturating_add(T::DbWeight::get().reads(3_u64))
119			.saturating_add(T::DbWeight::get().writes(2_u64))
120			.saturating_add(Weight::from_parts(0, 20).saturating_mul(s.into()))
121	}
122	/// Storage: `Multisig::Multisigs` (r:1 w:1)
123	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`)
124	/// The range of component `s` is `[2, 100]`.
125	fn approve_as_multi_create(s: u32, ) -> Weight {
126		// Proof Size summary in bytes:
127		//  Measured:  `304`
128		//  Estimated: `5587`
129		// Minimum execution time: 31_406_000 picoseconds.
130		Weight::from_parts(32_879_298, 5587)
131			// Standard Error: 802
132			.saturating_add(Weight::from_parts(124_481, 0).saturating_mul(s.into()))
133			.saturating_add(T::DbWeight::get().reads(1_u64))
134			.saturating_add(T::DbWeight::get().writes(1_u64))
135	}
136	/// Storage: `Multisig::Multisigs` (r:1 w:1)
137	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`)
138	/// The range of component `s` is `[2, 100]`.
139	fn approve_as_multi_approve(s: u32, ) -> Weight {
140		// Proof Size summary in bytes:
141		//  Measured:  `312`
142		//  Estimated: `5587`
143		// Minimum execution time: 16_317_000 picoseconds.
144		Weight::from_parts(17_265_649, 5587)
145			// Standard Error: 485
146			.saturating_add(Weight::from_parts(108_159, 0).saturating_mul(s.into()))
147			.saturating_add(T::DbWeight::get().reads(1_u64))
148			.saturating_add(T::DbWeight::get().writes(1_u64))
149	}
150	/// Storage: `Multisig::Multisigs` (r:1 w:1)
151	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`)
152	/// The range of component `s` is `[2, 100]`.
153	fn cancel_as_multi(s: u32, ) -> Weight {
154		// Proof Size summary in bytes:
155		//  Measured:  `474`
156		//  Estimated: `5587`
157		// Minimum execution time: 33_467_000 picoseconds.
158		Weight::from_parts(35_286_515, 5587)
159			// Standard Error: 777
160			.saturating_add(Weight::from_parts(116_263, 0).saturating_mul(s.into()))
161			.saturating_add(T::DbWeight::get().reads(1_u64))
162			.saturating_add(T::DbWeight::get().writes(1_u64))
163	}
164	/// Storage: `Multisig::Multisigs` (r:1 w:1)
165	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2122), added: 4597, mode: `MaxEncodedLen`)
166	/// The range of component `s` is `[2, 100]`.
167	fn poke_deposit(s: u32, ) -> Weight {
168		// Proof Size summary in bytes:
169		//  Measured:  `474`
170		//  Estimated: `5587`
171		// Minimum execution time: 32_209_000 picoseconds.
172		Weight::from_parts(33_375_477, 5587)
173			// Standard Error: 723
174			.saturating_add(Weight::from_parts(113_730, 0).saturating_mul(s.into()))
175			.saturating_add(T::DbWeight::get().reads(1_u64))
176			.saturating_add(T::DbWeight::get().writes(1_u64))
177	}
178}