referrerpolicy=no-referrer-when-downgrade

pallet_identity/
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_identity`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2026-06-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `59f744ccb073`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_identity
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/identity/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// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage
62
63#![cfg_attr(rustfmt, rustfmt_skip)]
64#![allow(unused_parens)]
65#![allow(unused_imports)]
66#![allow(missing_docs)]
67#![allow(dead_code)]
68
69use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
70use core::marker::PhantomData;
71
72/// Weight functions needed for `pallet_identity`.
73pub trait WeightInfo {
74	fn add_registrar(r: u32, ) -> Weight;
75	fn remove_registrar(r: u32, ) -> Weight;
76	fn set_identity(r: u32, ) -> Weight;
77	fn set_subs_new(s: u32, ) -> Weight;
78	fn set_subs_old(p: u32, ) -> Weight;
79	fn clear_identity(r: u32, s: u32, ) -> Weight;
80	fn request_judgement(r: u32, ) -> Weight;
81	fn cancel_request(r: u32, ) -> Weight;
82	fn set_fee(r: u32, ) -> Weight;
83	fn set_account_id(r: u32, ) -> Weight;
84	fn set_fields(r: u32, ) -> Weight;
85	fn provide_judgement(r: u32, ) -> Weight;
86	fn kill_identity(r: u32, s: u32, ) -> Weight;
87	fn add_sub(s: u32, ) -> Weight;
88	fn rename_sub(s: u32, ) -> Weight;
89	fn remove_sub(s: u32, ) -> Weight;
90	fn quit_sub(s: u32, ) -> Weight;
91	fn add_username_authority() -> Weight;
92	fn remove_username_authority() -> Weight;
93	fn set_username_for(p: u32, ) -> Weight;
94	fn accept_username() -> Weight;
95	fn remove_expired_approval(p: u32, ) -> Weight;
96	fn set_primary_username() -> Weight;
97	fn unbind_username() -> Weight;
98	fn remove_username() -> Weight;
99	fn kill_username(p: u32, ) -> Weight;
100	fn migration_v2_authority_step() -> Weight;
101	fn migration_v2_username_step() -> Weight;
102	fn migration_v2_identity_step() -> Weight;
103	fn migration_v2_pending_username_step() -> Weight;
104	fn migration_v2_cleanup_authority_step() -> Weight;
105	fn migration_v2_cleanup_username_step() -> Weight;
106}
107
108/// Weights for `pallet_identity` using the Substrate node and recommended hardware.
109pub struct SubstrateWeight<T>(PhantomData<T>);
110impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
111	/// Storage: `Identity::Registrars` (r:1 w:1)
112	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
113	/// The range of component `r` is `[1, 19]`.
114	fn add_registrar(r: u32, ) -> Weight {
115		// Proof Size summary in bytes:
116		//  Measured:  `32 + r * (57 ±0)`
117		//  Estimated: `2626`
118		// Minimum execution time: 9_474_000 picoseconds.
119		Weight::from_parts(10_287_990, 2626)
120			// Standard Error: 376
121			.saturating_add(Weight::from_parts(122_695, 0).saturating_mul(r.into()))
122			.saturating_add(T::DbWeight::get().reads(1_u64))
123			.saturating_add(T::DbWeight::get().writes(1_u64))
124	}
125	/// Storage: `Identity::Registrars` (r:1 w:1)
126	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
127	/// The range of component `r` is `[1, 20]`.
128	fn remove_registrar(r: u32, ) -> Weight {
129		// Proof Size summary in bytes:
130		//  Measured:  `32 + r * (57 ±0)`
131		//  Estimated: `2626`
132		// Minimum execution time: 9_258_000 picoseconds.
133		Weight::from_parts(10_111_597, 2626)
134			// Standard Error: 363
135			.saturating_add(Weight::from_parts(107_022, 0).saturating_mul(r.into()))
136			.saturating_add(T::DbWeight::get().reads(1_u64))
137			.saturating_add(T::DbWeight::get().writes(1_u64))
138	}
139	/// Storage: `Identity::IdentityOf` (r:1 w:1)
140	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
141	/// The range of component `r` is `[1, 20]`.
142	fn set_identity(r: u32, ) -> Weight {
143		// Proof Size summary in bytes:
144		//  Measured:  `6977 + r * (5 ±0)`
145		//  Estimated: `11003`
146		// Minimum execution time: 138_886_000 picoseconds.
147		Weight::from_parts(140_986_405, 11003)
148			// Standard Error: 14_127
149			.saturating_add(Weight::from_parts(709_729, 0).saturating_mul(r.into()))
150			.saturating_add(T::DbWeight::get().reads(1_u64))
151			.saturating_add(T::DbWeight::get().writes(1_u64))
152	}
153	/// Storage: `Identity::IdentityOf` (r:1 w:0)
154	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
155	/// Storage: `Identity::SubsOf` (r:1 w:1)
156	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
157	/// Storage: `Identity::SuperOf` (r:100 w:100)
158	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
159	/// The range of component `s` is `[0, 100]`.
160	fn set_subs_new(s: u32, ) -> Weight {
161		// Proof Size summary in bytes:
162		//  Measured:  `101`
163		//  Estimated: `11003 + s * (2589 ±0)`
164		// Minimum execution time: 14_130_000 picoseconds.
165		Weight::from_parts(28_813_668, 11003)
166			// Standard Error: 2_142
167			.saturating_add(Weight::from_parts(4_351_364, 0).saturating_mul(s.into()))
168			.saturating_add(T::DbWeight::get().reads(2_u64))
169			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
170			.saturating_add(T::DbWeight::get().writes(1_u64))
171			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
172			.saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))
173	}
174	/// Storage: `Identity::IdentityOf` (r:1 w:0)
175	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
176	/// Storage: `Identity::SubsOf` (r:1 w:1)
177	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
178	/// Storage: `Identity::SuperOf` (r:0 w:100)
179	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
180	/// The range of component `p` is `[0, 100]`.
181	fn set_subs_old(p: u32, ) -> Weight {
182		// Proof Size summary in bytes:
183		//  Measured:  `194 + p * (32 ±0)`
184		//  Estimated: `11003`
185		// Minimum execution time: 14_275_000 picoseconds.
186		Weight::from_parts(30_595_457, 11003)
187			// Standard Error: 1_671
188			.saturating_add(Weight::from_parts(1_721_020, 0).saturating_mul(p.into()))
189			.saturating_add(T::DbWeight::get().reads(2_u64))
190			.saturating_add(T::DbWeight::get().writes(1_u64))
191			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
192	}
193	/// Storage: `Identity::SubsOf` (r:1 w:1)
194	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
195	/// Storage: `Identity::IdentityOf` (r:1 w:1)
196	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
197	/// Storage: `Identity::SuperOf` (r:0 w:100)
198	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
199	/// The range of component `r` is `[1, 20]`.
200	/// The range of component `s` is `[0, 100]`.
201	fn clear_identity(r: u32, s: u32, ) -> Weight {
202		// Proof Size summary in bytes:
203		//  Measured:  `7069 + r * (5 ±0) + s * (32 ±0)`
204		//  Estimated: `11003`
205		// Minimum execution time: 67_333_000 picoseconds.
206		Weight::from_parts(64_020_991, 11003)
207			// Standard Error: 17_588
208			.saturating_add(Weight::from_parts(424_216, 0).saturating_mul(r.into()))
209			// Standard Error: 3_431
210			.saturating_add(Weight::from_parts(1_725_860, 0).saturating_mul(s.into()))
211			.saturating_add(T::DbWeight::get().reads(2_u64))
212			.saturating_add(T::DbWeight::get().writes(2_u64))
213			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
214	}
215	/// Storage: `Identity::Registrars` (r:1 w:0)
216	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
217	/// Storage: `Identity::IdentityOf` (r:1 w:1)
218	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
219	/// The range of component `r` is `[1, 20]`.
220	fn request_judgement(r: u32, ) -> Weight {
221		// Proof Size summary in bytes:
222		//  Measured:  `6967 + r * (57 ±0)`
223		//  Estimated: `11003`
224		// Minimum execution time: 95_858_000 picoseconds.
225		Weight::from_parts(99_531_424, 11003)
226			// Standard Error: 3_791
227			.saturating_add(Weight::from_parts(196_872, 0).saturating_mul(r.into()))
228			.saturating_add(T::DbWeight::get().reads(2_u64))
229			.saturating_add(T::DbWeight::get().writes(1_u64))
230	}
231	/// Storage: `Identity::IdentityOf` (r:1 w:1)
232	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
233	/// The range of component `r` is `[1, 20]`.
234	fn cancel_request(r: u32, ) -> Weight {
235		// Proof Size summary in bytes:
236		//  Measured:  `6998`
237		//  Estimated: `11003`
238		// Minimum execution time: 93_205_000 picoseconds.
239		Weight::from_parts(96_942_106, 11003)
240			// Standard Error: 3_259
241			.saturating_add(Weight::from_parts(115_646, 0).saturating_mul(r.into()))
242			.saturating_add(T::DbWeight::get().reads(1_u64))
243			.saturating_add(T::DbWeight::get().writes(1_u64))
244	}
245	/// Storage: `Identity::Registrars` (r:1 w:1)
246	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
247	/// The range of component `r` is `[1, 19]`.
248	fn set_fee(r: u32, ) -> Weight {
249		// Proof Size summary in bytes:
250		//  Measured:  `89 + r * (57 ±0)`
251		//  Estimated: `2626`
252		// Minimum execution time: 6_745_000 picoseconds.
253		Weight::from_parts(7_443_671, 2626)
254			// Standard Error: 285
255			.saturating_add(Weight::from_parts(77_448, 0).saturating_mul(r.into()))
256			.saturating_add(T::DbWeight::get().reads(1_u64))
257			.saturating_add(T::DbWeight::get().writes(1_u64))
258	}
259	/// Storage: `Identity::Registrars` (r:1 w:1)
260	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
261	/// The range of component `r` is `[1, 19]`.
262	fn set_account_id(r: u32, ) -> Weight {
263		// Proof Size summary in bytes:
264		//  Measured:  `89 + r * (57 ±0)`
265		//  Estimated: `2626`
266		// Minimum execution time: 8_911_000 picoseconds.
267		Weight::from_parts(9_802_689, 2626)
268			// Standard Error: 298
269			.saturating_add(Weight::from_parts(69_788, 0).saturating_mul(r.into()))
270			.saturating_add(T::DbWeight::get().reads(1_u64))
271			.saturating_add(T::DbWeight::get().writes(1_u64))
272	}
273	/// Storage: `Identity::Registrars` (r:1 w:1)
274	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
275	/// The range of component `r` is `[1, 19]`.
276	fn set_fields(r: u32, ) -> Weight {
277		// Proof Size summary in bytes:
278		//  Measured:  `89 + r * (57 ±0)`
279		//  Estimated: `2626`
280		// Minimum execution time: 8_763_000 picoseconds.
281		Weight::from_parts(9_620_673, 2626)
282			// Standard Error: 305
283			.saturating_add(Weight::from_parts(67_670, 0).saturating_mul(r.into()))
284			.saturating_add(T::DbWeight::get().reads(1_u64))
285			.saturating_add(T::DbWeight::get().writes(1_u64))
286	}
287	/// Storage: `Identity::Registrars` (r:1 w:0)
288	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
289	/// Storage: `Identity::IdentityOf` (r:1 w:1)
290	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
291	/// The range of component `r` is `[1, 19]`.
292	fn provide_judgement(r: u32, ) -> Weight {
293		// Proof Size summary in bytes:
294		//  Measured:  `7045 + r * (57 ±0)`
295		//  Estimated: `11003`
296		// Minimum execution time: 122_851_000 picoseconds.
297		Weight::from_parts(129_738_252, 11003)
298			// Standard Error: 7_285
299			.saturating_add(Weight::from_parts(152_186, 0).saturating_mul(r.into()))
300			.saturating_add(T::DbWeight::get().reads(2_u64))
301			.saturating_add(T::DbWeight::get().writes(1_u64))
302	}
303	/// Storage: `Identity::SubsOf` (r:1 w:1)
304	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
305	/// Storage: `Identity::IdentityOf` (r:1 w:1)
306	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
307	/// Storage: `System::Account` (r:1 w:1)
308	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
309	/// Storage: `Identity::SuperOf` (r:0 w:100)
310	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
311	/// The range of component `r` is `[1, 20]`.
312	/// The range of component `s` is `[0, 100]`.
313	fn kill_identity(r: u32, s: u32, ) -> Weight {
314		// Proof Size summary in bytes:
315		//  Measured:  `7276 + r * (5 ±0) + s * (32 ±0)`
316		//  Estimated: `11003`
317		// Minimum execution time: 85_493_000 picoseconds.
318		Weight::from_parts(84_243_320, 11003)
319			// Standard Error: 24_321
320			.saturating_add(Weight::from_parts(259_999, 0).saturating_mul(r.into()))
321			// Standard Error: 4_745
322			.saturating_add(Weight::from_parts(1_711_172, 0).saturating_mul(s.into()))
323			.saturating_add(T::DbWeight::get().reads(3_u64))
324			.saturating_add(T::DbWeight::get().writes(3_u64))
325			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
326	}
327	/// Storage: `Identity::IdentityOf` (r:1 w:0)
328	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
329	/// Storage: `Identity::SuperOf` (r:1 w:1)
330	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
331	/// Storage: `Identity::SubsOf` (r:1 w:1)
332	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
333	/// The range of component `s` is `[0, 99]`.
334	fn add_sub(s: u32, ) -> Weight {
335		// Proof Size summary in bytes:
336		//  Measured:  `475 + s * (36 ±0)`
337		//  Estimated: `11003`
338		// Minimum execution time: 30_837_000 picoseconds.
339		Weight::from_parts(38_582_467, 11003)
340			// Standard Error: 518
341			.saturating_add(Weight::from_parts(100_428, 0).saturating_mul(s.into()))
342			.saturating_add(T::DbWeight::get().reads(3_u64))
343			.saturating_add(T::DbWeight::get().writes(2_u64))
344	}
345	/// Storage: `Identity::IdentityOf` (r:1 w:0)
346	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
347	/// Storage: `Identity::SuperOf` (r:1 w:1)
348	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
349	/// The range of component `s` is `[1, 100]`.
350	fn rename_sub(s: u32, ) -> Weight {
351		// Proof Size summary in bytes:
352		//  Measured:  `591 + s * (3 ±0)`
353		//  Estimated: `11003`
354		// Minimum execution time: 20_286_000 picoseconds.
355		Weight::from_parts(23_434_079, 11003)
356			// Standard Error: 224
357			.saturating_add(Weight::from_parts(51_430, 0).saturating_mul(s.into()))
358			.saturating_add(T::DbWeight::get().reads(2_u64))
359			.saturating_add(T::DbWeight::get().writes(1_u64))
360	}
361	/// Storage: `Identity::IdentityOf` (r:1 w:0)
362	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
363	/// Storage: `Identity::SuperOf` (r:1 w:1)
364	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
365	/// Storage: `Identity::SubsOf` (r:1 w:1)
366	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
367	/// The range of component `s` is `[1, 100]`.
368	fn remove_sub(s: u32, ) -> Weight {
369		// Proof Size summary in bytes:
370		//  Measured:  `638 + s * (35 ±0)`
371		//  Estimated: `11003`
372		// Minimum execution time: 36_687_000 picoseconds.
373		Weight::from_parts(41_033_982, 11003)
374			// Standard Error: 289
375			.saturating_add(Weight::from_parts(84_321, 0).saturating_mul(s.into()))
376			.saturating_add(T::DbWeight::get().reads(3_u64))
377			.saturating_add(T::DbWeight::get().writes(2_u64))
378	}
379	/// Storage: `Identity::SuperOf` (r:1 w:1)
380	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
381	/// Storage: `Identity::SubsOf` (r:1 w:1)
382	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
383	/// Storage: `System::Account` (r:1 w:0)
384	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
385	/// The range of component `s` is `[0, 99]`.
386	fn quit_sub(s: u32, ) -> Weight {
387		// Proof Size summary in bytes:
388		//  Measured:  `742 + s * (37 ±0)`
389		//  Estimated: `6723`
390		// Minimum execution time: 28_250_000 picoseconds.
391		Weight::from_parts(31_435_493, 6723)
392			// Standard Error: 289
393			.saturating_add(Weight::from_parts(85_352, 0).saturating_mul(s.into()))
394			.saturating_add(T::DbWeight::get().reads(3_u64))
395			.saturating_add(T::DbWeight::get().writes(2_u64))
396	}
397	/// Storage: `Identity::AuthorityOf` (r:0 w:1)
398	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
399	fn add_username_authority() -> Weight {
400		// Proof Size summary in bytes:
401		//  Measured:  `0`
402		//  Estimated: `0`
403		// Minimum execution time: 6_973_000 picoseconds.
404		Weight::from_parts(7_592_000, 0)
405			.saturating_add(T::DbWeight::get().writes(1_u64))
406	}
407	/// Storage: `Identity::AuthorityOf` (r:1 w:1)
408	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
409	fn remove_username_authority() -> Weight {
410		// Proof Size summary in bytes:
411		//  Measured:  `79`
412		//  Estimated: `3517`
413		// Minimum execution time: 10_327_000 picoseconds.
414		Weight::from_parts(11_149_000, 3517)
415			.saturating_add(T::DbWeight::get().reads(1_u64))
416			.saturating_add(T::DbWeight::get().writes(1_u64))
417	}
418	/// Storage: `Identity::AuthorityOf` (r:1 w:1)
419	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
420	/// Storage: `Identity::UsernameInfoOf` (r:1 w:1)
421	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
422	/// Storage: `Identity::PendingUsernames` (r:1 w:0)
423	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
424	/// Storage: `Identity::UsernameOf` (r:1 w:1)
425	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
426	/// Storage: `System::Account` (r:1 w:1)
427	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
428	/// The range of component `p` is `[0, 1]`.
429	fn set_username_for(_p: u32, ) -> Weight {
430		// Proof Size summary in bytes:
431		//  Measured:  `180`
432		//  Estimated: `3593`
433		// Minimum execution time: 69_228_000 picoseconds.
434		Weight::from_parts(92_124_232, 3593)
435			.saturating_add(T::DbWeight::get().reads(5_u64))
436			.saturating_add(T::DbWeight::get().writes(4_u64))
437	}
438	/// Storage: `Identity::PendingUsernames` (r:1 w:1)
439	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
440	/// Storage: `Identity::UsernameOf` (r:1 w:1)
441	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
442	/// Storage: `Identity::UsernameInfoOf` (r:0 w:1)
443	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
444	fn accept_username() -> Weight {
445		// Proof Size summary in bytes:
446		//  Measured:  `116`
447		//  Estimated: `3567`
448		// Minimum execution time: 21_268_000 picoseconds.
449		Weight::from_parts(22_500_000, 3567)
450			.saturating_add(T::DbWeight::get().reads(2_u64))
451			.saturating_add(T::DbWeight::get().writes(3_u64))
452	}
453	/// Storage: `Identity::PendingUsernames` (r:1 w:1)
454	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
455	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
456	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
457	/// Storage: `System::Account` (r:1 w:1)
458	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
459	/// The range of component `p` is `[0, 1]`.
460	fn remove_expired_approval(_p: u32, ) -> Weight {
461		// Proof Size summary in bytes:
462		//  Measured:  `308`
463		//  Estimated: `3593`
464		// Minimum execution time: 22_828_000 picoseconds.
465		Weight::from_parts(65_743_175, 3593)
466			.saturating_add(T::DbWeight::get().reads(3_u64))
467			.saturating_add(T::DbWeight::get().writes(2_u64))
468	}
469	/// Storage: `Identity::UsernameInfoOf` (r:1 w:0)
470	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
471	/// Storage: `Identity::UsernameOf` (r:0 w:1)
472	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
473	fn set_primary_username() -> Weight {
474		// Proof Size summary in bytes:
475		//  Measured:  `172`
476		//  Estimated: `3563`
477		// Minimum execution time: 13_625_000 picoseconds.
478		Weight::from_parts(14_677_000, 3563)
479			.saturating_add(T::DbWeight::get().reads(1_u64))
480			.saturating_add(T::DbWeight::get().writes(1_u64))
481	}
482	/// Storage: `Identity::UsernameInfoOf` (r:1 w:0)
483	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
484	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
485	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
486	/// Storage: `Identity::UnbindingUsernames` (r:1 w:1)
487	/// Proof: `Identity::UnbindingUsernames` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`)
488	fn unbind_username() -> Weight {
489		// Proof Size summary in bytes:
490		//  Measured:  `236`
491		//  Estimated: `3563`
492		// Minimum execution time: 20_217_000 picoseconds.
493		Weight::from_parts(21_848_000, 3563)
494			.saturating_add(T::DbWeight::get().reads(3_u64))
495			.saturating_add(T::DbWeight::get().writes(1_u64))
496	}
497	/// Storage: `Identity::UnbindingUsernames` (r:1 w:1)
498	/// Proof: `Identity::UnbindingUsernames` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`)
499	/// Storage: `Identity::UsernameInfoOf` (r:1 w:1)
500	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
501	/// Storage: `Identity::UsernameOf` (r:1 w:1)
502	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
503	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
504	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
505	fn remove_username() -> Weight {
506		// Proof Size summary in bytes:
507		//  Measured:  `297`
508		//  Estimated: `3563`
509		// Minimum execution time: 25_376_000 picoseconds.
510		Weight::from_parts(27_184_000, 3563)
511			.saturating_add(T::DbWeight::get().reads(4_u64))
512			.saturating_add(T::DbWeight::get().writes(3_u64))
513	}
514	/// Storage: `Identity::UsernameInfoOf` (r:1 w:1)
515	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
516	/// Storage: `Identity::UsernameOf` (r:1 w:1)
517	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
518	/// Storage: `Identity::UnbindingUsernames` (r:1 w:1)
519	/// Proof: `Identity::UnbindingUsernames` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`)
520	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
521	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
522	/// Storage: `System::Account` (r:1 w:1)
523	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
524	/// The range of component `p` is `[0, 1]`.
525	fn kill_username(_p: u32, ) -> Weight {
526		// Proof Size summary in bytes:
527		//  Measured:  `469`
528		//  Estimated: `3593`
529		// Minimum execution time: 23_344_000 picoseconds.
530		Weight::from_parts(55_879_549, 3593)
531			.saturating_add(T::DbWeight::get().reads(5_u64))
532			.saturating_add(T::DbWeight::get().writes(4_u64))
533	}
534	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:2 w:0)
535	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:2 w:0)
536	/// Storage: `Identity::AuthorityOf` (r:0 w:1)
537	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
538	fn migration_v2_authority_step() -> Weight {
539		// Proof Size summary in bytes:
540		//  Measured:  `147`
541		//  Estimated: `6087`
542		// Minimum execution time: 8_487_000 picoseconds.
543		Weight::from_parts(9_383_000, 6087)
544			.saturating_add(T::DbWeight::get().reads(2_u64))
545			.saturating_add(T::DbWeight::get().writes(1_u64))
546	}
547	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:2 w:0)
548	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:2 w:0)
549	/// Storage: `Identity::UsernameInfoOf` (r:0 w:1)
550	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
551	fn migration_v2_username_step() -> Weight {
552		// Proof Size summary in bytes:
553		//  Measured:  `159`
554		//  Estimated: `6099`
555		// Minimum execution time: 8_535_000 picoseconds.
556		Weight::from_parts(9_384_000, 6099)
557			.saturating_add(T::DbWeight::get().reads(2_u64))
558			.saturating_add(T::DbWeight::get().writes(1_u64))
559	}
560	/// Storage: `Identity::IdentityOf` (r:2 w:1)
561	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
562	/// Storage: `Identity::UsernameOf` (r:0 w:1)
563	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
564	fn migration_v2_identity_step() -> Weight {
565		// Proof Size summary in bytes:
566		//  Measured:  `7062`
567		//  Estimated: `21016`
568		// Minimum execution time: 73_477_000 picoseconds.
569		Weight::from_parts(84_884_000, 21016)
570			.saturating_add(T::DbWeight::get().reads(2_u64))
571			.saturating_add(T::DbWeight::get().writes(2_u64))
572	}
573	/// Storage: `Identity::PendingUsernames` (r:2 w:1)
574	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
575	fn migration_v2_pending_username_step() -> Weight {
576		// Proof Size summary in bytes:
577		//  Measured:  `201`
578		//  Estimated: `6144`
579		// Minimum execution time: 7_846_000 picoseconds.
580		Weight::from_parts(8_714_000, 6144)
581			.saturating_add(T::DbWeight::get().reads(2_u64))
582			.saturating_add(T::DbWeight::get().writes(1_u64))
583	}
584	/// Storage: `Identity::AuthorityOf` (r:2 w:0)
585	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
586	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:1 w:1)
587	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:1 w:1)
588	fn migration_v2_cleanup_authority_step() -> Weight {
589		// Proof Size summary in bytes:
590		//  Measured:  `288`
591		//  Estimated: `6044`
592		// Minimum execution time: 13_460_000 picoseconds.
593		Weight::from_parts(14_909_000, 6044)
594			.saturating_add(T::DbWeight::get().reads(3_u64))
595			.saturating_add(T::DbWeight::get().writes(1_u64))
596	}
597	/// Storage: `Identity::UsernameInfoOf` (r:2 w:0)
598	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
599	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:1 w:1)
600	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:1 w:1)
601	fn migration_v2_cleanup_username_step() -> Weight {
602		// Proof Size summary in bytes:
603		//  Measured:  `290`
604		//  Estimated: `6136`
605		// Minimum execution time: 10_343_000 picoseconds.
606		Weight::from_parts(11_484_000, 6136)
607			.saturating_add(T::DbWeight::get().reads(3_u64))
608			.saturating_add(T::DbWeight::get().writes(1_u64))
609	}
610}
611
612// For backwards compatibility and tests.
613impl WeightInfo for () {
614	/// Storage: `Identity::Registrars` (r:1 w:1)
615	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
616	/// The range of component `r` is `[1, 19]`.
617	fn add_registrar(r: u32, ) -> Weight {
618		// Proof Size summary in bytes:
619		//  Measured:  `32 + r * (57 ±0)`
620		//  Estimated: `2626`
621		// Minimum execution time: 9_474_000 picoseconds.
622		Weight::from_parts(10_287_990, 2626)
623			// Standard Error: 376
624			.saturating_add(Weight::from_parts(122_695, 0).saturating_mul(r.into()))
625			.saturating_add(RocksDbWeight::get().reads(1_u64))
626			.saturating_add(RocksDbWeight::get().writes(1_u64))
627	}
628	/// Storage: `Identity::Registrars` (r:1 w:1)
629	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
630	/// The range of component `r` is `[1, 20]`.
631	fn remove_registrar(r: u32, ) -> Weight {
632		// Proof Size summary in bytes:
633		//  Measured:  `32 + r * (57 ±0)`
634		//  Estimated: `2626`
635		// Minimum execution time: 9_258_000 picoseconds.
636		Weight::from_parts(10_111_597, 2626)
637			// Standard Error: 363
638			.saturating_add(Weight::from_parts(107_022, 0).saturating_mul(r.into()))
639			.saturating_add(RocksDbWeight::get().reads(1_u64))
640			.saturating_add(RocksDbWeight::get().writes(1_u64))
641	}
642	/// Storage: `Identity::IdentityOf` (r:1 w:1)
643	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
644	/// The range of component `r` is `[1, 20]`.
645	fn set_identity(r: u32, ) -> Weight {
646		// Proof Size summary in bytes:
647		//  Measured:  `6977 + r * (5 ±0)`
648		//  Estimated: `11003`
649		// Minimum execution time: 138_886_000 picoseconds.
650		Weight::from_parts(140_986_405, 11003)
651			// Standard Error: 14_127
652			.saturating_add(Weight::from_parts(709_729, 0).saturating_mul(r.into()))
653			.saturating_add(RocksDbWeight::get().reads(1_u64))
654			.saturating_add(RocksDbWeight::get().writes(1_u64))
655	}
656	/// Storage: `Identity::IdentityOf` (r:1 w:0)
657	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
658	/// Storage: `Identity::SubsOf` (r:1 w:1)
659	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
660	/// Storage: `Identity::SuperOf` (r:100 w:100)
661	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
662	/// The range of component `s` is `[0, 100]`.
663	fn set_subs_new(s: u32, ) -> Weight {
664		// Proof Size summary in bytes:
665		//  Measured:  `101`
666		//  Estimated: `11003 + s * (2589 ±0)`
667		// Minimum execution time: 14_130_000 picoseconds.
668		Weight::from_parts(28_813_668, 11003)
669			// Standard Error: 2_142
670			.saturating_add(Weight::from_parts(4_351_364, 0).saturating_mul(s.into()))
671			.saturating_add(RocksDbWeight::get().reads(2_u64))
672			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(s.into())))
673			.saturating_add(RocksDbWeight::get().writes(1_u64))
674			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
675			.saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))
676	}
677	/// Storage: `Identity::IdentityOf` (r:1 w:0)
678	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
679	/// Storage: `Identity::SubsOf` (r:1 w:1)
680	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
681	/// Storage: `Identity::SuperOf` (r:0 w:100)
682	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
683	/// The range of component `p` is `[0, 100]`.
684	fn set_subs_old(p: u32, ) -> Weight {
685		// Proof Size summary in bytes:
686		//  Measured:  `194 + p * (32 ±0)`
687		//  Estimated: `11003`
688		// Minimum execution time: 14_275_000 picoseconds.
689		Weight::from_parts(30_595_457, 11003)
690			// Standard Error: 1_671
691			.saturating_add(Weight::from_parts(1_721_020, 0).saturating_mul(p.into()))
692			.saturating_add(RocksDbWeight::get().reads(2_u64))
693			.saturating_add(RocksDbWeight::get().writes(1_u64))
694			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into())))
695	}
696	/// Storage: `Identity::SubsOf` (r:1 w:1)
697	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
698	/// Storage: `Identity::IdentityOf` (r:1 w:1)
699	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
700	/// Storage: `Identity::SuperOf` (r:0 w:100)
701	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
702	/// The range of component `r` is `[1, 20]`.
703	/// The range of component `s` is `[0, 100]`.
704	fn clear_identity(r: u32, s: u32, ) -> Weight {
705		// Proof Size summary in bytes:
706		//  Measured:  `7069 + r * (5 ±0) + s * (32 ±0)`
707		//  Estimated: `11003`
708		// Minimum execution time: 67_333_000 picoseconds.
709		Weight::from_parts(64_020_991, 11003)
710			// Standard Error: 17_588
711			.saturating_add(Weight::from_parts(424_216, 0).saturating_mul(r.into()))
712			// Standard Error: 3_431
713			.saturating_add(Weight::from_parts(1_725_860, 0).saturating_mul(s.into()))
714			.saturating_add(RocksDbWeight::get().reads(2_u64))
715			.saturating_add(RocksDbWeight::get().writes(2_u64))
716			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
717	}
718	/// Storage: `Identity::Registrars` (r:1 w:0)
719	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
720	/// Storage: `Identity::IdentityOf` (r:1 w:1)
721	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
722	/// The range of component `r` is `[1, 20]`.
723	fn request_judgement(r: u32, ) -> Weight {
724		// Proof Size summary in bytes:
725		//  Measured:  `6967 + r * (57 ±0)`
726		//  Estimated: `11003`
727		// Minimum execution time: 95_858_000 picoseconds.
728		Weight::from_parts(99_531_424, 11003)
729			// Standard Error: 3_791
730			.saturating_add(Weight::from_parts(196_872, 0).saturating_mul(r.into()))
731			.saturating_add(RocksDbWeight::get().reads(2_u64))
732			.saturating_add(RocksDbWeight::get().writes(1_u64))
733	}
734	/// Storage: `Identity::IdentityOf` (r:1 w:1)
735	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
736	/// The range of component `r` is `[1, 20]`.
737	fn cancel_request(r: u32, ) -> Weight {
738		// Proof Size summary in bytes:
739		//  Measured:  `6998`
740		//  Estimated: `11003`
741		// Minimum execution time: 93_205_000 picoseconds.
742		Weight::from_parts(96_942_106, 11003)
743			// Standard Error: 3_259
744			.saturating_add(Weight::from_parts(115_646, 0).saturating_mul(r.into()))
745			.saturating_add(RocksDbWeight::get().reads(1_u64))
746			.saturating_add(RocksDbWeight::get().writes(1_u64))
747	}
748	/// Storage: `Identity::Registrars` (r:1 w:1)
749	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
750	/// The range of component `r` is `[1, 19]`.
751	fn set_fee(r: u32, ) -> Weight {
752		// Proof Size summary in bytes:
753		//  Measured:  `89 + r * (57 ±0)`
754		//  Estimated: `2626`
755		// Minimum execution time: 6_745_000 picoseconds.
756		Weight::from_parts(7_443_671, 2626)
757			// Standard Error: 285
758			.saturating_add(Weight::from_parts(77_448, 0).saturating_mul(r.into()))
759			.saturating_add(RocksDbWeight::get().reads(1_u64))
760			.saturating_add(RocksDbWeight::get().writes(1_u64))
761	}
762	/// Storage: `Identity::Registrars` (r:1 w:1)
763	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
764	/// The range of component `r` is `[1, 19]`.
765	fn set_account_id(r: u32, ) -> Weight {
766		// Proof Size summary in bytes:
767		//  Measured:  `89 + r * (57 ±0)`
768		//  Estimated: `2626`
769		// Minimum execution time: 8_911_000 picoseconds.
770		Weight::from_parts(9_802_689, 2626)
771			// Standard Error: 298
772			.saturating_add(Weight::from_parts(69_788, 0).saturating_mul(r.into()))
773			.saturating_add(RocksDbWeight::get().reads(1_u64))
774			.saturating_add(RocksDbWeight::get().writes(1_u64))
775	}
776	/// Storage: `Identity::Registrars` (r:1 w:1)
777	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
778	/// The range of component `r` is `[1, 19]`.
779	fn set_fields(r: u32, ) -> Weight {
780		// Proof Size summary in bytes:
781		//  Measured:  `89 + r * (57 ±0)`
782		//  Estimated: `2626`
783		// Minimum execution time: 8_763_000 picoseconds.
784		Weight::from_parts(9_620_673, 2626)
785			// Standard Error: 305
786			.saturating_add(Weight::from_parts(67_670, 0).saturating_mul(r.into()))
787			.saturating_add(RocksDbWeight::get().reads(1_u64))
788			.saturating_add(RocksDbWeight::get().writes(1_u64))
789	}
790	/// Storage: `Identity::Registrars` (r:1 w:0)
791	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
792	/// Storage: `Identity::IdentityOf` (r:1 w:1)
793	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
794	/// The range of component `r` is `[1, 19]`.
795	fn provide_judgement(r: u32, ) -> Weight {
796		// Proof Size summary in bytes:
797		//  Measured:  `7045 + r * (57 ±0)`
798		//  Estimated: `11003`
799		// Minimum execution time: 122_851_000 picoseconds.
800		Weight::from_parts(129_738_252, 11003)
801			// Standard Error: 7_285
802			.saturating_add(Weight::from_parts(152_186, 0).saturating_mul(r.into()))
803			.saturating_add(RocksDbWeight::get().reads(2_u64))
804			.saturating_add(RocksDbWeight::get().writes(1_u64))
805	}
806	/// Storage: `Identity::SubsOf` (r:1 w:1)
807	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
808	/// Storage: `Identity::IdentityOf` (r:1 w:1)
809	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
810	/// Storage: `System::Account` (r:1 w:1)
811	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
812	/// Storage: `Identity::SuperOf` (r:0 w:100)
813	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
814	/// The range of component `r` is `[1, 20]`.
815	/// The range of component `s` is `[0, 100]`.
816	fn kill_identity(r: u32, s: u32, ) -> Weight {
817		// Proof Size summary in bytes:
818		//  Measured:  `7276 + r * (5 ±0) + s * (32 ±0)`
819		//  Estimated: `11003`
820		// Minimum execution time: 85_493_000 picoseconds.
821		Weight::from_parts(84_243_320, 11003)
822			// Standard Error: 24_321
823			.saturating_add(Weight::from_parts(259_999, 0).saturating_mul(r.into()))
824			// Standard Error: 4_745
825			.saturating_add(Weight::from_parts(1_711_172, 0).saturating_mul(s.into()))
826			.saturating_add(RocksDbWeight::get().reads(3_u64))
827			.saturating_add(RocksDbWeight::get().writes(3_u64))
828			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
829	}
830	/// Storage: `Identity::IdentityOf` (r:1 w:0)
831	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
832	/// Storage: `Identity::SuperOf` (r:1 w:1)
833	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
834	/// Storage: `Identity::SubsOf` (r:1 w:1)
835	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
836	/// The range of component `s` is `[0, 99]`.
837	fn add_sub(s: u32, ) -> Weight {
838		// Proof Size summary in bytes:
839		//  Measured:  `475 + s * (36 ±0)`
840		//  Estimated: `11003`
841		// Minimum execution time: 30_837_000 picoseconds.
842		Weight::from_parts(38_582_467, 11003)
843			// Standard Error: 518
844			.saturating_add(Weight::from_parts(100_428, 0).saturating_mul(s.into()))
845			.saturating_add(RocksDbWeight::get().reads(3_u64))
846			.saturating_add(RocksDbWeight::get().writes(2_u64))
847	}
848	/// Storage: `Identity::IdentityOf` (r:1 w:0)
849	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
850	/// Storage: `Identity::SuperOf` (r:1 w:1)
851	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
852	/// The range of component `s` is `[1, 100]`.
853	fn rename_sub(s: u32, ) -> Weight {
854		// Proof Size summary in bytes:
855		//  Measured:  `591 + s * (3 ±0)`
856		//  Estimated: `11003`
857		// Minimum execution time: 20_286_000 picoseconds.
858		Weight::from_parts(23_434_079, 11003)
859			// Standard Error: 224
860			.saturating_add(Weight::from_parts(51_430, 0).saturating_mul(s.into()))
861			.saturating_add(RocksDbWeight::get().reads(2_u64))
862			.saturating_add(RocksDbWeight::get().writes(1_u64))
863	}
864	/// Storage: `Identity::IdentityOf` (r:1 w:0)
865	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
866	/// Storage: `Identity::SuperOf` (r:1 w:1)
867	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
868	/// Storage: `Identity::SubsOf` (r:1 w:1)
869	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
870	/// The range of component `s` is `[1, 100]`.
871	fn remove_sub(s: u32, ) -> Weight {
872		// Proof Size summary in bytes:
873		//  Measured:  `638 + s * (35 ±0)`
874		//  Estimated: `11003`
875		// Minimum execution time: 36_687_000 picoseconds.
876		Weight::from_parts(41_033_982, 11003)
877			// Standard Error: 289
878			.saturating_add(Weight::from_parts(84_321, 0).saturating_mul(s.into()))
879			.saturating_add(RocksDbWeight::get().reads(3_u64))
880			.saturating_add(RocksDbWeight::get().writes(2_u64))
881	}
882	/// Storage: `Identity::SuperOf` (r:1 w:1)
883	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
884	/// Storage: `Identity::SubsOf` (r:1 w:1)
885	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
886	/// Storage: `System::Account` (r:1 w:0)
887	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
888	/// The range of component `s` is `[0, 99]`.
889	fn quit_sub(s: u32, ) -> Weight {
890		// Proof Size summary in bytes:
891		//  Measured:  `742 + s * (37 ±0)`
892		//  Estimated: `6723`
893		// Minimum execution time: 28_250_000 picoseconds.
894		Weight::from_parts(31_435_493, 6723)
895			// Standard Error: 289
896			.saturating_add(Weight::from_parts(85_352, 0).saturating_mul(s.into()))
897			.saturating_add(RocksDbWeight::get().reads(3_u64))
898			.saturating_add(RocksDbWeight::get().writes(2_u64))
899	}
900	/// Storage: `Identity::AuthorityOf` (r:0 w:1)
901	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
902	fn add_username_authority() -> Weight {
903		// Proof Size summary in bytes:
904		//  Measured:  `0`
905		//  Estimated: `0`
906		// Minimum execution time: 6_973_000 picoseconds.
907		Weight::from_parts(7_592_000, 0)
908			.saturating_add(RocksDbWeight::get().writes(1_u64))
909	}
910	/// Storage: `Identity::AuthorityOf` (r:1 w:1)
911	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
912	fn remove_username_authority() -> Weight {
913		// Proof Size summary in bytes:
914		//  Measured:  `79`
915		//  Estimated: `3517`
916		// Minimum execution time: 10_327_000 picoseconds.
917		Weight::from_parts(11_149_000, 3517)
918			.saturating_add(RocksDbWeight::get().reads(1_u64))
919			.saturating_add(RocksDbWeight::get().writes(1_u64))
920	}
921	/// Storage: `Identity::AuthorityOf` (r:1 w:1)
922	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
923	/// Storage: `Identity::UsernameInfoOf` (r:1 w:1)
924	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
925	/// Storage: `Identity::PendingUsernames` (r:1 w:0)
926	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
927	/// Storage: `Identity::UsernameOf` (r:1 w:1)
928	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
929	/// Storage: `System::Account` (r:1 w:1)
930	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
931	/// The range of component `p` is `[0, 1]`.
932	fn set_username_for(_p: u32, ) -> Weight {
933		// Proof Size summary in bytes:
934		//  Measured:  `180`
935		//  Estimated: `3593`
936		// Minimum execution time: 69_228_000 picoseconds.
937		Weight::from_parts(92_124_232, 3593)
938			.saturating_add(RocksDbWeight::get().reads(5_u64))
939			.saturating_add(RocksDbWeight::get().writes(4_u64))
940	}
941	/// Storage: `Identity::PendingUsernames` (r:1 w:1)
942	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
943	/// Storage: `Identity::UsernameOf` (r:1 w:1)
944	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
945	/// Storage: `Identity::UsernameInfoOf` (r:0 w:1)
946	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
947	fn accept_username() -> Weight {
948		// Proof Size summary in bytes:
949		//  Measured:  `116`
950		//  Estimated: `3567`
951		// Minimum execution time: 21_268_000 picoseconds.
952		Weight::from_parts(22_500_000, 3567)
953			.saturating_add(RocksDbWeight::get().reads(2_u64))
954			.saturating_add(RocksDbWeight::get().writes(3_u64))
955	}
956	/// Storage: `Identity::PendingUsernames` (r:1 w:1)
957	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
958	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
959	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
960	/// Storage: `System::Account` (r:1 w:1)
961	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
962	/// The range of component `p` is `[0, 1]`.
963	fn remove_expired_approval(_p: u32, ) -> Weight {
964		// Proof Size summary in bytes:
965		//  Measured:  `308`
966		//  Estimated: `3593`
967		// Minimum execution time: 22_828_000 picoseconds.
968		Weight::from_parts(65_743_175, 3593)
969			.saturating_add(RocksDbWeight::get().reads(3_u64))
970			.saturating_add(RocksDbWeight::get().writes(2_u64))
971	}
972	/// Storage: `Identity::UsernameInfoOf` (r:1 w:0)
973	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
974	/// Storage: `Identity::UsernameOf` (r:0 w:1)
975	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
976	fn set_primary_username() -> Weight {
977		// Proof Size summary in bytes:
978		//  Measured:  `172`
979		//  Estimated: `3563`
980		// Minimum execution time: 13_625_000 picoseconds.
981		Weight::from_parts(14_677_000, 3563)
982			.saturating_add(RocksDbWeight::get().reads(1_u64))
983			.saturating_add(RocksDbWeight::get().writes(1_u64))
984	}
985	/// Storage: `Identity::UsernameInfoOf` (r:1 w:0)
986	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
987	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
988	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
989	/// Storage: `Identity::UnbindingUsernames` (r:1 w:1)
990	/// Proof: `Identity::UnbindingUsernames` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`)
991	fn unbind_username() -> Weight {
992		// Proof Size summary in bytes:
993		//  Measured:  `236`
994		//  Estimated: `3563`
995		// Minimum execution time: 20_217_000 picoseconds.
996		Weight::from_parts(21_848_000, 3563)
997			.saturating_add(RocksDbWeight::get().reads(3_u64))
998			.saturating_add(RocksDbWeight::get().writes(1_u64))
999	}
1000	/// Storage: `Identity::UnbindingUsernames` (r:1 w:1)
1001	/// Proof: `Identity::UnbindingUsernames` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`)
1002	/// Storage: `Identity::UsernameInfoOf` (r:1 w:1)
1003	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
1004	/// Storage: `Identity::UsernameOf` (r:1 w:1)
1005	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1006	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
1007	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
1008	fn remove_username() -> Weight {
1009		// Proof Size summary in bytes:
1010		//  Measured:  `297`
1011		//  Estimated: `3563`
1012		// Minimum execution time: 25_376_000 picoseconds.
1013		Weight::from_parts(27_184_000, 3563)
1014			.saturating_add(RocksDbWeight::get().reads(4_u64))
1015			.saturating_add(RocksDbWeight::get().writes(3_u64))
1016	}
1017	/// Storage: `Identity::UsernameInfoOf` (r:1 w:1)
1018	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
1019	/// Storage: `Identity::UsernameOf` (r:1 w:1)
1020	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1021	/// Storage: `Identity::UnbindingUsernames` (r:1 w:1)
1022	/// Proof: `Identity::UnbindingUsernames` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`)
1023	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
1024	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
1025	/// Storage: `System::Account` (r:1 w:1)
1026	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1027	/// The range of component `p` is `[0, 1]`.
1028	fn kill_username(_p: u32, ) -> Weight {
1029		// Proof Size summary in bytes:
1030		//  Measured:  `469`
1031		//  Estimated: `3593`
1032		// Minimum execution time: 23_344_000 picoseconds.
1033		Weight::from_parts(55_879_549, 3593)
1034			.saturating_add(RocksDbWeight::get().reads(5_u64))
1035			.saturating_add(RocksDbWeight::get().writes(4_u64))
1036	}
1037	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:2 w:0)
1038	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:2 w:0)
1039	/// Storage: `Identity::AuthorityOf` (r:0 w:1)
1040	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
1041	fn migration_v2_authority_step() -> Weight {
1042		// Proof Size summary in bytes:
1043		//  Measured:  `147`
1044		//  Estimated: `6087`
1045		// Minimum execution time: 8_487_000 picoseconds.
1046		Weight::from_parts(9_383_000, 6087)
1047			.saturating_add(RocksDbWeight::get().reads(2_u64))
1048			.saturating_add(RocksDbWeight::get().writes(1_u64))
1049	}
1050	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:2 w:0)
1051	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:2 w:0)
1052	/// Storage: `Identity::UsernameInfoOf` (r:0 w:1)
1053	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
1054	fn migration_v2_username_step() -> Weight {
1055		// Proof Size summary in bytes:
1056		//  Measured:  `159`
1057		//  Estimated: `6099`
1058		// Minimum execution time: 8_535_000 picoseconds.
1059		Weight::from_parts(9_384_000, 6099)
1060			.saturating_add(RocksDbWeight::get().reads(2_u64))
1061			.saturating_add(RocksDbWeight::get().writes(1_u64))
1062	}
1063	/// Storage: `Identity::IdentityOf` (r:2 w:1)
1064	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
1065	/// Storage: `Identity::UsernameOf` (r:0 w:1)
1066	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1067	fn migration_v2_identity_step() -> Weight {
1068		// Proof Size summary in bytes:
1069		//  Measured:  `7062`
1070		//  Estimated: `21016`
1071		// Minimum execution time: 73_477_000 picoseconds.
1072		Weight::from_parts(84_884_000, 21016)
1073			.saturating_add(RocksDbWeight::get().reads(2_u64))
1074			.saturating_add(RocksDbWeight::get().writes(2_u64))
1075	}
1076	/// Storage: `Identity::PendingUsernames` (r:2 w:1)
1077	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
1078	fn migration_v2_pending_username_step() -> Weight {
1079		// Proof Size summary in bytes:
1080		//  Measured:  `201`
1081		//  Estimated: `6144`
1082		// Minimum execution time: 7_846_000 picoseconds.
1083		Weight::from_parts(8_714_000, 6144)
1084			.saturating_add(RocksDbWeight::get().reads(2_u64))
1085			.saturating_add(RocksDbWeight::get().writes(1_u64))
1086	}
1087	/// Storage: `Identity::AuthorityOf` (r:2 w:0)
1088	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
1089	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:1 w:1)
1090	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:1 w:1)
1091	fn migration_v2_cleanup_authority_step() -> Weight {
1092		// Proof Size summary in bytes:
1093		//  Measured:  `288`
1094		//  Estimated: `6044`
1095		// Minimum execution time: 13_460_000 picoseconds.
1096		Weight::from_parts(14_909_000, 6044)
1097			.saturating_add(RocksDbWeight::get().reads(3_u64))
1098			.saturating_add(RocksDbWeight::get().writes(1_u64))
1099	}
1100	/// Storage: `Identity::UsernameInfoOf` (r:2 w:0)
1101	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
1102	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:1 w:1)
1103	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:1 w:1)
1104	fn migration_v2_cleanup_username_step() -> Weight {
1105		// Proof Size summary in bytes:
1106		//  Measured:  `290`
1107		//  Estimated: `6136`
1108		// Minimum execution time: 10_343_000 picoseconds.
1109		Weight::from_parts(11_484_000, 6136)
1110			.saturating_add(RocksDbWeight::get().reads(3_u64))
1111			.saturating_add(RocksDbWeight::get().writes(1_u64))
1112	}
1113}