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 47.0.0
21
//! DATE: 2025-09-09, 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("dancelight-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=dancelight-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/dancelight_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: 155_483_000 picoseconds.
93
		Weight::from_parts(167_144_605, 4009)
94
			// Standard Error: 3
95
			.saturating_add(Weight::from_parts(1_152, 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::PendingVerification` (r:1 w:1)
109
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
110
	/// Storage: `ContainerRegistrar::RegistrarDeposit` (r:1 w:1)
111
	/// Proof: `ContainerRegistrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
112
	/// Storage: `System::Account` (r:2 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
	/// Storage: `ContainerRegistrar::BufferedParasToDeregister` (r:1 w:1)
117
	/// Proof: `ContainerRegistrar::BufferedParasToDeregister` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
118
	/// Storage: `ServicesPayment::MaxTip` (r:0 w:1)
119
	/// Proof: `ServicesPayment::MaxTip` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
120
	/// Storage: `ServicesPayment::RefundAddress` (r:0 w:1)
121
	/// Proof: `ServicesPayment::RefundAddress` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
122
	/// Storage: `ServicesPayment::CollatorAssignmentCredits` (r:0 w:1)
123
	/// Proof: `ServicesPayment::CollatorAssignmentCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
124
	/// Storage: `ServicesPayment::MaxCorePrice` (r:0 w:1)
125
	/// Proof: `ServicesPayment::MaxCorePrice` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
126
	/// Storage: `ServicesPayment::BlockProductionCredits` (r:0 w:1)
127
	/// Proof: `ServicesPayment::BlockProductionCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
128
	/// Storage: `DataPreservers::Assignments` (r:0 w:1)
129
	/// Proof: `DataPreservers::Assignments` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
130
	/// Storage: `AuthorNoting::LatestAuthor` (r:0 w:1)
131
	/// Proof: `AuthorNoting::LatestAuthor` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
132
	/// Storage: `ContainerRegistrar::ParaGenesisData` (r:0 w:1)
133
	/// Proof: `ContainerRegistrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
134
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:0 w:1)
135
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
136
	/// Storage: `ContainerRegistrar::ParaManager` (r:0 w:1)
137
	/// Proof: `ContainerRegistrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
138
	fn deregister_immediate() -> Weight {
139
		// Proof Size summary in bytes:
140
		//  Measured:  `3028`
141
		//  Estimated: `6196`
142
		// Minimum execution time: 164_459_000 picoseconds.
143
		Weight::from_parts(168_194_000, 6196)
144
			.saturating_add(T::DbWeight::get().reads(6_u64))
145
			.saturating_add(T::DbWeight::get().writes(15_u64))
146
	}
147
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:0)
148
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
149
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
150
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
151
	/// Storage: `ContainerRegistrar::PendingPaused` (r:1 w:0)
152
	/// Proof: `ContainerRegistrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
153
	/// Storage: `ContainerRegistrar::RegisteredParaIds` (r:1 w:0)
154
	/// Proof: `ContainerRegistrar::RegisteredParaIds` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
155
	/// Storage: `ContainerRegistrar::Paused` (r:1 w:0)
156
	/// Proof: `ContainerRegistrar::Paused` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
157
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
158
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
159
	/// Storage: `ContainerRegistrar::PendingToRemove` (r:1 w:1)
160
	/// Proof: `ContainerRegistrar::PendingToRemove` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
161
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:1 w:0)
162
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
163
	/// Storage: `Paras::ParaLifecycles` (r:1 w:0)
164
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
165
	fn deregister_scheduled() -> Weight {
166
		// Proof Size summary in bytes:
167
		//  Measured:  `1786`
168
		//  Estimated: `5251`
169
		// Minimum execution time: 91_954_000 picoseconds.
170
		Weight::from_parts(98_957_000, 5251)
171
			.saturating_add(T::DbWeight::get().reads(9_u64))
172
			.saturating_add(T::DbWeight::get().writes(2_u64))
173
	}
174
	fn deregister_with_relay_proof_immediate() -> Weight {
175
		// Proof Size summary in bytes:
176
		//  Measured:  `0`
177
		//  Estimated: `0`
178
		// Minimum execution time: 0_000 picoseconds.
179
		Weight::from_parts(0, 0)
180
	}
181
	fn deregister_with_relay_proof_scheduled() -> Weight {
182
		// Proof Size summary in bytes:
183
		//  Measured:  `0`
184
		//  Estimated: `0`
185
		// Minimum execution time: 0_000 picoseconds.
186
		Weight::from_parts(0, 0)
187
	}
188
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:1)
189
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
190
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
191
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
192
	/// Storage: `ContainerRegistrar::RegisteredParaIds` (r:1 w:0)
193
	/// Proof: `ContainerRegistrar::RegisteredParaIds` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
194
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
195
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
196
	/// Storage: `DataPreservers::Assignments` (r:1 w:0)
197
	/// Proof: `DataPreservers::Assignments` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
198
	/// Storage: `DataPreservers::Profiles` (r:1 w:0)
199
	/// Proof: `DataPreservers::Profiles` (`max_values`: None, `max_size`: Some(744), added: 3219, mode: `MaxEncodedLen`)
200
	/// Storage: `ServicesPayment::GivenFreeCredits` (r:1 w:1)
201
	/// Proof: `ServicesPayment::GivenFreeCredits` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
202
	/// Storage: `ServicesPayment::BlockProductionCredits` (r:1 w:1)
203
	/// Proof: `ServicesPayment::BlockProductionCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
204
	/// Storage: `ServicesPayment::CollatorAssignmentCredits` (r:1 w:1)
205
	/// Proof: `ServicesPayment::CollatorAssignmentCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
206
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:1 w:0)
207
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
208
	/// Storage: `Paras::ParaLifecycles` (r:1 w:1)
209
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
210
	/// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
211
	/// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
212
	/// Storage: `Paras::ActionsQueue` (r:1 w:1)
213
	/// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`)
214
	fn mark_valid_for_collating() -> Weight {
215
		// Proof Size summary in bytes:
216
		//  Measured:  `6803`
217
		//  Estimated: `10268`
218
		// Minimum execution time: 215_880_000 picoseconds.
219
		Weight::from_parts(222_100_000, 10268)
220
			.saturating_add(T::DbWeight::get().reads(13_u64))
221
			.saturating_add(T::DbWeight::get().writes(7_u64))
222
	}
223
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
224
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
225
	/// Storage: `ContainerRegistrar::PendingPaused` (r:1 w:1)
226
	/// Proof: `ContainerRegistrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
227
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
228
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
229
	fn pause_container_chain() -> Weight {
230
		// Proof Size summary in bytes:
231
		//  Measured:  `1270`
232
		//  Estimated: `2755`
233
		// Minimum execution time: 64_451_000 picoseconds.
234
		Weight::from_parts(67_841_000, 2755)
235
			.saturating_add(T::DbWeight::get().reads(3_u64))
236
			.saturating_add(T::DbWeight::get().writes(2_u64))
237
	}
238
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
239
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
240
	/// Storage: `ContainerRegistrar::PendingPaused` (r:1 w:1)
241
	/// Proof: `ContainerRegistrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
242
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
243
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
244
	fn unpause_container_chain() -> Weight {
245
		// Proof Size summary in bytes:
246
		//  Measured:  `1270`
247
		//  Estimated: `2755`
248
		// Minimum execution time: 65_247_000 picoseconds.
249
		Weight::from_parts(67_206_000, 2755)
250
			.saturating_add(T::DbWeight::get().reads(3_u64))
251
			.saturating_add(T::DbWeight::get().writes(2_u64))
252
	}
253
	/// Storage: `System::Account` (r:1 w:1)
254
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
255
	/// Storage: `Balances::Holds` (r:1 w:1)
256
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`)
257
	/// Storage: `ContainerRegistrar::ParaGenesisData` (r:1 w:1)
258
	/// Proof: `ContainerRegistrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
259
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:1)
260
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
261
	/// Storage: `Registrar::Paras` (r:1 w:1)
262
	/// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`)
263
	/// Storage: `Paras::ParaLifecycles` (r:1 w:1)
264
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
265
	/// Storage: `Paras::PvfActiveVoteMap` (r:1 w:1)
266
	/// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`)
267
	/// Storage: `Paras::CodeByHash` (r:1 w:1)
268
	/// Proof: `Paras::CodeByHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
269
	/// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
270
	/// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
271
	/// Storage: `Paras::PvfActiveVoteList` (r:1 w:1)
272
	/// Proof: `Paras::PvfActiveVoteList` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
273
	/// Storage: `Paras::CodeByHashRefs` (r:1 w:1)
274
	/// Proof: `Paras::CodeByHashRefs` (`max_values`: None, `max_size`: None, mode: `Measured`)
275
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:0 w:1)
276
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
277
	/// Storage: `ContainerRegistrar::RegistrarDeposit` (r:0 w:1)
278
	/// Proof: `ContainerRegistrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
279
	/// Storage: `ContainerRegistrar::ParaManager` (r:0 w:1)
280
	/// Proof: `ContainerRegistrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
281
	/// Storage: `Paras::CurrentCodeHash` (r:0 w:1)
282
	/// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
283
	/// Storage: `Paras::UpcomingParasGenesis` (r:0 w:1)
284
	/// Proof: `Paras::UpcomingParasGenesis` (`max_values`: None, `max_size`: None, mode: `Measured`)
285
	/// The range of component `x` is `[100, 3000000]`.
286
	/// The range of component `z` is `[1, 10]`.
287
	fn register_parathread(x: u32, z: u32, ) -> Weight {
288
		// Proof Size summary in bytes:
289
		//  Measured:  `544`
290
		//  Estimated: `4009`
291
		// Minimum execution time: 156_690_000 picoseconds.
292
		Weight::from_parts(134_996_053, 4009)
293
			// Standard Error: 3
294
			.saturating_add(Weight::from_parts(1_173, 0).saturating_mul(x.into()))
295
			// Standard Error: 954_726
296
			.saturating_add(Weight::from_parts(2_872_911, 0).saturating_mul(z.into()))
297
			.saturating_add(T::DbWeight::get().reads(11_u64))
298
			.saturating_add(T::DbWeight::get().writes(15_u64))
299
	}
300
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:1 w:0)
301
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
302
	/// Storage: `ContainerRegistrar::PendingParathreadParams` (r:1 w:1)
303
	/// Proof: `ContainerRegistrar::PendingParathreadParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
304
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
305
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
306
	fn set_parathread_params() -> Weight {
307
		// Proof Size summary in bytes:
308
		//  Measured:  `1693`
309
		//  Estimated: `3493`
310
		// Minimum execution time: 67_284_000 picoseconds.
311
		Weight::from_parts(69_290_000, 3493)
312
			.saturating_add(T::DbWeight::get().reads(3_u64))
313
			.saturating_add(T::DbWeight::get().writes(1_u64))
314
	}
315
	/// Storage: `ContainerRegistrar::RegistrarDeposit` (r:1 w:0)
316
	/// Proof: `ContainerRegistrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
317
	/// Storage: `ContainerRegistrar::ParaManager` (r:0 w:1)
318
	/// Proof: `ContainerRegistrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
319
	fn set_para_manager() -> Weight {
320
		// Proof Size summary in bytes:
321
		//  Measured:  `337`
322
		//  Estimated: `3533`
323
		// Minimum execution time: 18_991_000 picoseconds.
324
		Weight::from_parts(19_599_000, 3533)
325
			.saturating_add(T::DbWeight::get().reads(1_u64))
326
			.saturating_add(T::DbWeight::get().writes(1_u64))
327
	}
328
}