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 42.0.0
21
//! DATE: 2024-10-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `tomasz-XPS-15-9520`, CPU: `12th Gen Intel(R) Core(TM) i7-12700H`
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
// --execution=wasm
31
// --wasm-execution=compiled
32
// --pallet
33
// pallet_registrar
34
// --extrinsic
35
// *
36
// --chain=dancelight-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/dancelight_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(103), added: 2578, 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:  `466`
92
		//  Estimated: `3931`
93
		// Minimum execution time: 166_145_000 picoseconds.
94
		Weight::from_parts(168_078_000, 3931)
95
			// Standard Error: 5
96
			.saturating_add(Weight::from_parts(893, 0).saturating_mul(x.into()))
97
			// Standard Error: 1_806_616
98
			.saturating_add(Weight::from_parts(51_732_087, 0).saturating_mul(z.into()))
99
			.saturating_add(T::DbWeight::get().reads(11_u64))
100
			.saturating_add(T::DbWeight::get().writes(14_u64))
101
	}
102
	/// The range of component `x` is `[100, 3000000]`.
103
	/// The range of component `z` is `[1, 10]`.
104
	fn register_with_relay_proof(_x: u32, _z: u32, ) -> Weight {
105
		// Proof Size summary in bytes:
106
		//  Measured:  `0`
107
		//  Estimated: `0`
108
		// Minimum execution time: 0_000 picoseconds.
109
		Weight::from_parts(0, 0)
110
	}
111
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:1)
112
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
113
	/// Storage: `ContainerRegistrar::RegistrarDeposit` (r:1 w:1)
114
	/// Proof: `ContainerRegistrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
115
	/// Storage: `System::Account` (r:2 w:1)
116
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
117
	/// Storage: `Balances::Holds` (r:1 w:1)
118
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
119
	/// Storage: `ContainerRegistrar::BufferedParasToDeregister` (r:1 w:1)
120
	/// Proof: `ContainerRegistrar::BufferedParasToDeregister` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
121
	/// Storage: `ServicesPayment::MaxTip` (r:0 w:1)
122
	/// Proof: `ServicesPayment::MaxTip` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
123
	/// Storage: `ServicesPayment::RefundAddress` (r:0 w:1)
124
	/// Proof: `ServicesPayment::RefundAddress` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
125
	/// Storage: `ServicesPayment::CollatorAssignmentCredits` (r:0 w:1)
126
	/// Proof: `ServicesPayment::CollatorAssignmentCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
127
	/// Storage: `ServicesPayment::MaxCorePrice` (r:0 w:1)
128
	/// Proof: `ServicesPayment::MaxCorePrice` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
129
	/// Storage: `ServicesPayment::BlockProductionCredits` (r:0 w:1)
130
	/// Proof: `ServicesPayment::BlockProductionCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
131
	/// Storage: `DataPreservers::Assignments` (r:0 w:1)
132
	/// Proof: `DataPreservers::Assignments` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
133
	/// Storage: `AuthorNoting::LatestAuthor` (r:0 w:1)
134
	/// Proof: `AuthorNoting::LatestAuthor` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
135
	/// Storage: `ContainerRegistrar::ParaGenesisData` (r:0 w:1)
136
	/// Proof: `ContainerRegistrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
137
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:0 w:1)
138
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
139
	/// Storage: `ContainerRegistrar::ParaManager` (r:0 w:1)
140
	/// Proof: `ContainerRegistrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
141
	fn deregister_immediate() -> Weight {
142
		// Proof Size summary in bytes:
143
		//  Measured:  `3126`
144
		//  Estimated: `6196`
145
		// Minimum execution time: 136_134_000 picoseconds.
146
		Weight::from_parts(140_769_000, 6196)
147
			.saturating_add(T::DbWeight::get().reads(6_u64))
148
			.saturating_add(T::DbWeight::get().writes(15_u64))
149
	}
150
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:0)
151
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
152
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
153
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
154
	/// Storage: `ContainerRegistrar::PendingPaused` (r:1 w:0)
155
	/// Proof: `ContainerRegistrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
156
	/// Storage: `ContainerRegistrar::RegisteredParaIds` (r:1 w:0)
157
	/// Proof: `ContainerRegistrar::RegisteredParaIds` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
158
	/// Storage: `ContainerRegistrar::Paused` (r:1 w:0)
159
	/// Proof: `ContainerRegistrar::Paused` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
160
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
161
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
162
	/// Storage: `ContainerRegistrar::PendingToRemove` (r:1 w:1)
163
	/// Proof: `ContainerRegistrar::PendingToRemove` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
164
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:1 w:0)
165
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
166
	/// Storage: `Paras::ParaLifecycles` (r:1 w:0)
167
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
168
	fn deregister_scheduled() -> Weight {
169
		// Proof Size summary in bytes:
170
		//  Measured:  `1727`
171
		//  Estimated: `5192`
172
		// Minimum execution time: 68_383_000 picoseconds.
173
		Weight::from_parts(73_528_000, 5192)
174
			.saturating_add(T::DbWeight::get().reads(9_u64))
175
			.saturating_add(T::DbWeight::get().writes(2_u64))
176
	}
177
	fn deregister_with_relay_proof_immediate() -> Weight {
178
		// Proof Size summary in bytes:
179
		//  Measured:  `0`
180
		//  Estimated: `0`
181
		// Minimum execution time: 0_000 picoseconds.
182
		Weight::from_parts(0, 0)
183
	}
184
	fn deregister_with_relay_proof_scheduled() -> Weight {
185
		// Proof Size summary in bytes:
186
		//  Measured:  `0`
187
		//  Estimated: `0`
188
		// Minimum execution time: 0_000 picoseconds.
189
		Weight::from_parts(0, 0)
190
	}
191
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:1)
192
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
193
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
194
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
195
	/// Storage: `ContainerRegistrar::RegisteredParaIds` (r:1 w:0)
196
	/// Proof: `ContainerRegistrar::RegisteredParaIds` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`)
197
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
198
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
199
	/// Storage: `DataPreservers::Assignments` (r:1 w:0)
200
	/// Proof: `DataPreservers::Assignments` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
201
	/// Storage: `DataPreservers::Profiles` (r:1 w:0)
202
	/// Proof: `DataPreservers::Profiles` (`max_values`: None, `max_size`: Some(686), added: 3161, mode: `MaxEncodedLen`)
203
	/// Storage: `ServicesPayment::GivenFreeCredits` (r:1 w:1)
204
	/// Proof: `ServicesPayment::GivenFreeCredits` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
205
	/// Storage: `ServicesPayment::BlockProductionCredits` (r:1 w:1)
206
	/// Proof: `ServicesPayment::BlockProductionCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
207
	/// Storage: `ServicesPayment::CollatorAssignmentCredits` (r:1 w:1)
208
	/// Proof: `ServicesPayment::CollatorAssignmentCredits` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
209
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:1 w:0)
210
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
211
	/// Storage: `Paras::ParaLifecycles` (r:1 w:1)
212
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
213
	/// Storage: `ParasShared::CurrentSessionIndex` (r:1 w:0)
214
	/// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
215
	/// Storage: `Paras::ActionsQueue` (r:1 w:1)
216
	/// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`)
217
	fn mark_valid_for_collating() -> Weight {
218
		// Proof Size summary in bytes:
219
		//  Measured:  `6403`
220
		//  Estimated: `9868`
221
		// Minimum execution time: 122_835_000 picoseconds.
222
		Weight::from_parts(128_434_000, 9868)
223
			.saturating_add(T::DbWeight::get().reads(13_u64))
224
			.saturating_add(T::DbWeight::get().writes(7_u64))
225
	}
226
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
227
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
228
	/// Storage: `ContainerRegistrar::PendingPaused` (r:1 w:1)
229
	/// Proof: `ContainerRegistrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
230
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
231
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
232
	fn pause_container_chain() -> Weight {
233
		// Proof Size summary in bytes:
234
		//  Measured:  `1237`
235
		//  Estimated: `2722`
236
		// Minimum execution time: 42_262_000 picoseconds.
237
		Weight::from_parts(45_685_000, 2722)
238
			.saturating_add(T::DbWeight::get().reads(3_u64))
239
			.saturating_add(T::DbWeight::get().writes(2_u64))
240
	}
241
	/// Storage: `ContainerRegistrar::PendingParaIds` (r:1 w:1)
242
	/// Proof: `ContainerRegistrar::PendingParaIds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
243
	/// Storage: `ContainerRegistrar::PendingPaused` (r:1 w:1)
244
	/// Proof: `ContainerRegistrar::PendingPaused` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
245
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
246
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
247
	fn unpause_container_chain() -> Weight {
248
		// Proof Size summary in bytes:
249
		//  Measured:  `1237`
250
		//  Estimated: `2722`
251
		// Minimum execution time: 51_973_000 picoseconds.
252
		Weight::from_parts(55_363_000, 2722)
253
			.saturating_add(T::DbWeight::get().reads(3_u64))
254
			.saturating_add(T::DbWeight::get().writes(2_u64))
255
	}
256
	/// Storage: `System::Account` (r:1 w:1)
257
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
258
	/// Storage: `Balances::Holds` (r:1 w:1)
259
	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
260
	/// Storage: `ContainerRegistrar::ParaGenesisData` (r:1 w:1)
261
	/// Proof: `ContainerRegistrar::ParaGenesisData` (`max_values`: None, `max_size`: None, mode: `Measured`)
262
	/// Storage: `ContainerRegistrar::PendingVerification` (r:1 w:1)
263
	/// Proof: `ContainerRegistrar::PendingVerification` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`)
264
	/// Storage: `Registrar::Paras` (r:1 w:1)
265
	/// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`)
266
	/// Storage: `Paras::ParaLifecycles` (r:1 w:1)
267
	/// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`)
268
	/// Storage: `Paras::PvfActiveVoteMap` (r:1 w:1)
269
	/// Proof: `Paras::PvfActiveVoteMap` (`max_values`: None, `max_size`: None, mode: `Measured`)
270
	/// Storage: `Paras::CodeByHash` (r:1 w:1)
271
	/// Proof: `Paras::CodeByHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
272
	/// Storage: `ParasShared::ActiveValidatorKeys` (r:1 w:0)
273
	/// Proof: `ParasShared::ActiveValidatorKeys` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
274
	/// Storage: `Paras::PvfActiveVoteList` (r:1 w:1)
275
	/// Proof: `Paras::PvfActiveVoteList` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
276
	/// Storage: `Paras::CodeByHashRefs` (r:1 w:1)
277
	/// Proof: `Paras::CodeByHashRefs` (`max_values`: None, `max_size`: None, mode: `Measured`)
278
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:0 w:1)
279
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
280
	/// Storage: `ContainerRegistrar::RegistrarDeposit` (r:0 w:1)
281
	/// Proof: `ContainerRegistrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
282
	/// Storage: `ContainerRegistrar::ParaManager` (r:0 w:1)
283
	/// Proof: `ContainerRegistrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
284
	/// Storage: `Paras::CurrentCodeHash` (r:0 w:1)
285
	/// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`)
286
	/// Storage: `Paras::UpcomingParasGenesis` (r:0 w:1)
287
	/// Proof: `Paras::UpcomingParasGenesis` (`max_values`: None, `max_size`: None, mode: `Measured`)
288
	/// The range of component `x` is `[100, 3000000]`.
289
	/// The range of component `z` is `[1, 10]`.
290
	fn register_parathread(x: u32, z: u32, ) -> Weight {
291
		// Proof Size summary in bytes:
292
		//  Measured:  `466`
293
		//  Estimated: `3931`
294
		// Minimum execution time: 117_478_000 picoseconds.
295
		Weight::from_parts(36_779_820, 3931)
296
			// Standard Error: 5
297
			.saturating_add(Weight::from_parts(675, 0).saturating_mul(x.into()))
298
			// Standard Error: 1_788_921
299
			.saturating_add(Weight::from_parts(27_620_540, 0).saturating_mul(z.into()))
300
			.saturating_add(T::DbWeight::get().reads(11_u64))
301
			.saturating_add(T::DbWeight::get().writes(15_u64))
302
	}
303
	/// Storage: `ContainerRegistrar::ParathreadParams` (r:1 w:0)
304
	/// Proof: `ContainerRegistrar::ParathreadParams` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
305
	/// Storage: `ContainerRegistrar::PendingParathreadParams` (r:1 w:1)
306
	/// Proof: `ContainerRegistrar::PendingParathreadParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
307
	/// Storage: `Session::CurrentIndex` (r:1 w:0)
308
	/// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
309
	fn set_parathread_params() -> Weight {
310
		// Proof Size summary in bytes:
311
		//  Measured:  `1758`
312
		//  Estimated: `3493`
313
		// Minimum execution time: 44_208_000 picoseconds.
314
		Weight::from_parts(54_714_000, 3493)
315
			.saturating_add(T::DbWeight::get().reads(3_u64))
316
			.saturating_add(T::DbWeight::get().writes(1_u64))
317
	}
318
	/// Storage: `ContainerRegistrar::RegistrarDeposit` (r:1 w:0)
319
	/// Proof: `ContainerRegistrar::RegistrarDeposit` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
320
	/// Storage: `ContainerRegistrar::ParaManager` (r:0 w:1)
321
	/// Proof: `ContainerRegistrar::ParaManager` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
322
	fn set_para_manager() -> Weight {
323
		// Proof Size summary in bytes:
324
		//  Measured:  `304`
325
		//  Estimated: `3533`
326
		// Minimum execution time: 11_820_000 picoseconds.
327
		Weight::from_parts(12_296_000, 3533)
328
			.saturating_add(T::DbWeight::get().reads(1_u64))
329
			.saturating_add(T::DbWeight::get().writes(1_u64))
330
	}
331
}