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-03, 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("dev"), DB CACHE: 1024
25

            
26
// Executed Command:
27
// ./target/release/tanssi-node
28
// benchmark
29
// pallet
30
// --wasm-execution=compiled
31
// --pallet
32
// pallet_registrar
33
// --extrinsic
34
// *
35
// --chain=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/dancebox_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(139), added: 2614, mode: `MaxEncodedLen`)
60
	/// Storage: `Registrar::ParaGenesisData` (r:1 w:1)
61
	/// Proof: `Registrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
62
	/// Storage: `Registrar::PendingVerification` (r:1 w:1)
63
	/// Proof: `Registrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
64
	/// Storage: `Registrar::RegistrarDeposit` (r:0 w:1)
65
	/// Proof: `Registrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
66
	/// Storage: `Registrar::ParaManager` (r:0 w:1)
67
	/// Proof: `Registrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
68
	/// The range of component `x` is `[100, 3000000]`.
69
	/// The range of component `z` is `[1, 10]`.
70
	fn register(x: u32, _z: u32, ) -> Weight {
71
		// Proof Size summary in bytes:
72
		//  Measured:  `266`
73
		//  Estimated: `3731`
74
		// Minimum execution time: 83_937_000 picoseconds.
75
		Weight::from_parts(161_174_703, 3731)
76
			// Standard Error: 4
77
			.saturating_add(Weight::from_parts(1_300, 0).saturating_mul(x.into()))
78
			.saturating_add(T::DbWeight::get().reads(4_u64))
79
			.saturating_add(T::DbWeight::get().writes(6_u64))
80
	}
81
	/// Storage: `RelayStorageRoots::RelayStorageRoot` (r:1 w:0)
82
	/// Proof: `RelayStorageRoots::RelayStorageRoot` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
83
	/// Storage: `System::Account` (r:1 w:1)
84
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
85
	/// Storage: `Balances::Holds` (r:1 w:1)
86
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(139), added: 2614, mode: `MaxEncodedLen`)
87
	/// Storage: `Registrar::ParaGenesisData` (r:1 w:1)
88
	/// Proof: `Registrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
89
	/// Storage: `Registrar::PendingVerification` (r:1 w:1)
90
	/// Proof: `Registrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
91
	/// Storage: `Registrar::RegistrarDeposit` (r:0 w:1)
92
	/// Proof: `Registrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
93
	/// Storage: `Registrar::ParaManager` (r:0 w:1)
94
	/// Proof: `Registrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
95
	/// The range of component `x` is `[100, 3000000]`.
96
	/// The range of component `z` is `[1, 10]`.
97
	fn register_with_relay_proof(x: u32, z: u32, ) -> Weight {
98
		// Proof Size summary in bytes:
99
		//  Measured:  `364`
100
		//  Estimated: `3829`
101
		// Minimum execution time: 151_428_000 picoseconds.
102
		Weight::from_parts(152_629_000, 3829)
103
			// Standard Error: 3
104
			.saturating_add(Weight::from_parts(1_518, 0).saturating_mul(x.into()))
105
			// Standard Error: 998_352
106
			.saturating_add(Weight::from_parts(1_603_862, 0).saturating_mul(z.into()))
107
			.saturating_add(T::DbWeight::get().reads(5_u64))
108
			.saturating_add(T::DbWeight::get().writes(6_u64))
109
	}
110
	/// Storage: `Registrar::RegistrarDeposit` (r:1 w:1)
111
	/// Proof: `Registrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
112
	/// Storage: `Registrar::ParaGenesisData` (r:1 w:0)
113
	/// Proof: `Registrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
114
	/// Storage: `System::Account` (r:1 w:1)
115
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
116
	/// Storage: `Balances::Holds` (r:1 w:1)
117
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(139), added: 2614, mode: `MaxEncodedLen`)
118
	fn poke_deposit() -> Weight {
119
		// Proof Size summary in bytes:
120
		//  Measured:  `5000508`
121
		//  Estimated: `5003973`
122
		// Minimum execution time: 11_134_504_000 picoseconds.
123
		Weight::from_parts(11_205_225_000, 5003973)
124
			.saturating_add(T::DbWeight::get().reads(4_u64))
125
			.saturating_add(T::DbWeight::get().writes(3_u64))
126
	}
127
	/// Storage: `Registrar::PendingVerification` (r:1 w:1)
128
	/// Proof: `Registrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
129
	/// Storage: `Registrar::RegistrarDeposit` (r:1 w:1)
130
	/// Proof: `Registrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
131
	/// Storage: `System::Account` (r:2 w:1)
132
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
133
	/// Storage: `Balances::Holds` (r:1 w:1)
134
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(139), added: 2614, mode: `MaxEncodedLen`)
135
	/// Storage: `XcmCoreBuyer::InFlightOrders` (r:1 w:0)
136
	/// Proof: `XcmCoreBuyer::InFlightOrders` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`)
137
	/// Storage: `Registrar::BufferedParasToDeregister` (r:1 w:1)
138
	/// Proof: `Registrar::BufferedParasToDeregister` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
139
	/// Storage: `ServicesPayment::MaxTip` (r:0 w:1)
140
	/// Proof: `ServicesPayment::MaxTip` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
141
	/// Storage: `ServicesPayment::RefundAddress` (r:0 w:1)
142
	/// Proof: `ServicesPayment::RefundAddress` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
143
	/// Storage: `ServicesPayment::CollatorAssignmentCredits` (r:0 w:1)
144
	/// Proof: `ServicesPayment::CollatorAssignmentCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
145
	/// Storage: `ServicesPayment::MaxCorePrice` (r:0 w:1)
146
	/// Proof: `ServicesPayment::MaxCorePrice` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
147
	/// Storage: `ServicesPayment::BlockProductionCredits` (r:0 w:1)
148
	/// Proof: `ServicesPayment::BlockProductionCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
149
	/// Storage: `Registrar::ParaGenesisData` (r:0 w:1)
150
	/// Proof: `Registrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
151
	/// Storage: `Registrar::ParathreadParams` (r:0 w:1)
152
	/// Proof: `Registrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
153
	/// Storage: `Registrar::ParaManager` (r:0 w:1)
154
	/// Proof: `Registrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
155
	/// Storage: `DataPreservers::Assignments` (r:0 w:1)
156
	/// Proof: `DataPreservers::Assignments` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
157
	/// Storage: `AuthorNoting::LatestAuthor` (r:0 w:1)
158
	/// Proof: `AuthorNoting::LatestAuthor` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
159
	/// Storage: `XcmCoreBuyer::PendingBlocks` (r:0 w:1)
160
	/// Proof: `XcmCoreBuyer::PendingBlocks` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
161
	fn deregister_immediate() -> Weight {
162
		// Proof Size summary in bytes:
163
		//  Measured:  `2971`
164
		//  Estimated: `6196`
165
		// Minimum execution time: 189_223_000 picoseconds.
166
		Weight::from_parts(197_147_000, 6196)
167
			.saturating_add(T::DbWeight::get().reads(7_u64))
168
			.saturating_add(T::DbWeight::get().writes(16_u64))
169
	}
170
	/// Storage: `Registrar::PendingVerification` (r:1 w:0)
171
	/// Proof: `Registrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
172
	/// Storage: `Registrar::PendingParaIds` (r:1 w:1)
173
	/// Proof: `Registrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
174
	/// Storage: `Registrar::PendingPaused` (r:1 w:0)
175
	/// Proof: `Registrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
176
	/// Storage: `Registrar::RegisteredParaIds` (r:1 w:0)
177
	/// Proof: `Registrar::RegisteredParaIds` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
178
	/// Storage: `Registrar::Paused` (r:1 w:0)
179
	/// Proof: `Registrar::Paused` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
180
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
181
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
182
	/// Storage: `Registrar::PendingToRemove` (r:1 w:1)
183
	/// Proof: `Registrar::PendingToRemove` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
184
	/// Storage: `Registrar::ParathreadParams` (r:1 w:0)
185
	/// Proof: `Registrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
186
	fn deregister_scheduled() -> Weight {
187
		// Proof Size summary in bytes:
188
		//  Measured:  `850`
189
		//  Estimated: `3493`
190
		// Minimum execution time: 78_432_000 picoseconds.
191
		Weight::from_parts(81_683_000, 3493)
192
			.saturating_add(T::DbWeight::get().reads(8_u64))
193
			.saturating_add(T::DbWeight::get().writes(2_u64))
194
	}
195
	/// Storage: `RelayStorageRoots::RelayStorageRoot` (r:1 w:0)
196
	/// Proof: `RelayStorageRoots::RelayStorageRoot` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
197
	/// Storage: `Registrar::RegistrarDeposit` (r:1 w:1)
198
	/// Proof: `Registrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
199
	/// Storage: `Balances::Holds` (r:1 w:1)
200
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(139), added: 2614, mode: `MaxEncodedLen`)
201
	/// Storage: `System::Account` (r:3 w:2)
202
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
203
	/// Storage: `Registrar::PendingVerification` (r:1 w:1)
204
	/// Proof: `Registrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
205
	/// Storage: `XcmCoreBuyer::InFlightOrders` (r:1 w:0)
206
	/// Proof: `XcmCoreBuyer::InFlightOrders` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`)
207
	/// Storage: `Registrar::BufferedParasToDeregister` (r:1 w:1)
208
	/// Proof: `Registrar::BufferedParasToDeregister` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
209
	/// Storage: `ServicesPayment::MaxTip` (r:0 w:1)
210
	/// Proof: `ServicesPayment::MaxTip` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
211
	/// Storage: `ServicesPayment::RefundAddress` (r:0 w:1)
212
	/// Proof: `ServicesPayment::RefundAddress` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
213
	/// Storage: `ServicesPayment::CollatorAssignmentCredits` (r:0 w:1)
214
	/// Proof: `ServicesPayment::CollatorAssignmentCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
215
	/// Storage: `ServicesPayment::MaxCorePrice` (r:0 w:1)
216
	/// Proof: `ServicesPayment::MaxCorePrice` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
217
	/// Storage: `ServicesPayment::BlockProductionCredits` (r:0 w:1)
218
	/// Proof: `ServicesPayment::BlockProductionCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
219
	/// Storage: `Registrar::ParaGenesisData` (r:0 w:1)
220
	/// Proof: `Registrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
221
	/// Storage: `Registrar::ParathreadParams` (r:0 w:1)
222
	/// Proof: `Registrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
223
	/// Storage: `Registrar::ParaManager` (r:0 w:1)
224
	/// Proof: `Registrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
225
	/// Storage: `DataPreservers::Assignments` (r:0 w:1)
226
	/// Proof: `DataPreservers::Assignments` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
227
	/// Storage: `AuthorNoting::LatestAuthor` (r:0 w:1)
228
	/// Proof: `AuthorNoting::LatestAuthor` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
229
	/// Storage: `XcmCoreBuyer::PendingBlocks` (r:0 w:1)
230
	/// Proof: `XcmCoreBuyer::PendingBlocks` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
231
	fn deregister_with_relay_proof_immediate() -> Weight {
232
		// Proof Size summary in bytes:
233
		//  Measured:  `3335`
234
		//  Estimated: `8799`
235
		// Minimum execution time: 229_257_000 picoseconds.
236
		Weight::from_parts(238_171_000, 8799)
237
			.saturating_add(T::DbWeight::get().reads(9_u64))
238
			.saturating_add(T::DbWeight::get().writes(17_u64))
239
	}
240
	/// Storage: `RelayStorageRoots::RelayStorageRoot` (r:1 w:0)
241
	/// Proof: `RelayStorageRoots::RelayStorageRoot` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
242
	/// Storage: `Registrar::RegistrarDeposit` (r:1 w:1)
243
	/// Proof: `Registrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
244
	/// Storage: `Balances::Holds` (r:1 w:1)
245
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(139), added: 2614, mode: `MaxEncodedLen`)
246
	/// Storage: `System::Account` (r:2 w:2)
247
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
248
	/// Storage: `Registrar::PendingVerification` (r:1 w:0)
249
	/// Proof: `Registrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
250
	/// Storage: `Registrar::PendingParaIds` (r:1 w:1)
251
	/// Proof: `Registrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
252
	/// Storage: `Registrar::PendingPaused` (r:1 w:0)
253
	/// Proof: `Registrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
254
	/// Storage: `Registrar::RegisteredParaIds` (r:1 w:0)
255
	/// Proof: `Registrar::RegisteredParaIds` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
256
	/// Storage: `Registrar::Paused` (r:1 w:0)
257
	/// Proof: `Registrar::Paused` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
258
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
259
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
260
	/// Storage: `Registrar::PendingToRemove` (r:1 w:1)
261
	/// Proof: `Registrar::PendingToRemove` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
262
	/// Storage: `Registrar::ParathreadParams` (r:1 w:0)
263
	/// Proof: `Registrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
264
	fn deregister_with_relay_proof_scheduled() -> Weight {
265
		// Proof Size summary in bytes:
266
		//  Measured:  `2942`
267
		//  Estimated: `6196`
268
		// Minimum execution time: 192_357_000 picoseconds.
269
		Weight::from_parts(200_437_000, 6196)
270
			.saturating_add(T::DbWeight::get().reads(13_u64))
271
			.saturating_add(T::DbWeight::get().writes(6_u64))
272
	}
273
	/// Storage: `Registrar::PendingVerification` (r:1 w:1)
274
	/// Proof: `Registrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
275
	/// Storage: `Registrar::PendingParaIds` (r:1 w:1)
276
	/// Proof: `Registrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
277
	/// Storage: `Registrar::RegisteredParaIds` (r:1 w:0)
278
	/// Proof: `Registrar::RegisteredParaIds` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
279
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
280
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
281
	/// Storage: `DataPreservers::Assignments` (r:1 w:0)
282
	/// Proof: `DataPreservers::Assignments` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
283
	/// Storage: `DataPreservers::Profiles` (r:1 w:0)
284
	/// Proof: `DataPreservers::Profiles` (`max_values`: None, `max_size`: Some(744), added: 3219, mode: `MaxEncodedLen`)
285
	/// Storage: `ServicesPayment::GivenFreeCredits` (r:1 w:1)
286
	/// Proof: `ServicesPayment::GivenFreeCredits` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
287
	/// Storage: `ServicesPayment::BlockProductionCredits` (r:1 w:1)
288
	/// Proof: `ServicesPayment::BlockProductionCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
289
	/// Storage: `ServicesPayment::CollatorAssignmentCredits` (r:1 w:1)
290
	/// Proof: `ServicesPayment::CollatorAssignmentCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
291
	/// Storage: `Registrar::ParathreadParams` (r:1 w:0)
292
	/// Proof: `Registrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
293
	fn mark_valid_for_collating() -> Weight {
294
		// Proof Size summary in bytes:
295
		//  Measured:  `5165`
296
		//  Estimated: `6650`
297
		// Minimum execution time: 180_826_000 picoseconds.
298
		Weight::from_parts(188_586_000, 6650)
299
			.saturating_add(T::DbWeight::get().reads(10_u64))
300
			.saturating_add(T::DbWeight::get().writes(5_u64))
301
	}
302
	/// Storage: `Registrar::PendingParaIds` (r:1 w:1)
303
	/// Proof: `Registrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
304
	/// Storage: `Registrar::PendingPaused` (r:1 w:1)
305
	/// Proof: `Registrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
306
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
307
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
308
	fn pause_container_chain() -> Weight {
309
		// Proof Size summary in bytes:
310
		//  Measured:  `1242`
311
		//  Estimated: `2727`
312
		// Minimum execution time: 63_080_000 picoseconds.
313
		Weight::from_parts(66_565_000, 2727)
314
			.saturating_add(T::DbWeight::get().reads(3_u64))
315
			.saturating_add(T::DbWeight::get().writes(2_u64))
316
	}
317
	/// Storage: `Registrar::PendingParaIds` (r:1 w:1)
318
	/// Proof: `Registrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
319
	/// Storage: `Registrar::PendingPaused` (r:1 w:1)
320
	/// Proof: `Registrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
321
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
322
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
323
	fn unpause_container_chain() -> Weight {
324
		// Proof Size summary in bytes:
325
		//  Measured:  `1242`
326
		//  Estimated: `2727`
327
		// Minimum execution time: 61_616_000 picoseconds.
328
		Weight::from_parts(66_595_000, 2727)
329
			.saturating_add(T::DbWeight::get().reads(3_u64))
330
			.saturating_add(T::DbWeight::get().writes(2_u64))
331
	}
332
	/// Storage: `System::Account` (r:1 w:1)
333
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
334
	/// Storage: `Balances::Holds` (r:1 w:1)
335
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(139), added: 2614, mode: `MaxEncodedLen`)
336
	/// Storage: `Registrar::ParaGenesisData` (r:1 w:1)
337
	/// Proof: `Registrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
338
	/// Storage: `Registrar::PendingVerification` (r:1 w:1)
339
	/// Proof: `Registrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
340
	/// Storage: `Registrar::ParathreadParams` (r:0 w:1)
341
	/// Proof: `Registrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
342
	/// Storage: `Registrar::RegistrarDeposit` (r:0 w:1)
343
	/// Proof: `Registrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
344
	/// Storage: `Registrar::ParaManager` (r:0 w:1)
345
	/// Proof: `Registrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
346
	/// The range of component `x` is `[100, 3000000]`.
347
	/// The range of component `z` is `[1, 10]`.
348
	fn register_parathread(x: u32, z: u32, ) -> Weight {
349
		// Proof Size summary in bytes:
350
		//  Measured:  `266`
351
		//  Estimated: `3731`
352
		// Minimum execution time: 86_471_000 picoseconds.
353
		Weight::from_parts(26_599_253, 3731)
354
			// Standard Error: 3
355
			.saturating_add(Weight::from_parts(1_309, 0).saturating_mul(x.into()))
356
			// Standard Error: 1_033_936
357
			.saturating_add(Weight::from_parts(2_209_758, 0).saturating_mul(z.into()))
358
			.saturating_add(T::DbWeight::get().reads(4_u64))
359
			.saturating_add(T::DbWeight::get().writes(7_u64))
360
	}
361
	/// Storage: `Registrar::ParathreadParams` (r:1 w:0)
362
	/// Proof: `Registrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
363
	/// Storage: `Registrar::PendingParathreadParams` (r:1 w:1)
364
	/// Proof: `Registrar::PendingParathreadParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
365
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
366
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
367
	fn set_parathread_params() -> Weight {
368
		// Proof Size summary in bytes:
369
		//  Measured:  `1674`
370
		//  Estimated: `3493`
371
		// Minimum execution time: 67_190_000 picoseconds.
372
		Weight::from_parts(70_654_000, 3493)
373
			.saturating_add(T::DbWeight::get().reads(3_u64))
374
			.saturating_add(T::DbWeight::get().writes(1_u64))
375
	}
376
	/// Storage: `Registrar::RegistrarDeposit` (r:1 w:0)
377
	/// Proof: `Registrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
378
	/// Storage: `Registrar::ParaManager` (r:0 w:1)
379
	/// Proof: `Registrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
380
	fn set_para_manager() -> Weight {
381
		// Proof Size summary in bytes:
382
		//  Measured:  `237`
383
		//  Estimated: `3533`
384
		// Minimum execution time: 18_126_000 picoseconds.
385
		Weight::from_parts(18_678_000, 3533)
386
			.saturating_add(T::DbWeight::get().reads(1_u64))
387
			.saturating_add(T::DbWeight::get().writes(1_u64))
388
	}
389
}