referrerpolicy=no-referrer-when-downgrade

westend_runtime/weights/
pallet_identity.rs

1// Copyright (C) Parity Technologies (UK) Ltd.
2// This file is part of Polkadot.
3
4// Polkadot 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// Polkadot 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 Polkadot.  If not, see <http://www.gnu.org/licenses/>.
16
17//! Autogenerated weights for `pallet_identity`
18//!
19//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
20//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21//! WORST CASE MAP SIZE: `1000000`
22//! HOSTNAME: `3a2e9ae8a8f5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
23//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
24
25// Executed Command:
26// frame-omni-bencher
27// v1
28// benchmark
29// pallet
30// --extrinsic=*
31// --runtime=target/production/wbuild/westend-runtime/westend_runtime.wasm
32// --pallet=pallet_identity
33// --header=/__w/polkadot-sdk/polkadot-sdk/polkadot/file_header.txt
34// --output=./polkadot/runtime/westend/src/weights
35// --wasm-execution=compiled
36// --steps=50
37// --repeat=20
38// --heap-pages=4096
39// --no-storage-info
40// --no-min-squares
41// --no-median-slopes
42
43#![cfg_attr(rustfmt, rustfmt_skip)]
44#![allow(unused_parens)]
45#![allow(unused_imports)]
46#![allow(missing_docs)]
47
48use frame_support::{traits::Get, weights::Weight};
49use core::marker::PhantomData;
50
51/// Weight functions for `pallet_identity`.
52pub struct WeightInfo<T>(PhantomData<T>);
53impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
54	/// Storage: `Identity::Registrars` (r:1 w:1)
55	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
56	/// The range of component `r` is `[1, 19]`.
57	fn add_registrar(r: u32, ) -> Weight {
58		// Proof Size summary in bytes:
59		//  Measured:  `32 + r * (57 ±0)`
60		//  Estimated: `2626`
61		// Minimum execution time: 13_290_000 picoseconds.
62		Weight::from_parts(13_987_666, 0)
63			.saturating_add(Weight::from_parts(0, 2626))
64			// Standard Error: 1_986
65			.saturating_add(Weight::from_parts(118_336, 0).saturating_mul(r.into()))
66			.saturating_add(T::DbWeight::get().reads(1))
67			.saturating_add(T::DbWeight::get().writes(1))
68	}
69	/// Storage: `Identity::IdentityOf` (r:1 w:1)
70	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
71	/// The range of component `r` is `[1, 20]`.
72	fn set_identity(r: u32, ) -> Weight {
73		// Proof Size summary in bytes:
74		//  Measured:  `6977 + r * (5 ±0)`
75		//  Estimated: `11003`
76		// Minimum execution time: 118_150_000 picoseconds.
77		Weight::from_parts(120_003_906, 0)
78			.saturating_add(Weight::from_parts(0, 11003))
79			// Standard Error: 11_614
80			.saturating_add(Weight::from_parts(237_861, 0).saturating_mul(r.into()))
81			.saturating_add(T::DbWeight::get().reads(1))
82			.saturating_add(T::DbWeight::get().writes(1))
83	}
84	/// Storage: `Identity::IdentityOf` (r:1 w:0)
85	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
86	/// Storage: `Identity::SubsOf` (r:1 w:1)
87	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
88	/// Storage: `Identity::SuperOf` (r:100 w:100)
89	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
90	/// The range of component `s` is `[0, 100]`.
91	fn set_subs_new(s: u32, ) -> Weight {
92		// Proof Size summary in bytes:
93		//  Measured:  `101`
94		//  Estimated: `11003 + s * (2589 ±0)`
95		// Minimum execution time: 17_851_000 picoseconds.
96		Weight::from_parts(32_739_674, 0)
97			.saturating_add(Weight::from_parts(0, 11003))
98			// Standard Error: 5_669
99			.saturating_add(Weight::from_parts(3_789_127, 0).saturating_mul(s.into()))
100			.saturating_add(T::DbWeight::get().reads(2))
101			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
102			.saturating_add(T::DbWeight::get().writes(1))
103			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
104			.saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))
105	}
106	/// Storage: `Identity::IdentityOf` (r:1 w:0)
107	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
108	/// Storage: `Identity::SubsOf` (r:1 w:1)
109	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
110	/// Storage: `Identity::SuperOf` (r:0 w:100)
111	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
112	/// The range of component `p` is `[0, 100]`.
113	fn set_subs_old(p: u32, ) -> Weight {
114		// Proof Size summary in bytes:
115		//  Measured:  `194 + p * (32 ±0)`
116		//  Estimated: `11003`
117		// Minimum execution time: 17_896_000 picoseconds.
118		Weight::from_parts(32_581_610, 0)
119			.saturating_add(Weight::from_parts(0, 11003))
120			// Standard Error: 4_474
121			.saturating_add(Weight::from_parts(1_511_949, 0).saturating_mul(p.into()))
122			.saturating_add(T::DbWeight::get().reads(2))
123			.saturating_add(T::DbWeight::get().writes(1))
124			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
125	}
126	/// Storage: `Identity::SubsOf` (r:1 w:1)
127	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
128	/// Storage: `Identity::IdentityOf` (r:1 w:1)
129	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
130	/// Storage: `Identity::SuperOf` (r:0 w:100)
131	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
132	/// The range of component `r` is `[1, 20]`.
133	/// The range of component `s` is `[0, 100]`.
134	fn clear_identity(r: u32, s: u32, ) -> Weight {
135		// Proof Size summary in bytes:
136		//  Measured:  `7069 + r * (5 ±0) + s * (32 ±0)`
137		//  Estimated: `11003`
138		// Minimum execution time: 62_969_000 picoseconds.
139		Weight::from_parts(63_397_496, 0)
140			.saturating_add(Weight::from_parts(0, 11003))
141			// Standard Error: 17_822
142			.saturating_add(Weight::from_parts(156_307, 0).saturating_mul(r.into()))
143			// Standard Error: 3_477
144			.saturating_add(Weight::from_parts(1_468_191, 0).saturating_mul(s.into()))
145			.saturating_add(T::DbWeight::get().reads(2))
146			.saturating_add(T::DbWeight::get().writes(2))
147			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
148	}
149	/// Storage: `Identity::Registrars` (r:1 w:0)
150	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
151	/// Storage: `Identity::IdentityOf` (r:1 w:1)
152	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
153	/// The range of component `r` is `[1, 20]`.
154	fn request_judgement(r: u32, ) -> Weight {
155		// Proof Size summary in bytes:
156		//  Measured:  `6967 + r * (57 ±0)`
157		//  Estimated: `11003`
158		// Minimum execution time: 85_331_000 picoseconds.
159		Weight::from_parts(87_149_610, 0)
160			.saturating_add(Weight::from_parts(0, 11003))
161			// Standard Error: 7_682
162			.saturating_add(Weight::from_parts(161_766, 0).saturating_mul(r.into()))
163			.saturating_add(T::DbWeight::get().reads(2))
164			.saturating_add(T::DbWeight::get().writes(1))
165	}
166	/// Storage: `Identity::IdentityOf` (r:1 w:1)
167	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
168	/// The range of component `r` is `[1, 20]`.
169	fn cancel_request(r: u32, ) -> Weight {
170		// Proof Size summary in bytes:
171		//  Measured:  `6998`
172		//  Estimated: `11003`
173		// Minimum execution time: 82_868_000 picoseconds.
174		Weight::from_parts(84_836_576, 0)
175			.saturating_add(Weight::from_parts(0, 11003))
176			// Standard Error: 5_840
177			.saturating_add(Weight::from_parts(111_417, 0).saturating_mul(r.into()))
178			.saturating_add(T::DbWeight::get().reads(1))
179			.saturating_add(T::DbWeight::get().writes(1))
180	}
181	/// Storage: `Identity::Registrars` (r:1 w:1)
182	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
183	/// The range of component `r` is `[1, 19]`.
184	fn set_fee(r: u32, ) -> Weight {
185		// Proof Size summary in bytes:
186		//  Measured:  `89 + r * (57 ±0)`
187		//  Estimated: `2626`
188		// Minimum execution time: 9_998_000 picoseconds.
189		Weight::from_parts(10_559_773, 0)
190			.saturating_add(Weight::from_parts(0, 2626))
191			// Standard Error: 1_526
192			.saturating_add(Weight::from_parts(86_637, 0).saturating_mul(r.into()))
193			.saturating_add(T::DbWeight::get().reads(1))
194			.saturating_add(T::DbWeight::get().writes(1))
195	}
196	/// Storage: `Identity::Registrars` (r:1 w:1)
197	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
198	/// The range of component `r` is `[1, 19]`.
199	fn set_account_id(r: u32, ) -> Weight {
200		// Proof Size summary in bytes:
201		//  Measured:  `89 + r * (57 ±0)`
202		//  Estimated: `2626`
203		// Minimum execution time: 10_427_000 picoseconds.
204		Weight::from_parts(10_967_798, 0)
205			.saturating_add(Weight::from_parts(0, 2626))
206			// Standard Error: 1_516
207			.saturating_add(Weight::from_parts(64_950, 0).saturating_mul(r.into()))
208			.saturating_add(T::DbWeight::get().reads(1))
209			.saturating_add(T::DbWeight::get().writes(1))
210	}
211	/// Storage: `Identity::Registrars` (r:1 w:1)
212	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
213	/// The range of component `r` is `[1, 19]`.
214	fn set_fields(r: u32, ) -> Weight {
215		// Proof Size summary in bytes:
216		//  Measured:  `89 + r * (57 ±0)`
217		//  Estimated: `2626`
218		// Minimum execution time: 10_049_000 picoseconds.
219		Weight::from_parts(10_518_238, 0)
220			.saturating_add(Weight::from_parts(0, 2626))
221			// Standard Error: 1_133
222			.saturating_add(Weight::from_parts(70_941, 0).saturating_mul(r.into()))
223			.saturating_add(T::DbWeight::get().reads(1))
224			.saturating_add(T::DbWeight::get().writes(1))
225	}
226	/// Storage: `Identity::Registrars` (r:1 w:0)
227	/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
228	/// Storage: `Identity::IdentityOf` (r:1 w:1)
229	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
230	/// The range of component `r` is `[1, 19]`.
231	fn provide_judgement(r: u32, ) -> Weight {
232		// Proof Size summary in bytes:
233		//  Measured:  `7045 + r * (57 ±0)`
234		//  Estimated: `11003`
235		// Minimum execution time: 106_329_000 picoseconds.
236		Weight::from_parts(108_408_384, 0)
237			.saturating_add(Weight::from_parts(0, 11003))
238			// Standard Error: 9_587
239			.saturating_add(Weight::from_parts(73_218, 0).saturating_mul(r.into()))
240			.saturating_add(T::DbWeight::get().reads(2))
241			.saturating_add(T::DbWeight::get().writes(1))
242	}
243	/// Storage: `Identity::SubsOf` (r:1 w:1)
244	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
245	/// Storage: `Identity::IdentityOf` (r:1 w:1)
246	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
247	/// Storage: `System::Account` (r:1 w:1)
248	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
249	/// Storage: `Identity::SuperOf` (r:0 w:100)
250	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
251	/// The range of component `r` is `[1, 20]`.
252	/// The range of component `s` is `[0, 100]`.
253	fn kill_identity(r: u32, s: u32, ) -> Weight {
254		// Proof Size summary in bytes:
255		//  Measured:  `7276 + r * (5 ±0) + s * (32 ±0)`
256		//  Estimated: `11003`
257		// Minimum execution time: 68_530_000 picoseconds.
258		Weight::from_parts(71_229_661, 0)
259			.saturating_add(Weight::from_parts(0, 11003))
260			// Standard Error: 18_380
261			.saturating_add(Weight::from_parts(193_976, 0).saturating_mul(r.into()))
262			// Standard Error: 3_586
263			.saturating_add(Weight::from_parts(1_446_685, 0).saturating_mul(s.into()))
264			.saturating_add(T::DbWeight::get().reads(3))
265			.saturating_add(T::DbWeight::get().writes(3))
266			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
267	}
268	/// Storage: `Identity::IdentityOf` (r:1 w:0)
269	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
270	/// Storage: `Identity::SuperOf` (r:1 w:1)
271	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
272	/// Storage: `Identity::SubsOf` (r:1 w:1)
273	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
274	/// The range of component `s` is `[0, 99]`.
275	fn add_sub(s: u32, ) -> Weight {
276		// Proof Size summary in bytes:
277		//  Measured:  `475 + s * (36 ±0)`
278		//  Estimated: `11003`
279		// Minimum execution time: 34_407_000 picoseconds.
280		Weight::from_parts(39_732_661, 0)
281			.saturating_add(Weight::from_parts(0, 11003))
282			// Standard Error: 1_673
283			.saturating_add(Weight::from_parts(117_300, 0).saturating_mul(s.into()))
284			.saturating_add(T::DbWeight::get().reads(3))
285			.saturating_add(T::DbWeight::get().writes(2))
286	}
287	/// Storage: `Identity::IdentityOf` (r:1 w:0)
288	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
289	/// Storage: `Identity::SuperOf` (r:1 w:1)
290	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
291	/// The range of component `s` is `[1, 100]`.
292	fn rename_sub(s: u32, ) -> Weight {
293		// Proof Size summary in bytes:
294		//  Measured:  `591 + s * (3 ±0)`
295		//  Estimated: `11003`
296		// Minimum execution time: 21_851_000 picoseconds.
297		Weight::from_parts(24_585_489, 0)
298			.saturating_add(Weight::from_parts(0, 11003))
299			// Standard Error: 789
300			.saturating_add(Weight::from_parts(70_051, 0).saturating_mul(s.into()))
301			.saturating_add(T::DbWeight::get().reads(2))
302			.saturating_add(T::DbWeight::get().writes(1))
303	}
304	/// Storage: `Identity::IdentityOf` (r:1 w:0)
305	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
306	/// Storage: `Identity::SuperOf` (r:1 w:1)
307	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
308	/// Storage: `Identity::SubsOf` (r:1 w:1)
309	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
310	/// The range of component `s` is `[1, 100]`.
311	fn remove_sub(s: u32, ) -> Weight {
312		// Proof Size summary in bytes:
313		//  Measured:  `638 + s * (35 ±0)`
314		//  Estimated: `11003`
315		// Minimum execution time: 38_427_000 picoseconds.
316		Weight::from_parts(42_500_800, 0)
317			.saturating_add(Weight::from_parts(0, 11003))
318			// Standard Error: 1_267
319			.saturating_add(Weight::from_parts(95_006, 0).saturating_mul(s.into()))
320			.saturating_add(T::DbWeight::get().reads(3))
321			.saturating_add(T::DbWeight::get().writes(2))
322	}
323	/// Storage: `Identity::SuperOf` (r:1 w:1)
324	/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
325	/// Storage: `Identity::SubsOf` (r:1 w:1)
326	/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
327	/// Storage: `System::Account` (r:1 w:0)
328	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
329	/// The range of component `s` is `[0, 99]`.
330	fn quit_sub(s: u32, ) -> Weight {
331		// Proof Size summary in bytes:
332		//  Measured:  `704 + s * (37 ±0)`
333		//  Estimated: `6723`
334		// Minimum execution time: 29_425_000 picoseconds.
335		Weight::from_parts(32_022_317, 0)
336			.saturating_add(Weight::from_parts(0, 6723))
337			// Standard Error: 928
338			.saturating_add(Weight::from_parts(106_141, 0).saturating_mul(s.into()))
339			.saturating_add(T::DbWeight::get().reads(3))
340			.saturating_add(T::DbWeight::get().writes(2))
341	}
342	/// Storage: `Identity::AuthorityOf` (r:0 w:1)
343	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
344	fn add_username_authority() -> Weight {
345		// Proof Size summary in bytes:
346		//  Measured:  `0`
347		//  Estimated: `0`
348		// Minimum execution time: 7_523_000 picoseconds.
349		Weight::from_parts(7_722_000, 0)
350			.saturating_add(Weight::from_parts(0, 0))
351			.saturating_add(T::DbWeight::get().writes(1))
352	}
353	/// Storage: `Identity::AuthorityOf` (r:1 w:1)
354	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
355	fn remove_username_authority() -> Weight {
356		// Proof Size summary in bytes:
357		//  Measured:  `79`
358		//  Estimated: `3517`
359		// Minimum execution time: 14_255_000 picoseconds.
360		Weight::from_parts(15_084_000, 0)
361			.saturating_add(Weight::from_parts(0, 3517))
362			.saturating_add(T::DbWeight::get().reads(1))
363			.saturating_add(T::DbWeight::get().writes(1))
364	}
365	/// Storage: `Identity::AuthorityOf` (r:1 w:1)
366	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
367	/// Storage: `Identity::UsernameInfoOf` (r:1 w:1)
368	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
369	/// Storage: `Identity::PendingUsernames` (r:1 w:0)
370	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
371	/// Storage: `Identity::UsernameOf` (r:1 w:1)
372	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
373	/// Storage: `System::Account` (r:1 w:1)
374	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
375	/// The range of component `p` is `[0, 1]`.
376	fn set_username_for(_p: u32, ) -> Weight {
377		// Proof Size summary in bytes:
378		//  Measured:  `219`
379		//  Estimated: `3593`
380		// Minimum execution time: 71_739_000 picoseconds.
381		Weight::from_parts(94_823_220, 0)
382			.saturating_add(Weight::from_parts(0, 3593))
383			.saturating_add(T::DbWeight::get().reads(5))
384			.saturating_add(T::DbWeight::get().writes(4))
385	}
386	/// Storage: `Identity::PendingUsernames` (r:1 w:1)
387	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
388	/// Storage: `Identity::UsernameOf` (r:1 w:1)
389	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
390	/// Storage: `Identity::UsernameInfoOf` (r:0 w:1)
391	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
392	fn accept_username() -> Weight {
393		// Proof Size summary in bytes:
394		//  Measured:  `116`
395		//  Estimated: `3567`
396		// Minimum execution time: 25_721_000 picoseconds.
397		Weight::from_parts(26_422_000, 0)
398			.saturating_add(Weight::from_parts(0, 3567))
399			.saturating_add(T::DbWeight::get().reads(2))
400			.saturating_add(T::DbWeight::get().writes(3))
401	}
402	/// Storage: `Identity::PendingUsernames` (r:1 w:1)
403	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
404	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
405	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
406	/// Storage: `System::Account` (r:1 w:1)
407	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
408	/// The range of component `p` is `[0, 1]`.
409	fn remove_expired_approval(_p: u32, ) -> Weight {
410		// Proof Size summary in bytes:
411		//  Measured:  `347`
412		//  Estimated: `3593`
413		// Minimum execution time: 25_492_000 picoseconds.
414		Weight::from_parts(57_463_718, 0)
415			.saturating_add(Weight::from_parts(0, 3593))
416			.saturating_add(T::DbWeight::get().reads(3))
417			.saturating_add(T::DbWeight::get().writes(2))
418	}
419	/// Storage: `Identity::UsernameInfoOf` (r:1 w:0)
420	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
421	/// Storage: `Identity::UsernameOf` (r:0 w:1)
422	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
423	fn set_primary_username() -> Weight {
424		// Proof Size summary in bytes:
425		//  Measured:  `172`
426		//  Estimated: `3563`
427		// Minimum execution time: 17_653_000 picoseconds.
428		Weight::from_parts(18_274_000, 0)
429			.saturating_add(Weight::from_parts(0, 3563))
430			.saturating_add(T::DbWeight::get().reads(1))
431			.saturating_add(T::DbWeight::get().writes(1))
432	}
433	/// Storage: `Identity::UsernameInfoOf` (r:1 w:0)
434	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
435	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
436	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
437	/// Storage: `Identity::UnbindingUsernames` (r:1 w:1)
438	/// Proof: `Identity::UnbindingUsernames` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`)
439	fn unbind_username() -> Weight {
440		// Proof Size summary in bytes:
441		//  Measured:  `236`
442		//  Estimated: `3563`
443		// Minimum execution time: 22_190_000 picoseconds.
444		Weight::from_parts(23_093_000, 0)
445			.saturating_add(Weight::from_parts(0, 3563))
446			.saturating_add(T::DbWeight::get().reads(3))
447			.saturating_add(T::DbWeight::get().writes(1))
448	}
449	/// Storage: `Identity::UnbindingUsernames` (r:1 w:1)
450	/// Proof: `Identity::UnbindingUsernames` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`)
451	/// Storage: `Identity::UsernameInfoOf` (r:1 w:1)
452	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
453	/// Storage: `Identity::UsernameOf` (r:1 w:1)
454	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, 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	fn remove_username() -> Weight {
458		// Proof Size summary in bytes:
459		//  Measured:  `297`
460		//  Estimated: `3563`
461		// Minimum execution time: 27_024_000 picoseconds.
462		Weight::from_parts(28_770_000, 0)
463			.saturating_add(Weight::from_parts(0, 3563))
464			.saturating_add(T::DbWeight::get().reads(4))
465			.saturating_add(T::DbWeight::get().writes(3))
466	}
467	/// Storage: `Identity::UsernameInfoOf` (r:1 w:1)
468	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
469	/// Storage: `Identity::UsernameOf` (r:1 w:1)
470	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
471	/// Storage: `Identity::UnbindingUsernames` (r:1 w:1)
472	/// Proof: `Identity::UnbindingUsernames` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`)
473	/// Storage: `Identity::AuthorityOf` (r:1 w:0)
474	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
475	/// Storage: `System::Account` (r:1 w:1)
476	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
477	/// The range of component `p` is `[0, 1]`.
478	fn kill_username(_p: u32, ) -> Weight {
479		// Proof Size summary in bytes:
480		//  Measured:  `508`
481		//  Estimated: `3593`
482		// Minimum execution time: 24_819_000 picoseconds.
483		Weight::from_parts(49_501_024, 0)
484			.saturating_add(Weight::from_parts(0, 3593))
485			.saturating_add(T::DbWeight::get().reads(5))
486			.saturating_add(T::DbWeight::get().writes(4))
487	}
488	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:2 w:0)
489	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:2 w:0)
490	/// Storage: `Identity::AuthorityOf` (r:0 w:1)
491	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
492	fn migration_v2_authority_step() -> Weight {
493		// Proof Size summary in bytes:
494		//  Measured:  `147`
495		//  Estimated: `6087`
496		// Minimum execution time: 9_126_000 picoseconds.
497		Weight::from_parts(9_633_000, 0)
498			.saturating_add(Weight::from_parts(0, 6087))
499			.saturating_add(T::DbWeight::get().reads(2))
500			.saturating_add(T::DbWeight::get().writes(1))
501	}
502	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:2 w:0)
503	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:2 w:0)
504	/// Storage: `Identity::UsernameInfoOf` (r:0 w:1)
505	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
506	fn migration_v2_username_step() -> Weight {
507		// Proof Size summary in bytes:
508		//  Measured:  `159`
509		//  Estimated: `6099`
510		// Minimum execution time: 8_795_000 picoseconds.
511		Weight::from_parts(9_249_000, 0)
512			.saturating_add(Weight::from_parts(0, 6099))
513			.saturating_add(T::DbWeight::get().reads(2))
514			.saturating_add(T::DbWeight::get().writes(1))
515	}
516	/// Storage: `Identity::IdentityOf` (r:2 w:1)
517	/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
518	/// Storage: `Identity::UsernameOf` (r:0 w:1)
519	/// Proof: `Identity::UsernameOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
520	fn migration_v2_identity_step() -> Weight {
521		// Proof Size summary in bytes:
522		//  Measured:  `7062`
523		//  Estimated: `21016`
524		// Minimum execution time: 66_496_000 picoseconds.
525		Weight::from_parts(67_500_000, 0)
526			.saturating_add(Weight::from_parts(0, 21016))
527			.saturating_add(T::DbWeight::get().reads(2))
528			.saturating_add(T::DbWeight::get().writes(2))
529	}
530	/// Storage: `Identity::PendingUsernames` (r:2 w:1)
531	/// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(102), added: 2577, mode: `MaxEncodedLen`)
532	fn migration_v2_pending_username_step() -> Weight {
533		// Proof Size summary in bytes:
534		//  Measured:  `201`
535		//  Estimated: `6144`
536		// Minimum execution time: 11_523_000 picoseconds.
537		Weight::from_parts(12_151_000, 0)
538			.saturating_add(Weight::from_parts(0, 6144))
539			.saturating_add(T::DbWeight::get().reads(2))
540			.saturating_add(T::DbWeight::get().writes(1))
541	}
542	/// Storage: `Identity::AuthorityOf` (r:2 w:0)
543	/// Proof: `Identity::AuthorityOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
544	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:1 w:1)
545	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f99622d1423cdd16f5c33e2b531c34a53d` (r:1 w:1)
546	fn migration_v2_cleanup_authority_step() -> Weight {
547		// Proof Size summary in bytes:
548		//  Measured:  `288`
549		//  Estimated: `6044`
550		// Minimum execution time: 15_382_000 picoseconds.
551		Weight::from_parts(15_984_000, 0)
552			.saturating_add(Weight::from_parts(0, 6044))
553			.saturating_add(T::DbWeight::get().reads(3))
554			.saturating_add(T::DbWeight::get().writes(1))
555	}
556	/// Storage: `Identity::UsernameInfoOf` (r:2 w:0)
557	/// Proof: `Identity::UsernameInfoOf` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
558	/// Storage: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:1 w:1)
559	/// Proof: UNKNOWN KEY `0x2aeddc77fe58c98d50bd37f1b90840f97c182fead9255863460affdd63116be3` (r:1 w:1)
560	fn migration_v2_cleanup_username_step() -> Weight {
561		// Proof Size summary in bytes:
562		//  Measured:  `290`
563		//  Estimated: `6136`
564		// Minimum execution time: 14_213_000 picoseconds.
565		Weight::from_parts(14_935_000, 0)
566			.saturating_add(Weight::from_parts(0, 6136))
567			.saturating_add(T::DbWeight::get().reads(3))
568			.saturating_add(T::DbWeight::get().writes(1))
569	}
570}