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_open_tech_committee`
19
//!
20
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
21
//! DATE: 2025-05-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `ip-10-0-0-176`, 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/moonbeam-runtime/moonbeam_runtime.wasm
32
// --genesis-builder=runtime
33
// --genesis-builder-preset=development
34
// --steps=50
35
// --repeat=20
36
// --pallet=pallet_collective_open_tech_committee
37
// --extrinsic=*
38
// --wasm-execution=compiled
39
// --header=./file_header.txt
40
// --template=./benchmarking/frame-weight-template.hbs
41
// --output=./runtime/moonbeam/src/weights
42

            
43
#![cfg_attr(rustfmt, rustfmt_skip)]
44
#![allow(unused_parens)]
45
#![allow(unused_imports)]
46

            
47
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
48
use sp_std::marker::PhantomData;
49

            
50
use pallet_collective as pallet_collective_open_tech_committee;
51

            
52
/// Weights for `pallet_collective_open_tech_committee`.
53
pub struct WeightInfo<T>(PhantomData<T>);
54
impl<T: frame_system::Config> pallet_collective_open_tech_committee::WeightInfo for WeightInfo<T> {
55
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:1)
56
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
57
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:0)
58
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
59
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:100 w:100)
60
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
61
	/// Storage: `OpenTechCommitteeCollective::Prime` (r:0 w:1)
62
	/// Proof: `OpenTechCommitteeCollective::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
63
	/// The range of component `m` is `[0, 100]`.
64
	/// The range of component `n` is `[0, 100]`.
65
	/// The range of component `p` is `[0, 100]`.
66
7
	fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
67
7
		// Proof Size summary in bytes:
68
7
		//  Measured:  `0 + m * (2021 ±0) + p * (2026 ±0)`
69
7
		//  Estimated: `12234 + m * (1231 ±15) + p * (3660 ±15)`
70
7
		// Minimum execution time: 15_662_000 picoseconds.
71
7
		Weight::from_parts(15_774_000, 12234)
72
7
			// Standard Error: 59_141
73
7
			.saturating_add(Weight::from_parts(4_250_771, 0).saturating_mul(m.into()))
74
7
			// Standard Error: 59_141
75
7
			.saturating_add(Weight::from_parts(9_064_448, 0).saturating_mul(p.into()))
76
7
			.saturating_add(T::DbWeight::get().reads(2_u64))
77
7
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
78
7
			.saturating_add(T::DbWeight::get().writes(2_u64))
79
7
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
80
7
			.saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into()))
81
7
			.saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into()))
82
7
	}
83
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
84
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
85
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
86
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
87
	/// The range of component `b` is `[2, 1024]`.
88
	/// The range of component `m` is `[1, 100]`.
89
	fn execute(b: u32, m: u32, ) -> Weight {
90
		// Proof Size summary in bytes:
91
		//  Measured:  `145 + m * (20 ±0)`
92
		//  Estimated: `1630 + m * (20 ±0)`
93
		// Minimum execution time: 16_783_000 picoseconds.
94
		Weight::from_parts(16_253_578, 1630)
95
			// Standard Error: 38
96
			.saturating_add(Weight::from_parts(1_507, 0).saturating_mul(b.into()))
97
			// Standard Error: 399
98
			.saturating_add(Weight::from_parts(13_192, 0).saturating_mul(m.into()))
99
			.saturating_add(T::DbWeight::get().reads(2_u64))
100
			.saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into()))
101
	}
102
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
103
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
104
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:0)
105
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
106
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
107
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
108
	/// The range of component `b` is `[2, 1024]`.
109
	/// The range of component `m` is `[1, 100]`.
110
	fn propose_execute(b: u32, m: u32, ) -> Weight {
111
		// Proof Size summary in bytes:
112
		//  Measured:  `145 + m * (20 ±0)`
113
		//  Estimated: `3610 + m * (20 ±0)`
114
		// Minimum execution time: 19_136_000 picoseconds.
115
		Weight::from_parts(18_898_787, 3610)
116
			// Standard Error: 36
117
			.saturating_add(Weight::from_parts(1_332, 0).saturating_mul(b.into()))
118
			// Standard Error: 372
119
			.saturating_add(Weight::from_parts(20_501, 0).saturating_mul(m.into()))
120
			.saturating_add(T::DbWeight::get().reads(3_u64))
121
			.saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into()))
122
	}
123
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
124
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
125
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
126
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
127
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
128
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
129
	/// Storage: `OpenTechCommitteeCollective::ProposalCount` (r:1 w:1)
130
	/// Proof: `OpenTechCommitteeCollective::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
131
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
132
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
133
	/// The range of component `b` is `[2, 1024]`.
134
	/// The range of component `m` is `[2, 100]`.
135
	/// The range of component `p` is `[1, 100]`.
136
	fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
137
		// Proof Size summary in bytes:
138
		//  Measured:  `391 + m * (20 ±0) + p * (36 ±0)`
139
		//  Estimated: `3785 + m * (21 ±0) + p * (36 ±0)`
140
		// Minimum execution time: 22_447_000 picoseconds.
141
		Weight::from_parts(24_619_755, 3785)
142
			// Standard Error: 154
143
			.saturating_add(Weight::from_parts(4_598, 0).saturating_mul(b.into()))
144
			// Standard Error: 1_617
145
			.saturating_add(Weight::from_parts(19_387, 0).saturating_mul(m.into()))
146
			// Standard Error: 1_596
147
			.saturating_add(Weight::from_parts(270_017, 0).saturating_mul(p.into()))
148
			.saturating_add(T::DbWeight::get().reads(4_u64))
149
			.saturating_add(T::DbWeight::get().writes(4_u64))
150
			.saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into()))
151
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
152
	}
153
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
154
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
155
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
156
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
157
	/// The range of component `m` is `[5, 100]`.
158
	fn vote(m: u32, ) -> Weight {
159
		// Proof Size summary in bytes:
160
		//  Measured:  `866 + m * (40 ±0)`
161
		//  Estimated: `4330 + m * (40 ±0)`
162
		// Minimum execution time: 33_187_000 picoseconds.
163
		Weight::from_parts(35_955_924, 4330)
164
			// Standard Error: 1_383
165
			.saturating_add(Weight::from_parts(30_416, 0).saturating_mul(m.into()))
166
			.saturating_add(T::DbWeight::get().reads(2_u64))
167
			.saturating_add(T::DbWeight::get().writes(1_u64))
168
			.saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into()))
169
	}
170
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
171
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
172
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
173
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
174
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
175
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
176
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:0 w:1)
177
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
178
	/// The range of component `m` is `[4, 100]`.
179
	/// The range of component `p` is `[1, 100]`.
180
	fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
181
		// Proof Size summary in bytes:
182
		//  Measured:  `443 + m * (40 ±0) + p * (36 ±0)`
183
		//  Estimated: `3888 + m * (41 ±0) + p * (36 ±0)`
184
		// Minimum execution time: 29_666_000 picoseconds.
185
		Weight::from_parts(26_374_210, 3888)
186
			// Standard Error: 1_163
187
			.saturating_add(Weight::from_parts(52_088, 0).saturating_mul(m.into()))
188
			// Standard Error: 1_134
189
			.saturating_add(Weight::from_parts(255_806, 0).saturating_mul(p.into()))
190
			.saturating_add(T::DbWeight::get().reads(3_u64))
191
			.saturating_add(T::DbWeight::get().writes(3_u64))
192
			.saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into()))
193
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
194
	}
195
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
196
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
197
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
198
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
199
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
200
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
201
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
202
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
203
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
204
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
205
	/// The range of component `b` is `[2, 1024]`.
206
	/// The range of component `m` is `[4, 100]`.
207
	/// The range of component `p` is `[1, 100]`.
208
	fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
209
		// Proof Size summary in bytes:
210
		//  Measured:  `787 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
211
		//  Estimated: `4104 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
212
		// Minimum execution time: 42_699_000 picoseconds.
213
		Weight::from_parts(39_704_057, 4104)
214
			// Standard Error: 221
215
			.saturating_add(Weight::from_parts(4_414, 0).saturating_mul(b.into()))
216
			// Standard Error: 2_341
217
			.saturating_add(Weight::from_parts(32_667, 0).saturating_mul(m.into()))
218
			// Standard Error: 2_282
219
			.saturating_add(Weight::from_parts(324_065, 0).saturating_mul(p.into()))
220
			.saturating_add(T::DbWeight::get().reads(5_u64))
221
			.saturating_add(T::DbWeight::get().writes(3_u64))
222
			.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
223
			.saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into()))
224
			.saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
225
	}
226
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
227
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
228
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
229
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
230
	/// Storage: `OpenTechCommitteeCollective::Prime` (r:1 w:0)
231
	/// Proof: `OpenTechCommitteeCollective::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
232
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
233
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
234
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:0 w:1)
235
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
236
	/// The range of component `m` is `[4, 100]`.
237
	/// The range of component `p` is `[1, 100]`.
238
	fn close_disapproved(m: u32, p: u32, ) -> Weight {
239
		// Proof Size summary in bytes:
240
		//  Measured:  `512 + m * (30 ±0) + p * (36 ±0)`
241
		//  Estimated: `3954 + m * (31 ±0) + p * (36 ±0)`
242
		// Minimum execution time: 31_046_000 picoseconds.
243
		Weight::from_parts(30_494_718, 3954)
244
			// Standard Error: 1_827
245
			.saturating_add(Weight::from_parts(30_669, 0).saturating_mul(m.into()))
246
			// Standard Error: 1_782
247
			.saturating_add(Weight::from_parts(253_241, 0).saturating_mul(p.into()))
248
			.saturating_add(T::DbWeight::get().reads(4_u64))
249
			.saturating_add(T::DbWeight::get().writes(3_u64))
250
			.saturating_add(Weight::from_parts(0, 31).saturating_mul(m.into()))
251
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
252
	}
253
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
254
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
255
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
256
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
257
	/// Storage: `OpenTechCommitteeCollective::Prime` (r:1 w:0)
258
	/// Proof: `OpenTechCommitteeCollective::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
259
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
260
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
261
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
262
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
263
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
264
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
265
	/// The range of component `b` is `[2, 1024]`.
266
	/// The range of component `m` is `[4, 100]`.
267
	/// The range of component `p` is `[1, 100]`.
268
	fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
269
		// Proof Size summary in bytes:
270
		//  Measured:  `807 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
271
		//  Estimated: `4124 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
272
		// Minimum execution time: 45_690_000 picoseconds.
273
		Weight::from_parts(39_117_049, 4124)
274
			// Standard Error: 189
275
			.saturating_add(Weight::from_parts(5_742, 0).saturating_mul(b.into()))
276
			// Standard Error: 1_997
277
			.saturating_add(Weight::from_parts(49_513, 0).saturating_mul(m.into()))
278
			// Standard Error: 1_947
279
			.saturating_add(Weight::from_parts(325_993, 0).saturating_mul(p.into()))
280
			.saturating_add(T::DbWeight::get().reads(6_u64))
281
			.saturating_add(T::DbWeight::get().writes(3_u64))
282
			.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
283
			.saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into()))
284
			.saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
285
	}
286
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
287
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
288
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
289
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
290
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:0 w:1)
291
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
292
	/// The range of component `p` is `[1, 100]`.
293
	fn disapprove_proposal(p: u32, ) -> Weight {
294
		// Proof Size summary in bytes:
295
		//  Measured:  `260 + p * (32 ±0)`
296
		//  Estimated: `1745 + p * (32 ±0)`
297
		// Minimum execution time: 13_839_000 picoseconds.
298
		Weight::from_parts(14_986_562, 1745)
299
			// Standard Error: 732
300
			.saturating_add(Weight::from_parts(194_585, 0).saturating_mul(p.into()))
301
			.saturating_add(T::DbWeight::get().reads(1_u64))
302
			.saturating_add(T::DbWeight::get().writes(3_u64))
303
			.saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into()))
304
	}
305
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
306
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
307
	/// Storage: `OpenTechCommitteeCollective::CostOf` (r:1 w:0)
308
	/// Proof: `OpenTechCommitteeCollective::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
309
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
310
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
311
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
312
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
313
	/// The range of component `d` is `[0, 1]`.
314
	/// The range of component `p` is `[1, 100]`.
315
	fn kill(d: u32, p: u32, ) -> Weight {
316
		// Proof Size summary in bytes:
317
		//  Measured:  `1531 + p * (36 ±0)`
318
		//  Estimated: `4930 + d * (123 ±6) + p * (37 ±0)`
319
		// Minimum execution time: 24_421_000 picoseconds.
320
		Weight::from_parts(25_443_362, 4930)
321
			// Standard Error: 84_050
322
			.saturating_add(Weight::from_parts(990_981, 0).saturating_mul(d.into()))
323
			// Standard Error: 1_301
324
			.saturating_add(Weight::from_parts(268_862, 0).saturating_mul(p.into()))
325
			.saturating_add(T::DbWeight::get().reads(3_u64))
326
			.saturating_add(T::DbWeight::get().writes(3_u64))
327
			.saturating_add(Weight::from_parts(0, 123).saturating_mul(d.into()))
328
			.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
329
	}
330
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:0)
331
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
332
	/// Storage: `OpenTechCommitteeCollective::CostOf` (r:1 w:0)
333
	/// Proof: `OpenTechCommitteeCollective::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
334
	fn release_proposal_cost() -> Weight {
335
		// Proof Size summary in bytes:
336
		//  Measured:  `945`
337
		//  Estimated: `4410`
338
		// Minimum execution time: 17_414_000 picoseconds.
339
		Weight::from_parts(18_125_000, 4410)
340
			.saturating_add(T::DbWeight::get().reads(2_u64))
341
	}
342
}