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 51.0.0
21
//! DATE: 2026-02-09, 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/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
// --disable-log-color
42
// --output=./runtime/moonriver/src/weights
43

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

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

            
51
/// Weights for `pallet_collective`.
52
pub struct WeightInfo<T>(PhantomData<T>);
53
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
54
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:1)
55
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
56
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:0)
57
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
58
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:100 w:100)
59
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
60
	/// Storage: `OpenTechCommitteeCollective::Prime` (r:0 w:1)
61
	/// Proof: `OpenTechCommitteeCollective::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
62
	/// The range of component `m` is `[0, 9]`.
63
	/// The range of component `n` is `[0, 9]`.
64
	/// The range of component `p` is `[0, 20]`.
65
	/// The range of component `m` is `[0, 100]`.
66
	/// The range of component `n` is `[0, 100]`.
67
	/// The range of component `p` is `[0, 100]`.
68
9
	fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
69
		// Proof Size summary in bytes:
70
		//  Measured:  `0 + m * (2021 ±0) + p * (2026 ±0)`
71
		//  Estimated: `12234 + m * (1231 ±14) + p * (3660 ±14)`
72
		// Minimum execution time: 14_762_000 picoseconds.
73
9
		Weight::from_parts(15_043_000, 12234)
74
			// Standard Error: 60_564
75
9
			.saturating_add(Weight::from_parts(4_525_602, 0).saturating_mul(m.into()))
76
			// Standard Error: 60_564
77
9
			.saturating_add(Weight::from_parts(8_688_361, 0).saturating_mul(p.into()))
78
9
			.saturating_add(T::DbWeight::get().reads(2_u64))
79
9
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
80
9
			.saturating_add(T::DbWeight::get().writes(2_u64))
81
9
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
82
9
			.saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into()))
83
9
			.saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into()))
84
9
	}
85
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
86
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
87
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
88
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
89
	/// The range of component `b` is `[2, 1024]`.
90
	/// The range of component `m` is `[1, 9]`.
91
	/// The range of component `b` is `[2, 1024]`.
92
	/// The range of component `m` is `[1, 100]`.
93
	fn execute(b: u32, m: u32, ) -> Weight {
94
		// Proof Size summary in bytes:
95
		//  Measured:  `145 + m * (20 ±0)`
96
		//  Estimated: `1630 + m * (20 ±0)`
97
		// Minimum execution time: 16_598_000 picoseconds.
98
		Weight::from_parts(16_825_399, 1630)
99
			// Standard Error: 120
100
			.saturating_add(Weight::from_parts(879, 0).saturating_mul(b.into()))
101
			// Standard Error: 1_241
102
			.saturating_add(Weight::from_parts(11_593, 0).saturating_mul(m.into()))
103
			.saturating_add(T::DbWeight::get().reads(2_u64))
104
			.saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into()))
105
	}
106
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
107
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
108
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:0)
109
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
110
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
111
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
112
	/// The range of component `b` is `[2, 1024]`.
113
	/// The range of component `m` is `[1, 9]`.
114
	/// The range of component `b` is `[2, 1024]`.
115
	/// The range of component `m` is `[1, 100]`.
116
	fn propose_execute(b: u32, m: u32, ) -> Weight {
117
		// Proof Size summary in bytes:
118
		//  Measured:  `145 + m * (20 ±0)`
119
		//  Estimated: `3610 + m * (20 ±0)`
120
		// Minimum execution time: 19_427_000 picoseconds.
121
		Weight::from_parts(19_427_000, 3610)
122
			// Standard Error: 57
123
			.saturating_add(Weight::from_parts(1_435, 0).saturating_mul(b.into()))
124
			// Standard Error: 591
125
			.saturating_add(Weight::from_parts(19_814, 0).saturating_mul(m.into()))
126
			.saturating_add(T::DbWeight::get().reads(3_u64))
127
			.saturating_add(Weight::from_parts(0, 20).saturating_mul(m.into()))
128
	}
129
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
130
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
131
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
132
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
133
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
134
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
135
	/// Storage: `OpenTechCommitteeCollective::ProposalCount` (r:1 w:1)
136
	/// Proof: `OpenTechCommitteeCollective::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
137
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
138
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
139
	/// The range of component `b` is `[2, 1024]`.
140
	/// The range of component `m` is `[2, 9]`.
141
	/// The range of component `p` is `[1, 20]`.
142
	/// The range of component `b` is `[2, 1024]`.
143
	/// The range of component `m` is `[2, 100]`.
144
	/// The range of component `p` is `[1, 100]`.
145
	fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
146
		// Proof Size summary in bytes:
147
		//  Measured:  `391 + m * (20 ±0) + p * (36 ±0)`
148
		//  Estimated: `3785 + m * (21 ±0) + p * (36 ±0)`
149
		// Minimum execution time: 22_848_000 picoseconds.
150
		Weight::from_parts(24_128_907, 3785)
151
			// Standard Error: 129
152
			.saturating_add(Weight::from_parts(4_016, 0).saturating_mul(b.into()))
153
			// Standard Error: 1_346
154
			.saturating_add(Weight::from_parts(24_448, 0).saturating_mul(m.into()))
155
			// Standard Error: 1_329
156
			.saturating_add(Weight::from_parts(237_248, 0).saturating_mul(p.into()))
157
			.saturating_add(T::DbWeight::get().reads(4_u64))
158
			.saturating_add(T::DbWeight::get().writes(4_u64))
159
			.saturating_add(Weight::from_parts(0, 21).saturating_mul(m.into()))
160
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
161
	}
162
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
163
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
164
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
165
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
166
	/// The range of component `m` is `[5, 9]`.
167
	/// The range of component `m` is `[5, 100]`.
168
	fn vote(m: u32, ) -> Weight {
169
		// Proof Size summary in bytes:
170
		//  Measured:  `866 + m * (40 ±0)`
171
		//  Estimated: `4330 + m * (40 ±0)`
172
		// Minimum execution time: 28_546_000 picoseconds.
173
		Weight::from_parts(29_896_528, 4330)
174
			// Standard Error: 613
175
			.saturating_add(Weight::from_parts(28_324, 0).saturating_mul(m.into()))
176
			.saturating_add(T::DbWeight::get().reads(2_u64))
177
			.saturating_add(T::DbWeight::get().writes(1_u64))
178
			.saturating_add(Weight::from_parts(0, 40).saturating_mul(m.into()))
179
	}
180
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
181
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
182
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
183
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
184
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
185
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
186
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:0 w:1)
187
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
188
	/// The range of component `m` is `[4, 9]`.
189
	/// The range of component `p` is `[1, 20]`.
190
	/// The range of component `m` is `[4, 100]`.
191
	/// The range of component `p` is `[1, 100]`.
192
	fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
193
		// Proof Size summary in bytes:
194
		//  Measured:  `443 + m * (40 ±0) + p * (36 ±0)`
195
		//  Estimated: `3888 + m * (41 ±0) + p * (36 ±0)`
196
		// Minimum execution time: 28_012_000 picoseconds.
197
		Weight::from_parts(28_241_624, 3888)
198
			// Standard Error: 1_610
199
			.saturating_add(Weight::from_parts(29_631, 0).saturating_mul(m.into()))
200
			// Standard Error: 1_570
201
			.saturating_add(Weight::from_parts(219_822, 0).saturating_mul(p.into()))
202
			.saturating_add(T::DbWeight::get().reads(3_u64))
203
			.saturating_add(T::DbWeight::get().writes(3_u64))
204
			.saturating_add(Weight::from_parts(0, 41).saturating_mul(m.into()))
205
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
206
	}
207
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
208
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
209
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
210
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
211
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
212
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
213
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
214
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
215
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
216
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
217
	/// The range of component `b` is `[2, 1024]`.
218
	/// The range of component `m` is `[4, 9]`.
219
	/// The range of component `p` is `[1, 20]`.
220
	/// The range of component `b` is `[2, 1024]`.
221
	/// The range of component `m` is `[4, 100]`.
222
	/// The range of component `p` is `[1, 100]`.
223
	fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
224
		// Proof Size summary in bytes:
225
		//  Measured:  `787 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
226
		//  Estimated: `4104 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
227
		// Minimum execution time: 41_538_000 picoseconds.
228
		Weight::from_parts(44_759_119, 4104)
229
			// Standard Error: 151
230
			.saturating_add(Weight::from_parts(2_311, 0).saturating_mul(b.into()))
231
			// Standard Error: 1_604
232
			.saturating_add(Weight::from_parts(10_323, 0).saturating_mul(m.into()))
233
			// Standard Error: 1_563
234
			.saturating_add(Weight::from_parts(240_603, 0).saturating_mul(p.into()))
235
			.saturating_add(T::DbWeight::get().reads(5_u64))
236
			.saturating_add(T::DbWeight::get().writes(3_u64))
237
			.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
238
			.saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into()))
239
			.saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
240
	}
241
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
242
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
243
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
244
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
245
	/// Storage: `OpenTechCommitteeCollective::Prime` (r:1 w:0)
246
	/// Proof: `OpenTechCommitteeCollective::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
247
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
248
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
249
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:0 w:1)
250
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
251
	/// The range of component `m` is `[4, 9]`.
252
	/// The range of component `p` is `[1, 20]`.
253
	/// The range of component `m` is `[4, 100]`.
254
	/// The range of component `p` is `[1, 100]`.
255
	fn close_disapproved(m: u32, p: u32, ) -> Weight {
256
		// Proof Size summary in bytes:
257
		//  Measured:  `512 + m * (30 ±0) + p * (36 ±0)`
258
		//  Estimated: `3954 + m * (31 ±0) + p * (36 ±0)`
259
		// Minimum execution time: 29_595_000 picoseconds.
260
		Weight::from_parts(29_676_325, 3954)
261
			// Standard Error: 999
262
			.saturating_add(Weight::from_parts(29_935, 0).saturating_mul(m.into()))
263
			// Standard Error: 974
264
			.saturating_add(Weight::from_parts(229_527, 0).saturating_mul(p.into()))
265
			.saturating_add(T::DbWeight::get().reads(4_u64))
266
			.saturating_add(T::DbWeight::get().writes(3_u64))
267
			.saturating_add(Weight::from_parts(0, 31).saturating_mul(m.into()))
268
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
269
	}
270
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:1 w:1)
271
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
272
	/// Storage: `OpenTechCommitteeCollective::Members` (r:1 w:0)
273
	/// Proof: `OpenTechCommitteeCollective::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
274
	/// Storage: `OpenTechCommitteeCollective::Prime` (r:1 w:0)
275
	/// Proof: `OpenTechCommitteeCollective::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
276
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
277
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
278
	/// Storage: `MaintenanceMode::MaintenanceMode` (r:1 w:0)
279
	/// Proof: `MaintenanceMode::MaintenanceMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
280
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
281
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
282
	/// The range of component `b` is `[2, 1024]`.
283
	/// The range of component `m` is `[4, 9]`.
284
	/// The range of component `p` is `[1, 20]`.
285
	/// The range of component `b` is `[2, 1024]`.
286
	/// The range of component `m` is `[4, 100]`.
287
	/// The range of component `p` is `[1, 100]`.
288
	fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
289
		// Proof Size summary in bytes:
290
		//  Measured:  `807 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
291
		//  Estimated: `4124 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
292
		// Minimum execution time: 44_208_000 picoseconds.
293
		Weight::from_parts(46_951_489, 4124)
294
			// Standard Error: 149
295
			.saturating_add(Weight::from_parts(2_558, 0).saturating_mul(b.into()))
296
			// Standard Error: 1_576
297
			.saturating_add(Weight::from_parts(11_702, 0).saturating_mul(m.into()))
298
			// Standard Error: 1_537
299
			.saturating_add(Weight::from_parts(243_150, 0).saturating_mul(p.into()))
300
			.saturating_add(T::DbWeight::get().reads(6_u64))
301
			.saturating_add(T::DbWeight::get().writes(3_u64))
302
			.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
303
			.saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into()))
304
			.saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
305
	}
306
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
307
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
308
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
309
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
310
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:0 w:1)
311
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
312
	/// The range of component `p` is `[1, 20]`.
313
	/// The range of component `p` is `[1, 100]`.
314
	fn disapprove_proposal(p: u32, ) -> Weight {
315
		// Proof Size summary in bytes:
316
		//  Measured:  `260 + p * (32 ±0)`
317
		//  Estimated: `1745 + p * (32 ±0)`
318
		// Minimum execution time: 14_267_000 picoseconds.
319
		Weight::from_parts(15_485_937, 1745)
320
			// Standard Error: 643
321
			.saturating_add(Weight::from_parts(185_507, 0).saturating_mul(p.into()))
322
			.saturating_add(T::DbWeight::get().reads(1_u64))
323
			.saturating_add(T::DbWeight::get().writes(3_u64))
324
			.saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into()))
325
	}
326
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
327
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
328
	/// Storage: `OpenTechCommitteeCollective::CostOf` (r:1 w:0)
329
	/// Proof: `OpenTechCommitteeCollective::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
330
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
331
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
332
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
333
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
334
	/// The range of component `d` is `[0, 1]`.
335
	/// The range of component `p` is `[1, 20]`.
336
	/// The range of component `d` is `[0, 1]`.
337
	/// The range of component `p` is `[1, 100]`.
338
	fn kill(d: u32, p: u32, ) -> Weight {
339
		// Proof Size summary in bytes:
340
		//  Measured:  `1531 + p * (36 ±0)`
341
		//  Estimated: `4930 + d * (123 ±6) + p * (37 ±0)`
342
		// Minimum execution time: 22_805_000 picoseconds.
343
		Weight::from_parts(25_391_167, 4930)
344
			// Standard Error: 66_304
345
			.saturating_add(Weight::from_parts(369_978, 0).saturating_mul(d.into()))
346
			// Standard Error: 1_026
347
			.saturating_add(Weight::from_parts(231_158, 0).saturating_mul(p.into()))
348
			.saturating_add(T::DbWeight::get().reads(3_u64))
349
			.saturating_add(T::DbWeight::get().writes(3_u64))
350
			.saturating_add(Weight::from_parts(0, 123).saturating_mul(d.into()))
351
			.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
352
	}
353
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:0)
354
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
355
	/// Storage: `OpenTechCommitteeCollective::CostOf` (r:1 w:0)
356
	/// Proof: `OpenTechCommitteeCollective::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
357
	fn release_proposal_cost() -> Weight {
358
		// Proof Size summary in bytes:
359
		//  Measured:  `945`
360
		//  Estimated: `4410`
361
		// Minimum execution time: 16_633_000 picoseconds.
362
		Weight::from_parts(17_158_000, 4410)
363
			.saturating_add(T::DbWeight::get().reads(2_u64))
364
	}
365
}