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 49.1.0
21
//! DATE: 2025-11-04, 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
// --wasm-execution=compiled
31
// --pallet
32
// pallet_registrar
33
// --extrinsic
34
// *
35
// --chain=starlight-dev
36
// --steps
37
// 50
38
// --repeat
39
// 20
40
// --template=benchmarking/frame-weight-runtime-template.hbs
41
// --json-file
42
// raw.json
43
// --output
44
// tmp/starlight_weights/pallet_registrar.rs
45

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

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

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