pallet_collective/weights.rs
1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_collective`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `4563561839a5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_collective
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/collective/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --genesis-builder-policy=none
62// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
63
64#![cfg_attr(rustfmt, rustfmt_skip)]
65#![allow(unused_parens)]
66#![allow(unused_imports)]
67#![allow(missing_docs)]
68#![allow(dead_code)]
69
70use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
71use core::marker::PhantomData;
72
73/// Weight functions needed for `pallet_collective`.
74pub trait WeightInfo {
75 fn set_members(m: u32, n: u32, p: u32, ) -> Weight;
76 fn execute(b: u32, m: u32, ) -> Weight;
77 fn propose_execute(b: u32, m: u32, ) -> Weight;
78 fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight;
79 fn vote(m: u32, ) -> Weight;
80 fn close_early_disapproved(m: u32, p: u32, ) -> Weight;
81 fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight;
82 fn close_disapproved(m: u32, p: u32, ) -> Weight;
83 fn close_approved(b: u32, m: u32, p: u32, ) -> Weight;
84 fn disapprove_proposal(p: u32, ) -> Weight;
85 fn kill(d: u32, p: u32, ) -> Weight;
86 fn release_proposal_cost() -> Weight;
87}
88
89/// Weights for `pallet_collective` using the Substrate node and recommended hardware.
90pub struct SubstrateWeight<T>(PhantomData<T>);
91impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
92 /// Storage: `Council::Members` (r:1 w:1)
93 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
94 /// Storage: `Council::Proposals` (r:1 w:0)
95 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
96 /// Storage: `Council::Voting` (r:100 w:100)
97 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
98 /// Storage: `Council::Prime` (r:0 w:1)
99 /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
100 /// The range of component `m` is `[0, 100]`.
101 /// The range of component `n` is `[0, 100]`.
102 /// The range of component `p` is `[0, 100]`.
103 fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
104 // Proof Size summary in bytes:
105 // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)`
106 // Estimated: `15670 + m * (1967 ±23) + p * (4332 ±23)`
107 // Minimum execution time: 12_462_000 picoseconds.
108 Weight::from_parts(12_646_000, 15670)
109 // Standard Error: 79_289
110 .saturating_add(Weight::from_parts(5_961_291, 0).saturating_mul(m.into()))
111 // Standard Error: 79_289
112 .saturating_add(Weight::from_parts(10_323_837, 0).saturating_mul(p.into()))
113 .saturating_add(T::DbWeight::get().reads(2_u64))
114 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
115 .saturating_add(T::DbWeight::get().writes(2_u64))
116 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
117 .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into()))
118 .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into()))
119 }
120 /// Storage: `Council::Members` (r:1 w:0)
121 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
122 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
123 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
124 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
125 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
126 /// The range of component `b` is `[2, 1024]`.
127 /// The range of component `m` is `[1, 100]`.
128 fn execute(b: u32, m: u32, ) -> Weight {
129 // Proof Size summary in bytes:
130 // Measured: `7 + m * (32 ±0)`
131 // Estimated: `3997 + m * (32 ±0)`
132 // Minimum execution time: 13_735_000 picoseconds.
133 Weight::from_parts(12_877_692, 3997)
134 // Standard Error: 32
135 .saturating_add(Weight::from_parts(1_555, 0).saturating_mul(b.into()))
136 // Standard Error: 334
137 .saturating_add(Weight::from_parts(14_710, 0).saturating_mul(m.into()))
138 .saturating_add(T::DbWeight::get().reads(3_u64))
139 .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
140 }
141 /// Storage: `Council::Members` (r:1 w:0)
142 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
143 /// Storage: `Council::ProposalOf` (r:1 w:0)
144 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
145 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
146 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
147 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
148 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
149 /// The range of component `b` is `[2, 1024]`.
150 /// The range of component `m` is `[1, 100]`.
151 fn propose_execute(b: u32, m: u32, ) -> Weight {
152 // Proof Size summary in bytes:
153 // Measured: `7 + m * (32 ±0)`
154 // Estimated: `3997 + m * (32 ±0)`
155 // Minimum execution time: 15_883_000 picoseconds.
156 Weight::from_parts(14_905_569, 3997)
157 // Standard Error: 30
158 .saturating_add(Weight::from_parts(1_636, 0).saturating_mul(b.into()))
159 // Standard Error: 313
160 .saturating_add(Weight::from_parts(26_237, 0).saturating_mul(m.into()))
161 .saturating_add(T::DbWeight::get().reads(4_u64))
162 .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
163 }
164 /// Storage: `Council::Members` (r:1 w:0)
165 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
166 /// Storage: `Council::ProposalOf` (r:1 w:1)
167 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
168 /// Storage: `Council::Proposals` (r:1 w:1)
169 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
170 /// Storage: `Balances::Holds` (r:1 w:1)
171 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
172 /// Storage: `Council::ProposalCount` (r:1 w:1)
173 /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
174 /// Storage: `Council::Voting` (r:0 w:1)
175 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
176 /// Storage: `Council::CostOf` (r:0 w:1)
177 /// Proof: `Council::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
178 /// The range of component `b` is `[2, 1024]`.
179 /// The range of component `m` is `[2, 100]`.
180 /// The range of component `p` is `[1, 100]`.
181 fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
182 // Proof Size summary in bytes:
183 // Measured: `394 + m * (32 ±0) + p * (36 ±0)`
184 // Estimated: `3892 + m * (33 ±0) + p * (36 ±0)`
185 // Minimum execution time: 40_695_000 picoseconds.
186 Weight::from_parts(61_454_712, 3892)
187 // Standard Error: 349
188 .saturating_add(Weight::from_parts(4_274, 0).saturating_mul(b.into()))
189 // Standard Error: 3_648
190 .saturating_add(Weight::from_parts(30_746, 0).saturating_mul(m.into()))
191 // Standard Error: 3_601
192 .saturating_add(Weight::from_parts(262_875, 0).saturating_mul(p.into()))
193 .saturating_add(T::DbWeight::get().reads(5_u64))
194 .saturating_add(T::DbWeight::get().writes(6_u64))
195 .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into()))
196 .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
197 }
198 /// Storage: `Council::Members` (r:1 w:0)
199 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
200 /// Storage: `Council::Voting` (r:1 w:1)
201 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
202 /// The range of component `m` is `[5, 100]`.
203 fn vote(m: u32, ) -> Weight {
204 // Proof Size summary in bytes:
205 // Measured: `787 + m * (64 ±0)`
206 // Estimated: `4251 + m * (64 ±0)`
207 // Minimum execution time: 27_325_000 picoseconds.
208 Weight::from_parts(27_882_147, 4251)
209 // Standard Error: 808
210 .saturating_add(Weight::from_parts(40_139, 0).saturating_mul(m.into()))
211 .saturating_add(T::DbWeight::get().reads(2_u64))
212 .saturating_add(T::DbWeight::get().writes(1_u64))
213 .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
214 }
215 /// Storage: `Council::Voting` (r:1 w:1)
216 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
217 /// Storage: `Council::Members` (r:1 w:0)
218 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
219 /// Storage: `Council::Proposals` (r:1 w:1)
220 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
221 /// Storage: `Council::ProposalOf` (r:0 w:1)
222 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
223 /// The range of component `m` is `[4, 100]`.
224 /// The range of component `p` is `[1, 100]`.
225 fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
226 // Proof Size summary in bytes:
227 // Measured: `376 + m * (64 ±0) + p * (36 ±0)`
228 // Estimated: `3818 + m * (65 ±0) + p * (36 ±0)`
229 // Minimum execution time: 24_117_000 picoseconds.
230 Weight::from_parts(27_410_759, 3818)
231 // Standard Error: 2_202
232 .saturating_add(Weight::from_parts(40_245, 0).saturating_mul(m.into()))
233 // Standard Error: 2_147
234 .saturating_add(Weight::from_parts(211_095, 0).saturating_mul(p.into()))
235 .saturating_add(T::DbWeight::get().reads(3_u64))
236 .saturating_add(T::DbWeight::get().writes(3_u64))
237 .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into()))
238 .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
239 }
240 /// Storage: `Council::Voting` (r:1 w:1)
241 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
242 /// Storage: `Council::Members` (r:1 w:0)
243 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
244 /// Storage: `Council::ProposalOf` (r:1 w:1)
245 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
246 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
247 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
248 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
249 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
250 /// Storage: `Council::Proposals` (r:1 w:1)
251 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
252 /// The range of component `b` is `[2, 1024]`.
253 /// The range of component `m` is `[4, 100]`.
254 /// The range of component `p` is `[1, 100]`.
255 fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
256 // Proof Size summary in bytes:
257 // Measured: `677 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
258 // Estimated: `3997 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)`
259 // Minimum execution time: 36_730_000 picoseconds.
260 Weight::from_parts(40_759_167, 3997)
261 // Standard Error: 228
262 .saturating_add(Weight::from_parts(3_423, 0).saturating_mul(b.into()))
263 // Standard Error: 2_413
264 .saturating_add(Weight::from_parts(39_895, 0).saturating_mul(m.into()))
265 // Standard Error: 2_352
266 .saturating_add(Weight::from_parts(242_036, 0).saturating_mul(p.into()))
267 .saturating_add(T::DbWeight::get().reads(6_u64))
268 .saturating_add(T::DbWeight::get().writes(3_u64))
269 .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
270 .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into()))
271 .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
272 }
273 /// Storage: `Council::Voting` (r:1 w:1)
274 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
275 /// Storage: `Council::Members` (r:1 w:0)
276 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
277 /// Storage: `Council::Prime` (r:1 w:0)
278 /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
279 /// Storage: `Council::Proposals` (r:1 w:1)
280 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
281 /// Storage: `Council::ProposalOf` (r:0 w:1)
282 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
283 /// The range of component `m` is `[4, 100]`.
284 /// The range of component `p` is `[1, 100]`.
285 fn close_disapproved(m: u32, p: u32, ) -> Weight {
286 // Proof Size summary in bytes:
287 // Measured: `396 + m * (64 ±0) + p * (36 ±0)`
288 // Estimated: `3838 + m * (65 ±0) + p * (36 ±0)`
289 // Minimum execution time: 26_633_000 picoseconds.
290 Weight::from_parts(30_258_684, 3838)
291 // Standard Error: 1_818
292 .saturating_add(Weight::from_parts(41_737, 0).saturating_mul(m.into()))
293 // Standard Error: 1_772
294 .saturating_add(Weight::from_parts(206_682, 0).saturating_mul(p.into()))
295 .saturating_add(T::DbWeight::get().reads(4_u64))
296 .saturating_add(T::DbWeight::get().writes(3_u64))
297 .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into()))
298 .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
299 }
300 /// Storage: `Council::Voting` (r:1 w:1)
301 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
302 /// Storage: `Council::Members` (r:1 w:0)
303 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
304 /// Storage: `Council::Prime` (r:1 w:0)
305 /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
306 /// Storage: `Council::ProposalOf` (r:1 w:1)
307 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
308 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
309 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
310 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
311 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
312 /// Storage: `Council::Proposals` (r:1 w:1)
313 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
314 /// The range of component `b` is `[2, 1024]`.
315 /// The range of component `m` is `[4, 100]`.
316 /// The range of component `p` is `[1, 100]`.
317 fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
318 // Proof Size summary in bytes:
319 // Measured: `697 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
320 // Estimated: `4010 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)`
321 // Minimum execution time: 40_885_000 picoseconds.
322 Weight::from_parts(46_459_730, 4010)
323 // Standard Error: 234
324 .saturating_add(Weight::from_parts(1_914, 0).saturating_mul(b.into()))
325 // Standard Error: 2_476
326 .saturating_add(Weight::from_parts(27_310, 0).saturating_mul(m.into()))
327 // Standard Error: 2_414
328 .saturating_add(Weight::from_parts(237_527, 0).saturating_mul(p.into()))
329 .saturating_add(T::DbWeight::get().reads(7_u64))
330 .saturating_add(T::DbWeight::get().writes(3_u64))
331 .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
332 .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into()))
333 .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
334 }
335 /// Storage: `Council::Proposals` (r:1 w:1)
336 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
337 /// Storage: `Council::Voting` (r:0 w:1)
338 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
339 /// Storage: `Council::ProposalOf` (r:0 w:1)
340 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
341 /// The range of component `p` is `[1, 100]`.
342 fn disapprove_proposal(p: u32, ) -> Weight {
343 // Proof Size summary in bytes:
344 // Measured: `168 + p * (32 ±0)`
345 // Estimated: `1653 + p * (32 ±0)`
346 // Minimum execution time: 11_806_000 picoseconds.
347 Weight::from_parts(14_714_942, 1653)
348 // Standard Error: 1_358
349 .saturating_add(Weight::from_parts(182_535, 0).saturating_mul(p.into()))
350 .saturating_add(T::DbWeight::get().reads(1_u64))
351 .saturating_add(T::DbWeight::get().writes(3_u64))
352 .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into()))
353 }
354 /// Storage: `Council::ProposalOf` (r:1 w:1)
355 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
356 /// Storage: `Council::CostOf` (r:1 w:1)
357 /// Proof: `Council::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
358 /// Storage: `System::Account` (r:1 w:1)
359 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
360 /// Storage: `Balances::Holds` (r:1 w:1)
361 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
362 /// Storage: `Council::Proposals` (r:1 w:1)
363 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
364 /// Storage: `Council::Voting` (r:0 w:1)
365 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
366 /// The range of component `d` is `[0, 1]`.
367 /// The range of component `p` is `[1, 100]`.
368 fn kill(d: u32, p: u32, ) -> Weight {
369 // Proof Size summary in bytes:
370 // Measured: `1639 + d * (163 ±0) + p * (41 ±0)`
371 // Estimated: `4954 + d * (1946 ±14) + p * (43 ±0)`
372 // Minimum execution time: 18_912_000 picoseconds.
373 Weight::from_parts(18_315_857, 4954)
374 // Standard Error: 364_977
375 .saturating_add(Weight::from_parts(32_810_580, 0).saturating_mul(d.into()))
376 // Standard Error: 5_652
377 .saturating_add(Weight::from_parts(320_835, 0).saturating_mul(p.into()))
378 .saturating_add(T::DbWeight::get().reads(3_u64))
379 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into())))
380 .saturating_add(T::DbWeight::get().writes(3_u64))
381 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(d.into())))
382 .saturating_add(Weight::from_parts(0, 1946).saturating_mul(d.into()))
383 .saturating_add(Weight::from_parts(0, 43).saturating_mul(p.into()))
384 }
385 /// Storage: `Council::ProposalOf` (r:1 w:0)
386 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
387 /// Storage: `Council::CostOf` (r:1 w:1)
388 /// Proof: `Council::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
389 /// Storage: `System::Account` (r:1 w:1)
390 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
391 /// Storage: `Balances::Holds` (r:1 w:1)
392 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
393 fn release_proposal_cost() -> Weight {
394 // Proof Size summary in bytes:
395 // Measured: `1691`
396 // Estimated: `5156`
397 // Minimum execution time: 64_168_000 picoseconds.
398 Weight::from_parts(65_123_000, 5156)
399 .saturating_add(T::DbWeight::get().reads(4_u64))
400 .saturating_add(T::DbWeight::get().writes(3_u64))
401 }
402}
403
404// For backwards compatibility and tests.
405impl WeightInfo for () {
406 /// Storage: `Council::Members` (r:1 w:1)
407 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
408 /// Storage: `Council::Proposals` (r:1 w:0)
409 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
410 /// Storage: `Council::Voting` (r:100 w:100)
411 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
412 /// Storage: `Council::Prime` (r:0 w:1)
413 /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
414 /// The range of component `m` is `[0, 100]`.
415 /// The range of component `n` is `[0, 100]`.
416 /// The range of component `p` is `[0, 100]`.
417 fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
418 // Proof Size summary in bytes:
419 // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)`
420 // Estimated: `15670 + m * (1967 ±23) + p * (4332 ±23)`
421 // Minimum execution time: 12_462_000 picoseconds.
422 Weight::from_parts(12_646_000, 15670)
423 // Standard Error: 79_289
424 .saturating_add(Weight::from_parts(5_961_291, 0).saturating_mul(m.into()))
425 // Standard Error: 79_289
426 .saturating_add(Weight::from_parts(10_323_837, 0).saturating_mul(p.into()))
427 .saturating_add(RocksDbWeight::get().reads(2_u64))
428 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into())))
429 .saturating_add(RocksDbWeight::get().writes(2_u64))
430 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into())))
431 .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into()))
432 .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into()))
433 }
434 /// Storage: `Council::Members` (r:1 w:0)
435 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
436 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
437 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
438 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
439 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
440 /// The range of component `b` is `[2, 1024]`.
441 /// The range of component `m` is `[1, 100]`.
442 fn execute(b: u32, m: u32, ) -> Weight {
443 // Proof Size summary in bytes:
444 // Measured: `7 + m * (32 ±0)`
445 // Estimated: `3997 + m * (32 ±0)`
446 // Minimum execution time: 13_735_000 picoseconds.
447 Weight::from_parts(12_877_692, 3997)
448 // Standard Error: 32
449 .saturating_add(Weight::from_parts(1_555, 0).saturating_mul(b.into()))
450 // Standard Error: 334
451 .saturating_add(Weight::from_parts(14_710, 0).saturating_mul(m.into()))
452 .saturating_add(RocksDbWeight::get().reads(3_u64))
453 .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
454 }
455 /// Storage: `Council::Members` (r:1 w:0)
456 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
457 /// Storage: `Council::ProposalOf` (r:1 w:0)
458 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
459 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
460 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
461 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
462 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
463 /// The range of component `b` is `[2, 1024]`.
464 /// The range of component `m` is `[1, 100]`.
465 fn propose_execute(b: u32, m: u32, ) -> Weight {
466 // Proof Size summary in bytes:
467 // Measured: `7 + m * (32 ±0)`
468 // Estimated: `3997 + m * (32 ±0)`
469 // Minimum execution time: 15_883_000 picoseconds.
470 Weight::from_parts(14_905_569, 3997)
471 // Standard Error: 30
472 .saturating_add(Weight::from_parts(1_636, 0).saturating_mul(b.into()))
473 // Standard Error: 313
474 .saturating_add(Weight::from_parts(26_237, 0).saturating_mul(m.into()))
475 .saturating_add(RocksDbWeight::get().reads(4_u64))
476 .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
477 }
478 /// Storage: `Council::Members` (r:1 w:0)
479 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
480 /// Storage: `Council::ProposalOf` (r:1 w:1)
481 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
482 /// Storage: `Council::Proposals` (r:1 w:1)
483 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
484 /// Storage: `Balances::Holds` (r:1 w:1)
485 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
486 /// Storage: `Council::ProposalCount` (r:1 w:1)
487 /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
488 /// Storage: `Council::Voting` (r:0 w:1)
489 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
490 /// Storage: `Council::CostOf` (r:0 w:1)
491 /// Proof: `Council::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
492 /// The range of component `b` is `[2, 1024]`.
493 /// The range of component `m` is `[2, 100]`.
494 /// The range of component `p` is `[1, 100]`.
495 fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
496 // Proof Size summary in bytes:
497 // Measured: `394 + m * (32 ±0) + p * (36 ±0)`
498 // Estimated: `3892 + m * (33 ±0) + p * (36 ±0)`
499 // Minimum execution time: 40_695_000 picoseconds.
500 Weight::from_parts(61_454_712, 3892)
501 // Standard Error: 349
502 .saturating_add(Weight::from_parts(4_274, 0).saturating_mul(b.into()))
503 // Standard Error: 3_648
504 .saturating_add(Weight::from_parts(30_746, 0).saturating_mul(m.into()))
505 // Standard Error: 3_601
506 .saturating_add(Weight::from_parts(262_875, 0).saturating_mul(p.into()))
507 .saturating_add(RocksDbWeight::get().reads(5_u64))
508 .saturating_add(RocksDbWeight::get().writes(6_u64))
509 .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into()))
510 .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
511 }
512 /// Storage: `Council::Members` (r:1 w:0)
513 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
514 /// Storage: `Council::Voting` (r:1 w:1)
515 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
516 /// The range of component `m` is `[5, 100]`.
517 fn vote(m: u32, ) -> Weight {
518 // Proof Size summary in bytes:
519 // Measured: `787 + m * (64 ±0)`
520 // Estimated: `4251 + m * (64 ±0)`
521 // Minimum execution time: 27_325_000 picoseconds.
522 Weight::from_parts(27_882_147, 4251)
523 // Standard Error: 808
524 .saturating_add(Weight::from_parts(40_139, 0).saturating_mul(m.into()))
525 .saturating_add(RocksDbWeight::get().reads(2_u64))
526 .saturating_add(RocksDbWeight::get().writes(1_u64))
527 .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
528 }
529 /// Storage: `Council::Voting` (r:1 w:1)
530 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
531 /// Storage: `Council::Members` (r:1 w:0)
532 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
533 /// Storage: `Council::Proposals` (r:1 w:1)
534 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
535 /// Storage: `Council::ProposalOf` (r:0 w:1)
536 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
537 /// The range of component `m` is `[4, 100]`.
538 /// The range of component `p` is `[1, 100]`.
539 fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
540 // Proof Size summary in bytes:
541 // Measured: `376 + m * (64 ±0) + p * (36 ±0)`
542 // Estimated: `3818 + m * (65 ±0) + p * (36 ±0)`
543 // Minimum execution time: 24_117_000 picoseconds.
544 Weight::from_parts(27_410_759, 3818)
545 // Standard Error: 2_202
546 .saturating_add(Weight::from_parts(40_245, 0).saturating_mul(m.into()))
547 // Standard Error: 2_147
548 .saturating_add(Weight::from_parts(211_095, 0).saturating_mul(p.into()))
549 .saturating_add(RocksDbWeight::get().reads(3_u64))
550 .saturating_add(RocksDbWeight::get().writes(3_u64))
551 .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into()))
552 .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
553 }
554 /// Storage: `Council::Voting` (r:1 w:1)
555 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
556 /// Storage: `Council::Members` (r:1 w:0)
557 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
558 /// Storage: `Council::ProposalOf` (r:1 w:1)
559 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
560 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
561 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
562 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
563 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
564 /// Storage: `Council::Proposals` (r:1 w:1)
565 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
566 /// The range of component `b` is `[2, 1024]`.
567 /// The range of component `m` is `[4, 100]`.
568 /// The range of component `p` is `[1, 100]`.
569 fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
570 // Proof Size summary in bytes:
571 // Measured: `677 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
572 // Estimated: `3997 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)`
573 // Minimum execution time: 36_730_000 picoseconds.
574 Weight::from_parts(40_759_167, 3997)
575 // Standard Error: 228
576 .saturating_add(Weight::from_parts(3_423, 0).saturating_mul(b.into()))
577 // Standard Error: 2_413
578 .saturating_add(Weight::from_parts(39_895, 0).saturating_mul(m.into()))
579 // Standard Error: 2_352
580 .saturating_add(Weight::from_parts(242_036, 0).saturating_mul(p.into()))
581 .saturating_add(RocksDbWeight::get().reads(6_u64))
582 .saturating_add(RocksDbWeight::get().writes(3_u64))
583 .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
584 .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into()))
585 .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
586 }
587 /// Storage: `Council::Voting` (r:1 w:1)
588 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
589 /// Storage: `Council::Members` (r:1 w:0)
590 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
591 /// Storage: `Council::Prime` (r:1 w:0)
592 /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
593 /// Storage: `Council::Proposals` (r:1 w:1)
594 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
595 /// Storage: `Council::ProposalOf` (r:0 w:1)
596 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
597 /// The range of component `m` is `[4, 100]`.
598 /// The range of component `p` is `[1, 100]`.
599 fn close_disapproved(m: u32, p: u32, ) -> Weight {
600 // Proof Size summary in bytes:
601 // Measured: `396 + m * (64 ±0) + p * (36 ±0)`
602 // Estimated: `3838 + m * (65 ±0) + p * (36 ±0)`
603 // Minimum execution time: 26_633_000 picoseconds.
604 Weight::from_parts(30_258_684, 3838)
605 // Standard Error: 1_818
606 .saturating_add(Weight::from_parts(41_737, 0).saturating_mul(m.into()))
607 // Standard Error: 1_772
608 .saturating_add(Weight::from_parts(206_682, 0).saturating_mul(p.into()))
609 .saturating_add(RocksDbWeight::get().reads(4_u64))
610 .saturating_add(RocksDbWeight::get().writes(3_u64))
611 .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into()))
612 .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
613 }
614 /// Storage: `Council::Voting` (r:1 w:1)
615 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
616 /// Storage: `Council::Members` (r:1 w:0)
617 /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
618 /// Storage: `Council::Prime` (r:1 w:0)
619 /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
620 /// Storage: `Council::ProposalOf` (r:1 w:1)
621 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
622 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
623 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
624 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
625 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
626 /// Storage: `Council::Proposals` (r:1 w:1)
627 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
628 /// The range of component `b` is `[2, 1024]`.
629 /// The range of component `m` is `[4, 100]`.
630 /// The range of component `p` is `[1, 100]`.
631 fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
632 // Proof Size summary in bytes:
633 // Measured: `697 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
634 // Estimated: `4010 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)`
635 // Minimum execution time: 40_885_000 picoseconds.
636 Weight::from_parts(46_459_730, 4010)
637 // Standard Error: 234
638 .saturating_add(Weight::from_parts(1_914, 0).saturating_mul(b.into()))
639 // Standard Error: 2_476
640 .saturating_add(Weight::from_parts(27_310, 0).saturating_mul(m.into()))
641 // Standard Error: 2_414
642 .saturating_add(Weight::from_parts(237_527, 0).saturating_mul(p.into()))
643 .saturating_add(RocksDbWeight::get().reads(7_u64))
644 .saturating_add(RocksDbWeight::get().writes(3_u64))
645 .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
646 .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into()))
647 .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
648 }
649 /// Storage: `Council::Proposals` (r:1 w:1)
650 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
651 /// Storage: `Council::Voting` (r:0 w:1)
652 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
653 /// Storage: `Council::ProposalOf` (r:0 w:1)
654 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
655 /// The range of component `p` is `[1, 100]`.
656 fn disapprove_proposal(p: u32, ) -> Weight {
657 // Proof Size summary in bytes:
658 // Measured: `168 + p * (32 ±0)`
659 // Estimated: `1653 + p * (32 ±0)`
660 // Minimum execution time: 11_806_000 picoseconds.
661 Weight::from_parts(14_714_942, 1653)
662 // Standard Error: 1_358
663 .saturating_add(Weight::from_parts(182_535, 0).saturating_mul(p.into()))
664 .saturating_add(RocksDbWeight::get().reads(1_u64))
665 .saturating_add(RocksDbWeight::get().writes(3_u64))
666 .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into()))
667 }
668 /// Storage: `Council::ProposalOf` (r:1 w:1)
669 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
670 /// Storage: `Council::CostOf` (r:1 w:1)
671 /// Proof: `Council::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
672 /// Storage: `System::Account` (r:1 w:1)
673 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
674 /// Storage: `Balances::Holds` (r:1 w:1)
675 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
676 /// Storage: `Council::Proposals` (r:1 w:1)
677 /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
678 /// Storage: `Council::Voting` (r:0 w:1)
679 /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
680 /// The range of component `d` is `[0, 1]`.
681 /// The range of component `p` is `[1, 100]`.
682 fn kill(d: u32, p: u32, ) -> Weight {
683 // Proof Size summary in bytes:
684 // Measured: `1639 + d * (163 ±0) + p * (41 ±0)`
685 // Estimated: `4954 + d * (1946 ±14) + p * (43 ±0)`
686 // Minimum execution time: 18_912_000 picoseconds.
687 Weight::from_parts(18_315_857, 4954)
688 // Standard Error: 364_977
689 .saturating_add(Weight::from_parts(32_810_580, 0).saturating_mul(d.into()))
690 // Standard Error: 5_652
691 .saturating_add(Weight::from_parts(320_835, 0).saturating_mul(p.into()))
692 .saturating_add(RocksDbWeight::get().reads(3_u64))
693 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(d.into())))
694 .saturating_add(RocksDbWeight::get().writes(3_u64))
695 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(d.into())))
696 .saturating_add(Weight::from_parts(0, 1946).saturating_mul(d.into()))
697 .saturating_add(Weight::from_parts(0, 43).saturating_mul(p.into()))
698 }
699 /// Storage: `Council::ProposalOf` (r:1 w:0)
700 /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
701 /// Storage: `Council::CostOf` (r:1 w:1)
702 /// Proof: `Council::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
703 /// Storage: `System::Account` (r:1 w:1)
704 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
705 /// Storage: `Balances::Holds` (r:1 w:1)
706 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
707 fn release_proposal_cost() -> Weight {
708 // Proof Size summary in bytes:
709 // Measured: `1691`
710 // Estimated: `5156`
711 // Minimum execution time: 64_168_000 picoseconds.
712 Weight::from_parts(65_123_000, 5156)
713 .saturating_add(RocksDbWeight::get().reads(4_u64))
714 .saturating_add(RocksDbWeight::get().writes(3_u64))
715 }
716}