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-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
// --output=./runtime/moonbase/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
8
	fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
68
8
		// Proof Size summary in bytes:
69
8
		//  Measured:  `0 + m * (2021 ±0) + p * (2026 ±0)`
70
8
		//  Estimated: `12267 + m * (1231 ±14) + p * (3660 ±14)`
71
8
		// Minimum execution time: 15_039_000 picoseconds.
72
8
		Weight::from_parts(15_303_000, 12267)
73
8
			// Standard Error: 51_544
74
8
			.saturating_add(Weight::from_parts(3_856_272, 0).saturating_mul(m.into()))
75
8
			// Standard Error: 51_544
76
8
			.saturating_add(Weight::from_parts(7_690_800, 0).saturating_mul(p.into()))
77
8
			.saturating_add(T::DbWeight::get().reads(2_u64))
78
8
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
79
8
			.saturating_add(T::DbWeight::get().writes(2_u64))
80
8
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
81
8
			.saturating_add(Weight::from_parts(0, 1231).saturating_mul(m.into()))
82
8
			.saturating_add(Weight::from_parts(0, 3660).saturating_mul(p.into()))
83
8
	}
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:  `178 + m * (20 ±0)`
95
		//  Estimated: `1663 + m * (20 ±0)`
96
		// Minimum execution time: 16_053_000 picoseconds.
97
		Weight::from_parts(15_549_255, 1663)
98
			// Standard Error: 32
99
			.saturating_add(Weight::from_parts(1_357, 0).saturating_mul(b.into()))
100
			// Standard Error: 333
101
			.saturating_add(Weight::from_parts(13_524, 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:  `178 + m * (20 ±0)`
118
		//  Estimated: `3643 + m * (20 ±0)`
119
		// Minimum execution time: 18_476_000 picoseconds.
120
		Weight::from_parts(18_051_448, 3643)
121
			// Standard Error: 31
122
			.saturating_add(Weight::from_parts(1_371, 0).saturating_mul(b.into()))
123
			// Standard Error: 324
124
			.saturating_add(Weight::from_parts(18_595, 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:  `424 + m * (20 ±0) + p * (36 ±0)`
147
		//  Estimated: `3818 + m * (21 ±0) + p * (36 ±0)`
148
		// Minimum execution time: 21_379_000 picoseconds.
149
		Weight::from_parts(21_065_313, 3818)
150
			// Standard Error: 164
151
			.saturating_add(Weight::from_parts(2_567, 0).saturating_mul(b.into()))
152
			// Standard Error: 1_718
153
			.saturating_add(Weight::from_parts(36_083, 0).saturating_mul(m.into()))
154
			// Standard Error: 1_697
155
			.saturating_add(Weight::from_parts(202_889, 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:  `899 + m * (40 ±0)`
170
		//  Estimated: `4363 + m * (40 ±0)`
171
		// Minimum execution time: 28_624_000 picoseconds.
172
		Weight::from_parts(29_326_469, 4363)
173
			// Standard Error: 606
174
			.saturating_add(Weight::from_parts(27_955, 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:  `476 + m * (40 ±0) + p * (36 ±0)`
194
		//  Estimated: `3921 + m * (41 ±0) + p * (36 ±0)`
195
		// Minimum execution time: 23_895_000 picoseconds.
196
		Weight::from_parts(26_323_147, 3921)
197
			// Standard Error: 1_552
198
			.saturating_add(Weight::from_parts(31_142, 0).saturating_mul(m.into()))
199
			// Standard Error: 1_514
200
			.saturating_add(Weight::from_parts(201_255, 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:  `820 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
225
		//  Estimated: `4137 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
226
		// Minimum execution time: 38_677_000 picoseconds.
227
		Weight::from_parts(40_411_240, 4137)
228
			// Standard Error: 142
229
			.saturating_add(Weight::from_parts(2_679, 0).saturating_mul(b.into()))
230
			// Standard Error: 1_501
231
			.saturating_add(Weight::from_parts(23_833, 0).saturating_mul(m.into()))
232
			// Standard Error: 1_463
233
			.saturating_add(Weight::from_parts(233_467, 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:  `545 + m * (30 ±0) + p * (36 ±0)`
257
		//  Estimated: `3987 + m * (31 ±0) + p * (36 ±0)`
258
		// Minimum execution time: 27_798_000 picoseconds.
259
		Weight::from_parts(27_932_229, 3987)
260
			// Standard Error: 933
261
			.saturating_add(Weight::from_parts(27_172, 0).saturating_mul(m.into()))
262
			// Standard Error: 909
263
			.saturating_add(Weight::from_parts(210_003, 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:  `840 + b * (1 ±0) + m * (40 ±0) + p * (40 ±0)`
290
		//  Estimated: `4157 + b * (1 ±0) + m * (42 ±0) + p * (40 ±0)`
291
		// Minimum execution time: 41_035_000 picoseconds.
292
		Weight::from_parts(42_745_536, 4157)
293
			// Standard Error: 142
294
			.saturating_add(Weight::from_parts(2_498, 0).saturating_mul(b.into()))
295
			// Standard Error: 1_502
296
			.saturating_add(Weight::from_parts(23_990, 0).saturating_mul(m.into()))
297
			// Standard Error: 1_464
298
			.saturating_add(Weight::from_parts(239_458, 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:  `293 + p * (32 ±0)`
316
		//  Estimated: `1778 + p * (32 ±0)`
317
		// Minimum execution time: 13_270_000 picoseconds.
318
		Weight::from_parts(14_900_355, 1778)
319
			// Standard Error: 812
320
			.saturating_add(Weight::from_parts(166_071, 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:  `1564 + p * (36 ±0)`
340
		//  Estimated: `4963 + d * (123 ±6) + p * (37 ±0)`
341
		// Minimum execution time: 19_972_000 picoseconds.
342
		Weight::from_parts(22_455_228, 4963)
343
			// Standard Error: 93_503
344
			.saturating_add(Weight::from_parts(992_608, 0).saturating_mul(d.into()))
345
			// Standard Error: 1_448
346
			.saturating_add(Weight::from_parts(227_271, 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:  `978`
359
		//  Estimated: `4443`
360
		// Minimum execution time: 16_039_000 picoseconds.
361
		Weight::from_parts(16_647_000, 4443)
362
			.saturating_add(T::DbWeight::get().reads(2_u64))
363
	}
364
}