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
--- a/pallets/identity/src/weights.rs
+++ b/pallets/identity/src/weights.rs
@@ -76,6 +76,7 @@
 	fn set_fields(r: u32, ) -> Weight;
 	fn provide_judgement(r: u32, x: u32, ) -> Weight;
 	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight;
+	fn set_identities(x: u32, n: u32, ) -> Weight;
 	fn add_sub(s: u32, ) -> Weight;
 	fn rename_sub(s: u32, ) -> Weight;
 	fn remove_sub(s: u32, ) -> Weight;
@@ -245,6 +246,19 @@
 			.saturating_add(T::DbWeight::get().writes(3 as u64))
 			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
 	}
+	// Storage: Identity IdentityOf (r:1 w:1)
+	/// The range of component `x` is `[0, 100]`.
+	/// The range of component `n` is `[0, 600]`.
+	fn set_identities(x: u32, n: u32) -> Weight {
+		// Minimum execution time: 41_872 nanoseconds.
+		Weight::from_ref_time(40_230_216 as u64)
+			// Standard Error: 2_342
+			.saturating_add(Weight::from_ref_time(145_168 as u64))
+			// Standard Error: 457
+			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))
+			.saturating_add(T::DbWeight::get().reads(1 as u64))
+			.saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))
+	}
 	// Storage: Identity IdentityOf (r:1 w:0)
 	// Storage: Identity SuperOf (r:1 w:1)
 	// Storage: Identity SubsOf (r:1 w:1)
@@ -455,6 +469,19 @@
 			.saturating_add(RocksDbWeight::get().writes(3 as u64))
 			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
 	}
+	// Storage: Identity IdentityOf (r:1 w:1)
+	/// The range of component `x` is `[0, 100]`.
+	/// The range of component `n` is `[0, 600]`.
+	fn set_identities(x: u32, n: u32) -> Weight {
+		// Minimum execution time: 41_872 nanoseconds.
+		Weight::from_ref_time(40_230_216 as u64)
+			// Standard Error: 2_342
+			.saturating_add(Weight::from_ref_time(145_168 as u64))
+			// Standard Error: 457
+			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))
+			.saturating_add(RocksDbWeight::get().reads(1 as u64))
+			.saturating_add(RocksDbWeight::get().writes(1 as u64).saturating_mul(n as u64))
+	}
 	// Storage: Identity IdentityOf (r:1 w:0)
 	// Storage: Identity SuperOf (r:1 w:1)
 	// Storage: Identity SubsOf (r:1 w:1)
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
2057 readonly sub: MultiAddress;2057 readonly sub: MultiAddress;
2058 } & Struct;2058 } & Struct;
2059 readonly isQuitSub: boolean;2059 readonly isQuitSub: boolean;
2060 readonly isSetIdentities: boolean;
2061 readonly asSetIdentities: {
2062 readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
2063 } & Struct;
2060 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';2064 readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities';
2061 }2065 }
20622066
2063 /** @name PalletIdentityError (248) */2067 /** @name PalletIdentityError (251) */
2064 interface PalletIdentityError extends Enum {2068 interface PalletIdentityError extends Enum {
2065 readonly isTooManySubAccounts: boolean;2069 readonly isTooManySubAccounts: boolean;
2066 readonly isNotFound: boolean;2070 readonly isNotFound: boolean;
2083 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';2087 readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';
2084 }2088 }
20852089
2086 /** @name PalletBalancesBalanceLock (250) */2090 /** @name PalletBalancesBalanceLock (253) */
2087 interface PalletBalancesBalanceLock extends Struct {2091 interface PalletBalancesBalanceLock extends Struct {
2088 readonly id: U8aFixed;2092 readonly id: U8aFixed;
2089 readonly amount: u128;2093 readonly amount: u128;
2090 readonly reasons: PalletBalancesReasons;2094 readonly reasons: PalletBalancesReasons;
2091 }2095 }
20922096
2093 /** @name PalletBalancesReasons (251) */2097 /** @name PalletBalancesReasons (254) */
2094 interface PalletBalancesReasons extends Enum {2098 interface PalletBalancesReasons extends Enum {
2095 readonly isFee: boolean;2099 readonly isFee: boolean;
2096 readonly isMisc: boolean;2100 readonly isMisc: boolean;
2097 readonly isAll: boolean;2101 readonly isAll: boolean;
2098 readonly type: 'Fee' | 'Misc' | 'All';2102 readonly type: 'Fee' | 'Misc' | 'All';
2099 }2103 }
21002104
2101 /** @name PalletBalancesReserveData (254) */2105 /** @name PalletBalancesReserveData (257) */
2102 interface PalletBalancesReserveData extends Struct {2106 interface PalletBalancesReserveData extends Struct {
2103 readonly id: U8aFixed;2107 readonly id: U8aFixed;
2104 readonly amount: u128;2108 readonly amount: u128;
2105 }2109 }
21062110
2107 /** @name PalletBalancesCall (256) */2111 /** @name PalletBalancesCall (259) */
2108 interface PalletBalancesCall extends Enum {2112 interface PalletBalancesCall extends Enum {
2109 readonly isTransfer: boolean;2113 readonly isTransfer: boolean;
2110 readonly asTransfer: {2114 readonly asTransfer: {
2141 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';2145 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
2142 }2146 }
21432147
2144 /** @name PalletBalancesError (257) */2148 /** @name PalletBalancesError (260) */
2145 interface PalletBalancesError extends Enum {2149 interface PalletBalancesError extends Enum {
2146 readonly isVestingBalance: boolean;2150 readonly isVestingBalance: boolean;
2147 readonly isLiquidityRestrictions: boolean;2151 readonly isLiquidityRestrictions: boolean;
2154 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';2158 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
2155 }2159 }
21562160
2157 /** @name PalletTimestampCall (259) */2161 /** @name PalletTimestampCall (262) */
2158 interface PalletTimestampCall extends Enum {2162 interface PalletTimestampCall extends Enum {
2159 readonly isSet: boolean;2163 readonly isSet: boolean;
2160 readonly asSet: {2164 readonly asSet: {
2163 readonly type: 'Set';2167 readonly type: 'Set';
2164 }2168 }
21652169
2166 /** @name PalletTransactionPaymentReleases (261) */2170 /** @name PalletTransactionPaymentReleases (264) */
2167 interface PalletTransactionPaymentReleases extends Enum {2171 interface PalletTransactionPaymentReleases extends Enum {
2168 readonly isV1Ancient: boolean;2172 readonly isV1Ancient: boolean;
2169 readonly isV2: boolean;2173 readonly isV2: boolean;
2170 readonly type: 'V1Ancient' | 'V2';2174 readonly type: 'V1Ancient' | 'V2';
2171 }2175 }
21722176
2173 /** @name PalletTreasuryProposal (262) */2177 /** @name PalletTreasuryProposal (265) */
2174 interface PalletTreasuryProposal extends Struct {2178 interface PalletTreasuryProposal extends Struct {
2175 readonly proposer: AccountId32;2179 readonly proposer: AccountId32;
2176 readonly value: u128;2180 readonly value: u128;
2177 readonly beneficiary: AccountId32;2181 readonly beneficiary: AccountId32;
2178 readonly bond: u128;2182 readonly bond: u128;
2179 }2183 }
21802184
2181 /** @name PalletTreasuryCall (264) */2185 /** @name PalletTreasuryCall (267) */
2182 interface PalletTreasuryCall extends Enum {2186 interface PalletTreasuryCall extends Enum {
2183 readonly isProposeSpend: boolean;2187 readonly isProposeSpend: boolean;
2184 readonly asProposeSpend: {2188 readonly asProposeSpend: {
2205 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2209 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
2206 }2210 }
22072211
2208 /** @name FrameSupportPalletId (266) */2212 /** @name FrameSupportPalletId (269) */
2209 interface FrameSupportPalletId extends U8aFixed {}2213 interface FrameSupportPalletId extends U8aFixed {}
22102214
2211 /** @name PalletTreasuryError (267) */2215 /** @name PalletTreasuryError (270) */
2212 interface PalletTreasuryError extends Enum {2216 interface PalletTreasuryError extends Enum {
2213 readonly isInsufficientProposersBalance: boolean;2217 readonly isInsufficientProposersBalance: boolean;
2214 readonly isInvalidIndex: boolean;2218 readonly isInvalidIndex: boolean;
2218 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2222 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
2219 }2223 }
22202224
2221 /** @name PalletSudoCall (268) */2225 /** @name PalletSudoCall (271) */
2222 interface PalletSudoCall extends Enum {2226 interface PalletSudoCall extends Enum {
2223 readonly isSudo: boolean;2227 readonly isSudo: boolean;
2224 readonly asSudo: {2228 readonly asSudo: {
2241 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2245 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
2242 }2246 }
22432247
2244 /** @name OrmlVestingModuleCall (270) */2248 /** @name OrmlVestingModuleCall (273) */
2245 interface OrmlVestingModuleCall extends Enum {2249 interface OrmlVestingModuleCall extends Enum {
2246 readonly isClaim: boolean;2250 readonly isClaim: boolean;
2247 readonly isVestedTransfer: boolean;2251 readonly isVestedTransfer: boolean;
2261 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2265 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
2262 }2266 }
22632267
2264 /** @name OrmlXtokensModuleCall (272) */2268 /** @name OrmlXtokensModuleCall (275) */
2265 interface OrmlXtokensModuleCall extends Enum {2269 interface OrmlXtokensModuleCall extends Enum {
2266 readonly isTransfer: boolean;2270 readonly isTransfer: boolean;
2267 readonly asTransfer: {2271 readonly asTransfer: {
2308 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2312 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
2309 }2313 }
23102314
2311 /** @name XcmVersionedMultiAsset (273) */2315 /** @name XcmVersionedMultiAsset (276) */
2312 interface XcmVersionedMultiAsset extends Enum {2316 interface XcmVersionedMultiAsset extends Enum {
2313 readonly isV0: boolean;2317 readonly isV0: boolean;
2314 readonly asV0: XcmV0MultiAsset;2318 readonly asV0: XcmV0MultiAsset;
2317 readonly type: 'V0' | 'V1';2321 readonly type: 'V0' | 'V1';
2318 }2322 }
23192323
2320 /** @name OrmlTokensModuleCall (276) */2324 /** @name OrmlTokensModuleCall (279) */
2321 interface OrmlTokensModuleCall extends Enum {2325 interface OrmlTokensModuleCall extends Enum {
2322 readonly isTransfer: boolean;2326 readonly isTransfer: boolean;
2323 readonly asTransfer: {2327 readonly asTransfer: {
2354 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2358 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
2355 }2359 }
23562360
2357 /** @name CumulusPalletXcmpQueueCall (277) */2361 /** @name CumulusPalletXcmpQueueCall (280) */
2358 interface CumulusPalletXcmpQueueCall extends Enum {2362 interface CumulusPalletXcmpQueueCall extends Enum {
2359 readonly isServiceOverweight: boolean;2363 readonly isServiceOverweight: boolean;
2360 readonly asServiceOverweight: {2364 readonly asServiceOverweight: {
2390 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2394 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
2391 }2395 }
23922396
2393 /** @name PalletXcmCall (278) */2397 /** @name PalletXcmCall (281) */
2394 interface PalletXcmCall extends Enum {2398 interface PalletXcmCall extends Enum {
2395 readonly isSend: boolean;2399 readonly isSend: boolean;
2396 readonly asSend: {2400 readonly asSend: {
2452 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2456 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
2453 }2457 }
24542458
2455 /** @name XcmVersionedXcm (279) */2459 /** @name XcmVersionedXcm (282) */
2456 interface XcmVersionedXcm extends Enum {2460 interface XcmVersionedXcm extends Enum {
2457 readonly isV0: boolean;2461 readonly isV0: boolean;
2458 readonly asV0: XcmV0Xcm;2462 readonly asV0: XcmV0Xcm;
2463 readonly type: 'V0' | 'V1' | 'V2';2467 readonly type: 'V0' | 'V1' | 'V2';
2464 }2468 }
24652469
2466 /** @name XcmV0Xcm (280) */2470 /** @name XcmV0Xcm (283) */
2467 interface XcmV0Xcm extends Enum {2471 interface XcmV0Xcm extends Enum {
2468 readonly isWithdrawAsset: boolean;2472 readonly isWithdrawAsset: boolean;
2469 readonly asWithdrawAsset: {2473 readonly asWithdrawAsset: {
2526 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2530 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
2527 }2531 }
25282532
2529 /** @name XcmV0Order (282) */2533 /** @name XcmV0Order (285) */
2530 interface XcmV0Order extends Enum {2534 interface XcmV0Order extends Enum {
2531 readonly isNull: boolean;2535 readonly isNull: boolean;
2532 readonly isDepositAsset: boolean;2536 readonly isDepositAsset: boolean;
2574 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2578 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
2575 }2579 }
25762580
2577 /** @name XcmV0Response (284) */2581 /** @name XcmV0Response (287) */
2578 interface XcmV0Response extends Enum {2582 interface XcmV0Response extends Enum {
2579 readonly isAssets: boolean;2583 readonly isAssets: boolean;
2580 readonly asAssets: Vec<XcmV0MultiAsset>;2584 readonly asAssets: Vec<XcmV0MultiAsset>;
2581 readonly type: 'Assets';2585 readonly type: 'Assets';
2582 }2586 }
25832587
2584 /** @name XcmV1Xcm (285) */2588 /** @name XcmV1Xcm (288) */
2585 interface XcmV1Xcm extends Enum {2589 interface XcmV1Xcm extends Enum {
2586 readonly isWithdrawAsset: boolean;2590 readonly isWithdrawAsset: boolean;
2587 readonly asWithdrawAsset: {2591 readonly asWithdrawAsset: {
2650 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2654 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
2651 }2655 }
26522656
2653 /** @name XcmV1Order (287) */2657 /** @name XcmV1Order (290) */
2654 interface XcmV1Order extends Enum {2658 interface XcmV1Order extends Enum {
2655 readonly isNoop: boolean;2659 readonly isNoop: boolean;
2656 readonly isDepositAsset: boolean;2660 readonly isDepositAsset: boolean;
2700 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2704 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
2701 }2705 }
27022706
2703 /** @name XcmV1Response (289) */2707 /** @name XcmV1Response (292) */
2704 interface XcmV1Response extends Enum {2708 interface XcmV1Response extends Enum {
2705 readonly isAssets: boolean;2709 readonly isAssets: boolean;
2706 readonly asAssets: XcmV1MultiassetMultiAssets;2710 readonly asAssets: XcmV1MultiassetMultiAssets;
2709 readonly type: 'Assets' | 'Version';2713 readonly type: 'Assets' | 'Version';
2710 }2714 }
27112715
2712 /** @name CumulusPalletXcmCall (303) */2716 /** @name CumulusPalletXcmCall (306) */
2713 type CumulusPalletXcmCall = Null;2717 type CumulusPalletXcmCall = Null;
27142718
2715 /** @name CumulusPalletDmpQueueCall (304) */2719 /** @name CumulusPalletDmpQueueCall (307) */
2716 interface CumulusPalletDmpQueueCall extends Enum {2720 interface CumulusPalletDmpQueueCall extends Enum {
2717 readonly isServiceOverweight: boolean;2721 readonly isServiceOverweight: boolean;
2718 readonly asServiceOverweight: {2722 readonly asServiceOverweight: {
2722 readonly type: 'ServiceOverweight';2726 readonly type: 'ServiceOverweight';
2723 }2727 }
27242728
2725 /** @name PalletInflationCall (305) */2729 /** @name PalletInflationCall (308) */
2726 interface PalletInflationCall extends Enum {2730 interface PalletInflationCall extends Enum {
2727 readonly isStartInflation: boolean;2731 readonly isStartInflation: boolean;
2728 readonly asStartInflation: {2732 readonly asStartInflation: {
2731 readonly type: 'StartInflation';2735 readonly type: 'StartInflation';
2732 }2736 }
27332737
2734 /** @name PalletUniqueCall (306) */2738 /** @name PalletUniqueCall (309) */
2735 interface PalletUniqueCall extends Enum {2739 interface PalletUniqueCall extends Enum {
2736 readonly isCreateCollection: boolean;2740 readonly isCreateCollection: boolean;
2737 readonly asCreateCollection: {2741 readonly asCreateCollection: {
2904 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';2908 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';
2905 }2909 }
29062910
2907 /** @name UpDataStructsCollectionMode (311) */2911 /** @name UpDataStructsCollectionMode (314) */
2908 interface UpDataStructsCollectionMode extends Enum {2912 interface UpDataStructsCollectionMode extends Enum {
2909 readonly isNft: boolean;2913 readonly isNft: boolean;
2910 readonly isFungible: boolean;2914 readonly isFungible: boolean;
2913 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2917 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
2914 }2918 }
29152919
2916 /** @name UpDataStructsCreateCollectionData (312) */2920 /** @name UpDataStructsCreateCollectionData (315) */
2917 interface UpDataStructsCreateCollectionData extends Struct {2921 interface UpDataStructsCreateCollectionData extends Struct {
2918 readonly mode: UpDataStructsCollectionMode;2922 readonly mode: UpDataStructsCollectionMode;
2919 readonly access: Option<UpDataStructsAccessMode>;2923 readonly access: Option<UpDataStructsAccessMode>;
2927 readonly properties: Vec<UpDataStructsProperty>;2931 readonly properties: Vec<UpDataStructsProperty>;
2928 }2932 }
29292933
2930 /** @name UpDataStructsAccessMode (314) */2934 /** @name UpDataStructsAccessMode (317) */
2931 interface UpDataStructsAccessMode extends Enum {2935 interface UpDataStructsAccessMode extends Enum {
2932 readonly isNormal: boolean;2936 readonly isNormal: boolean;
2933 readonly isAllowList: boolean;2937 readonly isAllowList: boolean;
2934 readonly type: 'Normal' | 'AllowList';2938 readonly type: 'Normal' | 'AllowList';
2935 }2939 }
29362940
2937 /** @name UpDataStructsCollectionLimits (316) */2941 /** @name UpDataStructsCollectionLimits (319) */
2938 interface UpDataStructsCollectionLimits extends Struct {2942 interface UpDataStructsCollectionLimits extends Struct {
2939 readonly accountTokenOwnershipLimit: Option<u32>;2943 readonly accountTokenOwnershipLimit: Option<u32>;
2940 readonly sponsoredDataSize: Option<u32>;2944 readonly sponsoredDataSize: Option<u32>;
2947 readonly transfersEnabled: Option<bool>;2951 readonly transfersEnabled: Option<bool>;
2948 }2952 }
29492953
2950 /** @name UpDataStructsSponsoringRateLimit (318) */2954 /** @name UpDataStructsSponsoringRateLimit (321) */
2951 interface UpDataStructsSponsoringRateLimit extends Enum {2955 interface UpDataStructsSponsoringRateLimit extends Enum {
2952 readonly isSponsoringDisabled: boolean;2956 readonly isSponsoringDisabled: boolean;
2953 readonly isBlocks: boolean;2957 readonly isBlocks: boolean;
2954 readonly asBlocks: u32;2958 readonly asBlocks: u32;
2955 readonly type: 'SponsoringDisabled' | 'Blocks';2959 readonly type: 'SponsoringDisabled' | 'Blocks';
2956 }2960 }
29572961
2958 /** @name UpDataStructsCollectionPermissions (321) */2962 /** @name UpDataStructsCollectionPermissions (324) */
2959 interface UpDataStructsCollectionPermissions extends Struct {2963 interface UpDataStructsCollectionPermissions extends Struct {
2960 readonly access: Option<UpDataStructsAccessMode>;2964 readonly access: Option<UpDataStructsAccessMode>;
2961 readonly mintMode: Option<bool>;2965 readonly mintMode: Option<bool>;
2962 readonly nesting: Option<UpDataStructsNestingPermissions>;2966 readonly nesting: Option<UpDataStructsNestingPermissions>;
2963 }2967 }
29642968
2965 /** @name UpDataStructsNestingPermissions (323) */2969 /** @name UpDataStructsNestingPermissions (326) */
2966 interface UpDataStructsNestingPermissions extends Struct {2970 interface UpDataStructsNestingPermissions extends Struct {
2967 readonly tokenOwner: bool;2971 readonly tokenOwner: bool;
2968 readonly collectionAdmin: bool;2972 readonly collectionAdmin: bool;
2969 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2973 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
2970 }2974 }
29712975
2972 /** @name UpDataStructsOwnerRestrictedSet (325) */2976 /** @name UpDataStructsOwnerRestrictedSet (328) */
2973 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}2977 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
29742978
2975 /** @name UpDataStructsPropertyKeyPermission (330) */2979 /** @name UpDataStructsPropertyKeyPermission (333) */
2976 interface UpDataStructsPropertyKeyPermission extends Struct {2980 interface UpDataStructsPropertyKeyPermission extends Struct {
2977 readonly key: Bytes;2981 readonly key: Bytes;
2978 readonly permission: UpDataStructsPropertyPermission;2982 readonly permission: UpDataStructsPropertyPermission;
2979 }2983 }
29802984
2981 /** @name UpDataStructsPropertyPermission (331) */2985 /** @name UpDataStructsPropertyPermission (334) */
2982 interface UpDataStructsPropertyPermission extends Struct {2986 interface UpDataStructsPropertyPermission extends Struct {
2983 readonly mutable: bool;2987 readonly mutable: bool;
2984 readonly collectionAdmin: bool;2988 readonly collectionAdmin: bool;
2985 readonly tokenOwner: bool;2989 readonly tokenOwner: bool;
2986 }2990 }
29872991
2988 /** @name UpDataStructsProperty (334) */2992 /** @name UpDataStructsProperty (337) */
2989 interface UpDataStructsProperty extends Struct {2993 interface UpDataStructsProperty extends Struct {
2990 readonly key: Bytes;2994 readonly key: Bytes;
2991 readonly value: Bytes;2995 readonly value: Bytes;
2992 }2996 }
29932997
2994 /** @name UpDataStructsCreateItemData (337) */2998 /** @name UpDataStructsCreateItemData (340) */
2995 interface UpDataStructsCreateItemData extends Enum {2999 interface UpDataStructsCreateItemData extends Enum {
2996 readonly isNft: boolean;3000 readonly isNft: boolean;
2997 readonly asNft: UpDataStructsCreateNftData;3001 readonly asNft: UpDataStructsCreateNftData;
3002 readonly type: 'Nft' | 'Fungible' | 'ReFungible';3006 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
3003 }3007 }
30043008
3005 /** @name UpDataStructsCreateNftData (338) */3009 /** @name UpDataStructsCreateNftData (341) */
3006 interface UpDataStructsCreateNftData extends Struct {3010 interface UpDataStructsCreateNftData extends Struct {
3007 readonly properties: Vec<UpDataStructsProperty>;3011 readonly properties: Vec<UpDataStructsProperty>;
3008 }3012 }
30093013
3010 /** @name UpDataStructsCreateFungibleData (339) */3014 /** @name UpDataStructsCreateFungibleData (342) */
3011 interface UpDataStructsCreateFungibleData extends Struct {3015 interface UpDataStructsCreateFungibleData extends Struct {
3012 readonly value: u128;3016 readonly value: u128;
3013 }3017 }
30143018
3015 /** @name UpDataStructsCreateReFungibleData (340) */3019 /** @name UpDataStructsCreateReFungibleData (343) */
3016 interface UpDataStructsCreateReFungibleData extends Struct {3020 interface UpDataStructsCreateReFungibleData extends Struct {
3017 readonly pieces: u128;3021 readonly pieces: u128;
3018 readonly properties: Vec<UpDataStructsProperty>;3022 readonly properties: Vec<UpDataStructsProperty>;
3019 }3023 }
30203024
3021 /** @name UpDataStructsCreateItemExData (343) */3025 /** @name UpDataStructsCreateItemExData (346) */
3022 interface UpDataStructsCreateItemExData extends Enum {3026 interface UpDataStructsCreateItemExData extends Enum {
3023 readonly isNft: boolean;3027 readonly isNft: boolean;
3024 readonly asNft: Vec<UpDataStructsCreateNftExData>;3028 readonly asNft: Vec<UpDataStructsCreateNftExData>;
3031 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';3035 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
3032 }3036 }
30333037
3034 /** @name UpDataStructsCreateNftExData (345) */3038 /** @name UpDataStructsCreateNftExData (348) */
3035 interface UpDataStructsCreateNftExData extends Struct {3039 interface UpDataStructsCreateNftExData extends Struct {
3036 readonly properties: Vec<UpDataStructsProperty>;3040 readonly properties: Vec<UpDataStructsProperty>;
3037 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3041 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
3038 }3042 }
30393043
3040 /** @name UpDataStructsCreateRefungibleExSingleOwner (352) */3044 /** @name UpDataStructsCreateRefungibleExSingleOwner (355) */
3041 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {3045 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
3042 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;3046 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
3043 readonly pieces: u128;3047 readonly pieces: u128;
3044 readonly properties: Vec<UpDataStructsProperty>;3048 readonly properties: Vec<UpDataStructsProperty>;
3045 }3049 }
30463050
3047 /** @name UpDataStructsCreateRefungibleExMultipleOwners (354) */3051 /** @name UpDataStructsCreateRefungibleExMultipleOwners (357) */
3048 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {3052 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
3049 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;3053 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
3050 readonly properties: Vec<UpDataStructsProperty>;3054 readonly properties: Vec<UpDataStructsProperty>;
3051 }3055 }
30523056
3053 /** @name PalletConfigurationCall (355) */3057 /** @name PalletConfigurationCall (358) */
3054 interface PalletConfigurationCall extends Enum {3058 interface PalletConfigurationCall extends Enum {
3055 readonly isSetWeightToFeeCoefficientOverride: boolean;3059 readonly isSetWeightToFeeCoefficientOverride: boolean;
3056 readonly asSetWeightToFeeCoefficientOverride: {3060 readonly asSetWeightToFeeCoefficientOverride: {
3083 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';3087 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
3084 }3088 }
30853089
3086 /** @name PalletConfigurationAppPromotionConfiguration (360) */3090 /** @name PalletConfigurationAppPromotionConfiguration (363) */
3087 interface PalletConfigurationAppPromotionConfiguration extends Struct {3091 interface PalletConfigurationAppPromotionConfiguration extends Struct {
3088 readonly recalculationInterval: Option<u32>;3092 readonly recalculationInterval: Option<u32>;
3089 readonly pendingInterval: Option<u32>;3093 readonly pendingInterval: Option<u32>;
3090 readonly intervalIncome: Option<Perbill>;3094 readonly intervalIncome: Option<Perbill>;
3091 readonly maxStakersPerCalculation: Option<u8>;3095 readonly maxStakersPerCalculation: Option<u8>;
3092 }3096 }
30933097
3094 /** @name PalletTemplateTransactionPaymentCall (364) */3098 /** @name PalletTemplateTransactionPaymentCall (367) */
3095 type PalletTemplateTransactionPaymentCall = Null;3099 type PalletTemplateTransactionPaymentCall = Null;
30963100
3097 /** @name PalletStructureCall (365) */3101 /** @name PalletStructureCall (368) */
3098 type PalletStructureCall = Null;3102 type PalletStructureCall = Null;
30993103
3100 /** @name PalletRmrkCoreCall (366) */3104 /** @name PalletRmrkCoreCall (369) */
3101 interface PalletRmrkCoreCall extends Enum {3105 interface PalletRmrkCoreCall extends Enum {
3102 readonly isCreateCollection: boolean;3106 readonly isCreateCollection: boolean;
3103 readonly asCreateCollection: {3107 readonly asCreateCollection: {
3203 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';3207 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
3204 }3208 }
32053209
3206 /** @name RmrkTraitsResourceResourceTypes (372) */3210 /** @name RmrkTraitsResourceResourceTypes (375) */
3207 interface RmrkTraitsResourceResourceTypes extends Enum {3211 interface RmrkTraitsResourceResourceTypes extends Enum {
3208 readonly isBasic: boolean;3212 readonly isBasic: boolean;
3209 readonly asBasic: RmrkTraitsResourceBasicResource;3213 readonly asBasic: RmrkTraitsResourceBasicResource;
3214 readonly type: 'Basic' | 'Composable' | 'Slot';3218 readonly type: 'Basic' | 'Composable' | 'Slot';
3215 }3219 }
32163220
3217 /** @name RmrkTraitsResourceBasicResource (374) */3221 /** @name RmrkTraitsResourceBasicResource (377) */
3218 interface RmrkTraitsResourceBasicResource extends Struct {3222 interface RmrkTraitsResourceBasicResource extends Struct {
3219 readonly src: Option<Bytes>;3223 readonly src: Option<Bytes>;
3220 readonly metadata: Option<Bytes>;3224 readonly metadata: Option<Bytes>;
3221 readonly license: Option<Bytes>;3225 readonly license: Option<Bytes>;
3222 readonly thumb: Option<Bytes>;3226 readonly thumb: Option<Bytes>;
3223 }3227 }
32243228
3225 /** @name RmrkTraitsResourceComposableResource (376) */3229 /** @name RmrkTraitsResourceComposableResource (379) */
3226 interface RmrkTraitsResourceComposableResource extends Struct {3230 interface RmrkTraitsResourceComposableResource extends Struct {
3227 readonly parts: Vec<u32>;3231 readonly parts: Vec<u32>;
3228 readonly base: u32;3232 readonly base: u32;
3232 readonly thumb: Option<Bytes>;3236 readonly thumb: Option<Bytes>;
3233 }3237 }
32343238
3235 /** @name RmrkTraitsResourceSlotResource (377) */3239 /** @name RmrkTraitsResourceSlotResource (380) */
3236 interface RmrkTraitsResourceSlotResource extends Struct {3240 interface RmrkTraitsResourceSlotResource extends Struct {
3237 readonly base: u32;3241 readonly base: u32;
3238 readonly src: Option<Bytes>;3242 readonly src: Option<Bytes>;
3242 readonly thumb: Option<Bytes>;3246 readonly thumb: Option<Bytes>;
3243 }3247 }
32443248
3245 /** @name PalletRmrkEquipCall (380) */3249 /** @name PalletRmrkEquipCall (383) */
3246 interface PalletRmrkEquipCall extends Enum {3250 interface PalletRmrkEquipCall extends Enum {
3247 readonly isCreateBase: boolean;3251 readonly isCreateBase: boolean;
3248 readonly asCreateBase: {3252 readonly asCreateBase: {
3264 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';3268 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
3265 }3269 }
32663270
3267 /** @name RmrkTraitsPartPartType (383) */3271 /** @name RmrkTraitsPartPartType (386) */
3268 interface RmrkTraitsPartPartType extends Enum {3272 interface RmrkTraitsPartPartType extends Enum {
3269 readonly isFixedPart: boolean;3273 readonly isFixedPart: boolean;
3270 readonly asFixedPart: RmrkTraitsPartFixedPart;3274 readonly asFixedPart: RmrkTraitsPartFixedPart;
3273 readonly type: 'FixedPart' | 'SlotPart';3277 readonly type: 'FixedPart' | 'SlotPart';
3274 }3278 }
32753279
3276 /** @name RmrkTraitsPartFixedPart (385) */3280 /** @name RmrkTraitsPartFixedPart (388) */
3277 interface RmrkTraitsPartFixedPart extends Struct {3281 interface RmrkTraitsPartFixedPart extends Struct {
3278 readonly id: u32;3282 readonly id: u32;
3279 readonly z: u32;3283 readonly z: u32;
3280 readonly src: Bytes;3284 readonly src: Bytes;
3281 }3285 }
32823286
3283 /** @name RmrkTraitsPartSlotPart (386) */3287 /** @name RmrkTraitsPartSlotPart (389) */
3284 interface RmrkTraitsPartSlotPart extends Struct {3288 interface RmrkTraitsPartSlotPart extends Struct {
3285 readonly id: u32;3289 readonly id: u32;
3286 readonly equippable: RmrkTraitsPartEquippableList;3290 readonly equippable: RmrkTraitsPartEquippableList;
3287 readonly src: Bytes;3291 readonly src: Bytes;
3288 readonly z: u32;3292 readonly z: u32;
3289 }3293 }
32903294
3291 /** @name RmrkTraitsPartEquippableList (387) */3295 /** @name RmrkTraitsPartEquippableList (390) */
3292 interface RmrkTraitsPartEquippableList extends Enum {3296 interface RmrkTraitsPartEquippableList extends Enum {
3293 readonly isAll: boolean;3297 readonly isAll: boolean;
3294 readonly isEmpty: boolean;3298 readonly isEmpty: boolean;
3297 readonly type: 'All' | 'Empty' | 'Custom';3301 readonly type: 'All' | 'Empty' | 'Custom';
3298 }3302 }
32993303
3300 /** @name RmrkTraitsTheme (389) */3304 /** @name RmrkTraitsTheme (392) */
3301 interface RmrkTraitsTheme extends Struct {3305 interface RmrkTraitsTheme extends Struct {
3302 readonly name: Bytes;3306 readonly name: Bytes;
3303 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3307 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
3304 readonly inherit: bool;3308 readonly inherit: bool;
3305 }3309 }
33063310
3307 /** @name RmrkTraitsThemeThemeProperty (391) */3311 /** @name RmrkTraitsThemeThemeProperty (394) */
3308 interface RmrkTraitsThemeThemeProperty extends Struct {3312 interface RmrkTraitsThemeThemeProperty extends Struct {
3309 readonly key: Bytes;3313 readonly key: Bytes;
3310 readonly value: Bytes;3314 readonly value: Bytes;
3311 }3315 }
33123316
3313 /** @name PalletAppPromotionCall (393) */3317 /** @name PalletAppPromotionCall (396) */
3314 interface PalletAppPromotionCall extends Enum {3318 interface PalletAppPromotionCall extends Enum {
3315 readonly isSetAdminAddress: boolean;3319 readonly isSetAdminAddress: boolean;
3316 readonly asSetAdminAddress: {3320 readonly asSetAdminAddress: {
3344 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3348 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
3345 }3349 }
33463350
3347 /** @name PalletForeignAssetsModuleCall (394) */3351 /** @name PalletForeignAssetsModuleCall (397) */
3348 interface PalletForeignAssetsModuleCall extends Enum {3352 interface PalletForeignAssetsModuleCall extends Enum {
3349 readonly isRegisterForeignAsset: boolean;3353 readonly isRegisterForeignAsset: boolean;
3350 readonly asRegisterForeignAsset: {3354 readonly asRegisterForeignAsset: {
3361 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3365 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
3362 }3366 }
33633367
3364 /** @name PalletEvmCall (395) */3368 /** @name PalletEvmCall (398) */
3365 interface PalletEvmCall extends Enum {3369 interface PalletEvmCall extends Enum {
3366 readonly isWithdraw: boolean;3370 readonly isWithdraw: boolean;
3367 readonly asWithdraw: {3371 readonly asWithdraw: {
3406 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3410 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
3407 }3411 }
34083412
3409 /** @name PalletEthereumCall (401) */3413 /** @name PalletEthereumCall (404) */
3410 interface PalletEthereumCall extends Enum {3414 interface PalletEthereumCall extends Enum {
3411 readonly isTransact: boolean;3415 readonly isTransact: boolean;
3412 readonly asTransact: {3416 readonly asTransact: {
3415 readonly type: 'Transact';3419 readonly type: 'Transact';
3416 }3420 }
34173421
3418 /** @name EthereumTransactionTransactionV2 (402) */3422 /** @name EthereumTransactionTransactionV2 (405) */
3419 interface EthereumTransactionTransactionV2 extends Enum {3423 interface EthereumTransactionTransactionV2 extends Enum {
3420 readonly isLegacy: boolean;3424 readonly isLegacy: boolean;
3421 readonly asLegacy: EthereumTransactionLegacyTransaction;3425 readonly asLegacy: EthereumTransactionLegacyTransaction;
3426 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3430 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
3427 }3431 }
34283432
3429 /** @name EthereumTransactionLegacyTransaction (403) */3433 /** @name EthereumTransactionLegacyTransaction (406) */
3430 interface EthereumTransactionLegacyTransaction extends Struct {3434 interface EthereumTransactionLegacyTransaction extends Struct {
3431 readonly nonce: U256;3435 readonly nonce: U256;
3432 readonly gasPrice: U256;3436 readonly gasPrice: U256;
3437 readonly signature: EthereumTransactionTransactionSignature;3441 readonly signature: EthereumTransactionTransactionSignature;
3438 }3442 }
34393443
3440 /** @name EthereumTransactionTransactionAction (404) */3444 /** @name EthereumTransactionTransactionAction (407) */
3441 interface EthereumTransactionTransactionAction extends Enum {3445 interface EthereumTransactionTransactionAction extends Enum {
3442 readonly isCall: boolean;3446 readonly isCall: boolean;
3443 readonly asCall: H160;3447 readonly asCall: H160;
3444 readonly isCreate: boolean;3448 readonly isCreate: boolean;
3445 readonly type: 'Call' | 'Create';3449 readonly type: 'Call' | 'Create';
3446 }3450 }
34473451
3448 /** @name EthereumTransactionTransactionSignature (405) */3452 /** @name EthereumTransactionTransactionSignature (408) */
3449 interface EthereumTransactionTransactionSignature extends Struct {3453 interface EthereumTransactionTransactionSignature extends Struct {
3450 readonly v: u64;3454 readonly v: u64;
3451 readonly r: H256;3455 readonly r: H256;
3452 readonly s: H256;3456 readonly s: H256;
3453 }3457 }
34543458
3455 /** @name EthereumTransactionEip2930Transaction (407) */3459 /** @name EthereumTransactionEip2930Transaction (410) */
3456 interface EthereumTransactionEip2930Transaction extends Struct {3460 interface EthereumTransactionEip2930Transaction extends Struct {
3457 readonly chainId: u64;3461 readonly chainId: u64;
3458 readonly nonce: U256;3462 readonly nonce: U256;
3467 readonly s: H256;3471 readonly s: H256;
3468 }3472 }
34693473
3470 /** @name EthereumTransactionAccessListItem (409) */3474 /** @name EthereumTransactionAccessListItem (412) */
3471 interface EthereumTransactionAccessListItem extends Struct {3475 interface EthereumTransactionAccessListItem extends Struct {
3472 readonly address: H160;3476 readonly address: H160;
3473 readonly storageKeys: Vec<H256>;3477 readonly storageKeys: Vec<H256>;
3474 }3478 }
34753479
3476 /** @name EthereumTransactionEip1559Transaction (410) */3480 /** @name EthereumTransactionEip1559Transaction (413) */
3477 interface EthereumTransactionEip1559Transaction extends Struct {3481 interface EthereumTransactionEip1559Transaction extends Struct {
3478 readonly chainId: u64;3482 readonly chainId: u64;
3479 readonly nonce: U256;3483 readonly nonce: U256;
3489 readonly s: H256;3493 readonly s: H256;
3490 }3494 }
34913495
3492 /** @name PalletDataManagementCall (411) */3496 /** @name PalletDataManagementCall (414) */
3493 interface PalletDataManagementCall extends Enum {3497 interface PalletDataManagementCall extends Enum {
3494 readonly isBegin: boolean;3498 readonly isBegin: boolean;
3495 readonly asBegin: {3499 readonly asBegin: {
3513 readonly asInsertEvents: {3517 readonly asInsertEvents: {
3514 readonly events: Vec<Bytes>;3518 readonly events: Vec<Bytes>;
3515 } & Struct;3519 } & Struct;
3516 readonly isSetIdentities: boolean;
3517 readonly asSetIdentities: {
3518 readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
3519 } & Struct;
3520 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'SetIdentities';3520 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
3521 }3521 }
35223522
3523 /** @name PalletMaintenanceCall (418) */3523 /** @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++;
         }