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 47.2.0
21
//! DATE: 2025-07-01, 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
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
/// Weights for `pallet_collective`.
51
pub struct WeightInfo<T>(PhantomData<T>);
52
impl<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
7
	fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
68
7
		// Proof Size summary in bytes:
69
7
		//  Measured:  `0 + m * (2021 ±0) + p * (2026 ±0)`
70
7
		//  Estimated: `12234 + m * (1231 ±15) + p * (3660 ±15)`
71
7
		// Minimum execution time: 14_934_000 picoseconds.
72
7
		Weight::from_parts(15_412_000, 12234)
73
7
			// Standard Error: 55_411
74
7
			.saturating_add(Weight::from_parts(4_086_343, 0).saturating_mul(m.into()))
75
7
			// Standard Error: 55_411
76
7
			.saturating_add(Weight::from_parts(8_030_309, 0).saturating_mul(p.into()))
77
7
			.saturating_add(T::DbWeight::get().reads(2_u64))
78
7
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
79
7
			.saturating_add(T::DbWeight::get().writes(2_u64))
80
7
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
81
7
			.saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into()))
82
7
			.saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into()))
83
7
	}
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:  `145 + m * (20 ±0)`
95
		//  Estimated: `1630 + m * (20 ±0)`
96
		// Minimum execution time: 16_058_000 picoseconds.
97
		Weight::from_parts(15_892_628, 1630)
98
			// Standard Error: 27
99
			.saturating_add(Weight::from_parts(1_264, 0).saturating_mul(b.into()))
100
			// Standard Error: 279
101
			.saturating_add(Weight::from_parts(10_509, 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:  `145 + m * (20 ±0)`
118
		//  Estimated: `3610 + m * (20 ±0)`
119
		// Minimum execution time: 18_804_000 picoseconds.
120
		Weight::from_parts(18_203_002, 3610)
121
			// Standard Error: 30
122
			.saturating_add(Weight::from_parts(1_581, 0).saturating_mul(b.into()))
123
			// Standard Error: 315
124
			.saturating_add(Weight::from_parts(18_946, 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_266_000 picoseconds.
149
		Weight::from_parts(22_566_679, 3785)
150
			// Standard Error: 141
151
			.saturating_add(Weight::from_parts(3_414, 0).saturating_mul(b.into()))
152
			// Standard Error: 1_476
153
			.saturating_add(Weight::from_parts(29_215, 0).saturating_mul(m.into()))
154
			// Standard Error: 1_457
155
			.saturating_add(Weight::from_parts(213_926, 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: 27_447_000 picoseconds.
172
		Weight::from_parts(28_602_918, 4330)
173
			// Standard Error: 660
174
			.saturating_add(Weight::from_parts(30_226, 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: 26_002_000 picoseconds.
196
		Weight::from_parts(26_433_725, 3888)
197
			// Standard Error: 897
198
			.saturating_add(Weight::from_parts(28_663, 0).saturating_mul(m.into()))
199
			// Standard Error: 875
200
			.saturating_add(Weight::from_parts(189_933, 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:  `787 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
225
		//  Estimated: `4104 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
226
		// Minimum execution time: 38_853_000 picoseconds.
227
		Weight::from_parts(40_841_455, 4104)
228
			// Standard Error: 136
229
			.saturating_add(Weight::from_parts(2_400, 0).saturating_mul(b.into()))
230
			// Standard Error: 1_441
231
			.saturating_add(Weight::from_parts(17_527, 0).saturating_mul(m.into()))
232
			// Standard Error: 1_405
233
			.saturating_add(Weight::from_parts(232_932, 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_916_000 picoseconds.
259
		Weight::from_parts(28_361_439, 3954)
260
			// Standard Error: 837
261
			.saturating_add(Weight::from_parts(24_211, 0).saturating_mul(m.into()))
262
			// Standard Error: 816
263
			.saturating_add(Weight::from_parts(197_675, 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:  `807 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
290
		//  Estimated: `4124 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
291
		// Minimum execution time: 41_600_000 picoseconds.
292
		Weight::from_parts(42_898_630, 4124)
293
			// Standard Error: 145
294
			.saturating_add(Weight::from_parts(2_584, 0).saturating_mul(b.into()))
295
			// Standard Error: 1_535
296
			.saturating_add(Weight::from_parts(21_166, 0).saturating_mul(m.into()))
297
			// Standard Error: 1_496
298
			.saturating_add(Weight::from_parts(233_924, 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_513_000 picoseconds.
318
		Weight::from_parts(14_827_126, 1745)
319
			// Standard Error: 675
320
			.saturating_add(Weight::from_parts(158_823, 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_503_000 picoseconds.
342
		Weight::from_parts(24_100_390, 4930)
343
			// Standard Error: 58_359
344
			.saturating_add(Weight::from_parts(580_279, 0).saturating_mul(d.into()))
345
			// Standard Error: 903
346
			.saturating_add(Weight::from_parts(197_569, 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_520_000 picoseconds.
361
		Weight::from_parts(16_181_000, 4410)
362
			.saturating_add(T::DbWeight::get().reads(2_u64))
363
	}
364
}