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 48.0.0
21
//! DATE: 2025-09-02, 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 ±14) + p * (3660 ±14)`
71
7
		// Minimum execution time: 14_613_000 picoseconds.
72
7
		Weight::from_parts(15_074_000, 12234)
73
7
			// Standard Error: 58_062
74
7
			.saturating_add(Weight::from_parts(4_421_472, 0).saturating_mul(m.into()))
75
7
			// Standard Error: 58_062
76
7
			.saturating_add(Weight::from_parts(8_327_153, 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: 15_889_000 picoseconds.
97
		Weight::from_parts(15_233_360, 1630)
98
			// Standard Error: 29
99
			.saturating_add(Weight::from_parts(1_410, 0).saturating_mul(b.into()))
100
			// Standard Error: 299
101
			.saturating_add(Weight::from_parts(13_789, 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_412_000 picoseconds.
120
		Weight::from_parts(17_767_687, 3610)
121
			// Standard Error: 30
122
			.saturating_add(Weight::from_parts(1_533, 0).saturating_mul(b.into()))
123
			// Standard Error: 312
124
			.saturating_add(Weight::from_parts(19_681, 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_770_000 picoseconds.
149
		Weight::from_parts(22_392_027, 3785)
150
			// Standard Error: 152
151
			.saturating_add(Weight::from_parts(3_628, 0).saturating_mul(b.into()))
152
			// Standard Error: 1_588
153
			.saturating_add(Weight::from_parts(25_858, 0).saturating_mul(m.into()))
154
			// Standard Error: 1_568
155
			.saturating_add(Weight::from_parts(217_006, 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_607_000 picoseconds.
172
		Weight::from_parts(28_392_618, 4330)
173
			// Standard Error: 729
174
			.saturating_add(Weight::from_parts(33_241, 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_751_000 picoseconds.
196
		Weight::from_parts(26_675_883, 3888)
197
			// Standard Error: 999
198
			.saturating_add(Weight::from_parts(30_597, 0).saturating_mul(m.into()))
199
			// Standard Error: 974
200
			.saturating_add(Weight::from_parts(191_079, 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: 39_583_000 picoseconds.
227
		Weight::from_parts(30_341_169, 4104)
228
			// Standard Error: 250
229
			.saturating_add(Weight::from_parts(7_521, 0).saturating_mul(b.into()))
230
			// Standard Error: 2_646
231
			.saturating_add(Weight::from_parts(51_017, 0).saturating_mul(m.into()))
232
			// Standard Error: 2_579
233
			.saturating_add(Weight::from_parts(366_555, 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: 28_282_000 picoseconds.
259
		Weight::from_parts(26_998_799, 3954)
260
			// Standard Error: 1_666
261
			.saturating_add(Weight::from_parts(28_660, 0).saturating_mul(m.into()))
262
			// Standard Error: 1_625
263
			.saturating_add(Weight::from_parts(254_915, 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_186_000 picoseconds.
292
		Weight::from_parts(59_484_712, 4124)
293
			// Standard Error: 3_777
294
			.saturating_add(Weight::from_parts(281_693, 0).saturating_mul(p.into()))
295
			.saturating_add(T::DbWeight::get().reads(6_u64))
296
			.saturating_add(T::DbWeight::get().writes(3_u64))
297
			.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
298
			.saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into()))
299
			.saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
300
	}
301
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
302
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
303
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
304
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
305
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:0 w:1)
306
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
307
	/// The range of component `p` is `[1, 20]`.
308
	/// The range of component `p` is `[1, 100]`.
309
	fn disapprove_proposal(p: u32, ) -> Weight {
310
		// Proof Size summary in bytes:
311
		//  Measured:  `260 + p * (32 ±0)`
312
		//  Estimated: `1745 + p * (32 ±0)`
313
		// Minimum execution time: 13_441_000 picoseconds.
314
		Weight::from_parts(14_831_570, 1745)
315
			// Standard Error: 710
316
			.saturating_add(Weight::from_parts(163_147, 0).saturating_mul(p.into()))
317
			.saturating_add(T::DbWeight::get().reads(1_u64))
318
			.saturating_add(T::DbWeight::get().writes(3_u64))
319
			.saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into()))
320
	}
321
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:1)
322
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
323
	/// Storage: `OpenTechCommitteeCollective::CostOf` (r:1 w:0)
324
	/// Proof: `OpenTechCommitteeCollective::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
325
	/// Storage: `OpenTechCommitteeCollective::Proposals` (r:1 w:1)
326
	/// Proof: `OpenTechCommitteeCollective::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
327
	/// Storage: `OpenTechCommitteeCollective::Voting` (r:0 w:1)
328
	/// Proof: `OpenTechCommitteeCollective::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
329
	/// The range of component `d` is `[0, 1]`.
330
	/// The range of component `p` is `[1, 20]`.
331
	/// The range of component `d` is `[0, 1]`.
332
	/// The range of component `p` is `[1, 100]`.
333
	fn kill(d: u32, p: u32, ) -> Weight {
334
		// Proof Size summary in bytes:
335
		//  Measured:  `1531 + p * (36 ±0)`
336
		//  Estimated: `4930 + d * (123 ±6) + p * (37 ±0)`
337
		// Minimum execution time: 21_452_000 picoseconds.
338
		Weight::from_parts(24_331_032, 4930)
339
			// Standard Error: 65_376
340
			.saturating_add(Weight::from_parts(312_617, 0).saturating_mul(d.into()))
341
			// Standard Error: 1_012
342
			.saturating_add(Weight::from_parts(199_521, 0).saturating_mul(p.into()))
343
			.saturating_add(T::DbWeight::get().reads(3_u64))
344
			.saturating_add(T::DbWeight::get().writes(3_u64))
345
			.saturating_add(Weight::from_parts(0, 123).saturating_mul(d.into()))
346
			.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
347
	}
348
	/// Storage: `OpenTechCommitteeCollective::ProposalOf` (r:1 w:0)
349
	/// Proof: `OpenTechCommitteeCollective::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
350
	/// Storage: `OpenTechCommitteeCollective::CostOf` (r:1 w:0)
351
	/// Proof: `OpenTechCommitteeCollective::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
352
	fn release_proposal_cost() -> Weight {
353
		// Proof Size summary in bytes:
354
		//  Measured:  `945`
355
		//  Estimated: `4410`
356
		// Minimum execution time: 15_990_000 picoseconds.
357
		Weight::from_parts(16_407_000, 4410)
358
			.saturating_add(T::DbWeight::get().reads(2_u64))
359
	}
360
}