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: 2026-03-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `ip-10-0-0-198`, 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/moonbase-runtime/moonbase_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/moonbase/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
8
	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: `12267 + m * (1231 ±14) + p * (3660 ±14)`
72
		// Minimum execution time: 14_552_000 picoseconds.
73
8
		Weight::from_parts(14_964_000, 12267)
74
			// Standard Error: 63_403
75
8
			.saturating_add(Weight::from_parts(4_722_345, 0).saturating_mul(m.into()))
76
			// Standard Error: 63_403
77
8
			.saturating_add(Weight::from_parts(8_878_279, 0).saturating_mul(p.into()))
78
8
			.saturating_add(T::DbWeight::get().reads(2_u64))
79
8
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
80
8
			.saturating_add(T::DbWeight::get().writes(2_u64))
81
8
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
82
8
			.saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into()))
83
8
			.saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into()))
84
8
	}
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:  `178 + m * (20 ±0)`
96
		//  Estimated: `1663 + m * (20 ±0)`
97
		// Minimum execution time: 15_941_000 picoseconds.
98
		Weight::from_parts(15_247_206, 1663)
99
			// Standard Error: 29
100
			.saturating_add(Weight::from_parts(1_629, 0).saturating_mul(b.into()))
101
			// Standard Error: 301
102
			.saturating_add(Weight::from_parts(13_396, 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:  `178 + m * (20 ±0)`
119
		//  Estimated: `3643 + m * (20 ±0)`
120
		// Minimum execution time: 18_523_000 picoseconds.
121
		Weight::from_parts(17_996_364, 3643)
122
			// Standard Error: 35
123
			.saturating_add(Weight::from_parts(1_564, 0).saturating_mul(b.into()))
124
			// Standard Error: 360
125
			.saturating_add(Weight::from_parts(21_691, 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:  `424 + m * (20 ±0) + p * (36 ±0)`
148
		//  Estimated: `3818 + m * (21 ±0) + p * (36 ±0)`
149
		// Minimum execution time: 21_710_000 picoseconds.
150
		Weight::from_parts(22_940_317, 3818)
151
			// Standard Error: 266
152
			.saturating_add(Weight::from_parts(818, 0).saturating_mul(b.into()))
153
			// Standard Error: 2_784
154
			.saturating_add(Weight::from_parts(41_102, 0).saturating_mul(m.into()))
155
			// Standard Error: 2_748
156
			.saturating_add(Weight::from_parts(223_404, 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:  `899 + m * (40 ±0)`
171
		//  Estimated: `4363 + m * (40 ±0)`
172
		// Minimum execution time: 28_078_000 picoseconds.
173
		Weight::from_parts(28_601_112, 4363)
174
			// Standard Error: 2_133
175
			.saturating_add(Weight::from_parts(64_796, 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:  `476 + m * (40 ±0) + p * (36 ±0)`
195
		//  Estimated: `3921 + m * (41 ±0) + p * (36 ±0)`
196
		// Minimum execution time: 24_860_000 picoseconds.
197
		Weight::from_parts(24_302_956, 3921)
198
			// Standard Error: 2_032
199
			.saturating_add(Weight::from_parts(58_180, 0).saturating_mul(m.into()))
200
			// Standard Error: 1_982
201
			.saturating_add(Weight::from_parts(224_818, 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:  `820 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
226
		//  Estimated: `4137 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
227
		// Minimum execution time: 39_795_000 picoseconds.
228
		Weight::from_parts(41_658_332, 4137)
229
			// Standard Error: 324
230
			.saturating_add(Weight::from_parts(1_655, 0).saturating_mul(b.into()))
231
			// Standard Error: 3_434
232
			.saturating_add(Weight::from_parts(22_553, 0).saturating_mul(m.into()))
233
			// Standard Error: 3_347
234
			.saturating_add(Weight::from_parts(278_819, 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:  `545 + m * (30 ±0) + p * (36 ±0)`
258
		//  Estimated: `3987 + m * (31 ±0) + p * (36 ±0)`
259
		// Minimum execution time: 28_735_000 picoseconds.
260
		Weight::from_parts(25_508_291, 3987)
261
			// Standard Error: 1_433
262
			.saturating_add(Weight::from_parts(53_599, 0).saturating_mul(m.into()))
263
			// Standard Error: 1_397
264
			.saturating_add(Weight::from_parts(239_337, 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:  `840 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
291
		//  Estimated: `4157 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
292
		// Minimum execution time: 42_750_000 picoseconds.
293
		Weight::from_parts(35_804_198, 4157)
294
			// Standard Error: 287
295
			.saturating_add(Weight::from_parts(4_887, 0).saturating_mul(b.into()))
296
			// Standard Error: 3_034
297
			.saturating_add(Weight::from_parts(57_709, 0).saturating_mul(m.into()))
298
			// Standard Error: 2_957
299
			.saturating_add(Weight::from_parts(315_132, 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:  `293 + p * (32 ±0)`
317
		//  Estimated: `1778 + p * (32 ±0)`
318
		// Minimum execution time: 13_515_000 picoseconds.
319
		Weight::from_parts(13_883_962, 1778)
320
			// Standard Error: 1_681
321
			.saturating_add(Weight::from_parts(202_144, 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:  `1564 + p * (36 ±0)`
341
		//  Estimated: `4963 + d * (123 ±6) + p * (37 ±0)`
342
		// Minimum execution time: 20_056_000 picoseconds.
343
		Weight::from_parts(22_362_762, 4963)
344
			// Standard Error: 115_546
345
			.saturating_add(Weight::from_parts(1_199_837, 0).saturating_mul(d.into()))
346
			// Standard Error: 1_789
347
			.saturating_add(Weight::from_parts(238_311, 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:  `978`
360
		//  Estimated: `4443`
361
		// Minimum execution time: 16_254_000 picoseconds.
362
		Weight::from_parts(16_682_000, 4443)
363
			.saturating_add(T::DbWeight::get().reads(2_u64))
364
	}
365
}