referrerpolicy=no-referrer-when-downgrade

pallet_registrar_para/
weights.rs

1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// 	http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// 	http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_registrar_para`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2026-11-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `unknown`, CPU: `<UNKNOWN>`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// ./target/release/frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/release/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_registrar_para
51// --header=substrate/HEADER-APACHE2
52// --output=substrate/frame/registrar/para/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61
62#![cfg_attr(rustfmt, rustfmt_skip)]
63#![allow(unused_parens)]
64#![allow(unused_imports)]
65#![allow(missing_docs)]
66#![allow(dead_code)]
67
68use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
69use core::marker::PhantomData;
70
71/// Weight functions needed for `pallet_registrar_para`.
72pub trait WeightInfo {
73	fn reserve() -> Weight;
74	fn register(h: u32, ) -> Weight;
75	fn force_register(h: u32, ) -> Weight;
76	fn cancel_registration() -> Weight;
77	fn receive() -> Weight;
78	fn deregister_reserved() -> Weight;
79	fn deregister_registered() -> Weight;
80	fn deregister_retry() -> Weight;
81	fn add_lock() -> Weight;
82	fn remove_lock() -> Weight;
83	fn set_current_head(h: u32, ) -> Weight;
84	fn schedule_code_upgrade() -> Weight;
85}
86
87/// Weights for `pallet_registrar_para` using the Substrate node and recommended hardware.
88pub struct SubstrateWeight<T>(PhantomData<T>);
89impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
90	/// Storage: `RegistrarPara::NextFreeParaId` (r:1 w:1)
91	/// Proof: `RegistrarPara::NextFreeParaId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
92	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
93	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
94	/// Storage: `System::Account` (r:1 w:1)
95	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
96	/// Storage: `Balances::Holds` (r:1 w:1)
97	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(589), added: 3064, mode: `MaxEncodedLen`)
98	fn reserve() -> Weight {
99		// Proof Size summary in bytes:
100		//  Measured:  `442`
101		//  Estimated: `4054`
102		// Minimum execution time: 40_000_000 picoseconds.
103		Weight::from_parts(41_000_000, 4054)
104			.saturating_add(T::DbWeight::get().reads(4_u64))
105			.saturating_add(T::DbWeight::get().writes(4_u64))
106	}
107	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
108	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
109	/// Storage: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
110	/// Proof: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
111	/// Storage: `System::Account` (r:1 w:1)
112	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
113	/// Storage: `Balances::Holds` (r:1 w:1)
114	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(589), added: 3064, mode: `MaxEncodedLen`)
115	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
116	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
117	/// The range of component `h` is `[0, 32768]`.
118	fn register(h: u32, ) -> Weight {
119		// Proof Size summary in bytes:
120		//  Measured:  `772`
121		//  Estimated: `4237`
122		// Minimum execution time: 42_000_000 picoseconds.
123		Weight::from_parts(45_815_378, 4237)
124			// Standard Error: 0
125			.saturating_add(Weight::from_parts(152, 0).saturating_mul(h.into()))
126			.saturating_add(T::DbWeight::get().reads(5_u64))
127			.saturating_add(T::DbWeight::get().writes(4_u64))
128	}
129	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
130	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
131	/// Storage: `System::Account` (r:1 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(589), added: 3064, mode: `MaxEncodedLen`)
135	/// Storage: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
136	/// Proof: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
137	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
138	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
139	/// Storage: `RegistrarPara::NextFreeParaId` (r:1 w:1)
140	/// Proof: `RegistrarPara::NextFreeParaId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
141	/// The range of component `h` is `[0, 32768]`.
142	fn force_register(h: u32, ) -> Weight {
143		// Proof Size summary in bytes:
144		//  Measured:  `613`
145		//  Estimated: `4078`
146		// Minimum execution time: 65_000_000 picoseconds.
147		Weight::from_parts(72_932_240, 4078)
148			// Standard Error: 0
149			.saturating_add(Weight::from_parts(152, 0).saturating_mul(h.into()))
150			.saturating_add(T::DbWeight::get().reads(6_u64))
151			.saturating_add(T::DbWeight::get().writes(5_u64))
152	}
153	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
154	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
155	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
156	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
157	fn cancel_registration() -> Weight {
158		// Proof Size summary in bytes:
159		//  Measured:  `392`
160		//  Estimated: `3566`
161		// Minimum execution time: 15_000_000 picoseconds.
162		Weight::from_parts(18_000_000, 3566)
163			.saturating_add(T::DbWeight::get().reads(2_u64))
164			.saturating_add(T::DbWeight::get().writes(2_u64))
165	}
166	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
167	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
168	/// Storage: `System::Account` (r:1 w:1)
169	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
170	/// Storage: `Balances::Holds` (r:1 w:1)
171	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(589), added: 3064, mode: `MaxEncodedLen`)
172	fn receive() -> Weight {
173		// Proof Size summary in bytes:
174		//  Measured:  `678`
175		//  Estimated: `4054`
176		// Minimum execution time: 53_000_000 picoseconds.
177		Weight::from_parts(61_000_000, 4054)
178			.saturating_add(T::DbWeight::get().reads(3_u64))
179			.saturating_add(T::DbWeight::get().writes(3_u64))
180	}
181	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
182	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
183	/// Storage: `System::Account` (r:1 w:1)
184	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
185	/// Storage: `Balances::Holds` (r:1 w:1)
186	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(589), added: 3064, mode: `MaxEncodedLen`)
187	fn deregister_reserved() -> Weight {
188		// Proof Size summary in bytes:
189		//  Measured:  `601`
190		//  Estimated: `4054`
191		// Minimum execution time: 32_000_000 picoseconds.
192		Weight::from_parts(37_000_000, 4054)
193			.saturating_add(T::DbWeight::get().reads(3_u64))
194			.saturating_add(T::DbWeight::get().writes(3_u64))
195	}
196	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
197	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
198	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
199	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
200	fn deregister_registered() -> Weight {
201		// Proof Size summary in bytes:
202		//  Measured:  `380`
203		//  Estimated: `3566`
204		// Minimum execution time: 10_000_000 picoseconds.
205		Weight::from_parts(11_000_000, 3566)
206			.saturating_add(T::DbWeight::get().reads(2_u64))
207			.saturating_add(T::DbWeight::get().writes(2_u64))
208	}
209	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
210	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
211	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
212	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
213	fn deregister_retry() -> Weight {
214		// Proof Size summary in bytes:
215		//  Measured:  `392`
216		//  Estimated: `3566`
217		// Minimum execution time: 15_000_000 picoseconds.
218		Weight::from_parts(18_000_000, 3566)
219			.saturating_add(T::DbWeight::get().reads(2_u64))
220			.saturating_add(T::DbWeight::get().writes(2_u64))
221	}
222	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
223	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
224	fn add_lock() -> Weight {
225		// Proof Size summary in bytes:
226		//  Measured:  `380`
227		//  Estimated: `3566`
228		// Minimum execution time: 8_000_000 picoseconds.
229		Weight::from_parts(10_000_000, 3566)
230			.saturating_add(T::DbWeight::get().reads(1_u64))
231			.saturating_add(T::DbWeight::get().writes(1_u64))
232	}
233	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
234	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
235	fn remove_lock() -> Weight {
236		// Proof Size summary in bytes:
237		//  Measured:  `381`
238		//  Estimated: `3566`
239		// Minimum execution time: 8_000_000 picoseconds.
240		Weight::from_parts(10_000_000, 3566)
241			.saturating_add(T::DbWeight::get().reads(1_u64))
242			.saturating_add(T::DbWeight::get().writes(1_u64))
243	}
244	/// Storage: `RegistrarPara::Paras` (r:1 w:0)
245	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
246	/// Storage: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
247	/// Proof: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
248	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
249	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
250	/// The range of component `h` is `[0, 32768]`.
251	fn set_current_head(h: u32, ) -> Weight {
252		// Proof Size summary in bytes:
253		//  Measured:  `551`
254		//  Estimated: `4016`
255		// Minimum execution time: 10_000_000 picoseconds.
256		Weight::from_parts(11_341_471, 4016)
257			// Standard Error: 0
258			.saturating_add(Weight::from_parts(153, 0).saturating_mul(h.into()))
259			.saturating_add(T::DbWeight::get().reads(3_u64))
260			.saturating_add(T::DbWeight::get().writes(1_u64))
261	}
262	/// Storage: `RegistrarPara::Paras` (r:1 w:0)
263	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
264	/// Storage: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
265	/// Proof: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
266	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
267	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
268	fn schedule_code_upgrade() -> Weight {
269		// Proof Size summary in bytes:
270		//  Measured:  `551`
271		//  Estimated: `4016`
272		// Minimum execution time: 10_000_000 picoseconds.
273		Weight::from_parts(12_000_000, 4016)
274			.saturating_add(T::DbWeight::get().reads(3_u64))
275			.saturating_add(T::DbWeight::get().writes(1_u64))
276	}
277}
278
279// For backwards compatibility and tests.
280impl WeightInfo for () {
281	/// Storage: `RegistrarPara::NextFreeParaId` (r:1 w:1)
282	/// Proof: `RegistrarPara::NextFreeParaId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
283	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
284	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
285	/// Storage: `System::Account` (r:1 w:1)
286	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
287	/// Storage: `Balances::Holds` (r:1 w:1)
288	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(589), added: 3064, mode: `MaxEncodedLen`)
289	fn reserve() -> Weight {
290		// Proof Size summary in bytes:
291		//  Measured:  `442`
292		//  Estimated: `4054`
293		// Minimum execution time: 40_000_000 picoseconds.
294		Weight::from_parts(41_000_000, 4054)
295			.saturating_add(RocksDbWeight::get().reads(4_u64))
296			.saturating_add(RocksDbWeight::get().writes(4_u64))
297	}
298	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
299	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
300	/// Storage: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
301	/// Proof: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
302	/// Storage: `System::Account` (r:1 w:1)
303	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
304	/// Storage: `Balances::Holds` (r:1 w:1)
305	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(589), added: 3064, mode: `MaxEncodedLen`)
306	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
307	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
308	/// The range of component `h` is `[0, 32768]`.
309	fn register(h: u32, ) -> Weight {
310		// Proof Size summary in bytes:
311		//  Measured:  `772`
312		//  Estimated: `4237`
313		// Minimum execution time: 42_000_000 picoseconds.
314		Weight::from_parts(45_815_378, 4237)
315			// Standard Error: 0
316			.saturating_add(Weight::from_parts(152, 0).saturating_mul(h.into()))
317			.saturating_add(RocksDbWeight::get().reads(5_u64))
318			.saturating_add(RocksDbWeight::get().writes(4_u64))
319	}
320	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
321	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
322	/// Storage: `System::Account` (r:1 w:1)
323	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
324	/// Storage: `Balances::Holds` (r:1 w:1)
325	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(589), added: 3064, mode: `MaxEncodedLen`)
326	/// Storage: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
327	/// Proof: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
328	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
329	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
330	/// Storage: `RegistrarPara::NextFreeParaId` (r:1 w:1)
331	/// Proof: `RegistrarPara::NextFreeParaId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
332	/// The range of component `h` is `[0, 32768]`.
333	fn force_register(h: u32, ) -> Weight {
334		// Proof Size summary in bytes:
335		//  Measured:  `613`
336		//  Estimated: `4078`
337		// Minimum execution time: 65_000_000 picoseconds.
338		Weight::from_parts(72_932_240, 4078)
339			// Standard Error: 0
340			.saturating_add(Weight::from_parts(152, 0).saturating_mul(h.into()))
341			.saturating_add(RocksDbWeight::get().reads(6_u64))
342			.saturating_add(RocksDbWeight::get().writes(5_u64))
343	}
344	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
345	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
346	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
347	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
348	fn cancel_registration() -> Weight {
349		// Proof Size summary in bytes:
350		//  Measured:  `392`
351		//  Estimated: `3566`
352		// Minimum execution time: 15_000_000 picoseconds.
353		Weight::from_parts(18_000_000, 3566)
354			.saturating_add(RocksDbWeight::get().reads(2_u64))
355			.saturating_add(RocksDbWeight::get().writes(2_u64))
356	}
357	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
358	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
359	/// Storage: `System::Account` (r:1 w:1)
360	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
361	/// Storage: `Balances::Holds` (r:1 w:1)
362	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(589), added: 3064, mode: `MaxEncodedLen`)
363	fn receive() -> Weight {
364		// Proof Size summary in bytes:
365		//  Measured:  `678`
366		//  Estimated: `4054`
367		// Minimum execution time: 53_000_000 picoseconds.
368		Weight::from_parts(61_000_000, 4054)
369			.saturating_add(RocksDbWeight::get().reads(3_u64))
370			.saturating_add(RocksDbWeight::get().writes(3_u64))
371	}
372	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
373	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
374	/// Storage: `System::Account` (r:1 w:1)
375	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
376	/// Storage: `Balances::Holds` (r:1 w:1)
377	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(589), added: 3064, mode: `MaxEncodedLen`)
378	fn deregister_reserved() -> Weight {
379		// Proof Size summary in bytes:
380		//  Measured:  `601`
381		//  Estimated: `4054`
382		// Minimum execution time: 32_000_000 picoseconds.
383		Weight::from_parts(37_000_000, 4054)
384			.saturating_add(RocksDbWeight::get().reads(3_u64))
385			.saturating_add(RocksDbWeight::get().writes(3_u64))
386	}
387	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
388	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
389	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
390	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
391	fn deregister_registered() -> Weight {
392		// Proof Size summary in bytes:
393		//  Measured:  `380`
394		//  Estimated: `3566`
395		// Minimum execution time: 10_000_000 picoseconds.
396		Weight::from_parts(11_000_000, 3566)
397			.saturating_add(RocksDbWeight::get().reads(2_u64))
398			.saturating_add(RocksDbWeight::get().writes(2_u64))
399	}
400	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
401	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
402	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
403	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
404	fn deregister_retry() -> Weight {
405		// Proof Size summary in bytes:
406		//  Measured:  `392`
407		//  Estimated: `3566`
408		// Minimum execution time: 15_000_000 picoseconds.
409		Weight::from_parts(18_000_000, 3566)
410			.saturating_add(RocksDbWeight::get().reads(2_u64))
411			.saturating_add(RocksDbWeight::get().writes(2_u64))
412	}
413	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
414	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
415	fn add_lock() -> Weight {
416		// Proof Size summary in bytes:
417		//  Measured:  `380`
418		//  Estimated: `3566`
419		// Minimum execution time: 8_000_000 picoseconds.
420		Weight::from_parts(10_000_000, 3566)
421			.saturating_add(RocksDbWeight::get().reads(1_u64))
422			.saturating_add(RocksDbWeight::get().writes(1_u64))
423	}
424	/// Storage: `RegistrarPara::Paras` (r:1 w:1)
425	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
426	fn remove_lock() -> Weight {
427		// Proof Size summary in bytes:
428		//  Measured:  `381`
429		//  Estimated: `3566`
430		// Minimum execution time: 8_000_000 picoseconds.
431		Weight::from_parts(10_000_000, 3566)
432			.saturating_add(RocksDbWeight::get().reads(1_u64))
433			.saturating_add(RocksDbWeight::get().writes(1_u64))
434	}
435	/// Storage: `RegistrarPara::Paras` (r:1 w:0)
436	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
437	/// Storage: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
438	/// Proof: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
439	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
440	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
441	/// The range of component `h` is `[0, 32768]`.
442	fn set_current_head(h: u32, ) -> Weight {
443		// Proof Size summary in bytes:
444		//  Measured:  `551`
445		//  Estimated: `4016`
446		// Minimum execution time: 10_000_000 picoseconds.
447		Weight::from_parts(11_341_471, 4016)
448			// Standard Error: 0
449			.saturating_add(Weight::from_parts(153, 0).saturating_mul(h.into()))
450			.saturating_add(RocksDbWeight::get().reads(3_u64))
451			.saturating_add(RocksDbWeight::get().writes(1_u64))
452	}
453	/// Storage: `RegistrarPara::Paras` (r:1 w:0)
454	/// Proof: `RegistrarPara::Paras` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
455	/// Storage: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
456	/// Proof: UNKNOWN KEY `0x1dd6182039ea56f42050dc3614a47efa` (r:1 w:0)
457	/// Storage: `RegistrarPara::NextMessageId` (r:1 w:1)
458	/// Proof: `RegistrarPara::NextMessageId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
459	fn schedule_code_upgrade() -> Weight {
460		// Proof Size summary in bytes:
461		//  Measured:  `551`
462		//  Estimated: `4016`
463		// Minimum execution time: 10_000_000 picoseconds.
464		Weight::from_parts(12_000_000, 4016)
465			.saturating_add(RocksDbWeight::get().reads(3_u64))
466			.saturating_add(RocksDbWeight::get().writes(1_u64))
467	}
468}