1
// Copyright (C) Moondance Labs Ltd.
2
// This file is part of Tanssi.
3

            
4
// Tanssi 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
// Tanssi 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 Tanssi.  If not, see <http://www.gnu.org/licenses/>
16

            
17

            
18
//! Autogenerated weights for pallet_registrar
19
//!
20
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
21
//! DATE: 2025-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `benchmark-1`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
24
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("starlight-dev"), DB CACHE: 1024
25

            
26
// Executed Command:
27
// target/release/tanssi-relay
28
// benchmark
29
// pallet
30
// --execution=wasm
31
// --wasm-execution=compiled
32
// --pallet
33
// pallet_registrar
34
// --extrinsic
35
// *
36
// --chain=starlight-dev
37
// --steps
38
// 50
39
// --repeat
40
// 20
41
// --template=benchmarking/frame-weight-runtime-template.hbs
42
// --json-file
43
// raw.json
44
// --output
45
// tmp/starlight_weights/pallet_registrar.rs
46

            
47
#![cfg_attr(rustfmt, rustfmt_skip)]
48
#![allow(unused_parens)]
49
#![allow(unused_imports)]
50

            
51
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
52
use sp_std::marker::PhantomData;
53

            
54
/// Weights for pallet_registrar using the Substrate node and recommended hardware.
55
pub struct SubstrateWeight<T>(PhantomData<T>);
56
impl<T: frame_system::Config> pallet_registrar::WeightInfo for SubstrateWeight<T> {
57
	/// Storage: `System::Account` (r:1 w:1)
58
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
59
	/// Storage: `Balances::Holds` (r:1 w:1)
60
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`)
61
	/// Storage: `ContainerRegistrar::ParaGenesisData` (r:1 w:1)
62
	/// Proof: `ContainerRegistrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
63
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:1)
64
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
65
	/// Storage: `Registrar::Paras` (r:1 w:1)
66
	/// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`)
67
	/// Storage: `Paras::ParaLifecycles` (r:1 w:1)
68
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
69
	/// Storage: `Paras::PvfActiveVoteMap` (r:1 w:1)
70
	/// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`)
71
	/// Storage: `Paras::CodeByHash` (r:1 w:1)
72
	/// Proof: `Paras::CodeByHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
73
	/// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
74
	/// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
75
	/// Storage: `Paras::PvfActiveVoteList` (r:1 w:1)
76
	/// Proof: `Paras::PvfActiveVoteList` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
77
	/// Storage: `Paras::CodeByHashRefs` (r:1 w:1)
78
	/// Proof: `Paras::CodeByHashRefs` (`max_values`: None, `max_size`: None, mode: `Measured`)
79
	/// Storage: `ContainerRegistrar::RegistrarDeposit` (r:0 w:1)
80
	/// Proof: `ContainerRegistrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
81
	/// Storage: `ContainerRegistrar::ParaManager` (r:0 w:1)
82
	/// Proof: `ContainerRegistrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
83
	/// Storage: `Paras::CurrentCodeHash` (r:0 w:1)
84
	/// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
85
	/// Storage: `Paras::UpcomingParasGenesis` (r:0 w:1)
86
	/// Proof: `Paras::UpcomingParasGenesis` (`max_values`: None, `max_size`: None, mode: `Measured`)
87
	/// The range of component `x` is `[100, 3000000]`.
88
	/// The range of component `z` is `[1, 10]`.
89
	fn register(x: u32, _z: u32, ) -> Weight {
90
		// Proof Size summary in bytes:
91
		//  Measured:  `544`
92
		//  Estimated: `4009`
93
		// Minimum execution time: 159_857_000 picoseconds.
94
		Weight::from_parts(185_942_690, 4009)
95
			// Standard Error: 1
96
			.saturating_add(Weight::from_parts(1_101, 0).saturating_mul(x.into()))
97
			.saturating_add(T::DbWeight::get().reads(11_u64))
98
			.saturating_add(T::DbWeight::get().writes(14_u64))
99
	}
100
	/// The range of component `x` is `[100, 3000000]`.
101
	/// The range of component `z` is `[1, 10]`.
102
	fn register_with_relay_proof(_x: u32, _z: u32, ) -> Weight {
103
		// Proof Size summary in bytes:
104
		//  Measured:  `0`
105
		//  Estimated: `0`
106
		// Minimum execution time: 0_000 picoseconds.
107
		Weight::from_parts(0, 0)
108
	}
109
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:1)
110
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
111
	/// Storage: `ContainerRegistrar::RegistrarDeposit` (r:1 w:1)
112
	/// Proof: `ContainerRegistrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
113
	/// Storage: `System::Account` (r:2 w:1)
114
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
115
	/// Storage: `Balances::Holds` (r:1 w:1)
116
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`)
117
	/// Storage: `ContainerRegistrar::BufferedParasToDeregister` (r:1 w:1)
118
	/// Proof: `ContainerRegistrar::BufferedParasToDeregister` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
119
	/// Storage: `ServicesPayment::MaxTip` (r:0 w:1)
120
	/// Proof: `ServicesPayment::MaxTip` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
121
	/// Storage: `ServicesPayment::RefundAddress` (r:0 w:1)
122
	/// Proof: `ServicesPayment::RefundAddress` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
123
	/// Storage: `ServicesPayment::CollatorAssignmentCredits` (r:0 w:1)
124
	/// Proof: `ServicesPayment::CollatorAssignmentCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
125
	/// Storage: `ServicesPayment::MaxCorePrice` (r:0 w:1)
126
	/// Proof: `ServicesPayment::MaxCorePrice` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
127
	/// Storage: `ServicesPayment::BlockProductionCredits` (r:0 w:1)
128
	/// Proof: `ServicesPayment::BlockProductionCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
129
	/// Storage: `DataPreservers::Assignments` (r:0 w:1)
130
	/// Proof: `DataPreservers::Assignments` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
131
	/// Storage: `AuthorNoting::LatestAuthor` (r:0 w:1)
132
	/// Proof: `AuthorNoting::LatestAuthor` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
133
	/// Storage: `ContainerRegistrar::ParaGenesisData` (r:0 w:1)
134
	/// Proof: `ContainerRegistrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
135
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:0 w:1)
136
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
137
	/// Storage: `ContainerRegistrar::ParaManager` (r:0 w:1)
138
	/// Proof: `ContainerRegistrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
139
	fn deregister_immediate() -> Weight {
140
		// Proof Size summary in bytes:
141
		//  Measured:  `2995`
142
		//  Estimated: `6196`
143
		// Minimum execution time: 164_606_000 picoseconds.
144
		Weight::from_parts(168_485_000, 6196)
145
			.saturating_add(T::DbWeight::get().reads(6_u64))
146
			.saturating_add(T::DbWeight::get().writes(15_u64))
147
	}
148
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:0)
149
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
150
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
151
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
152
	/// Storage: `ContainerRegistrar::PendingPaused` (r:1 w:0)
153
	/// Proof: `ContainerRegistrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
154
	/// Storage: `ContainerRegistrar::RegisteredParaIds` (r:1 w:0)
155
	/// Proof: `ContainerRegistrar::RegisteredParaIds` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
156
	/// Storage: `ContainerRegistrar::Paused` (r:1 w:0)
157
	/// Proof: `ContainerRegistrar::Paused` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
158
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
159
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
160
	/// Storage: `ContainerRegistrar::PendingToRemove` (r:1 w:1)
161
	/// Proof: `ContainerRegistrar::PendingToRemove` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
162
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:1 w:0)
163
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
164
	/// Storage: `Paras::ParaLifecycles` (r:1 w:0)
165
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
166
	fn deregister_scheduled() -> Weight {
167
		// Proof Size summary in bytes:
168
		//  Measured:  `1786`
169
		//  Estimated: `5251`
170
		// Minimum execution time: 88_971_000 picoseconds.
171
		Weight::from_parts(91_654_000, 5251)
172
			.saturating_add(T::DbWeight::get().reads(9_u64))
173
			.saturating_add(T::DbWeight::get().writes(2_u64))
174
	}
175
	fn deregister_with_relay_proof_immediate() -> Weight {
176
		// Proof Size summary in bytes:
177
		//  Measured:  `0`
178
		//  Estimated: `0`
179
		// Minimum execution time: 0_000 picoseconds.
180
		Weight::from_parts(0, 0)
181
	}
182
	fn deregister_with_relay_proof_scheduled() -> Weight {
183
		// Proof Size summary in bytes:
184
		//  Measured:  `0`
185
		//  Estimated: `0`
186
		// Minimum execution time: 0_000 picoseconds.
187
		Weight::from_parts(0, 0)
188
	}
189
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:1)
190
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
191
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
192
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
193
	/// Storage: `ContainerRegistrar::RegisteredParaIds` (r:1 w:0)
194
	/// Proof: `ContainerRegistrar::RegisteredParaIds` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
195
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
196
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
197
	/// Storage: `DataPreservers::Assignments` (r:1 w:0)
198
	/// Proof: `DataPreservers::Assignments` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
199
	/// Storage: `DataPreservers::Profiles` (r:1 w:0)
200
	/// Proof: `DataPreservers::Profiles` (`max_values`: None, `max_size`: Some(744), added: 3219, mode: `MaxEncodedLen`)
201
	/// Storage: `ServicesPayment::GivenFreeCredits` (r:1 w:1)
202
	/// Proof: `ServicesPayment::GivenFreeCredits` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
203
	/// Storage: `ServicesPayment::BlockProductionCredits` (r:1 w:1)
204
	/// Proof: `ServicesPayment::BlockProductionCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
205
	/// Storage: `ServicesPayment::CollatorAssignmentCredits` (r:1 w:1)
206
	/// Proof: `ServicesPayment::CollatorAssignmentCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
207
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:1 w:0)
208
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
209
	/// Storage: `Paras::ParaLifecycles` (r:1 w:1)
210
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
211
	/// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
212
	/// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
213
	/// Storage: `Paras::ActionsQueue` (r:1 w:1)
214
	/// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`)
215
	fn mark_valid_for_collating() -> Weight {
216
		// Proof Size summary in bytes:
217
		//  Measured:  `6803`
218
		//  Estimated: `10268`
219
		// Minimum execution time: 222_976_000 picoseconds.
220
		Weight::from_parts(233_283_000, 10268)
221
			.saturating_add(T::DbWeight::get().reads(13_u64))
222
			.saturating_add(T::DbWeight::get().writes(7_u64))
223
	}
224
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
225
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
226
	/// Storage: `ContainerRegistrar::PendingPaused` (r:1 w:1)
227
	/// Proof: `ContainerRegistrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
228
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
229
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
230
	fn pause_container_chain() -> Weight {
231
		// Proof Size summary in bytes:
232
		//  Measured:  `1270`
233
		//  Estimated: `2755`
234
		// Minimum execution time: 63_515_000 picoseconds.
235
		Weight::from_parts(67_109_000, 2755)
236
			.saturating_add(T::DbWeight::get().reads(3_u64))
237
			.saturating_add(T::DbWeight::get().writes(2_u64))
238
	}
239
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
240
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
241
	/// Storage: `ContainerRegistrar::PendingPaused` (r:1 w:1)
242
	/// Proof: `ContainerRegistrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
243
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
244
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
245
	fn unpause_container_chain() -> Weight {
246
		// Proof Size summary in bytes:
247
		//  Measured:  `1270`
248
		//  Estimated: `2755`
249
		// Minimum execution time: 63_523_000 picoseconds.
250
		Weight::from_parts(67_496_000, 2755)
251
			.saturating_add(T::DbWeight::get().reads(3_u64))
252
			.saturating_add(T::DbWeight::get().writes(2_u64))
253
	}
254
	/// Storage: `System::Account` (r:1 w:1)
255
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
256
	/// Storage: `Balances::Holds` (r:1 w:1)
257
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(157), added: 2632, mode: `MaxEncodedLen`)
258
	/// Storage: `ContainerRegistrar::ParaGenesisData` (r:1 w:1)
259
	/// Proof: `ContainerRegistrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
260
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:1)
261
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
262
	/// Storage: `Registrar::Paras` (r:1 w:1)
263
	/// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`)
264
	/// Storage: `Paras::ParaLifecycles` (r:1 w:1)
265
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
266
	/// Storage: `Paras::PvfActiveVoteMap` (r:1 w:1)
267
	/// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`)
268
	/// Storage: `Paras::CodeByHash` (r:1 w:1)
269
	/// Proof: `Paras::CodeByHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
270
	/// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
271
	/// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
272
	/// Storage: `Paras::PvfActiveVoteList` (r:1 w:1)
273
	/// Proof: `Paras::PvfActiveVoteList` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
274
	/// Storage: `Paras::CodeByHashRefs` (r:1 w:1)
275
	/// Proof: `Paras::CodeByHashRefs` (`max_values`: None, `max_size`: None, mode: `Measured`)
276
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:0 w:1)
277
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
278
	/// Storage: `ContainerRegistrar::RegistrarDeposit` (r:0 w:1)
279
	/// Proof: `ContainerRegistrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
280
	/// Storage: `ContainerRegistrar::ParaManager` (r:0 w:1)
281
	/// Proof: `ContainerRegistrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
282
	/// Storage: `Paras::CurrentCodeHash` (r:0 w:1)
283
	/// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
284
	/// Storage: `Paras::UpcomingParasGenesis` (r:0 w:1)
285
	/// Proof: `Paras::UpcomingParasGenesis` (`max_values`: None, `max_size`: None, mode: `Measured`)
286
	/// The range of component `x` is `[100, 3000000]`.
287
	/// The range of component `z` is `[1, 10]`.
288
	fn register_parathread(x: u32, _z: u32, ) -> Weight {
289
		// Proof Size summary in bytes:
290
		//  Measured:  `544`
291
		//  Estimated: `4009`
292
		// Minimum execution time: 164_467_000 picoseconds.
293
		Weight::from_parts(227_326_842, 4009)
294
			// Standard Error: 1
295
			.saturating_add(Weight::from_parts(1_098, 0).saturating_mul(x.into()))
296
			.saturating_add(T::DbWeight::get().reads(11_u64))
297
			.saturating_add(T::DbWeight::get().writes(15_u64))
298
	}
299
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:1 w:0)
300
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
301
	/// Storage: `ContainerRegistrar::PendingParathreadParams` (r:1 w:1)
302
	/// Proof: `ContainerRegistrar::PendingParathreadParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
303
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
304
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
305
	fn set_parathread_params() -> Weight {
306
		// Proof Size summary in bytes:
307
		//  Measured:  `1693`
308
		//  Estimated: `3493`
309
		// Minimum execution time: 66_225_000 picoseconds.
310
		Weight::from_parts(69_482_000, 3493)
311
			.saturating_add(T::DbWeight::get().reads(3_u64))
312
			.saturating_add(T::DbWeight::get().writes(1_u64))
313
	}
314
	/// Storage: `ContainerRegistrar::RegistrarDeposit` (r:1 w:0)
315
	/// Proof: `ContainerRegistrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
316
	/// Storage: `ContainerRegistrar::ParaManager` (r:0 w:1)
317
	/// Proof: `ContainerRegistrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
318
	fn set_para_manager() -> Weight {
319
		// Proof Size summary in bytes:
320
		//  Measured:  `337`
321
		//  Estimated: `3533`
322
		// Minimum execution time: 21_745_000 picoseconds.
323
		Weight::from_parts(22_187_000, 3533)
324
			.saturating_add(T::DbWeight::get().reads(1_u64))
325
			.saturating_add(T::DbWeight::get().writes(1_u64))
326
	}
327
}