git.delta.rocks / unique-network / refs/commits / 373c2a6bf04f

difftreelog

refactor(identity) displace set-identities to identity pallet

Fahrrader2022-12-28parent: #37af826.patch.diff
in: master

19 files changed

modifiedMakefilediffbeforeafterboth
--- a/Makefile
+++ b/Makefile
@@ -133,6 +133,10 @@
 bench-collator-selection:
 	make _bench PALLET=collator-selection
 
+.PHONY: bench-identity
+bench-identity:
+	make _bench PALLET=identity
+
 .PHONY: bench-app-promotion
 bench-app-promotion:
 	make _bench PALLET=app-promotion PALLET_DIR=app-promotion
modifiedpallets/data-management/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/data-management/src/benchmarking.rs
+++ b/pallets/data-management/src/benchmarking.rs
@@ -62,28 +62,4 @@
 		use codec::Encode;
 		let logs = (0..b).map(|_| <T as Config>::RuntimeEvent::from(crate::Event::<T>::TestEvent).encode()).collect::<Vec<_>>();
 	}: _(RawOrigin::Root, logs)
-
-	set_identities {
-		let b in 0..600;
-		use frame_benchmarking::account;
-		use pallet_identity::{BalanceOf, Registration, IdentityInfo};
-		let identities = (0..b).map(|i| (
-			account("caller", i, 0),
-			Some(Registration::<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields> {
-				judgements: Default::default(),
-				deposit: Default::default(),
-				info: IdentityInfo {
-					additional: Default::default(),
-					display: Default::default(),
-					legal: Default::default(),
-					web: Default::default(),
-					riot: Default::default(),
-					email: Default::default(),
-					pgp_fingerprint: None,
-					image: Default::default(),
-					twitter: Default::default(),
-				},
-			}),
-		)).collect::<Vec<_>>();
-	}: _(RawOrigin::Root, identities)
 }
modifiedpallets/data-management/src/lib.rsdiffbeforeafterboth
--- a/pallets/data-management/src/lib.rs
+++ b/pallets/data-management/src/lib.rs
@@ -34,10 +34,9 @@
 	use sp_std::vec::Vec;
 	use super::weights::WeightInfo;
 	use pallet_evm::{PrecompileHandle, Pallet as PalletEvm};
-	use pallet_identity::Registration;
 
 	#[pallet::config]
-	pub trait Config: frame_system::Config + pallet_evm::Config + pallet_identity::Config {
+	pub trait Config: frame_system::Config + pallet_evm::Config {
 		/// Weights
 		type WeightInfo: WeightInfo;
 		/// The overarching event type.
@@ -147,29 +146,6 @@
 					<T as frame_system::Config>::RuntimeEvent::decode(&mut event.as_slice())
 						.map_err(|_| <Error<T>>::BadEvent)?,
 				);
-			}
-			Ok(())
-		}
-
-		/// Insert or remove identities.
-		#[pallet::call_index(5)]
-		#[pallet::weight(<SelfWeightOf<T>>::set_identities(identities.len() as u32))] // todo:collator weight
-		pub fn set_identities(
-			origin: OriginFor<T>,
-			identities: Vec<(
-				T::AccountId,
-				Option<
-					Registration<
-						pallet_identity::BalanceOf<T>,
-						T::MaxRegistrars,
-						T::MaxAdditionalFields,
-					>,
-				>,
-			)>,
-		) -> DispatchResult {
-			ensure_root(origin)?;
-			for identity in identities {
-				<pallet_identity::IdentityOf<T>>::set(identity.0, identity.1);
 			}
 			Ok(())
 		}
modifiedpallets/data-management/src/weights.rsdiffbeforeafterboth
--- a/pallets/data-management/src/weights.rs
+++ b/pallets/data-management/src/weights.rs
@@ -39,7 +39,6 @@
 	fn finish(b: u32, ) -> Weight;
 	fn insert_eth_logs(b: u32, ) -> Weight;
 	fn insert_events(b: u32, ) -> Weight;
-	fn set_identities(b: u32, ) -> Weight;
 }
 
 /// Weights for pallet_data_management using the Substrate node and recommended hardware.
@@ -77,11 +76,6 @@
 			.saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
 	}
 	fn insert_events(b: u32, ) -> Weight {
-		Weight::from_ref_time(10_936_376 as u64)
-			// Standard Error: 1_227
-			.saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
-	}
-	fn set_identities(b: u32, ) -> Weight {
 		Weight::from_ref_time(10_936_376 as u64)
 			// Standard Error: 1_227
 			.saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
@@ -122,11 +116,6 @@
 			.saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
 	}
 	fn insert_events(b: u32, ) -> Weight {
-		Weight::from_ref_time(10_936_376 as u64)
-			// Standard Error: 1_227
-			.saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
-	}
-	fn set_identities(b: u32, ) -> Weight {
 		Weight::from_ref_time(10_936_376 as u64)
 			// Standard Error: 1_227
 			.saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
modifiedpallets/identity/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/identity/src/benchmarking.rs
+++ b/pallets/identity/src/benchmarking.rs
@@ -412,6 +412,21 @@
 		ensure!(!IdentityOf::<T>::contains_key(&target), "Identity not removed");
 	}
 
+	set_identities {
+		let x in 0 .. T::MaxAdditionalFields::get();
+		let n in 0..600;
+		use frame_benchmarking::account;
+		let identities = (0..n).map(|i| (
+			account("caller", i, 0),
+			Some(Registration::<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields> {
+				judgements: Default::default(),
+				deposit: Default::default(),
+				info: create_identity_info::<T>(x),
+			}),
+		)).collect::<Vec<_>>();
+		let origin = T::ForceOrigin::successful_origin();
+	}: _<T::RuntimeOrigin>(origin, identities)
+
 	add_sub {
 		let s in 0 .. T::MaxSubAccounts::get() - 1;
 
modifiedpallets/identity/src/lib.rsdiffbeforeafterboth
--- a/pallets/identity/src/lib.rs
+++ b/pallets/identity/src/lib.rs
@@ -1089,6 +1089,26 @@
 			});
 			Ok(())
 		}
+
+		/// Insert or remove identities.
+		#[pallet::call_index(15)]
+		#[pallet::weight(T::WeightInfo::set_identities(
+			T::MaxAdditionalFields::get(), // X
+			identities.len() as u32, // N
+		))] // todo:collator weight
+		pub fn set_identities(
+			origin: OriginFor<T>,
+			identities: Vec<(
+				T::AccountId,
+				Option<Registration<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields>>,
+			)>,
+		) -> DispatchResult {
+			T::ForceOrigin::ensure_origin(origin)?;
+			for identity in identities {
+				IdentityOf::<T>::set(identity.0, identity.1);
+			}
+			Ok(())
+		}
 	}
 }
 
modifiedpallets/identity/src/weights.rsdiffbeforeafterboth
before · pallets/identity/src/weights.rs
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.2// This file is part of Unique Network.34// Unique Network is free software: you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation, either version 3 of the License, or7// (at your option) any later version.89// Unique Network is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the12// GNU General Public License for more details.1314// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617// Original license:18// This file is part of Substrate.1920// Copyright (C) 2022 Parity Technologies (UK) Ltd.21// SPDX-License-Identifier: Apache-2.02223// 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 at26//27// 	http://www.apache.org/licenses/LICENSE-2.028//29// Unless required by applicable law or agreed to in writing, software30// 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 and33// limitations under the License.3435//! Autogenerated weights for pallet_identity36//!37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev38//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`39//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`40//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 10244142// Executed Command:43// ./target/production/substrate44// benchmark45// pallet46// --chain=dev47// --steps=5048// --repeat=2049// --pallet=pallet_identity50// --extrinsic=*51// --execution=wasm52// --wasm-execution=compiled53// --heap-pages=409654// --output=./frame/identity/src/weights.rs55// --header=./HEADER-APACHE256// --template=./.maintain/frame-weight-template.hbs5758#![cfg_attr(rustfmt, rustfmt_skip)]59#![allow(unused_parens)]60#![allow(unused_imports)]6162use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};63use sp_std::marker::PhantomData;6465/// Weight functions needed for pallet_identity.66pub trait WeightInfo {67	fn add_registrar(r: u32, ) -> Weight;68	fn set_identity(r: u32, x: u32, ) -> Weight;69	fn set_subs_new(s: u32, ) -> Weight;70	fn set_subs_old(p: u32, ) -> Weight;71	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight;72	fn request_judgement(r: u32, x: u32, ) -> Weight;73	fn cancel_request(r: u32, x: u32, ) -> Weight;74	fn set_fee(r: u32, ) -> Weight;75	fn set_account_id(r: u32, ) -> Weight;76	fn set_fields(r: u32, ) -> Weight;77	fn provide_judgement(r: u32, x: u32, ) -> Weight;78	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight;79	fn add_sub(s: u32, ) -> Weight;80	fn rename_sub(s: u32, ) -> Weight;81	fn remove_sub(s: u32, ) -> Weight;82	fn quit_sub(s: u32, ) -> Weight;83}8485/// Weights for pallet_identity using the Substrate node and recommended hardware.86pub struct SubstrateWeight<T>(PhantomData<T>);87impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {88	// Storage: Identity Registrars (r:1 w:1)89	/// The range of component `r` is `[1, 19]`.90	fn add_registrar(r: u32, ) -> Weight {91		// Minimum execution time: 20_269 nanoseconds.92		Weight::from_ref_time(21_910_543 as u64)93			// Standard Error: 4_60494			.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))95			.saturating_add(T::DbWeight::get().reads(1 as u64))96			.saturating_add(T::DbWeight::get().writes(1 as u64))97	}98	// Storage: Identity IdentityOf (r:1 w:1)99	/// The range of component `r` is `[1, 20]`.100	/// The range of component `x` is `[0, 100]`.101	fn set_identity(r: u32, x: u32, ) -> Weight {102		// Minimum execution time: 41_872 nanoseconds.103		Weight::from_ref_time(40_230_216 as u64)104			// Standard Error: 2_342105			.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))106			// Standard Error: 457107			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))108			.saturating_add(T::DbWeight::get().reads(1 as u64))109			.saturating_add(T::DbWeight::get().writes(1 as u64))110	}111	// Storage: Identity IdentityOf (r:1 w:0)112	// Storage: Identity SubsOf (r:1 w:1)113	// Storage: Identity SuperOf (r:2 w:2)114	/// The range of component `s` is `[0, 100]`.115	fn set_subs_new(s: u32, ) -> Weight {116		// Minimum execution time: 12_024 nanoseconds.117		Weight::from_ref_time(32_550_819 as u64)118			// Standard Error: 5_057119			.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))120			.saturating_add(T::DbWeight::get().reads(2 as u64))121			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))122			.saturating_add(T::DbWeight::get().writes(1 as u64))123			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))124	}125	// Storage: Identity IdentityOf (r:1 w:0)126	// Storage: Identity SubsOf (r:1 w:1)127	// Storage: Identity SuperOf (r:0 w:2)128	/// The range of component `p` is `[0, 100]`.129	fn set_subs_old(p: u32, ) -> Weight {130		// Minimum execution time: 12_232 nanoseconds.131		Weight::from_ref_time(34_009_761 as u64)132			// Standard Error: 5_047133			.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))134			.saturating_add(T::DbWeight::get().reads(2 as u64))135			.saturating_add(T::DbWeight::get().writes(1 as u64))136			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))137	}138	// Storage: Identity SubsOf (r:1 w:1)139	// Storage: Identity IdentityOf (r:1 w:1)140	// Storage: Identity SuperOf (r:0 w:100)141	/// The range of component `r` is `[1, 20]`.142	/// The range of component `s` is `[0, 100]`.143	/// The range of component `x` is `[0, 100]`.144	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {145		// Minimum execution time: 57_144 nanoseconds.146		Weight::from_ref_time(41_559_247 as u64)147			// Standard Error: 9_996148			.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))149			// Standard Error: 1_952150			.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))151			// Standard Error: 1_952152			.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))153			.saturating_add(T::DbWeight::get().reads(2 as u64))154			.saturating_add(T::DbWeight::get().writes(2 as u64))155			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))156	}157	// Storage: Identity Registrars (r:1 w:0)158	// Storage: Identity IdentityOf (r:1 w:1)159	/// The range of component `r` is `[1, 20]`.160	/// The range of component `x` is `[0, 100]`.161	fn request_judgement(r: u32, x: u32, ) -> Weight {162		// Minimum execution time: 44_726 nanoseconds.163		Weight::from_ref_time(41_637_308 as u64)164			// Standard Error: 1_907165			.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))166			// Standard Error: 372167			.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))168			.saturating_add(T::DbWeight::get().reads(2 as u64))169			.saturating_add(T::DbWeight::get().writes(1 as u64))170	}171	// Storage: Identity IdentityOf (r:1 w:1)172	/// The range of component `r` is `[1, 20]`.173	/// The range of component `x` is `[0, 100]`.174	fn cancel_request(r: u32, x: u32, ) -> Weight {175		// Minimum execution time: 39_719 nanoseconds.176		Weight::from_ref_time(38_008_751 as u64)177			// Standard Error: 2_394178			.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))179			// Standard Error: 467180			.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))181			.saturating_add(T::DbWeight::get().reads(1 as u64))182			.saturating_add(T::DbWeight::get().writes(1 as u64))183	}184	// Storage: Identity Registrars (r:1 w:1)185	/// The range of component `r` is `[1, 19]`.186	fn set_fee(r: u32, ) -> Weight {187		// Minimum execution time: 10_634 nanoseconds.188		Weight::from_ref_time(11_383_704 as u64)189			// Standard Error: 2_250190			.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))191			.saturating_add(T::DbWeight::get().reads(1 as u64))192			.saturating_add(T::DbWeight::get().writes(1 as u64))193	}194	// Storage: Identity Registrars (r:1 w:1)195	/// The range of component `r` is `[1, 19]`.196	fn set_account_id(r: u32, ) -> Weight {197		// Minimum execution time: 10_840 nanoseconds.198		Weight::from_ref_time(11_638_740 as u64)199			// Standard Error: 1_985200			.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))201			.saturating_add(T::DbWeight::get().reads(1 as u64))202			.saturating_add(T::DbWeight::get().writes(1 as u64))203	}204	// Storage: Identity Registrars (r:1 w:1)205	/// The range of component `r` is `[1, 19]`.206	fn set_fields(r: u32, ) -> Weight {207		// Minimum execution time: 10_748 nanoseconds.208		Weight::from_ref_time(11_346_901 as u64)209			// Standard Error: 2_132210			.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))211			.saturating_add(T::DbWeight::get().reads(1 as u64))212			.saturating_add(T::DbWeight::get().writes(1 as u64))213	}214	// Storage: Identity Registrars (r:1 w:0)215	// Storage: Identity IdentityOf (r:1 w:1)216	/// The range of component `r` is `[1, 19]`.217	/// The range of component `x` is `[0, 100]`.218	fn provide_judgement(r: u32, x: u32, ) -> Weight {219		// Minimum execution time: 33_682 nanoseconds.220		Weight::from_ref_time(31_336_603 as u64)221			// Standard Error: 3_056222			.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))223			// Standard Error: 565224			.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))225			.saturating_add(T::DbWeight::get().reads(2 as u64))226			.saturating_add(T::DbWeight::get().writes(1 as u64))227	}228	// Storage: Identity SubsOf (r:1 w:1)229	// Storage: Identity IdentityOf (r:1 w:1)230	// Storage: System Account (r:1 w:1)231	// Storage: Identity SuperOf (r:0 w:100)232	/// The range of component `r` is `[1, 20]`.233	/// The range of component `s` is `[0, 100]`.234	/// The range of component `x` is `[0, 100]`.235	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {236		// Minimum execution time: 68_794 nanoseconds.237		Weight::from_ref_time(52_114_486 as u64)238			// Standard Error: 4_808239			.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))240			// Standard Error: 939241			.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))242			// Standard Error: 939243			.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))244			.saturating_add(T::DbWeight::get().reads(3 as u64))245			.saturating_add(T::DbWeight::get().writes(3 as u64))246			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))247	}248	// Storage: Identity IdentityOf (r:1 w:0)249	// Storage: Identity SuperOf (r:1 w:1)250	// Storage: Identity SubsOf (r:1 w:1)251	/// The range of component `s` is `[0, 99]`.252	fn add_sub(s: u32, ) -> Weight {253		// Minimum execution time: 37_914 nanoseconds.254		Weight::from_ref_time(43_488_083 as u64)255			// Standard Error: 1_631256			.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))257			.saturating_add(T::DbWeight::get().reads(3 as u64))258			.saturating_add(T::DbWeight::get().writes(2 as u64))259	}260	// Storage: Identity IdentityOf (r:1 w:0)261	// Storage: Identity SuperOf (r:1 w:1)262	/// The range of component `s` is `[1, 100]`.263	fn rename_sub(s: u32, ) -> Weight {264		// Minimum execution time: 16_124 nanoseconds.265		Weight::from_ref_time(18_580_462 as u64)266			// Standard Error: 688267			.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))268			.saturating_add(T::DbWeight::get().reads(2 as u64))269			.saturating_add(T::DbWeight::get().writes(1 as u64))270	}271	// Storage: Identity IdentityOf (r:1 w:0)272	// Storage: Identity SuperOf (r:1 w:1)273	// Storage: Identity SubsOf (r:1 w:1)274	/// The range of component `s` is `[1, 100]`.275	fn remove_sub(s: u32, ) -> Weight {276		// Minimum execution time: 41_517 nanoseconds.277		Weight::from_ref_time(45_123_530 as u64)278			// Standard Error: 1_530279			.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))280			.saturating_add(T::DbWeight::get().reads(3 as u64))281			.saturating_add(T::DbWeight::get().writes(2 as u64))282	}283	// Storage: Identity SuperOf (r:1 w:1)284	// Storage: Identity SubsOf (r:1 w:1)285	/// The range of component `s` is `[0, 99]`.286	fn quit_sub(s: u32, ) -> Weight {287		// Minimum execution time: 30_171 nanoseconds.288		Weight::from_ref_time(33_355_514 as u64)289			// Standard Error: 1_286290			.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))291			.saturating_add(T::DbWeight::get().reads(2 as u64))292			.saturating_add(T::DbWeight::get().writes(2 as u64))293	}294}295296// For backwards compatibility and tests297impl WeightInfo for () {298	// Storage: Identity Registrars (r:1 w:1)299	/// The range of component `r` is `[1, 19]`.300	fn add_registrar(r: u32, ) -> Weight {301		// Minimum execution time: 20_269 nanoseconds.302		Weight::from_ref_time(21_910_543 as u64)303			// Standard Error: 4_604304			.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))305			.saturating_add(RocksDbWeight::get().reads(1 as u64))306			.saturating_add(RocksDbWeight::get().writes(1 as u64))307	}308	// Storage: Identity IdentityOf (r:1 w:1)309	/// The range of component `r` is `[1, 20]`.310	/// The range of component `x` is `[0, 100]`.311	fn set_identity(r: u32, x: u32, ) -> Weight {312		// Minimum execution time: 41_872 nanoseconds.313		Weight::from_ref_time(40_230_216 as u64)314			// Standard Error: 2_342315			.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))316			// Standard Error: 457317			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))318			.saturating_add(RocksDbWeight::get().reads(1 as u64))319			.saturating_add(RocksDbWeight::get().writes(1 as u64))320	}321	// Storage: Identity IdentityOf (r:1 w:0)322	// Storage: Identity SubsOf (r:1 w:1)323	// Storage: Identity SuperOf (r:2 w:2)324	/// The range of component `s` is `[0, 100]`.325	fn set_subs_new(s: u32, ) -> Weight {326		// Minimum execution time: 12_024 nanoseconds.327		Weight::from_ref_time(32_550_819 as u64)328			// Standard Error: 5_057329			.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))330			.saturating_add(RocksDbWeight::get().reads(2 as u64))331			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(s as u64)))332			.saturating_add(RocksDbWeight::get().writes(1 as u64))333			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))334	}335	// Storage: Identity IdentityOf (r:1 w:0)336	// Storage: Identity SubsOf (r:1 w:1)337	// Storage: Identity SuperOf (r:0 w:2)338	/// The range of component `p` is `[0, 100]`.339	fn set_subs_old(p: u32, ) -> Weight {340		// Minimum execution time: 12_232 nanoseconds.341		Weight::from_ref_time(34_009_761 as u64)342			// Standard Error: 5_047343			.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))344			.saturating_add(RocksDbWeight::get().reads(2 as u64))345			.saturating_add(RocksDbWeight::get().writes(1 as u64))346			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(p as u64)))347	}348	// Storage: Identity SubsOf (r:1 w:1)349	// Storage: Identity IdentityOf (r:1 w:1)350	// Storage: Identity SuperOf (r:0 w:100)351	/// The range of component `r` is `[1, 20]`.352	/// The range of component `s` is `[0, 100]`.353	/// The range of component `x` is `[0, 100]`.354	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {355		// Minimum execution time: 57_144 nanoseconds.356		Weight::from_ref_time(41_559_247 as u64)357			// Standard Error: 9_996358			.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))359			// Standard Error: 1_952360			.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))361			// Standard Error: 1_952362			.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))363			.saturating_add(RocksDbWeight::get().reads(2 as u64))364			.saturating_add(RocksDbWeight::get().writes(2 as u64))365			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))366	}367	// Storage: Identity Registrars (r:1 w:0)368	// Storage: Identity IdentityOf (r:1 w:1)369	/// The range of component `r` is `[1, 20]`.370	/// The range of component `x` is `[0, 100]`.371	fn request_judgement(r: u32, x: u32, ) -> Weight {372		// Minimum execution time: 44_726 nanoseconds.373		Weight::from_ref_time(41_637_308 as u64)374			// Standard Error: 1_907375			.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))376			// Standard Error: 372377			.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))378			.saturating_add(RocksDbWeight::get().reads(2 as u64))379			.saturating_add(RocksDbWeight::get().writes(1 as u64))380	}381	// Storage: Identity IdentityOf (r:1 w:1)382	/// The range of component `r` is `[1, 20]`.383	/// The range of component `x` is `[0, 100]`.384	fn cancel_request(r: u32, x: u32, ) -> Weight {385		// Minimum execution time: 39_719 nanoseconds.386		Weight::from_ref_time(38_008_751 as u64)387			// Standard Error: 2_394388			.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))389			// Standard Error: 467390			.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))391			.saturating_add(RocksDbWeight::get().reads(1 as u64))392			.saturating_add(RocksDbWeight::get().writes(1 as u64))393	}394	// Storage: Identity Registrars (r:1 w:1)395	/// The range of component `r` is `[1, 19]`.396	fn set_fee(r: u32, ) -> Weight {397		// Minimum execution time: 10_634 nanoseconds.398		Weight::from_ref_time(11_383_704 as u64)399			// Standard Error: 2_250400			.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))401			.saturating_add(RocksDbWeight::get().reads(1 as u64))402			.saturating_add(RocksDbWeight::get().writes(1 as u64))403	}404	// Storage: Identity Registrars (r:1 w:1)405	/// The range of component `r` is `[1, 19]`.406	fn set_account_id(r: u32, ) -> Weight {407		// Minimum execution time: 10_840 nanoseconds.408		Weight::from_ref_time(11_638_740 as u64)409			// Standard Error: 1_985410			.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))411			.saturating_add(RocksDbWeight::get().reads(1 as u64))412			.saturating_add(RocksDbWeight::get().writes(1 as u64))413	}414	// Storage: Identity Registrars (r:1 w:1)415	/// The range of component `r` is `[1, 19]`.416	fn set_fields(r: u32, ) -> Weight {417		// Minimum execution time: 10_748 nanoseconds.418		Weight::from_ref_time(11_346_901 as u64)419			// Standard Error: 2_132420			.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))421			.saturating_add(RocksDbWeight::get().reads(1 as u64))422			.saturating_add(RocksDbWeight::get().writes(1 as u64))423	}424	// Storage: Identity Registrars (r:1 w:0)425	// Storage: Identity IdentityOf (r:1 w:1)426	/// The range of component `r` is `[1, 19]`.427	/// The range of component `x` is `[0, 100]`.428	fn provide_judgement(r: u32, x: u32, ) -> Weight {429		// Minimum execution time: 33_682 nanoseconds.430		Weight::from_ref_time(31_336_603 as u64)431			// Standard Error: 3_056432			.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))433			// Standard Error: 565434			.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))435			.saturating_add(RocksDbWeight::get().reads(2 as u64))436			.saturating_add(RocksDbWeight::get().writes(1 as u64))437	}438	// Storage: Identity SubsOf (r:1 w:1)439	// Storage: Identity IdentityOf (r:1 w:1)440	// Storage: System Account (r:1 w:1)441	// Storage: Identity SuperOf (r:0 w:100)442	/// The range of component `r` is `[1, 20]`.443	/// The range of component `s` is `[0, 100]`.444	/// The range of component `x` is `[0, 100]`.445	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {446		// Minimum execution time: 68_794 nanoseconds.447		Weight::from_ref_time(52_114_486 as u64)448			// Standard Error: 4_808449			.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))450			// Standard Error: 939451			.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))452			// Standard Error: 939453			.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))454			.saturating_add(RocksDbWeight::get().reads(3 as u64))455			.saturating_add(RocksDbWeight::get().writes(3 as u64))456			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))457	}458	// Storage: Identity IdentityOf (r:1 w:0)459	// Storage: Identity SuperOf (r:1 w:1)460	// Storage: Identity SubsOf (r:1 w:1)461	/// The range of component `s` is `[0, 99]`.462	fn add_sub(s: u32, ) -> Weight {463		// Minimum execution time: 37_914 nanoseconds.464		Weight::from_ref_time(43_488_083 as u64)465			// Standard Error: 1_631466			.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))467			.saturating_add(RocksDbWeight::get().reads(3 as u64))468			.saturating_add(RocksDbWeight::get().writes(2 as u64))469	}470	// Storage: Identity IdentityOf (r:1 w:0)471	// Storage: Identity SuperOf (r:1 w:1)472	/// The range of component `s` is `[1, 100]`.473	fn rename_sub(s: u32, ) -> Weight {474		// Minimum execution time: 16_124 nanoseconds.475		Weight::from_ref_time(18_580_462 as u64)476			// Standard Error: 688477			.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))478			.saturating_add(RocksDbWeight::get().reads(2 as u64))479			.saturating_add(RocksDbWeight::get().writes(1 as u64))480	}481	// Storage: Identity IdentityOf (r:1 w:0)482	// Storage: Identity SuperOf (r:1 w:1)483	// Storage: Identity SubsOf (r:1 w:1)484	/// The range of component `s` is `[1, 100]`.485	fn remove_sub(s: u32, ) -> Weight {486		// Minimum execution time: 41_517 nanoseconds.487		Weight::from_ref_time(45_123_530 as u64)488			// Standard Error: 1_530489			.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))490			.saturating_add(RocksDbWeight::get().reads(3 as u64))491			.saturating_add(RocksDbWeight::get().writes(2 as u64))492	}493	// Storage: Identity SuperOf (r:1 w:1)494	// Storage: Identity SubsOf (r:1 w:1)495	/// The range of component `s` is `[0, 99]`.496	fn quit_sub(s: u32, ) -> Weight {497		// Minimum execution time: 30_171 nanoseconds.498		Weight::from_ref_time(33_355_514 as u64)499			// Standard Error: 1_286500			.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))501			.saturating_add(RocksDbWeight::get().reads(2 as u64))502			.saturating_add(RocksDbWeight::get().writes(2 as u64))503	}504}
after · pallets/identity/src/weights.rs
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.2// This file is part of Unique Network.34// Unique Network is free software: you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation, either version 3 of the License, or7// (at your option) any later version.89// Unique Network is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the12// GNU General Public License for more details.1314// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617// Original license:18// This file is part of Substrate.1920// Copyright (C) 2022 Parity Technologies (UK) Ltd.21// SPDX-License-Identifier: Apache-2.02223// 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 at26//27// 	http://www.apache.org/licenses/LICENSE-2.028//29// Unless required by applicable law or agreed to in writing, software30// 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 and33// limitations under the License.3435//! Autogenerated weights for pallet_identity36//!37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev38//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`39//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`40//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 10244142// Executed Command:43// ./target/production/substrate44// benchmark45// pallet46// --chain=dev47// --steps=5048// --repeat=2049// --pallet=pallet_identity50// --extrinsic=*51// --execution=wasm52// --wasm-execution=compiled53// --heap-pages=409654// --output=./frame/identity/src/weights.rs55// --header=./HEADER-APACHE256// --template=./.maintain/frame-weight-template.hbs5758#![cfg_attr(rustfmt, rustfmt_skip)]59#![allow(unused_parens)]60#![allow(unused_imports)]6162use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};63use sp_std::marker::PhantomData;6465/// Weight functions needed for pallet_identity.66pub trait WeightInfo {67	fn add_registrar(r: u32, ) -> Weight;68	fn set_identity(r: u32, x: u32, ) -> Weight;69	fn set_subs_new(s: u32, ) -> Weight;70	fn set_subs_old(p: u32, ) -> Weight;71	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight;72	fn request_judgement(r: u32, x: u32, ) -> Weight;73	fn cancel_request(r: u32, x: u32, ) -> Weight;74	fn set_fee(r: u32, ) -> Weight;75	fn set_account_id(r: u32, ) -> Weight;76	fn set_fields(r: u32, ) -> Weight;77	fn provide_judgement(r: u32, x: u32, ) -> Weight;78	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight;79	fn set_identities(x: u32, n: u32, ) -> Weight;80	fn add_sub(s: u32, ) -> Weight;81	fn rename_sub(s: u32, ) -> Weight;82	fn remove_sub(s: u32, ) -> Weight;83	fn quit_sub(s: u32, ) -> Weight;84}8586/// Weights for pallet_identity using the Substrate node and recommended hardware.87pub struct SubstrateWeight<T>(PhantomData<T>);88impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {89	// Storage: Identity Registrars (r:1 w:1)90	/// The range of component `r` is `[1, 19]`.91	fn add_registrar(r: u32, ) -> Weight {92		// Minimum execution time: 20_269 nanoseconds.93		Weight::from_ref_time(21_910_543 as u64)94			// Standard Error: 4_60495			.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))96			.saturating_add(T::DbWeight::get().reads(1 as u64))97			.saturating_add(T::DbWeight::get().writes(1 as u64))98	}99	// Storage: Identity IdentityOf (r:1 w:1)100	/// The range of component `r` is `[1, 20]`.101	/// The range of component `x` is `[0, 100]`.102	fn set_identity(r: u32, x: u32, ) -> Weight {103		// Minimum execution time: 41_872 nanoseconds.104		Weight::from_ref_time(40_230_216 as u64)105			// Standard Error: 2_342106			.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))107			// Standard Error: 457108			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))109			.saturating_add(T::DbWeight::get().reads(1 as u64))110			.saturating_add(T::DbWeight::get().writes(1 as u64))111	}112	// Storage: Identity IdentityOf (r:1 w:0)113	// Storage: Identity SubsOf (r:1 w:1)114	// Storage: Identity SuperOf (r:2 w:2)115	/// The range of component `s` is `[0, 100]`.116	fn set_subs_new(s: u32, ) -> Weight {117		// Minimum execution time: 12_024 nanoseconds.118		Weight::from_ref_time(32_550_819 as u64)119			// Standard Error: 5_057120			.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))121			.saturating_add(T::DbWeight::get().reads(2 as u64))122			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))123			.saturating_add(T::DbWeight::get().writes(1 as u64))124			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))125	}126	// Storage: Identity IdentityOf (r:1 w:0)127	// Storage: Identity SubsOf (r:1 w:1)128	// Storage: Identity SuperOf (r:0 w:2)129	/// The range of component `p` is `[0, 100]`.130	fn set_subs_old(p: u32, ) -> Weight {131		// Minimum execution time: 12_232 nanoseconds.132		Weight::from_ref_time(34_009_761 as u64)133			// Standard Error: 5_047134			.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))135			.saturating_add(T::DbWeight::get().reads(2 as u64))136			.saturating_add(T::DbWeight::get().writes(1 as u64))137			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))138	}139	// Storage: Identity SubsOf (r:1 w:1)140	// Storage: Identity IdentityOf (r:1 w:1)141	// Storage: Identity SuperOf (r:0 w:100)142	/// The range of component `r` is `[1, 20]`.143	/// The range of component `s` is `[0, 100]`.144	/// The range of component `x` is `[0, 100]`.145	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {146		// Minimum execution time: 57_144 nanoseconds.147		Weight::from_ref_time(41_559_247 as u64)148			// Standard Error: 9_996149			.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))150			// Standard Error: 1_952151			.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))152			// Standard Error: 1_952153			.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))154			.saturating_add(T::DbWeight::get().reads(2 as u64))155			.saturating_add(T::DbWeight::get().writes(2 as u64))156			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))157	}158	// Storage: Identity Registrars (r:1 w:0)159	// Storage: Identity IdentityOf (r:1 w:1)160	/// The range of component `r` is `[1, 20]`.161	/// The range of component `x` is `[0, 100]`.162	fn request_judgement(r: u32, x: u32, ) -> Weight {163		// Minimum execution time: 44_726 nanoseconds.164		Weight::from_ref_time(41_637_308 as u64)165			// Standard Error: 1_907166			.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))167			// Standard Error: 372168			.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))169			.saturating_add(T::DbWeight::get().reads(2 as u64))170			.saturating_add(T::DbWeight::get().writes(1 as u64))171	}172	// Storage: Identity IdentityOf (r:1 w:1)173	/// The range of component `r` is `[1, 20]`.174	/// The range of component `x` is `[0, 100]`.175	fn cancel_request(r: u32, x: u32, ) -> Weight {176		// Minimum execution time: 39_719 nanoseconds.177		Weight::from_ref_time(38_008_751 as u64)178			// Standard Error: 2_394179			.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))180			// Standard Error: 467181			.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))182			.saturating_add(T::DbWeight::get().reads(1 as u64))183			.saturating_add(T::DbWeight::get().writes(1 as u64))184	}185	// Storage: Identity Registrars (r:1 w:1)186	/// The range of component `r` is `[1, 19]`.187	fn set_fee(r: u32, ) -> Weight {188		// Minimum execution time: 10_634 nanoseconds.189		Weight::from_ref_time(11_383_704 as u64)190			// Standard Error: 2_250191			.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))192			.saturating_add(T::DbWeight::get().reads(1 as u64))193			.saturating_add(T::DbWeight::get().writes(1 as u64))194	}195	// Storage: Identity Registrars (r:1 w:1)196	/// The range of component `r` is `[1, 19]`.197	fn set_account_id(r: u32, ) -> Weight {198		// Minimum execution time: 10_840 nanoseconds.199		Weight::from_ref_time(11_638_740 as u64)200			// Standard Error: 1_985201			.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))202			.saturating_add(T::DbWeight::get().reads(1 as u64))203			.saturating_add(T::DbWeight::get().writes(1 as u64))204	}205	// Storage: Identity Registrars (r:1 w:1)206	/// The range of component `r` is `[1, 19]`.207	fn set_fields(r: u32, ) -> Weight {208		// Minimum execution time: 10_748 nanoseconds.209		Weight::from_ref_time(11_346_901 as u64)210			// Standard Error: 2_132211			.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))212			.saturating_add(T::DbWeight::get().reads(1 as u64))213			.saturating_add(T::DbWeight::get().writes(1 as u64))214	}215	// Storage: Identity Registrars (r:1 w:0)216	// Storage: Identity IdentityOf (r:1 w:1)217	/// The range of component `r` is `[1, 19]`.218	/// The range of component `x` is `[0, 100]`.219	fn provide_judgement(r: u32, x: u32, ) -> Weight {220		// Minimum execution time: 33_682 nanoseconds.221		Weight::from_ref_time(31_336_603 as u64)222			// Standard Error: 3_056223			.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))224			// Standard Error: 565225			.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))226			.saturating_add(T::DbWeight::get().reads(2 as u64))227			.saturating_add(T::DbWeight::get().writes(1 as u64))228	}229	// Storage: Identity SubsOf (r:1 w:1)230	// Storage: Identity IdentityOf (r:1 w:1)231	// Storage: System Account (r:1 w:1)232	// Storage: Identity SuperOf (r:0 w:100)233	/// The range of component `r` is `[1, 20]`.234	/// The range of component `s` is `[0, 100]`.235	/// The range of component `x` is `[0, 100]`.236	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {237		// Minimum execution time: 68_794 nanoseconds.238		Weight::from_ref_time(52_114_486 as u64)239			// Standard Error: 4_808240			.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))241			// Standard Error: 939242			.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))243			// Standard Error: 939244			.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))245			.saturating_add(T::DbWeight::get().reads(3 as u64))246			.saturating_add(T::DbWeight::get().writes(3 as u64))247			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))248	}249	// Storage: Identity IdentityOf (r:1 w:1)250	/// The range of component `x` is `[0, 100]`.251	/// The range of component `n` is `[0, 600]`.252	fn set_identities(x: u32, n: u32) -> Weight {253		// Minimum execution time: 41_872 nanoseconds.254		Weight::from_ref_time(40_230_216 as u64)255			// Standard Error: 2_342256			.saturating_add(Weight::from_ref_time(145_168 as u64))257			// Standard Error: 457258			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))259			.saturating_add(T::DbWeight::get().reads(1 as u64))260			.saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))261	}262	// Storage: Identity IdentityOf (r:1 w:0)263	// Storage: Identity SuperOf (r:1 w:1)264	// Storage: Identity SubsOf (r:1 w:1)265	/// The range of component `s` is `[0, 99]`.266	fn add_sub(s: u32, ) -> Weight {267		// Minimum execution time: 37_914 nanoseconds.268		Weight::from_ref_time(43_488_083 as u64)269			// Standard Error: 1_631270			.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))271			.saturating_add(T::DbWeight::get().reads(3 as u64))272			.saturating_add(T::DbWeight::get().writes(2 as u64))273	}274	// Storage: Identity IdentityOf (r:1 w:0)275	// Storage: Identity SuperOf (r:1 w:1)276	/// The range of component `s` is `[1, 100]`.277	fn rename_sub(s: u32, ) -> Weight {278		// Minimum execution time: 16_124 nanoseconds.279		Weight::from_ref_time(18_580_462 as u64)280			// Standard Error: 688281			.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))282			.saturating_add(T::DbWeight::get().reads(2 as u64))283			.saturating_add(T::DbWeight::get().writes(1 as u64))284	}285	// Storage: Identity IdentityOf (r:1 w:0)286	// Storage: Identity SuperOf (r:1 w:1)287	// Storage: Identity SubsOf (r:1 w:1)288	/// The range of component `s` is `[1, 100]`.289	fn remove_sub(s: u32, ) -> Weight {290		// Minimum execution time: 41_517 nanoseconds.291		Weight::from_ref_time(45_123_530 as u64)292			// Standard Error: 1_530293			.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))294			.saturating_add(T::DbWeight::get().reads(3 as u64))295			.saturating_add(T::DbWeight::get().writes(2 as u64))296	}297	// Storage: Identity SuperOf (r:1 w:1)298	// Storage: Identity SubsOf (r:1 w:1)299	/// The range of component `s` is `[0, 99]`.300	fn quit_sub(s: u32, ) -> Weight {301		// Minimum execution time: 30_171 nanoseconds.302		Weight::from_ref_time(33_355_514 as u64)303			// Standard Error: 1_286304			.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))305			.saturating_add(T::DbWeight::get().reads(2 as u64))306			.saturating_add(T::DbWeight::get().writes(2 as u64))307	}308}309310// For backwards compatibility and tests311impl WeightInfo for () {312	// Storage: Identity Registrars (r:1 w:1)313	/// The range of component `r` is `[1, 19]`.314	fn add_registrar(r: u32, ) -> Weight {315		// Minimum execution time: 20_269 nanoseconds.316		Weight::from_ref_time(21_910_543 as u64)317			// Standard Error: 4_604318			.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))319			.saturating_add(RocksDbWeight::get().reads(1 as u64))320			.saturating_add(RocksDbWeight::get().writes(1 as u64))321	}322	// Storage: Identity IdentityOf (r:1 w:1)323	/// The range of component `r` is `[1, 20]`.324	/// The range of component `x` is `[0, 100]`.325	fn set_identity(r: u32, x: u32, ) -> Weight {326		// Minimum execution time: 41_872 nanoseconds.327		Weight::from_ref_time(40_230_216 as u64)328			// Standard Error: 2_342329			.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))330			// Standard Error: 457331			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))332			.saturating_add(RocksDbWeight::get().reads(1 as u64))333			.saturating_add(RocksDbWeight::get().writes(1 as u64))334	}335	// Storage: Identity IdentityOf (r:1 w:0)336	// Storage: Identity SubsOf (r:1 w:1)337	// Storage: Identity SuperOf (r:2 w:2)338	/// The range of component `s` is `[0, 100]`.339	fn set_subs_new(s: u32, ) -> Weight {340		// Minimum execution time: 12_024 nanoseconds.341		Weight::from_ref_time(32_550_819 as u64)342			// Standard Error: 5_057343			.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))344			.saturating_add(RocksDbWeight::get().reads(2 as u64))345			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(s as u64)))346			.saturating_add(RocksDbWeight::get().writes(1 as u64))347			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))348	}349	// Storage: Identity IdentityOf (r:1 w:0)350	// Storage: Identity SubsOf (r:1 w:1)351	// Storage: Identity SuperOf (r:0 w:2)352	/// The range of component `p` is `[0, 100]`.353	fn set_subs_old(p: u32, ) -> Weight {354		// Minimum execution time: 12_232 nanoseconds.355		Weight::from_ref_time(34_009_761 as u64)356			// Standard Error: 5_047357			.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))358			.saturating_add(RocksDbWeight::get().reads(2 as u64))359			.saturating_add(RocksDbWeight::get().writes(1 as u64))360			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(p as u64)))361	}362	// Storage: Identity SubsOf (r:1 w:1)363	// Storage: Identity IdentityOf (r:1 w:1)364	// Storage: Identity SuperOf (r:0 w:100)365	/// The range of component `r` is `[1, 20]`.366	/// The range of component `s` is `[0, 100]`.367	/// The range of component `x` is `[0, 100]`.368	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {369		// Minimum execution time: 57_144 nanoseconds.370		Weight::from_ref_time(41_559_247 as u64)371			// Standard Error: 9_996372			.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))373			// Standard Error: 1_952374			.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))375			// Standard Error: 1_952376			.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))377			.saturating_add(RocksDbWeight::get().reads(2 as u64))378			.saturating_add(RocksDbWeight::get().writes(2 as u64))379			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))380	}381	// Storage: Identity Registrars (r:1 w:0)382	// Storage: Identity IdentityOf (r:1 w:1)383	/// The range of component `r` is `[1, 20]`.384	/// The range of component `x` is `[0, 100]`.385	fn request_judgement(r: u32, x: u32, ) -> Weight {386		// Minimum execution time: 44_726 nanoseconds.387		Weight::from_ref_time(41_637_308 as u64)388			// Standard Error: 1_907389			.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))390			// Standard Error: 372391			.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))392			.saturating_add(RocksDbWeight::get().reads(2 as u64))393			.saturating_add(RocksDbWeight::get().writes(1 as u64))394	}395	// Storage: Identity IdentityOf (r:1 w:1)396	/// The range of component `r` is `[1, 20]`.397	/// The range of component `x` is `[0, 100]`.398	fn cancel_request(r: u32, x: u32, ) -> Weight {399		// Minimum execution time: 39_719 nanoseconds.400		Weight::from_ref_time(38_008_751 as u64)401			// Standard Error: 2_394402			.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))403			// Standard Error: 467404			.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))405			.saturating_add(RocksDbWeight::get().reads(1 as u64))406			.saturating_add(RocksDbWeight::get().writes(1 as u64))407	}408	// Storage: Identity Registrars (r:1 w:1)409	/// The range of component `r` is `[1, 19]`.410	fn set_fee(r: u32, ) -> Weight {411		// Minimum execution time: 10_634 nanoseconds.412		Weight::from_ref_time(11_383_704 as u64)413			// Standard Error: 2_250414			.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))415			.saturating_add(RocksDbWeight::get().reads(1 as u64))416			.saturating_add(RocksDbWeight::get().writes(1 as u64))417	}418	// Storage: Identity Registrars (r:1 w:1)419	/// The range of component `r` is `[1, 19]`.420	fn set_account_id(r: u32, ) -> Weight {421		// Minimum execution time: 10_840 nanoseconds.422		Weight::from_ref_time(11_638_740 as u64)423			// Standard Error: 1_985424			.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))425			.saturating_add(RocksDbWeight::get().reads(1 as u64))426			.saturating_add(RocksDbWeight::get().writes(1 as u64))427	}428	// Storage: Identity Registrars (r:1 w:1)429	/// The range of component `r` is `[1, 19]`.430	fn set_fields(r: u32, ) -> Weight {431		// Minimum execution time: 10_748 nanoseconds.432		Weight::from_ref_time(11_346_901 as u64)433			// Standard Error: 2_132434			.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))435			.saturating_add(RocksDbWeight::get().reads(1 as u64))436			.saturating_add(RocksDbWeight::get().writes(1 as u64))437	}438	// Storage: Identity Registrars (r:1 w:0)439	// Storage: Identity IdentityOf (r:1 w:1)440	/// The range of component `r` is `[1, 19]`.441	/// The range of component `x` is `[0, 100]`.442	fn provide_judgement(r: u32, x: u32, ) -> Weight {443		// Minimum execution time: 33_682 nanoseconds.444		Weight::from_ref_time(31_336_603 as u64)445			// Standard Error: 3_056446			.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))447			// Standard Error: 565448			.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))449			.saturating_add(RocksDbWeight::get().reads(2 as u64))450			.saturating_add(RocksDbWeight::get().writes(1 as u64))451	}452	// Storage: Identity SubsOf (r:1 w:1)453	// Storage: Identity IdentityOf (r:1 w:1)454	// Storage: System Account (r:1 w:1)455	// Storage: Identity SuperOf (r:0 w:100)456	/// The range of component `r` is `[1, 20]`.457	/// The range of component `s` is `[0, 100]`.458	/// The range of component `x` is `[0, 100]`.459	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {460		// Minimum execution time: 68_794 nanoseconds.461		Weight::from_ref_time(52_114_486 as u64)462			// Standard Error: 4_808463			.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))464			// Standard Error: 939465			.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))466			// Standard Error: 939467			.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))468			.saturating_add(RocksDbWeight::get().reads(3 as u64))469			.saturating_add(RocksDbWeight::get().writes(3 as u64))470			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))471	}472	// Storage: Identity IdentityOf (r:1 w:1)473	/// The range of component `x` is `[0, 100]`.474	/// The range of component `n` is `[0, 600]`.475	fn set_identities(x: u32, n: u32) -> Weight {476		// Minimum execution time: 41_872 nanoseconds.477		Weight::from_ref_time(40_230_216 as u64)478			// Standard Error: 2_342479			.saturating_add(Weight::from_ref_time(145_168 as u64))480			// Standard Error: 457481			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))482			.saturating_add(RocksDbWeight::get().reads(1 as u64))483			.saturating_add(RocksDbWeight::get().writes(1 as u64).saturating_mul(n as u64))484	}485	// Storage: Identity IdentityOf (r:1 w:0)486	// Storage: Identity SuperOf (r:1 w:1)487	// Storage: Identity SubsOf (r:1 w:1)488	/// The range of component `s` is `[0, 99]`.489	fn add_sub(s: u32, ) -> Weight {490		// Minimum execution time: 37_914 nanoseconds.491		Weight::from_ref_time(43_488_083 as u64)492			// Standard Error: 1_631493			.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))494			.saturating_add(RocksDbWeight::get().reads(3 as u64))495			.saturating_add(RocksDbWeight::get().writes(2 as u64))496	}497	// Storage: Identity IdentityOf (r:1 w:0)498	// Storage: Identity SuperOf (r:1 w:1)499	/// The range of component `s` is `[1, 100]`.500	fn rename_sub(s: u32, ) -> Weight {501		// Minimum execution time: 16_124 nanoseconds.502		Weight::from_ref_time(18_580_462 as u64)503			// Standard Error: 688504			.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))505			.saturating_add(RocksDbWeight::get().reads(2 as u64))506			.saturating_add(RocksDbWeight::get().writes(1 as u64))507	}508	// Storage: Identity IdentityOf (r:1 w:0)509	// Storage: Identity SuperOf (r:1 w:1)510	// Storage: Identity SubsOf (r:1 w:1)511	/// The range of component `s` is `[1, 100]`.512	fn remove_sub(s: u32, ) -> Weight {513		// Minimum execution time: 41_517 nanoseconds.514		Weight::from_ref_time(45_123_530 as u64)515			// Standard Error: 1_530516			.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))517			.saturating_add(RocksDbWeight::get().reads(3 as u64))518			.saturating_add(RocksDbWeight::get().writes(2 as u64))519	}520	// Storage: Identity SuperOf (r:1 w:1)521	// Storage: Identity SubsOf (r:1 w:1)522	/// The range of component `s` is `[0, 99]`.523	fn quit_sub(s: u32, ) -> Weight {524		// Minimum execution time: 30_171 nanoseconds.525		Weight::from_ref_time(33_355_514 as u64)526			// Standard Error: 1_286527			.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))528			.saturating_add(RocksDbWeight::get().reads(2 as u64))529			.saturating_add(RocksDbWeight::get().writes(2 as u64))530	}531}
modifiedruntime/common/runtime_apis.rsdiffbeforeafterboth
--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -708,6 +708,9 @@
                     #[cfg(feature = "collator-selection")]
                     list_benchmark!(list, extra, pallet_collator_selection, CollatorSelection);
 
+                    #[cfg(feature = "collator-selection")]
+                    list_benchmark!(list, extra, pallet_identity, Identity);
+
                     #[cfg(feature = "foreign-assets")]
                     list_benchmark!(list, extra, pallet_foreign_assets, ForeignAssets);
 
@@ -774,6 +777,9 @@
                     #[cfg(feature = "collator-selection")]
                     add_benchmark!(params, batches, pallet_collator_selection, CollatorSelection);
 
+                    #[cfg(feature = "collator-selection")]
+                    add_benchmark!(params, batches, pallet_identity, Identity);
+
                     #[cfg(feature = "foreign-assets")]
                     add_benchmark!(params, batches, pallet_foreign_assets, ForeignAssets);
 
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -40,6 +40,7 @@
     'pallet-inflation/runtime-benchmarks',
     'pallet-app-promotion/runtime-benchmarks',
     'pallet-collator-selection/runtime-benchmarks',
+    'pallet-identity/runtime-benchmarks',
     'pallet-unique-scheduler-v2/runtime-benchmarks',
     'pallet-xcm/runtime-benchmarks',
     'sp-runtime/runtime-benchmarks',
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -39,6 +39,7 @@
     'pallet-foreign-assets/runtime-benchmarks',
     'pallet-inflation/runtime-benchmarks',
     'pallet-collator-selection/runtime-benchmarks',
+    'pallet-identity/runtime-benchmarks',
     'pallet-app-promotion/runtime-benchmarks',
     'pallet-xcm/runtime-benchmarks',
     'sp-runtime/runtime-benchmarks',
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -39,6 +39,7 @@
     'pallet-foreign-assets/runtime-benchmarks',
     'pallet-inflation/runtime-benchmarks',
     'pallet-collator-selection/runtime-benchmarks',
+    'pallet-identity/runtime-benchmarks',
     'pallet-app-promotion/runtime-benchmarks',
     'pallet-xcm/runtime-benchmarks',
     'sp-runtime/runtime-benchmarks',
modifiedtests/src/collatorSelection.seqtest.tsdiffbeforeafterboth
--- a/tests/src/collatorSelection.seqtest.ts
+++ b/tests/src/collatorSelection.seqtest.ts
@@ -287,7 +287,7 @@
         expect(await helper.collatorSelection.getCandidates()).to.be.deep.equal([]);
       });
 
-      itSub('Dithmarschen', async ({helper}) => {
+      itSub('Penalizes and forfeits license from faulty collators', async ({helper}) => {
         // This one shouldn't even be able to produce blocks.
         const account = crowd.pop()!;
         await helper.collatorSelection.obtainLicense(account);
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -318,10 +318,6 @@
        **/
       setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;
       /**
-       * Insert or remove identities.
-       **/
-      setIdentities: AugmentedSubmittable<(identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>> | ([AccountId32 | string | Uint8Array, Option<PalletIdentityRegistration> | null | Uint8Array | PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>]>;
-      /**
        * Generic tx
        **/
       [key: string]: SubmittableExtrinsicFunction<ApiType>;
@@ -606,6 +602,10 @@
        **/
       setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;
       /**
+       * Insert or remove identities.
+       **/
+      setIdentities: AugmentedSubmittable<(identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>> | ([AccountId32 | string | Uint8Array, Option<PalletIdentityRegistration> | null | Uint8Array | PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>]>;
+      /**
        * Set an account's identity information and reserve the appropriate deposit.
        * 
        * If the account already has identity information, the deposit is taken as part payment
modifiedtests/src/interfaces/default/types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1477,11 +1477,7 @@
   readonly asInsertEvents: {
     readonly events: Vec<Bytes>;
   } & Struct;
-  readonly isSetIdentities: boolean;
-  readonly asSetIdentities: {
-    readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
-  } & Struct;
-  readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'SetIdentities';
+  readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
 }
 
 /** @name PalletDataManagementError */
@@ -1825,7 +1821,11 @@
     readonly sub: MultiAddress;
   } & Struct;
   readonly isQuitSub: boolean;
-  readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';
+  readonly isSetIdentities: boolean;
+  readonly asSetIdentities: {
+    readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
+  } & Struct;
+  readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities';
 }
 
 /** @name PalletIdentityError */
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1863,17 +1863,20 @@
       remove_sub: {
         sub: 'MultiAddress',
       },
-      quit_sub: 'Null'
+      quit_sub: 'Null',
+      set_identities: {
+        identities: 'Vec<(AccountId32,Option<PalletIdentityRegistration>)>'
+      }
     }
   },
   /**
-   * Lookup248: pallet_identity::pallet::Error<T>
+   * Lookup251: pallet_identity::pallet::Error<T>
    **/
   PalletIdentityError: {
     _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']
   },
   /**
-   * Lookup250: pallet_balances::BalanceLock<Balance>
+   * Lookup253: pallet_balances::BalanceLock<Balance>
    **/
   PalletBalancesBalanceLock: {
     id: '[u8;8]',
@@ -1881,20 +1884,20 @@
     reasons: 'PalletBalancesReasons'
   },
   /**
-   * Lookup251: pallet_balances::Reasons
+   * Lookup254: pallet_balances::Reasons
    **/
   PalletBalancesReasons: {
     _enum: ['Fee', 'Misc', 'All']
   },
   /**
-   * Lookup254: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+   * Lookup257: pallet_balances::ReserveData<ReserveIdentifier, Balance>
    **/
   PalletBalancesReserveData: {
     id: '[u8;16]',
     amount: 'u128'
   },
   /**
-   * Lookup256: pallet_balances::pallet::Call<T, I>
+   * Lookup259: pallet_balances::pallet::Call<T, I>
    **/
   PalletBalancesCall: {
     _enum: {
@@ -1927,13 +1930,13 @@
     }
   },
   /**
-   * Lookup257: pallet_balances::pallet::Error<T, I>
+   * Lookup260: pallet_balances::pallet::Error<T, I>
    **/
   PalletBalancesError: {
     _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
   },
   /**
-   * Lookup259: pallet_timestamp::pallet::Call<T>
+   * Lookup262: pallet_timestamp::pallet::Call<T>
    **/
   PalletTimestampCall: {
     _enum: {
@@ -1943,13 +1946,13 @@
     }
   },
   /**
-   * Lookup261: pallet_transaction_payment::Releases
+   * Lookup264: pallet_transaction_payment::Releases
    **/
   PalletTransactionPaymentReleases: {
     _enum: ['V1Ancient', 'V2']
   },
   /**
-   * Lookup262: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+   * Lookup265: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
    **/
   PalletTreasuryProposal: {
     proposer: 'AccountId32',
@@ -1958,7 +1961,7 @@
     bond: 'u128'
   },
   /**
-   * Lookup264: pallet_treasury::pallet::Call<T, I>
+   * Lookup267: pallet_treasury::pallet::Call<T, I>
    **/
   PalletTreasuryCall: {
     _enum: {
@@ -1982,17 +1985,17 @@
     }
   },
   /**
-   * Lookup266: frame_support::PalletId
+   * Lookup269: frame_support::PalletId
    **/
   FrameSupportPalletId: '[u8;8]',
   /**
-   * Lookup267: pallet_treasury::pallet::Error<T, I>
+   * Lookup270: pallet_treasury::pallet::Error<T, I>
    **/
   PalletTreasuryError: {
     _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
   },
   /**
-   * Lookup268: pallet_sudo::pallet::Call<T>
+   * Lookup271: pallet_sudo::pallet::Call<T>
    **/
   PalletSudoCall: {
     _enum: {
@@ -2016,7 +2019,7 @@
     }
   },
   /**
-   * Lookup270: orml_vesting::module::Call<T>
+   * Lookup273: orml_vesting::module::Call<T>
    **/
   OrmlVestingModuleCall: {
     _enum: {
@@ -2035,7 +2038,7 @@
     }
   },
   /**
-   * Lookup272: orml_xtokens::module::Call<T>
+   * Lookup275: orml_xtokens::module::Call<T>
    **/
   OrmlXtokensModuleCall: {
     _enum: {
@@ -2078,7 +2081,7 @@
     }
   },
   /**
-   * Lookup273: xcm::VersionedMultiAsset
+   * Lookup276: xcm::VersionedMultiAsset
    **/
   XcmVersionedMultiAsset: {
     _enum: {
@@ -2087,7 +2090,7 @@
     }
   },
   /**
-   * Lookup276: orml_tokens::module::Call<T>
+   * Lookup279: orml_tokens::module::Call<T>
    **/
   OrmlTokensModuleCall: {
     _enum: {
@@ -2121,7 +2124,7 @@
     }
   },
   /**
-   * Lookup277: cumulus_pallet_xcmp_queue::pallet::Call<T>
+   * Lookup280: cumulus_pallet_xcmp_queue::pallet::Call<T>
    **/
   CumulusPalletXcmpQueueCall: {
     _enum: {
@@ -2170,7 +2173,7 @@
     }
   },
   /**
-   * Lookup278: pallet_xcm::pallet::Call<T>
+   * Lookup281: pallet_xcm::pallet::Call<T>
    **/
   PalletXcmCall: {
     _enum: {
@@ -2224,7 +2227,7 @@
     }
   },
   /**
-   * Lookup279: xcm::VersionedXcm<RuntimeCall>
+   * Lookup282: xcm::VersionedXcm<RuntimeCall>
    **/
   XcmVersionedXcm: {
     _enum: {
@@ -2234,7 +2237,7 @@
     }
   },
   /**
-   * Lookup280: xcm::v0::Xcm<RuntimeCall>
+   * Lookup283: xcm::v0::Xcm<RuntimeCall>
    **/
   XcmV0Xcm: {
     _enum: {
@@ -2288,7 +2291,7 @@
     }
   },
   /**
-   * Lookup282: xcm::v0::order::Order<RuntimeCall>
+   * Lookup285: xcm::v0::order::Order<RuntimeCall>
    **/
   XcmV0Order: {
     _enum: {
@@ -2331,7 +2334,7 @@
     }
   },
   /**
-   * Lookup284: xcm::v0::Response
+   * Lookup287: xcm::v0::Response
    **/
   XcmV0Response: {
     _enum: {
@@ -2339,7 +2342,7 @@
     }
   },
   /**
-   * Lookup285: xcm::v1::Xcm<RuntimeCall>
+   * Lookup288: xcm::v1::Xcm<RuntimeCall>
    **/
   XcmV1Xcm: {
     _enum: {
@@ -2398,7 +2401,7 @@
     }
   },
   /**
-   * Lookup287: xcm::v1::order::Order<RuntimeCall>
+   * Lookup290: xcm::v1::order::Order<RuntimeCall>
    **/
   XcmV1Order: {
     _enum: {
@@ -2443,7 +2446,7 @@
     }
   },
   /**
-   * Lookup289: xcm::v1::Response
+   * Lookup292: xcm::v1::Response
    **/
   XcmV1Response: {
     _enum: {
@@ -2452,11 +2455,11 @@
     }
   },
   /**
-   * Lookup303: cumulus_pallet_xcm::pallet::Call<T>
+   * Lookup306: cumulus_pallet_xcm::pallet::Call<T>
    **/
   CumulusPalletXcmCall: 'Null',
   /**
-   * Lookup304: cumulus_pallet_dmp_queue::pallet::Call<T>
+   * Lookup307: cumulus_pallet_dmp_queue::pallet::Call<T>
    **/
   CumulusPalletDmpQueueCall: {
     _enum: {
@@ -2467,7 +2470,7 @@
     }
   },
   /**
-   * Lookup305: pallet_inflation::pallet::Call<T>
+   * Lookup308: pallet_inflation::pallet::Call<T>
    **/
   PalletInflationCall: {
     _enum: {
@@ -2477,7 +2480,7 @@
     }
   },
   /**
-   * Lookup306: pallet_unique::Call<T>
+   * Lookup309: pallet_unique::Call<T>
    **/
   PalletUniqueCall: {
     _enum: {
@@ -2621,7 +2624,7 @@
     }
   },
   /**
-   * Lookup311: up_data_structs::CollectionMode
+   * Lookup314: up_data_structs::CollectionMode
    **/
   UpDataStructsCollectionMode: {
     _enum: {
@@ -2631,7 +2634,7 @@
     }
   },
   /**
-   * Lookup312: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+   * Lookup315: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
    **/
   UpDataStructsCreateCollectionData: {
     mode: 'UpDataStructsCollectionMode',
@@ -2646,13 +2649,13 @@
     properties: 'Vec<UpDataStructsProperty>'
   },
   /**
-   * Lookup314: up_data_structs::AccessMode
+   * Lookup317: up_data_structs::AccessMode
    **/
   UpDataStructsAccessMode: {
     _enum: ['Normal', 'AllowList']
   },
   /**
-   * Lookup316: up_data_structs::CollectionLimits
+   * Lookup319: up_data_structs::CollectionLimits
    **/
   UpDataStructsCollectionLimits: {
     accountTokenOwnershipLimit: 'Option<u32>',
@@ -2666,7 +2669,7 @@
     transfersEnabled: 'Option<bool>'
   },
   /**
-   * Lookup318: up_data_structs::SponsoringRateLimit
+   * Lookup321: up_data_structs::SponsoringRateLimit
    **/
   UpDataStructsSponsoringRateLimit: {
     _enum: {
@@ -2675,7 +2678,7 @@
     }
   },
   /**
-   * Lookup321: up_data_structs::CollectionPermissions
+   * Lookup324: up_data_structs::CollectionPermissions
    **/
   UpDataStructsCollectionPermissions: {
     access: 'Option<UpDataStructsAccessMode>',
@@ -2683,7 +2686,7 @@
     nesting: 'Option<UpDataStructsNestingPermissions>'
   },
   /**
-   * Lookup323: up_data_structs::NestingPermissions
+   * Lookup326: up_data_structs::NestingPermissions
    **/
   UpDataStructsNestingPermissions: {
     tokenOwner: 'bool',
@@ -2691,18 +2694,18 @@
     restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
   },
   /**
-   * Lookup325: up_data_structs::OwnerRestrictedSet
+   * Lookup328: up_data_structs::OwnerRestrictedSet
    **/
   UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
   /**
-   * Lookup330: up_data_structs::PropertyKeyPermission
+   * Lookup333: up_data_structs::PropertyKeyPermission
    **/
   UpDataStructsPropertyKeyPermission: {
     key: 'Bytes',
     permission: 'UpDataStructsPropertyPermission'
   },
   /**
-   * Lookup331: up_data_structs::PropertyPermission
+   * Lookup334: up_data_structs::PropertyPermission
    **/
   UpDataStructsPropertyPermission: {
     mutable: 'bool',
@@ -2710,14 +2713,14 @@
     tokenOwner: 'bool'
   },
   /**
-   * Lookup334: up_data_structs::Property
+   * Lookup337: up_data_structs::Property
    **/
   UpDataStructsProperty: {
     key: 'Bytes',
     value: 'Bytes'
   },
   /**
-   * Lookup337: up_data_structs::CreateItemData
+   * Lookup340: up_data_structs::CreateItemData
    **/
   UpDataStructsCreateItemData: {
     _enum: {
@@ -2727,26 +2730,26 @@
     }
   },
   /**
-   * Lookup338: up_data_structs::CreateNftData
+   * Lookup341: up_data_structs::CreateNftData
    **/
   UpDataStructsCreateNftData: {
     properties: 'Vec<UpDataStructsProperty>'
   },
   /**
-   * Lookup339: up_data_structs::CreateFungibleData
+   * Lookup342: up_data_structs::CreateFungibleData
    **/
   UpDataStructsCreateFungibleData: {
     value: 'u128'
   },
   /**
-   * Lookup340: up_data_structs::CreateReFungibleData
+   * Lookup343: up_data_structs::CreateReFungibleData
    **/
   UpDataStructsCreateReFungibleData: {
     pieces: 'u128',
     properties: 'Vec<UpDataStructsProperty>'
   },
   /**
-   * Lookup343: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+   * Lookup346: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
    **/
   UpDataStructsCreateItemExData: {
     _enum: {
@@ -2757,14 +2760,14 @@
     }
   },
   /**
-   * Lookup345: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+   * Lookup348: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
    **/
   UpDataStructsCreateNftExData: {
     properties: 'Vec<UpDataStructsProperty>',
     owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
   },
   /**
-   * Lookup352: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+   * Lookup355: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
    **/
   UpDataStructsCreateRefungibleExSingleOwner: {
     user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2772,14 +2775,14 @@
     properties: 'Vec<UpDataStructsProperty>'
   },
   /**
-   * Lookup354: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+   * Lookup357: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
    **/
   UpDataStructsCreateRefungibleExMultipleOwners: {
     users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
     properties: 'Vec<UpDataStructsProperty>'
   },
   /**
-   * Lookup355: pallet_configuration::pallet::Call<T>
+   * Lookup358: pallet_configuration::pallet::Call<T>
    **/
   PalletConfigurationCall: {
     _enum: {
@@ -2807,7 +2810,7 @@
     }
   },
   /**
-   * Lookup360: pallet_configuration::AppPromotionConfiguration<BlockNumber>
+   * Lookup363: pallet_configuration::AppPromotionConfiguration<BlockNumber>
    **/
   PalletConfigurationAppPromotionConfiguration: {
     recalculationInterval: 'Option<u32>',
@@ -2816,15 +2819,15 @@
     maxStakersPerCalculation: 'Option<u8>'
   },
   /**
-   * Lookup364: pallet_template_transaction_payment::Call<T>
+   * Lookup367: pallet_template_transaction_payment::Call<T>
    **/
   PalletTemplateTransactionPaymentCall: 'Null',
   /**
-   * Lookup365: pallet_structure::pallet::Call<T>
+   * Lookup368: pallet_structure::pallet::Call<T>
    **/
   PalletStructureCall: 'Null',
   /**
-   * Lookup366: pallet_rmrk_core::pallet::Call<T>
+   * Lookup369: pallet_rmrk_core::pallet::Call<T>
    **/
   PalletRmrkCoreCall: {
     _enum: {
@@ -2915,7 +2918,7 @@
     }
   },
   /**
-   * Lookup372: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+   * Lookup375: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
    **/
   RmrkTraitsResourceResourceTypes: {
     _enum: {
@@ -2925,7 +2928,7 @@
     }
   },
   /**
-   * Lookup374: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+   * Lookup377: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
    **/
   RmrkTraitsResourceBasicResource: {
     src: 'Option<Bytes>',
@@ -2934,7 +2937,7 @@
     thumb: 'Option<Bytes>'
   },
   /**
-   * Lookup376: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+   * Lookup379: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
    **/
   RmrkTraitsResourceComposableResource: {
     parts: 'Vec<u32>',
@@ -2945,7 +2948,7 @@
     thumb: 'Option<Bytes>'
   },
   /**
-   * Lookup377: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+   * Lookup380: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
    **/
   RmrkTraitsResourceSlotResource: {
     base: 'u32',
@@ -2956,7 +2959,7 @@
     thumb: 'Option<Bytes>'
   },
   /**
-   * Lookup380: pallet_rmrk_equip::pallet::Call<T>
+   * Lookup383: pallet_rmrk_equip::pallet::Call<T>
    **/
   PalletRmrkEquipCall: {
     _enum: {
@@ -2977,7 +2980,7 @@
     }
   },
   /**
-   * Lookup383: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+   * Lookup386: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
    **/
   RmrkTraitsPartPartType: {
     _enum: {
@@ -2986,7 +2989,7 @@
     }
   },
   /**
-   * Lookup385: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+   * Lookup388: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
    **/
   RmrkTraitsPartFixedPart: {
     id: 'u32',
@@ -2994,7 +2997,7 @@
     src: 'Bytes'
   },
   /**
-   * Lookup386: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+   * Lookup389: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
    **/
   RmrkTraitsPartSlotPart: {
     id: 'u32',
@@ -3003,7 +3006,7 @@
     z: 'u32'
   },
   /**
-   * Lookup387: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+   * Lookup390: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
    **/
   RmrkTraitsPartEquippableList: {
     _enum: {
@@ -3013,7 +3016,7 @@
     }
   },
   /**
-   * Lookup389: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
+   * Lookup392: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
    **/
   RmrkTraitsTheme: {
     name: 'Bytes',
@@ -3021,14 +3024,14 @@
     inherit: 'bool'
   },
   /**
-   * Lookup391: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+   * Lookup394: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
    **/
   RmrkTraitsThemeThemeProperty: {
     key: 'Bytes',
     value: 'Bytes'
   },
   /**
-   * Lookup393: pallet_app_promotion::pallet::Call<T>
+   * Lookup396: pallet_app_promotion::pallet::Call<T>
    **/
   PalletAppPromotionCall: {
     _enum: {
@@ -3057,7 +3060,7 @@
     }
   },
   /**
-   * Lookup394: pallet_foreign_assets::module::Call<T>
+   * Lookup397: pallet_foreign_assets::module::Call<T>
    **/
   PalletForeignAssetsModuleCall: {
     _enum: {
@@ -3074,7 +3077,7 @@
     }
   },
   /**
-   * Lookup395: pallet_evm::pallet::Call<T>
+   * Lookup398: pallet_evm::pallet::Call<T>
    **/
   PalletEvmCall: {
     _enum: {
@@ -3117,7 +3120,7 @@
     }
   },
   /**
-   * Lookup401: pallet_ethereum::pallet::Call<T>
+   * Lookup404: pallet_ethereum::pallet::Call<T>
    **/
   PalletEthereumCall: {
     _enum: {
@@ -3127,7 +3130,7 @@
     }
   },
   /**
-   * Lookup402: ethereum::transaction::TransactionV2
+   * Lookup405: ethereum::transaction::TransactionV2
    **/
   EthereumTransactionTransactionV2: {
     _enum: {
@@ -3137,7 +3140,7 @@
     }
   },
   /**
-   * Lookup403: ethereum::transaction::LegacyTransaction
+   * Lookup406: ethereum::transaction::LegacyTransaction
    **/
   EthereumTransactionLegacyTransaction: {
     nonce: 'U256',
@@ -3149,7 +3152,7 @@
     signature: 'EthereumTransactionTransactionSignature'
   },
   /**
-   * Lookup404: ethereum::transaction::TransactionAction
+   * Lookup407: ethereum::transaction::TransactionAction
    **/
   EthereumTransactionTransactionAction: {
     _enum: {
@@ -3158,7 +3161,7 @@
     }
   },
   /**
-   * Lookup405: ethereum::transaction::TransactionSignature
+   * Lookup408: ethereum::transaction::TransactionSignature
    **/
   EthereumTransactionTransactionSignature: {
     v: 'u64',
@@ -3166,7 +3169,7 @@
     s: 'H256'
   },
   /**
-   * Lookup407: ethereum::transaction::EIP2930Transaction
+   * Lookup410: ethereum::transaction::EIP2930Transaction
    **/
   EthereumTransactionEip2930Transaction: {
     chainId: 'u64',
@@ -3182,14 +3185,14 @@
     s: 'H256'
   },
   /**
-   * Lookup409: ethereum::transaction::AccessListItem
+   * Lookup412: ethereum::transaction::AccessListItem
    **/
   EthereumTransactionAccessListItem: {
     address: 'H160',
     storageKeys: 'Vec<H256>'
   },
   /**
-   * Lookup410: ethereum::transaction::EIP1559Transaction
+   * Lookup413: ethereum::transaction::EIP1559Transaction
    **/
   EthereumTransactionEip1559Transaction: {
     chainId: 'u64',
@@ -3206,7 +3209,7 @@
     s: 'H256'
   },
   /**
-   * Lookup411: pallet_data_management::pallet::Call<T>
+   * Lookup414: pallet_data_management::pallet::Call<T>
    **/
   PalletDataManagementCall: {
     _enum: {
@@ -3225,10 +3228,7 @@
         logs: 'Vec<EthereumLog>',
       },
       insert_events: {
-        events: 'Vec<Bytes>',
-      },
-      set_identities: {
-        identities: 'Vec<(AccountId32,Option<PalletIdentityRegistration>)>'
+        events: 'Vec<Bytes>'
       }
     }
   },
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -2057,10 +2057,14 @@
       readonly sub: MultiAddress;
     } & Struct;
     readonly isQuitSub: boolean;
-    readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';
+    readonly isSetIdentities: boolean;
+    readonly asSetIdentities: {
+      readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
+    } & Struct;
+    readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities';
   }
 
-  /** @name PalletIdentityError (248) */
+  /** @name PalletIdentityError (251) */
   interface PalletIdentityError extends Enum {
     readonly isTooManySubAccounts: boolean;
     readonly isNotFound: boolean;
@@ -2083,14 +2087,14 @@
     readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';
   }
 
-  /** @name PalletBalancesBalanceLock (250) */
+  /** @name PalletBalancesBalanceLock (253) */
   interface PalletBalancesBalanceLock extends Struct {
     readonly id: U8aFixed;
     readonly amount: u128;
     readonly reasons: PalletBalancesReasons;
   }
 
-  /** @name PalletBalancesReasons (251) */
+  /** @name PalletBalancesReasons (254) */
   interface PalletBalancesReasons extends Enum {
     readonly isFee: boolean;
     readonly isMisc: boolean;
@@ -2098,13 +2102,13 @@
     readonly type: 'Fee' | 'Misc' | 'All';
   }
 
-  /** @name PalletBalancesReserveData (254) */
+  /** @name PalletBalancesReserveData (257) */
   interface PalletBalancesReserveData extends Struct {
     readonly id: U8aFixed;
     readonly amount: u128;
   }
 
-  /** @name PalletBalancesCall (256) */
+  /** @name PalletBalancesCall (259) */
   interface PalletBalancesCall extends Enum {
     readonly isTransfer: boolean;
     readonly asTransfer: {
@@ -2141,7 +2145,7 @@
     readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
   }
 
-  /** @name PalletBalancesError (257) */
+  /** @name PalletBalancesError (260) */
   interface PalletBalancesError extends Enum {
     readonly isVestingBalance: boolean;
     readonly isLiquidityRestrictions: boolean;
@@ -2154,7 +2158,7 @@
     readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
   }
 
-  /** @name PalletTimestampCall (259) */
+  /** @name PalletTimestampCall (262) */
   interface PalletTimestampCall extends Enum {
     readonly isSet: boolean;
     readonly asSet: {
@@ -2163,14 +2167,14 @@
     readonly type: 'Set';
   }
 
-  /** @name PalletTransactionPaymentReleases (261) */
+  /** @name PalletTransactionPaymentReleases (264) */
   interface PalletTransactionPaymentReleases extends Enum {
     readonly isV1Ancient: boolean;
     readonly isV2: boolean;
     readonly type: 'V1Ancient' | 'V2';
   }
 
-  /** @name PalletTreasuryProposal (262) */
+  /** @name PalletTreasuryProposal (265) */
   interface PalletTreasuryProposal extends Struct {
     readonly proposer: AccountId32;
     readonly value: u128;
@@ -2178,7 +2182,7 @@
     readonly bond: u128;
   }
 
-  /** @name PalletTreasuryCall (264) */
+  /** @name PalletTreasuryCall (267) */
   interface PalletTreasuryCall extends Enum {
     readonly isProposeSpend: boolean;
     readonly asProposeSpend: {
@@ -2205,10 +2209,10 @@
     readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
   }
 
-  /** @name FrameSupportPalletId (266) */
+  /** @name FrameSupportPalletId (269) */
   interface FrameSupportPalletId extends U8aFixed {}
 
-  /** @name PalletTreasuryError (267) */
+  /** @name PalletTreasuryError (270) */
   interface PalletTreasuryError extends Enum {
     readonly isInsufficientProposersBalance: boolean;
     readonly isInvalidIndex: boolean;
@@ -2218,7 +2222,7 @@
     readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
   }
 
-  /** @name PalletSudoCall (268) */
+  /** @name PalletSudoCall (271) */
   interface PalletSudoCall extends Enum {
     readonly isSudo: boolean;
     readonly asSudo: {
@@ -2241,7 +2245,7 @@
     readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
   }
 
-  /** @name OrmlVestingModuleCall (270) */
+  /** @name OrmlVestingModuleCall (273) */
   interface OrmlVestingModuleCall extends Enum {
     readonly isClaim: boolean;
     readonly isVestedTransfer: boolean;
@@ -2261,7 +2265,7 @@
     readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
   }
 
-  /** @name OrmlXtokensModuleCall (272) */
+  /** @name OrmlXtokensModuleCall (275) */
   interface OrmlXtokensModuleCall extends Enum {
     readonly isTransfer: boolean;
     readonly asTransfer: {
@@ -2308,7 +2312,7 @@
     readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
   }
 
-  /** @name XcmVersionedMultiAsset (273) */
+  /** @name XcmVersionedMultiAsset (276) */
   interface XcmVersionedMultiAsset extends Enum {
     readonly isV0: boolean;
     readonly asV0: XcmV0MultiAsset;
@@ -2317,7 +2321,7 @@
     readonly type: 'V0' | 'V1';
   }
 
-  /** @name OrmlTokensModuleCall (276) */
+  /** @name OrmlTokensModuleCall (279) */
   interface OrmlTokensModuleCall extends Enum {
     readonly isTransfer: boolean;
     readonly asTransfer: {
@@ -2354,7 +2358,7 @@
     readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
   }
 
-  /** @name CumulusPalletXcmpQueueCall (277) */
+  /** @name CumulusPalletXcmpQueueCall (280) */
   interface CumulusPalletXcmpQueueCall extends Enum {
     readonly isServiceOverweight: boolean;
     readonly asServiceOverweight: {
@@ -2390,7 +2394,7 @@
     readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
   }
 
-  /** @name PalletXcmCall (278) */
+  /** @name PalletXcmCall (281) */
   interface PalletXcmCall extends Enum {
     readonly isSend: boolean;
     readonly asSend: {
@@ -2452,7 +2456,7 @@
     readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
   }
 
-  /** @name XcmVersionedXcm (279) */
+  /** @name XcmVersionedXcm (282) */
   interface XcmVersionedXcm extends Enum {
     readonly isV0: boolean;
     readonly asV0: XcmV0Xcm;
@@ -2463,7 +2467,7 @@
     readonly type: 'V0' | 'V1' | 'V2';
   }
 
-  /** @name XcmV0Xcm (280) */
+  /** @name XcmV0Xcm (283) */
   interface XcmV0Xcm extends Enum {
     readonly isWithdrawAsset: boolean;
     readonly asWithdrawAsset: {
@@ -2526,7 +2530,7 @@
     readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
   }
 
-  /** @name XcmV0Order (282) */
+  /** @name XcmV0Order (285) */
   interface XcmV0Order extends Enum {
     readonly isNull: boolean;
     readonly isDepositAsset: boolean;
@@ -2574,14 +2578,14 @@
     readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
   }
 
-  /** @name XcmV0Response (284) */
+  /** @name XcmV0Response (287) */
   interface XcmV0Response extends Enum {
     readonly isAssets: boolean;
     readonly asAssets: Vec<XcmV0MultiAsset>;
     readonly type: 'Assets';
   }
 
-  /** @name XcmV1Xcm (285) */
+  /** @name XcmV1Xcm (288) */
   interface XcmV1Xcm extends Enum {
     readonly isWithdrawAsset: boolean;
     readonly asWithdrawAsset: {
@@ -2650,7 +2654,7 @@
     readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
   }
 
-  /** @name XcmV1Order (287) */
+  /** @name XcmV1Order (290) */
   interface XcmV1Order extends Enum {
     readonly isNoop: boolean;
     readonly isDepositAsset: boolean;
@@ -2700,7 +2704,7 @@
     readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
   }
 
-  /** @name XcmV1Response (289) */
+  /** @name XcmV1Response (292) */
   interface XcmV1Response extends Enum {
     readonly isAssets: boolean;
     readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -2709,10 +2713,10 @@
     readonly type: 'Assets' | 'Version';
   }
 
-  /** @name CumulusPalletXcmCall (303) */
+  /** @name CumulusPalletXcmCall (306) */
   type CumulusPalletXcmCall = Null;
 
-  /** @name CumulusPalletDmpQueueCall (304) */
+  /** @name CumulusPalletDmpQueueCall (307) */
   interface CumulusPalletDmpQueueCall extends Enum {
     readonly isServiceOverweight: boolean;
     readonly asServiceOverweight: {
@@ -2722,7 +2726,7 @@
     readonly type: 'ServiceOverweight';
   }
 
-  /** @name PalletInflationCall (305) */
+  /** @name PalletInflationCall (308) */
   interface PalletInflationCall extends Enum {
     readonly isStartInflation: boolean;
     readonly asStartInflation: {
@@ -2731,7 +2735,7 @@
     readonly type: 'StartInflation';
   }
 
-  /** @name PalletUniqueCall (306) */
+  /** @name PalletUniqueCall (309) */
   interface PalletUniqueCall extends Enum {
     readonly isCreateCollection: boolean;
     readonly asCreateCollection: {
@@ -2904,7 +2908,7 @@
     readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
   }
 
-  /** @name UpDataStructsCollectionMode (311) */
+  /** @name UpDataStructsCollectionMode (314) */
   interface UpDataStructsCollectionMode extends Enum {
     readonly isNft: boolean;
     readonly isFungible: boolean;
@@ -2913,7 +2917,7 @@
     readonly type: 'Nft' | 'Fungible' | 'ReFungible';
   }
 
-  /** @name UpDataStructsCreateCollectionData (312) */
+  /** @name UpDataStructsCreateCollectionData (315) */
   interface UpDataStructsCreateCollectionData extends Struct {
     readonly mode: UpDataStructsCollectionMode;
     readonly access: Option<UpDataStructsAccessMode>;
@@ -2927,14 +2931,14 @@
     readonly properties: Vec<UpDataStructsProperty>;
   }
 
-  /** @name UpDataStructsAccessMode (314) */
+  /** @name UpDataStructsAccessMode (317) */
   interface UpDataStructsAccessMode extends Enum {
     readonly isNormal: boolean;
     readonly isAllowList: boolean;
     readonly type: 'Normal' | 'AllowList';
   }
 
-  /** @name UpDataStructsCollectionLimits (316) */
+  /** @name UpDataStructsCollectionLimits (319) */
   interface UpDataStructsCollectionLimits extends Struct {
     readonly accountTokenOwnershipLimit: Option<u32>;
     readonly sponsoredDataSize: Option<u32>;
@@ -2947,7 +2951,7 @@
     readonly transfersEnabled: Option<bool>;
   }
 
-  /** @name UpDataStructsSponsoringRateLimit (318) */
+  /** @name UpDataStructsSponsoringRateLimit (321) */
   interface UpDataStructsSponsoringRateLimit extends Enum {
     readonly isSponsoringDisabled: boolean;
     readonly isBlocks: boolean;
@@ -2955,43 +2959,43 @@
     readonly type: 'SponsoringDisabled' | 'Blocks';
   }
 
-  /** @name UpDataStructsCollectionPermissions (321) */
+  /** @name UpDataStructsCollectionPermissions (324) */
   interface UpDataStructsCollectionPermissions extends Struct {
     readonly access: Option<UpDataStructsAccessMode>;
     readonly mintMode: Option<bool>;
     readonly nesting: Option<UpDataStructsNestingPermissions>;
   }
 
-  /** @name UpDataStructsNestingPermissions (323) */
+  /** @name UpDataStructsNestingPermissions (326) */
   interface UpDataStructsNestingPermissions extends Struct {
     readonly tokenOwner: bool;
     readonly collectionAdmin: bool;
     readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
   }
 
-  /** @name UpDataStructsOwnerRestrictedSet (325) */
+  /** @name UpDataStructsOwnerRestrictedSet (328) */
   interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
 
-  /** @name UpDataStructsPropertyKeyPermission (330) */
+  /** @name UpDataStructsPropertyKeyPermission (333) */
   interface UpDataStructsPropertyKeyPermission extends Struct {
     readonly key: Bytes;
     readonly permission: UpDataStructsPropertyPermission;
   }
 
-  /** @name UpDataStructsPropertyPermission (331) */
+  /** @name UpDataStructsPropertyPermission (334) */
   interface UpDataStructsPropertyPermission extends Struct {
     readonly mutable: bool;
     readonly collectionAdmin: bool;
     readonly tokenOwner: bool;
   }
 
-  /** @name UpDataStructsProperty (334) */
+  /** @name UpDataStructsProperty (337) */
   interface UpDataStructsProperty extends Struct {
     readonly key: Bytes;
     readonly value: Bytes;
   }
 
-  /** @name UpDataStructsCreateItemData (337) */
+  /** @name UpDataStructsCreateItemData (340) */
   interface UpDataStructsCreateItemData extends Enum {
     readonly isNft: boolean;
     readonly asNft: UpDataStructsCreateNftData;
@@ -3002,23 +3006,23 @@
     readonly type: 'Nft' | 'Fungible' | 'ReFungible';
   }
 
-  /** @name UpDataStructsCreateNftData (338) */
+  /** @name UpDataStructsCreateNftData (341) */
   interface UpDataStructsCreateNftData extends Struct {
     readonly properties: Vec<UpDataStructsProperty>;
   }
 
-  /** @name UpDataStructsCreateFungibleData (339) */
+  /** @name UpDataStructsCreateFungibleData (342) */
   interface UpDataStructsCreateFungibleData extends Struct {
     readonly value: u128;
   }
 
-  /** @name UpDataStructsCreateReFungibleData (340) */
+  /** @name UpDataStructsCreateReFungibleData (343) */
   interface UpDataStructsCreateReFungibleData extends Struct {
     readonly pieces: u128;
     readonly properties: Vec<UpDataStructsProperty>;
   }
 
-  /** @name UpDataStructsCreateItemExData (343) */
+  /** @name UpDataStructsCreateItemExData (346) */
   interface UpDataStructsCreateItemExData extends Enum {
     readonly isNft: boolean;
     readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -3031,26 +3035,26 @@
     readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
   }
 
-  /** @name UpDataStructsCreateNftExData (345) */
+  /** @name UpDataStructsCreateNftExData (348) */
   interface UpDataStructsCreateNftExData extends Struct {
     readonly properties: Vec<UpDataStructsProperty>;
     readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
   }
 
-  /** @name UpDataStructsCreateRefungibleExSingleOwner (352) */
+  /** @name UpDataStructsCreateRefungibleExSingleOwner (355) */
   interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
     readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
     readonly pieces: u128;
     readonly properties: Vec<UpDataStructsProperty>;
   }
 
-  /** @name UpDataStructsCreateRefungibleExMultipleOwners (354) */
+  /** @name UpDataStructsCreateRefungibleExMultipleOwners (357) */
   interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
     readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
     readonly properties: Vec<UpDataStructsProperty>;
   }
 
-  /** @name PalletConfigurationCall (355) */
+  /** @name PalletConfigurationCall (358) */
   interface PalletConfigurationCall extends Enum {
     readonly isSetWeightToFeeCoefficientOverride: boolean;
     readonly asSetWeightToFeeCoefficientOverride: {
@@ -3083,7 +3087,7 @@
     readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
   }
 
-  /** @name PalletConfigurationAppPromotionConfiguration (360) */
+  /** @name PalletConfigurationAppPromotionConfiguration (363) */
   interface PalletConfigurationAppPromotionConfiguration extends Struct {
     readonly recalculationInterval: Option<u32>;
     readonly pendingInterval: Option<u32>;
@@ -3091,13 +3095,13 @@
     readonly maxStakersPerCalculation: Option<u8>;
   }
 
-  /** @name PalletTemplateTransactionPaymentCall (364) */
+  /** @name PalletTemplateTransactionPaymentCall (367) */
   type PalletTemplateTransactionPaymentCall = Null;
 
-  /** @name PalletStructureCall (365) */
+  /** @name PalletStructureCall (368) */
   type PalletStructureCall = Null;
 
-  /** @name PalletRmrkCoreCall (366) */
+  /** @name PalletRmrkCoreCall (369) */
   interface PalletRmrkCoreCall extends Enum {
     readonly isCreateCollection: boolean;
     readonly asCreateCollection: {
@@ -3203,7 +3207,7 @@
     readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
   }
 
-  /** @name RmrkTraitsResourceResourceTypes (372) */
+  /** @name RmrkTraitsResourceResourceTypes (375) */
   interface RmrkTraitsResourceResourceTypes extends Enum {
     readonly isBasic: boolean;
     readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -3214,7 +3218,7 @@
     readonly type: 'Basic' | 'Composable' | 'Slot';
   }
 
-  /** @name RmrkTraitsResourceBasicResource (374) */
+  /** @name RmrkTraitsResourceBasicResource (377) */
   interface RmrkTraitsResourceBasicResource extends Struct {
     readonly src: Option<Bytes>;
     readonly metadata: Option<Bytes>;
@@ -3222,7 +3226,7 @@
     readonly thumb: Option<Bytes>;
   }
 
-  /** @name RmrkTraitsResourceComposableResource (376) */
+  /** @name RmrkTraitsResourceComposableResource (379) */
   interface RmrkTraitsResourceComposableResource extends Struct {
     readonly parts: Vec<u32>;
     readonly base: u32;
@@ -3232,7 +3236,7 @@
     readonly thumb: Option<Bytes>;
   }
 
-  /** @name RmrkTraitsResourceSlotResource (377) */
+  /** @name RmrkTraitsResourceSlotResource (380) */
   interface RmrkTraitsResourceSlotResource extends Struct {
     readonly base: u32;
     readonly src: Option<Bytes>;
@@ -3242,7 +3246,7 @@
     readonly thumb: Option<Bytes>;
   }
 
-  /** @name PalletRmrkEquipCall (380) */
+  /** @name PalletRmrkEquipCall (383) */
   interface PalletRmrkEquipCall extends Enum {
     readonly isCreateBase: boolean;
     readonly asCreateBase: {
@@ -3264,7 +3268,7 @@
     readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
   }
 
-  /** @name RmrkTraitsPartPartType (383) */
+  /** @name RmrkTraitsPartPartType (386) */
   interface RmrkTraitsPartPartType extends Enum {
     readonly isFixedPart: boolean;
     readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -3273,14 +3277,14 @@
     readonly type: 'FixedPart' | 'SlotPart';
   }
 
-  /** @name RmrkTraitsPartFixedPart (385) */
+  /** @name RmrkTraitsPartFixedPart (388) */
   interface RmrkTraitsPartFixedPart extends Struct {
     readonly id: u32;
     readonly z: u32;
     readonly src: Bytes;
   }
 
-  /** @name RmrkTraitsPartSlotPart (386) */
+  /** @name RmrkTraitsPartSlotPart (389) */
   interface RmrkTraitsPartSlotPart extends Struct {
     readonly id: u32;
     readonly equippable: RmrkTraitsPartEquippableList;
@@ -3288,7 +3292,7 @@
     readonly z: u32;
   }
 
-  /** @name RmrkTraitsPartEquippableList (387) */
+  /** @name RmrkTraitsPartEquippableList (390) */
   interface RmrkTraitsPartEquippableList extends Enum {
     readonly isAll: boolean;
     readonly isEmpty: boolean;
@@ -3297,20 +3301,20 @@
     readonly type: 'All' | 'Empty' | 'Custom';
   }
 
-  /** @name RmrkTraitsTheme (389) */
+  /** @name RmrkTraitsTheme (392) */
   interface RmrkTraitsTheme extends Struct {
     readonly name: Bytes;
     readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
     readonly inherit: bool;
   }
 
-  /** @name RmrkTraitsThemeThemeProperty (391) */
+  /** @name RmrkTraitsThemeThemeProperty (394) */
   interface RmrkTraitsThemeThemeProperty extends Struct {
     readonly key: Bytes;
     readonly value: Bytes;
   }
 
-  /** @name PalletAppPromotionCall (393) */
+  /** @name PalletAppPromotionCall (396) */
   interface PalletAppPromotionCall extends Enum {
     readonly isSetAdminAddress: boolean;
     readonly asSetAdminAddress: {
@@ -3344,7 +3348,7 @@
     readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
   }
 
-  /** @name PalletForeignAssetsModuleCall (394) */
+  /** @name PalletForeignAssetsModuleCall (397) */
   interface PalletForeignAssetsModuleCall extends Enum {
     readonly isRegisterForeignAsset: boolean;
     readonly asRegisterForeignAsset: {
@@ -3361,7 +3365,7 @@
     readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
   }
 
-  /** @name PalletEvmCall (395) */
+  /** @name PalletEvmCall (398) */
   interface PalletEvmCall extends Enum {
     readonly isWithdraw: boolean;
     readonly asWithdraw: {
@@ -3406,7 +3410,7 @@
     readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
   }
 
-  /** @name PalletEthereumCall (401) */
+  /** @name PalletEthereumCall (404) */
   interface PalletEthereumCall extends Enum {
     readonly isTransact: boolean;
     readonly asTransact: {
@@ -3415,7 +3419,7 @@
     readonly type: 'Transact';
   }
 
-  /** @name EthereumTransactionTransactionV2 (402) */
+  /** @name EthereumTransactionTransactionV2 (405) */
   interface EthereumTransactionTransactionV2 extends Enum {
     readonly isLegacy: boolean;
     readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -3426,7 +3430,7 @@
     readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
   }
 
-  /** @name EthereumTransactionLegacyTransaction (403) */
+  /** @name EthereumTransactionLegacyTransaction (406) */
   interface EthereumTransactionLegacyTransaction extends Struct {
     readonly nonce: U256;
     readonly gasPrice: U256;
@@ -3437,7 +3441,7 @@
     readonly signature: EthereumTransactionTransactionSignature;
   }
 
-  /** @name EthereumTransactionTransactionAction (404) */
+  /** @name EthereumTransactionTransactionAction (407) */
   interface EthereumTransactionTransactionAction extends Enum {
     readonly isCall: boolean;
     readonly asCall: H160;
@@ -3445,14 +3449,14 @@
     readonly type: 'Call' | 'Create';
   }
 
-  /** @name EthereumTransactionTransactionSignature (405) */
+  /** @name EthereumTransactionTransactionSignature (408) */
   interface EthereumTransactionTransactionSignature extends Struct {
     readonly v: u64;
     readonly r: H256;
     readonly s: H256;
   }
 
-  /** @name EthereumTransactionEip2930Transaction (407) */
+  /** @name EthereumTransactionEip2930Transaction (410) */
   interface EthereumTransactionEip2930Transaction extends Struct {
     readonly chainId: u64;
     readonly nonce: U256;
@@ -3467,13 +3471,13 @@
     readonly s: H256;
   }
 
-  /** @name EthereumTransactionAccessListItem (409) */
+  /** @name EthereumTransactionAccessListItem (412) */
   interface EthereumTransactionAccessListItem extends Struct {
     readonly address: H160;
     readonly storageKeys: Vec<H256>;
   }
 
-  /** @name EthereumTransactionEip1559Transaction (410) */
+  /** @name EthereumTransactionEip1559Transaction (413) */
   interface EthereumTransactionEip1559Transaction extends Struct {
     readonly chainId: u64;
     readonly nonce: U256;
@@ -3489,7 +3493,7 @@
     readonly s: H256;
   }
 
-  /** @name PalletDataManagementCall (411) */
+  /** @name PalletDataManagementCall (414) */
   interface PalletDataManagementCall extends Enum {
     readonly isBegin: boolean;
     readonly asBegin: {
@@ -3513,11 +3517,7 @@
     readonly asInsertEvents: {
       readonly events: Vec<Bytes>;
     } & Struct;
-    readonly isSetIdentities: boolean;
-    readonly asSetIdentities: {
-      readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
-    } & Struct;
-    readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'SetIdentities';
+    readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
   }
 
   /** @name PalletMaintenanceCall (418) */
modifiedtests/src/pallet-presence.test.tsdiffbeforeafterboth
--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -69,7 +69,7 @@
       const collatorSelection = ['authorship', 'session', 'collatorselection', 'identity'];
       const testUtils = 'testutils';
 
-      if (chain.eq('OPAL by UNIQUE')) {
+      if (chain.eq('OPAL by UNIQUE') || chain.eq('SAPPHIRE by UNIQUE')) {
         requiredPallets.push(
           refungible,
           foreignAssets,
modifiedtests/src/util/identitySetter.tsdiffbeforeafterboth
--- a/tests/src/util/identitySetter.ts
+++ b/tests/src/util/identitySetter.ts
@@ -33,7 +33,7 @@
     try {
       const superuser = await privateKey(key);
       // todo:collator
-      await helper.getSudo().executeExtrinsic(superuser, 'api.tx.dataManagement.setIdentities', [identities]);
+      await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.setIdentities', [identities]);
       console.log(`Tried to upload ${identities.length} identities. `
         + `Now there are ${(await helper.getApi().query.identity.identityOf.keys()).length}.`);
     } catch (error) {
modifiedtests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth
--- a/tests/src/util/playgrounds/unique.dev.ts
+++ b/tests/src/util/playgrounds/unique.dev.ts
@@ -257,16 +257,17 @@
       const accounts: IKeyringPair[] = [];
       let nonce = await this.helper.chain.getNonce(donor.address);
       const tokenNominal = this.helper.balance.getOneTokenNominal();
+      const ss58Format = this.helper.chain.getChainProperties().ss58Format;
       for (let i = 0; i < accountsToCreate; i++) {
         if (i === 500) { // if there are too many accounts to create
           await Promise.allSettled(transactions); // wait while first 500 (should be 100 for devnode) tx will be settled
           transactions = []; //
           nonce = await this.helper.chain.getNonce(donor.address); // update nonce
         }
-        const recepient = this.helper.util.fromSeed(mnemonicGenerate());
-        accounts.push(recepient);
+        const recipient = this.helper.util.fromSeed(mnemonicGenerate(), ss58Format);
+        accounts.push(recipient);
         if (withBalance !== 0n) {
-          const tx = this.helper.constructApiCall('api.tx.balances.transfer', [{Id: recepient.address}, withBalance * tokenNominal]);
+          const tx = this.helper.constructApiCall('api.tx.balances.transfer', [{Id: recipient.address}, withBalance * tokenNominal]);
           transactions.push(this.helper.signTransaction(donor, tx, {nonce}, 'account generation'));
           nonce++;
         }