moonriver_runtime/weights/pallet_collective_open_tech_committee_collective.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_collective`
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_collective
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_collective`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
53 /// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:1)
54 /// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
55 /// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:0)
56 /// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
57 /// Storage: `OpenTechCommitteeCollective::Voting` (r:100 w:100)
58 /// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
59 /// Storage: `OpenTechCommitteeCollective::Prime` (r:0 w:1)
60 /// Proof: `OpenTechCommitteeCollective::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
61 /// The range of component `m` is `[0, 9]`.
62 /// The range of component `n` is `[0, 9]`.
63 /// The range of component `p` is `[0, 20]`.
64 /// The range of component `m` is `[0, 100]`.
65 /// The range of component `n` is `[0, 100]`.
66 /// The range of component `p` is `[0, 100]`.
67 fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
68 // Proof Size summary in bytes:
69 // Measured: `0 + m * (2021 ±0) + p * (2026 ±0)`
70 // Estimated: `12234 + m * (1231 ±15) + p * (3660 ±15)`
71 // Minimum execution time: 14_762_000 picoseconds.
72 Weight::from_parts(15_094_000, 12234)
73 // Standard Error: 60_404
74 .saturating_add(Weight::from_parts(4_541_332, 0).saturating_mul(m.into()))
75 // Standard Error: 60_404
76 .saturating_add(Weight::from_parts(8_591_187, 0).saturating_mul(p.into()))
77 .saturating_add(T::DbWeight::get().reads(2_u64))
78 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
79 .saturating_add(T::DbWeight::get().writes(2_u64))
80 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
81 .saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into()))
82 .saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into()))
83 }
84 /// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
85 /// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
86 /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
87 /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
88 /// The range of component `b` is `[2, 1024]`.
89 /// The range of component `m` is `[1, 9]`.
90 /// The range of component `b` is `[2, 1024]`.
91 /// The range of component `m` is `[1, 100]`.
92 fn execute(b: u32, m: u32, ) -> Weight {
93 // Proof Size summary in bytes:
94 // Measured: `183 + m * (20 ±0)`
95 // Estimated: `1668 + m * (20 ±0)`
96 // Minimum execution time: 16_906_000 picoseconds.
97 Weight::from_parts(18_242_948, 1668)
98 // Standard Error: 39
99 .saturating_add(Weight::from_parts(1_435, 0).saturating_mul(b.into()))
100 // Standard Error: 403
101 .saturating_add(Weight::from_parts(13_985, 0).saturating_mul(m.into()))
102 .saturating_add(T::DbWeight::get().reads(2_u64))
103 .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into()))
104 }
105 /// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
106 /// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
107 /// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:0)
108 /// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
109 /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
110 /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
111 /// The range of component `b` is `[2, 1024]`.
112 /// The range of component `m` is `[1, 9]`.
113 /// The range of component `b` is `[2, 1024]`.
114 /// The range of component `m` is `[1, 100]`.
115 fn propose_execute(b: u32, m: u32, ) -> Weight {
116 // Proof Size summary in bytes:
117 // Measured: `183 + m * (20 ±0)`
118 // Estimated: `3648 + m * (20 ±0)`
119 // Minimum execution time: 19_388_000 picoseconds.
120 Weight::from_parts(20_697_344, 3648)
121 // Standard Error: 44
122 .saturating_add(Weight::from_parts(1_617, 0).saturating_mul(b.into()))
123 // Standard Error: 462
124 .saturating_add(Weight::from_parts(24_575, 0).saturating_mul(m.into()))
125 .saturating_add(T::DbWeight::get().reads(3_u64))
126 .saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into()))
127 }
128 /// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
129 /// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
130 /// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
131 /// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
132 /// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
133 /// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
134 /// Storage: `OpenTechCommitteeCollective::ProposalCount` (r:1 w:1)
135 /// Proof: `OpenTechCommitteeCollective::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
136 /// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
137 /// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
138 /// The range of component `b` is `[2, 1024]`.
139 /// The range of component `m` is `[2, 9]`.
140 /// The range of component `p` is `[1, 20]`.
141 /// The range of component `b` is `[2, 1024]`.
142 /// The range of component `m` is `[2, 100]`.
143 /// The range of component `p` is `[1, 100]`.
144 fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
145 // Proof Size summary in bytes:
146 // Measured: `391 + m * (20 ±0) + p * (36 ±0)`
147 // Estimated: `3785 + m * (21 ±0) + p * (36 ±0)`
148 // Minimum execution time: 21_664_000 picoseconds.
149 Weight::from_parts(22_596_405, 3785)
150 // Standard Error: 108
151 .saturating_add(Weight::from_parts(3_745, 0).saturating_mul(b.into()))
152 // Standard Error: 1_134
153 .saturating_add(Weight::from_parts(28_622, 0).saturating_mul(m.into()))
154 // Standard Error: 1_120
155 .saturating_add(Weight::from_parts(213_117, 0).saturating_mul(p.into()))
156 .saturating_add(T::DbWeight::get().reads(4_u64))
157 .saturating_add(T::DbWeight::get().writes(4_u64))
158 .saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into()))
159 .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
160 }
161 /// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
162 /// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
163 /// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
164 /// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
165 /// The range of component `m` is `[5, 9]`.
166 /// The range of component `m` is `[5, 100]`.
167 fn vote(m: u32, ) -> Weight {
168 // Proof Size summary in bytes:
169 // Measured: `866 + m * (40 ±0)`
170 // Estimated: `4330 + m * (40 ±0)`
171 // Minimum execution time: 28_100_000 picoseconds.
172 Weight::from_parts(28_910_932, 4330)
173 // Standard Error: 568
174 .saturating_add(Weight::from_parts(32_048, 0).saturating_mul(m.into()))
175 .saturating_add(T::DbWeight::get().reads(2_u64))
176 .saturating_add(T::DbWeight::get().writes(1_u64))
177 .saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into()))
178 }
179 /// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
180 /// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
181 /// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
182 /// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
183 /// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
184 /// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
185 /// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:0 w:1)
186 /// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
187 /// The range of component `m` is `[4, 9]`.
188 /// The range of component `p` is `[1, 20]`.
189 /// The range of component `m` is `[4, 100]`.
190 /// The range of component `p` is `[1, 100]`.
191 fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
192 // Proof Size summary in bytes:
193 // Measured: `443 + m * (40 ±0) + p * (36 ±0)`
194 // Estimated: `3888 + m * (41 ±0) + p * (36 ±0)`
195 // Minimum execution time: 27_163_000 picoseconds.
196 Weight::from_parts(27_155_383, 3888)
197 // Standard Error: 917
198 .saturating_add(Weight::from_parts(33_694, 0).saturating_mul(m.into()))
199 // Standard Error: 894
200 .saturating_add(Weight::from_parts(190_654, 0).saturating_mul(p.into()))
201 .saturating_add(T::DbWeight::get().reads(3_u64))
202 .saturating_add(T::DbWeight::get().writes(3_u64))
203 .saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into()))
204 .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
205 }
206 /// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
207 /// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
208 /// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
209 /// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
210 /// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
211 /// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
212 /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
213 /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
214 /// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
215 /// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
216 /// The range of component `b` is `[2, 1024]`.
217 /// The range of component `m` is `[4, 9]`.
218 /// The range of component `p` is `[1, 20]`.
219 /// The range of component `b` is `[2, 1024]`.
220 /// The range of component `m` is `[4, 100]`.
221 /// The range of component `p` is `[1, 100]`.
222 fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
223 // Proof Size summary in bytes:
224 // Measured: `825 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
225 // Estimated: `4142 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
226 // Minimum execution time: 40_269_000 picoseconds.
227 Weight::from_parts(43_282_240, 4142)
228 // Standard Error: 196
229 .saturating_add(Weight::from_parts(2_524, 0).saturating_mul(b.into()))
230 // Standard Error: 2_079
231 .saturating_add(Weight::from_parts(15_262, 0).saturating_mul(m.into()))
232 // Standard Error: 2_027
233 .saturating_add(Weight::from_parts(218_490, 0).saturating_mul(p.into()))
234 .saturating_add(T::DbWeight::get().reads(5_u64))
235 .saturating_add(T::DbWeight::get().writes(3_u64))
236 .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
237 .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into()))
238 .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
239 }
240 /// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
241 /// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
242 /// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
243 /// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
244 /// Storage: `OpenTechCommitteeCollective::Prime` (r:1 w:0)
245 /// Proof: `OpenTechCommitteeCollective::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
246 /// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
247 /// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
248 /// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:0 w:1)
249 /// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
250 /// The range of component `m` is `[4, 9]`.
251 /// The range of component `p` is `[1, 20]`.
252 /// The range of component `m` is `[4, 100]`.
253 /// The range of component `p` is `[1, 100]`.
254 fn close_disapproved(m: u32, p: u32, ) -> Weight {
255 // Proof Size summary in bytes:
256 // Measured: `512 + m * (30 ±0) + p * (36 ±0)`
257 // Estimated: `3954 + m * (31 ±0) + p * (36 ±0)`
258 // Minimum execution time: 27_961_000 picoseconds.
259 Weight::from_parts(28_772_424, 3954)
260 // Standard Error: 965
261 .saturating_add(Weight::from_parts(28_372, 0).saturating_mul(m.into()))
262 // Standard Error: 941
263 .saturating_add(Weight::from_parts(203_289, 0).saturating_mul(p.into()))
264 .saturating_add(T::DbWeight::get().reads(4_u64))
265 .saturating_add(T::DbWeight::get().writes(3_u64))
266 .saturating_add(Weight::from_parts(0, 31).saturating_mul(m.into()))
267 .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
268 }
269 /// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
270 /// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
271 /// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
272 /// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
273 /// Storage: `OpenTechCommitteeCollective::Prime` (r:1 w:0)
274 /// Proof: `OpenTechCommitteeCollective::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
275 /// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
276 /// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
277 /// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
278 /// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
279 /// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
280 /// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
281 /// The range of component `b` is `[2, 1024]`.
282 /// The range of component `m` is `[4, 9]`.
283 /// The range of component `p` is `[1, 20]`.
284 /// The range of component `b` is `[2, 1024]`.
285 /// The range of component `m` is `[4, 100]`.
286 /// The range of component `p` is `[1, 100]`.
287 fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
288 // Proof Size summary in bytes:
289 // Measured: `845 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
290 // Estimated: `4162 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
291 // Minimum execution time: 42_682_000 picoseconds.
292 Weight::from_parts(44_334_732, 4162)
293 // Standard Error: 176
294 .saturating_add(Weight::from_parts(3_026, 0).saturating_mul(b.into()))
295 // Standard Error: 1_867
296 .saturating_add(Weight::from_parts(23_183, 0).saturating_mul(m.into()))
297 // Standard Error: 1_820
298 .saturating_add(Weight::from_parts(225_923, 0).saturating_mul(p.into()))
299 .saturating_add(T::DbWeight::get().reads(6_u64))
300 .saturating_add(T::DbWeight::get().writes(3_u64))
301 .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
302 .saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into()))
303 .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
304 }
305 /// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
306 /// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
307 /// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
308 /// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
309 /// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:0 w:1)
310 /// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
311 /// The range of component `p` is `[1, 20]`.
312 /// The range of component `p` is `[1, 100]`.
313 fn disapprove_proposal(p: u32, ) -> Weight {
314 // Proof Size summary in bytes:
315 // Measured: `260 + p * (32 ±0)`
316 // Estimated: `1745 + p * (32 ±0)`
317 // Minimum execution time: 13_657_000 picoseconds.
318 Weight::from_parts(14_978_528, 1745)
319 // Standard Error: 739
320 .saturating_add(Weight::from_parts(161_813, 0).saturating_mul(p.into()))
321 .saturating_add(T::DbWeight::get().reads(1_u64))
322 .saturating_add(T::DbWeight::get().writes(3_u64))
323 .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into()))
324 }
325 /// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
326 /// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
327 /// Storage: `OpenTechCommitteeCollective::CostOf` (r:1 w:0)
328 /// Proof: `OpenTechCommitteeCollective::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
329 /// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
330 /// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
331 /// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
332 /// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
333 /// The range of component `d` is `[0, 1]`.
334 /// The range of component `p` is `[1, 20]`.
335 /// The range of component `d` is `[0, 1]`.
336 /// The range of component `p` is `[1, 100]`.
337 fn kill(d: u32, p: u32, ) -> Weight {
338 // Proof Size summary in bytes:
339 // Measured: `1531 + p * (36 ±0)`
340 // Estimated: `4930 + d * (123 ±6) + p * (37 ±0)`
341 // Minimum execution time: 21_423_000 picoseconds.
342 Weight::from_parts(24_189_887, 4930)
343 // Standard Error: 62_880
344 .saturating_add(Weight::from_parts(487_967, 0).saturating_mul(d.into()))
345 // Standard Error: 973
346 .saturating_add(Weight::from_parts(206_403, 0).saturating_mul(p.into()))
347 .saturating_add(T::DbWeight::get().reads(3_u64))
348 .saturating_add(T::DbWeight::get().writes(3_u64))
349 .saturating_add(Weight::from_parts(0, 123).saturating_mul(d.into()))
350 .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
351 }
352 /// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:0)
353 /// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
354 /// Storage: `OpenTechCommitteeCollective::CostOf` (r:1 w:0)
355 /// Proof: `OpenTechCommitteeCollective::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
356 fn release_proposal_cost() -> Weight {
357 // Proof Size summary in bytes:
358 // Measured: `945`
359 // Estimated: `4410`
360 // Minimum execution time: 15_617_000 picoseconds.
361 Weight::from_parts(16_456_000, 4410)
362 .saturating_add(T::DbWeight::get().reads(2_u64))
363 }
364}