--- a/Cargo.lock +++ b/Cargo.lock @@ -6054,7 +6054,6 @@ "frame-support", "frame-system", "pallet-evm", - "pallet-identity 4.0.0-dev", "parity-scale-codec 3.2.1", "scale-info", "sp-core", --- a/pallets/evm-migration/Cargo.toml +++ b/pallets/evm-migration/Cargo.toml @@ -16,7 +16,6 @@ sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" } sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" } sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" } -pallet-identity = { default-features = false, path = "../identity" } pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" } fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" } --- a/pallets/identity/src/benchmarking.rs +++ b/pallets/identity/src/benchmarking.rs @@ -41,7 +41,7 @@ use crate::Pallet as Identity; use frame_benchmarking::{account, benchmarks, whitelisted_caller}; use frame_support::{ - ensure, + ensure, assert_ok, traits::{EnsureOrigin, Get}, }; use frame_system::RawOrigin; @@ -412,21 +412,40 @@ ensure!(!IdentityOf::::contains_key(&target), "Identity not removed"); } - set_identities { + force_insert_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::, T::MaxRegistrars, T::MaxAdditionalFields> { + Registration::, T::MaxRegistrars, T::MaxAdditionalFields> { judgements: Default::default(), deposit: Default::default(), info: create_identity_info::(x), - }), + }, )).collect::>(); let origin = T::ForceOrigin::successful_origin(); }: _(origin, identities) + force_remove_identities { + let x in 0 .. T::MaxAdditionalFields::get(); + let n in 0..600; + use frame_benchmarking::account; + let origin = T::ForceOrigin::successful_origin(); + let identities = (0..n).map(|i| ( + account("caller", i, 0), + Registration::, T::MaxRegistrars, T::MaxAdditionalFields> { + judgements: Default::default(), + deposit: Default::default(), + info: create_identity_info::(x), + }, + )).collect::>(); + assert_ok!( + Identity::::force_insert_identities(origin.clone(), identities.clone()), + ); + let identities = identities.into_iter().map(|(acc, _)| acc).collect::>(); + }: _(origin, identities) + add_sub { let s in 0 .. T::MaxSubAccounts::get() - 1; --- a/pallets/identity/src/lib.rs +++ b/pallets/identity/src/lib.rs @@ -177,7 +177,7 @@ /// TWOX-NOTE: OK ― `AccountId` is a secure hash. #[pallet::storage] #[pallet::getter(fn identity)] - pub type IdentityOf = StorageMap< + pub(super) type IdentityOf = StorageMap< _, Twox64Concat, T::AccountId, @@ -274,6 +274,10 @@ who: T::AccountId, deposit: BalanceOf, }, + /// A number of identities and associated info were forcibly inserted. + IdentitiesInserted { amount: u32 }, + /// A number of identities and all associated info were forcibly removed. + IdentitiesRemoved { amount: u32 }, /// A judgement was asked from a registrar. JudgementRequested { who: T::AccountId, @@ -1090,23 +1094,54 @@ Ok(()) } - /// Insert or remove identities. + /// Set identities to be associated with the provided accounts as force origin. + /// + /// This is not meant to operate in tandem with the identity pallet as is, + /// and be instead used to keep identities made and verified externally, + /// forbidden from interacting with an ordinary user, since it ignores any safety mechanism. #[pallet::call_index(15)] - #[pallet::weight(T::WeightInfo::set_identities( + #[pallet::weight(T::WeightInfo::force_insert_identities( T::MaxAdditionalFields::get(), // X identities.len() as u32, // N - ))] // todo:collator weight - pub fn set_identities( + ))] + pub fn force_insert_identities( origin: OriginFor, identities: Vec<( T::AccountId, - Option, T::MaxRegistrars, T::MaxAdditionalFields>>, + Registration, T::MaxRegistrars, T::MaxAdditionalFields>, )>, ) -> DispatchResult { T::ForceOrigin::ensure_origin(origin)?; - for identity in identities { - IdentityOf::::set(identity.0, identity.1); + for identity in identities.clone() { + IdentityOf::::insert(identity.0, identity.1); } + Self::deposit_event(Event::IdentitiesInserted { + amount: identities.len() as u32, + }); + Ok(()) + } + + /// Remove identities associated with the provided accounts as force origin. + /// + /// This is not meant to operate in tandem with the identity pallet as is, + /// and be instead used to keep identities made and verified externally, + /// forbidden from interacting with an ordinary user, since it ignores any safety mechanism. + #[pallet::call_index(16)] + #[pallet::weight(T::WeightInfo::force_remove_identities( + T::MaxAdditionalFields::get(), // X + identities.len() as u32, // N + ))] + pub fn force_remove_identities( + origin: OriginFor, + identities: Vec, + ) -> DispatchResult { + T::ForceOrigin::ensure_origin(origin)?; + for identity in identities.clone() { + IdentityOf::::set(identity, None); + } + Self::deposit_event(Event::IdentitiesRemoved { + amount: identities.len() as u32, + }); Ok(()) } } --- a/pallets/identity/src/weights.rs +++ b/pallets/identity/src/weights.rs @@ -76,7 +76,8 @@ 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 force_insert_identities(x: u32, n: u32, ) -> Weight; + fn force_remove_identities(x: u32, n: u32, ) -> Weight; fn add_sub(s: u32, ) -> Weight; fn rename_sub(s: u32, ) -> Weight; fn remove_sub(s: u32, ) -> Weight; @@ -249,7 +250,7 @@ // 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 { + fn force_insert_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 @@ -259,6 +260,19 @@ .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:1) + /// The range of component `x` is `[0, 100]`. + /// The range of component `n` is `[0, 600]`. + fn force_remove_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) @@ -472,7 +486,20 @@ // 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 { + fn force_insert_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:1) + /// The range of component `x` is `[0, 100]`. + /// The range of component `n` is `[0, 600]`. + fn force_remove_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 --- a/runtime/common/config/pallets/mod.rs +++ b/runtime/common/config/pallets/mod.rs @@ -25,7 +25,7 @@ }, Runtime, RuntimeEvent, RuntimeCall, Balances, }; -use frame_support::traits::{ConstU32, ConstU64, ConstU128}; +use frame_support::traits::{ConstU32, ConstU64}; use up_common::{ types::{AccountId, Balance, BlockNumber}, constants::*, @@ -105,6 +105,7 @@ parameter_types! { pub AppPromotionDailyRate: Perbill = Perbill::from_rational(5u32, 10_000); pub const MaxCollators: u32 = MAX_COLLATORS; + pub const LicenseBond: Balance = GENESIS_LICENSE_BOND; pub const SessionPeriod: BlockNumber = SESSION_LENGTH; pub const DayRelayBlocks: BlockNumber = RELAY_DAYS; } @@ -116,8 +117,7 @@ type DefaultMinGasPrice = ConstU64<{ up_common::constants::MIN_GAS_PRICE }>; type DefaultCollatorSelectionMaxCollators = MaxCollators; type DefaultCollatorSelectionKickThreshold = SessionPeriod; - type DefaultCollatorSelectionLicenseBond = - ConstU128<{ up_common::constants::GENESIS_LICENSE_BOND }>; + type DefaultCollatorSelectionLicenseBond = LicenseBond; type MaxXcmAllowedLocations = ConstU32<16>; type AppPromotionDailyRate = AppPromotionDailyRate; type DayRelayBlocks = DayRelayBlocks; --- a/tests/package.json +++ b/tests/package.json @@ -89,6 +89,7 @@ "testPalletPresence": "mocha --timeout 9999999 -r ts-node/register ./**/pallet-presence.test.ts", "testBlockProduction": "mocha --timeout 9999999 -r ts-node/register ./**/block-production.test.ts", "testCollatorSelection": "mocha --timeout 9999999 -r ts-node/register ./**/collatorSelection.*test.ts", + "testIdentity": "mocha --timeout 9999999 -r ts-node/register ./**/identity.*test.ts", "testEnableDisableTransfers": "mocha --timeout 9999999 -r ts-node/register ./**/enableDisableTransfer.test.ts", "testLimits": "mocha --timeout 9999999 -r ts-node/register ./**/limits.test.ts", "testEthCreateNFTCollection": "mocha --timeout 9999999 -r ts-node/register ./**/eth/createNFTCollection.test.ts", --- /dev/null +++ b/tests/src/identity.seqtest.ts @@ -0,0 +1,101 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + +import {IKeyringPair} from '@polkadot/types/types'; +import {usingPlaygrounds, expect, itSub, Pallets, requirePalletsOrSkip} from './util'; +import {UniqueHelper} from './util/playgrounds/unique'; + +async function getIdentities(helper: UniqueHelper) { + const identities: [string, any][] = []; + for(const [key, value] of await helper.getApi().query.identity.identityOf.entries()) + identities.push([(key as any).toHuman(), (value as any).unwrap()]); + return identities; +} + +async function getIdentityAccounts(helper: UniqueHelper) { + return (await getIdentities(helper)).flatMap(([key, _value]) => key); +} + +describe('Integration Test: Identities Manipulation', () => { + let superuser: IKeyringPair; + + before(async function() { + await usingPlaygrounds(async (helper, privateKey) => { + requirePalletsOrSkip(this, helper, [Pallets.Identity]); + superuser = await privateKey('//Alice'); + }); + }); + + itSub('Normal calls do not work', async ({helper}) => { + // console.error = () => {}; + await expect(helper.executeExtrinsic(superuser, 'api.tx.identity.setIdentity', [{info: {display: {Raw: 'Meowser'}}}])) + .to.be.rejectedWith(/Transaction call is not expected/); + }); + + itSub('Sets identities', async ({helper}) => { + const oldIdentitiesCount = (await getIdentityAccounts(helper)).length; + + const crowdSize = 10; + const crowd = await helper.arrange.createCrowd(crowdSize, 0n, superuser); + const identities = crowd.map((acc, i) => [acc.address, {info: {display: {Raw: `accounter #${i}`}}}]); + await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [identities]); + + expect((await getIdentityAccounts(helper)).length).to.be.equal(oldIdentitiesCount + crowdSize); + }); + + itSub('Setting identities does not delete existing but does overwrite', async ({helper}) => { + const crowd = await helper.arrange.createCrowd(10, 0n, superuser); + const identities = crowd.map((acc, i) => [acc.address, {info: {display: {Raw: `accounter #${i}`}}}]); + + // insert a single identity + let singleIdentity = identities.pop()!; + await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [[singleIdentity]]); + + const oldIdentitiesCount = (await getIdentityAccounts(helper)).length; + + // change an identity and push it with a few new others + singleIdentity = [singleIdentity[0], {info: {display: {Raw: 'something special'}}}]; + identities.push(singleIdentity); + await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [identities]); + + // oldIdentitiesCount + 9 because one identity is overwritten, not inserted on top + expect((await getIdentityAccounts(helper)).length).to.be.equal(oldIdentitiesCount + 9); + expect((await helper.callRpc('api.query.identity.identityOf', [singleIdentity[0]])).toHuman().info.display) + .to.be.deep.equal({Raw: 'something special'}); + }); + + itSub('Removes identities', async ({helper}) => { + const crowd = await helper.arrange.createCrowd(10, 0n, superuser); + const identities = crowd.map((acc, i) => [acc.address, {info: {display: {Raw: `accounter #${i}`}}}]); + await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [identities]); + const oldIdentities = await getIdentityAccounts(helper); + + // delete a couple, check that they are no longer there + const scapegoats = [crowd.pop()!.address, crowd.pop()!.address]; + await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceRemoveIdentities', [scapegoats]); + const newIdentities = await getIdentityAccounts(helper); + expect(newIdentities.concat(scapegoats)).to.be.have.members(oldIdentities); + }); + + after(async function() { + await usingPlaygrounds(async helper => { + if (helper.fetchMissingPalletNames([Pallets.Identity]).length != 0) return; + + const identitiesToRemove: string[] = await getIdentityAccounts(helper); + await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceRemoveIdentities', [identitiesToRemove]); + }); + }); +}); --- a/tests/src/interfaces/augment-api-errors.ts +++ b/tests/src/interfaces/augment-api-errors.ts @@ -334,24 +334,6 @@ **/ [key: string]: AugmentedError; }; - evmMigration: { - /** - * Migration of this account is not yet started, or already finished. - **/ - AccountIsNotMigrating: AugmentedError; - /** - * Can only migrate to empty address. - **/ - AccountNotEmpty: AugmentedError; - /** - * Failed to decode event bytes - **/ - BadEvent: AugmentedError; - /** - * Generic error - **/ - [key: string]: AugmentedError; - }; dmpQueue: { /** * The amount of weight given is possibly not enough for executing the message. @@ -456,6 +438,24 @@ **/ [key: string]: AugmentedError; }; + evmMigration: { + /** + * Migration of this account is not yet started, or already finished. + **/ + AccountIsNotMigrating: AugmentedError; + /** + * Can only migrate to empty address. + **/ + AccountNotEmpty: AugmentedError; + /** + * Failed to decode event bytes + **/ + BadEvent: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; foreignAssets: { /** * AssetId exists --- a/tests/src/interfaces/augment-api-events.ts +++ b/tests/src/interfaces/augment-api-events.ts @@ -236,16 +236,6 @@ **/ [key: string]: AugmentedEvent; }; - evmMigration: { - /** - * This event is used in benchmarking and can be used for tests - **/ - TestEvent: AugmentedEvent; - /** - * Generic event - **/ - [key: string]: AugmentedEvent; - }; dmpQueue: { /** * Downward message executed with the given outcome. @@ -330,6 +320,16 @@ **/ [key: string]: AugmentedEvent; }; + evmMigration: { + /** + * This event is used in benchmarking and can be used for tests + **/ + TestEvent: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; foreignAssets: { /** * The asset registered. @@ -354,6 +354,14 @@ }; identity: { /** + * A number of identities and associated info were forcibly inserted. + **/ + IdentitiesInserted: AugmentedEvent; + /** + * A number of identities and all associated info were forcibly removed. + **/ + IdentitiesRemoved: AugmentedEvent; + /** * A name was cleared, and the given balance returned. **/ IdentityCleared: AugmentedEvent; --- a/tests/src/interfaces/augment-api-query.ts +++ b/tests/src/interfaces/augment-api-query.ts @@ -211,13 +211,6 @@ **/ [key: string]: QueryableStorageEntry; }; - evmMigration: { - migrationPending: AugmentedQuery Observable, [H160]> & QueryableStorageEntry; - /** - * Generic query - **/ - [key: string]: QueryableStorageEntry; - }; dmpQueue: { /** * The configuration. @@ -354,6 +347,13 @@ **/ [key: string]: QueryableStorageEntry; }; + evmMigration: { + migrationPending: AugmentedQuery Observable, [H160]> & QueryableStorageEntry; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry; + }; foreignAssets: { /** * The storages for assets to fungible collection binding --- a/tests/src/interfaces/augment-api-tx.ts +++ b/tests/src/interfaces/augment-api-tx.ts @@ -292,36 +292,6 @@ **/ [key: string]: SubmittableExtrinsicFunction; }; - evmMigration: { - /** - * Start contract migration, inserts contract stub at target address, - * and marks account as pending, allowing to insert storage - **/ - begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; - /** - * Finish contract migration, allows it to be called. - * It is not possible to alter contract storage via [`Self::set_data`] - * after this call. - **/ - finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [H160, Bytes]>; - /** - * Create ethereum events attached to the fake transaction - **/ - insertEthLogs: AugmentedSubmittable<(logs: Vec | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Create substrate events - **/ - insertEvents: AugmentedSubmittable<(events: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Insert items into contract storage, this method can be called - * multiple times - **/ - setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic, [H160, Vec>]>; - /** - * Generic tx - **/ - [key: string]: SubmittableExtrinsicFunction; - }; dmpQueue: { /** * Service a single overweight message. @@ -376,6 +346,36 @@ **/ [key: string]: SubmittableExtrinsicFunction; }; + evmMigration: { + /** + * Start contract migration, inserts contract stub at target address, + * and marks account as pending, allowing to insert storage + **/ + begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; + /** + * Finish contract migration, allows it to be called. + * It is not possible to alter contract storage via [`Self::set_data`] + * after this call. + **/ + finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [H160, Bytes]>; + /** + * Create ethereum events attached to the fake transaction + **/ + insertEthLogs: AugmentedSubmittable<(logs: Vec | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + /** + * Create substrate events + **/ + insertEvents: AugmentedSubmittable<(events: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + /** + * Insert items into contract storage, this method can be called + * multiple times + **/ + setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic, [H160, Vec>]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; foreignAssets: { registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>; updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>; @@ -453,6 +453,22 @@ **/ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** + * Set identities to be associated with the provided accounts as force origin. + * + * This is not meant to operate in tandem with the identity pallet as is, + * and be instead used to keep identities made and verified externally, + * forbidden from interacting with an ordinary user, since it ignores any safety mechanism. + **/ + forceInsertIdentities: AugmentedSubmittable<(identities: Vec> | ([AccountId32 | string | Uint8Array, PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; + /** + * Remove identities associated with the provided accounts as force origin. + * + * This is not meant to operate in tandem with the identity pallet as is, + * and be instead used to keep identities made and verified externally, + * forbidden from interacting with an ordinary user, since it ignores any safety mechanism. + **/ + forceRemoveIdentities: AugmentedSubmittable<(identities: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + /** * Remove an account's identity and sub-account information and slash the deposits. * * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by @@ -601,10 +617,6 @@ * # **/ setFields: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic, [Compact, PalletIdentityBitFlags]>; - /** - * Insert or remove identities. - **/ - setIdentities: AugmentedSubmittable<(identities: Vec]>> | ([AccountId32 | string | Uint8Array, Option | null | Uint8Array | PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string])[]) => SubmittableExtrinsic, [Vec]>>]>; /** * Set an account's identity information and reserve the appropriate deposit. * --- a/tests/src/interfaces/augment-types.ts +++ b/tests/src/interfaces/augment-types.ts @@ -5,7 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default'; +import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonDataManagementFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default'; import type { Data, StorageKey } from '@polkadot/types'; import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets'; @@ -772,7 +772,7 @@ Offender: Offender; OldV1SessionInfo: OldV1SessionInfo; OpalRuntimeRuntime: OpalRuntimeRuntime; - OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity: OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity; + OpalRuntimeRuntimeCommonDataManagementFilterIdentity: OpalRuntimeRuntimeCommonDataManagementFilterIdentity; OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance; OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys; OpaqueCall: OpaqueCall; @@ -842,9 +842,6 @@ PalletConfigurationEvent: PalletConfigurationEvent; PalletConstantMetadataLatest: PalletConstantMetadataLatest; PalletConstantMetadataV14: PalletConstantMetadataV14; - PalletEvmMigrationCall: PalletEvmMigrationCall; - PalletEvmMigrationError: PalletEvmMigrationError; - PalletEvmMigrationEvent: PalletEvmMigrationEvent; PalletErrorMetadataLatest: PalletErrorMetadataLatest; PalletErrorMetadataV14: PalletErrorMetadataV14; PalletEthereumCall: PalletEthereumCall; @@ -861,6 +858,9 @@ PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT; PalletEvmError: PalletEvmError; PalletEvmEvent: PalletEvmEvent; + PalletEvmMigrationCall: PalletEvmMigrationCall; + PalletEvmMigrationError: PalletEvmMigrationError; + PalletEvmMigrationEvent: PalletEvmMigrationEvent; PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds; PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata; PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall; --- a/tests/src/interfaces/default/types.ts +++ b/tests/src/interfaces/default/types.ts @@ -693,8 +693,8 @@ /** @name OpalRuntimeRuntime */ export interface OpalRuntimeRuntime extends Null {} -/** @name OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity */ -export interface OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity extends Null {} +/** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity */ +export interface OpalRuntimeRuntimeCommonDataManagementFilterIdentity extends Null {} /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */ export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {} @@ -1451,49 +1451,8 @@ readonly lengthInBlocks: Option; } & Struct; readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold'; -} - -/** @name PalletEvmMigrationCall */ -export interface PalletEvmMigrationCall extends Enum { - readonly isBegin: boolean; - readonly asBegin: { - readonly address: H160; - } & Struct; - readonly isSetData: boolean; - readonly asSetData: { - readonly address: H160; - readonly data: Vec>; - } & Struct; - readonly isFinish: boolean; - readonly asFinish: { - readonly address: H160; - readonly code: Bytes; - } & Struct; - readonly isInsertEthLogs: boolean; - readonly asInsertEthLogs: { - readonly logs: Vec; - } & Struct; - readonly isInsertEvents: boolean; - readonly asInsertEvents: { - readonly events: Vec; - } & Struct; - readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents'; -} - -/** @name PalletEvmMigrationError */ -export interface PalletEvmMigrationError extends Enum { - readonly isAccountNotEmpty: boolean; - readonly isAccountIsNotMigrating: boolean; - readonly isBadEvent: boolean; - readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent'; } -/** @name PalletEvmMigrationEvent */ -export interface PalletEvmMigrationEvent extends Enum { - readonly isTestEvent: boolean; - readonly type: 'TestEvent'; -} - /** @name PalletEthereumCall */ export interface PalletEthereumCall extends Enum { readonly isTransact: boolean; @@ -1654,6 +1613,47 @@ readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed'; } +/** @name PalletEvmMigrationCall */ +export interface PalletEvmMigrationCall extends Enum { + readonly isBegin: boolean; + readonly asBegin: { + readonly address: H160; + } & Struct; + readonly isSetData: boolean; + readonly asSetData: { + readonly address: H160; + readonly data: Vec>; + } & Struct; + readonly isFinish: boolean; + readonly asFinish: { + readonly address: H160; + readonly code: Bytes; + } & Struct; + readonly isInsertEthLogs: boolean; + readonly asInsertEthLogs: { + readonly logs: Vec; + } & Struct; + readonly isInsertEvents: boolean; + readonly asInsertEvents: { + readonly events: Vec; + } & Struct; + readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents'; +} + +/** @name PalletEvmMigrationError */ +export interface PalletEvmMigrationError extends Enum { + readonly isAccountNotEmpty: boolean; + readonly isAccountIsNotMigrating: boolean; + readonly isBadEvent: boolean; + readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent'; +} + +/** @name PalletEvmMigrationEvent */ +export interface PalletEvmMigrationEvent extends Enum { + readonly isTestEvent: boolean; + readonly type: 'TestEvent'; +} + /** @name PalletForeignAssetsAssetIds */ export interface PalletForeignAssetsAssetIds extends Enum { readonly isForeignAssetId: boolean; @@ -1821,11 +1821,15 @@ readonly sub: MultiAddress; } & Struct; readonly isQuitSub: boolean; - readonly isSetIdentities: boolean; - readonly asSetIdentities: { - readonly identities: Vec]>>; + readonly isForceInsertIdentities: boolean; + readonly asForceInsertIdentities: { + readonly identities: Vec>; } & Struct; - readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities'; + readonly isForceRemoveIdentities: boolean; + readonly asForceRemoveIdentities: { + readonly identities: Vec; + } & Struct; + readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities'; } /** @name PalletIdentityError */ @@ -1867,6 +1871,14 @@ readonly who: AccountId32; readonly deposit: u128; } & Struct; + readonly isIdentitiesInserted: boolean; + readonly asIdentitiesInserted: { + readonly amount: u32; + } & Struct; + readonly isIdentitiesRemoved: boolean; + readonly asIdentitiesRemoved: { + readonly amount: u32; + } & Struct; readonly isJudgementRequested: boolean; readonly asJudgementRequested: { readonly who: AccountId32; @@ -1904,7 +1916,7 @@ readonly main: AccountId32; readonly deposit: u128; } & Struct; - readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked'; + readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked'; } /** @name PalletIdentityIdentityField */ --- a/tests/src/interfaces/lookup.ts +++ b/tests/src/interfaces/lookup.ts @@ -236,6 +236,12 @@ who: 'AccountId32', deposit: 'u128', }, + IdentitiesInserted: { + amount: 'u32', + }, + IdentitiesRemoved: { + amount: 'u32', + }, JudgementRequested: { who: 'AccountId32', registrarIndex: 'u32', @@ -1864,19 +1870,22 @@ sub: 'MultiAddress', }, quit_sub: 'Null', - set_identities: { - identities: 'Vec<(AccountId32,Option)>' + force_insert_identities: { + identities: 'Vec<(AccountId32,PalletIdentityRegistration)>', + }, + force_remove_identities: { + identities: 'Vec' } } }, /** - * Lookup251: pallet_identity::pallet::Error + * Lookup250: pallet_identity::pallet::Error **/ PalletIdentityError: { _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed'] }, /** - * Lookup253: pallet_balances::BalanceLock + * Lookup252: pallet_balances::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -1884,20 +1893,20 @@ reasons: 'PalletBalancesReasons' }, /** - * Lookup254: pallet_balances::Reasons + * Lookup253: pallet_balances::Reasons **/ PalletBalancesReasons: { _enum: ['Fee', 'Misc', 'All'] }, /** - * Lookup257: pallet_balances::ReserveData + * Lookup256: pallet_balances::ReserveData **/ PalletBalancesReserveData: { id: '[u8;16]', amount: 'u128' }, /** - * Lookup259: pallet_balances::pallet::Call + * Lookup258: pallet_balances::pallet::Call **/ PalletBalancesCall: { _enum: { @@ -1930,13 +1939,13 @@ } }, /** - * Lookup260: pallet_balances::pallet::Error + * Lookup259: pallet_balances::pallet::Error **/ PalletBalancesError: { _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves'] }, /** - * Lookup262: pallet_timestamp::pallet::Call + * Lookup261: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -1946,13 +1955,13 @@ } }, /** - * Lookup264: pallet_transaction_payment::Releases + * Lookup263: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'] }, /** - * Lookup265: pallet_treasury::Proposal + * Lookup264: pallet_treasury::Proposal **/ PalletTreasuryProposal: { proposer: 'AccountId32', @@ -1961,7 +1970,7 @@ bond: 'u128' }, /** - * Lookup267: pallet_treasury::pallet::Call + * Lookup266: pallet_treasury::pallet::Call **/ PalletTreasuryCall: { _enum: { @@ -1985,17 +1994,17 @@ } }, /** - * Lookup269: frame_support::PalletId + * Lookup268: frame_support::PalletId **/ FrameSupportPalletId: '[u8;8]', /** - * Lookup270: pallet_treasury::pallet::Error + * Lookup269: pallet_treasury::pallet::Error **/ PalletTreasuryError: { _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved'] }, /** - * Lookup271: pallet_sudo::pallet::Call + * Lookup270: pallet_sudo::pallet::Call **/ PalletSudoCall: { _enum: { @@ -2019,7 +2028,7 @@ } }, /** - * Lookup273: orml_vesting::module::Call + * Lookup272: orml_vesting::module::Call **/ OrmlVestingModuleCall: { _enum: { @@ -2038,7 +2047,7 @@ } }, /** - * Lookup275: orml_xtokens::module::Call + * Lookup274: orml_xtokens::module::Call **/ OrmlXtokensModuleCall: { _enum: { @@ -2081,7 +2090,7 @@ } }, /** - * Lookup276: xcm::VersionedMultiAsset + * Lookup275: xcm::VersionedMultiAsset **/ XcmVersionedMultiAsset: { _enum: { @@ -2090,7 +2099,7 @@ } }, /** - * Lookup279: orml_tokens::module::Call + * Lookup278: orml_tokens::module::Call **/ OrmlTokensModuleCall: { _enum: { @@ -2124,7 +2133,7 @@ } }, /** - * Lookup280: cumulus_pallet_xcmp_queue::pallet::Call + * Lookup279: cumulus_pallet_xcmp_queue::pallet::Call **/ CumulusPalletXcmpQueueCall: { _enum: { @@ -2173,7 +2182,7 @@ } }, /** - * Lookup281: pallet_xcm::pallet::Call + * Lookup280: pallet_xcm::pallet::Call **/ PalletXcmCall: { _enum: { @@ -2227,7 +2236,7 @@ } }, /** - * Lookup282: xcm::VersionedXcm + * Lookup281: xcm::VersionedXcm **/ XcmVersionedXcm: { _enum: { @@ -2237,7 +2246,7 @@ } }, /** - * Lookup283: xcm::v0::Xcm + * Lookup282: xcm::v0::Xcm **/ XcmV0Xcm: { _enum: { @@ -2291,7 +2300,7 @@ } }, /** - * Lookup285: xcm::v0::order::Order + * Lookup284: xcm::v0::order::Order **/ XcmV0Order: { _enum: { @@ -2334,7 +2343,7 @@ } }, /** - * Lookup287: xcm::v0::Response + * Lookup286: xcm::v0::Response **/ XcmV0Response: { _enum: { @@ -2342,7 +2351,7 @@ } }, /** - * Lookup288: xcm::v1::Xcm + * Lookup287: xcm::v1::Xcm **/ XcmV1Xcm: { _enum: { @@ -2401,7 +2410,7 @@ } }, /** - * Lookup290: xcm::v1::order::Order + * Lookup289: xcm::v1::order::Order **/ XcmV1Order: { _enum: { @@ -2446,7 +2455,7 @@ } }, /** - * Lookup292: xcm::v1::Response + * Lookup291: xcm::v1::Response **/ XcmV1Response: { _enum: { @@ -2455,11 +2464,11 @@ } }, /** - * Lookup306: cumulus_pallet_xcm::pallet::Call + * Lookup305: cumulus_pallet_xcm::pallet::Call **/ CumulusPalletXcmCall: 'Null', /** - * Lookup307: cumulus_pallet_dmp_queue::pallet::Call + * Lookup306: cumulus_pallet_dmp_queue::pallet::Call **/ CumulusPalletDmpQueueCall: { _enum: { @@ -2470,7 +2479,7 @@ } }, /** - * Lookup308: pallet_inflation::pallet::Call + * Lookup307: pallet_inflation::pallet::Call **/ PalletInflationCall: { _enum: { @@ -2480,7 +2489,7 @@ } }, /** - * Lookup309: pallet_unique::Call + * Lookup308: pallet_unique::Call **/ PalletUniqueCall: { _enum: { @@ -2624,7 +2633,7 @@ } }, /** - * Lookup314: up_data_structs::CollectionMode + * Lookup313: up_data_structs::CollectionMode **/ UpDataStructsCollectionMode: { _enum: { @@ -2634,7 +2643,7 @@ } }, /** - * Lookup315: up_data_structs::CreateCollectionData + * Lookup314: up_data_structs::CreateCollectionData **/ UpDataStructsCreateCollectionData: { mode: 'UpDataStructsCollectionMode', @@ -2649,13 +2658,13 @@ properties: 'Vec' }, /** - * Lookup317: up_data_structs::AccessMode + * Lookup316: up_data_structs::AccessMode **/ UpDataStructsAccessMode: { _enum: ['Normal', 'AllowList'] }, /** - * Lookup319: up_data_structs::CollectionLimits + * Lookup318: up_data_structs::CollectionLimits **/ UpDataStructsCollectionLimits: { accountTokenOwnershipLimit: 'Option', @@ -2669,7 +2678,7 @@ transfersEnabled: 'Option' }, /** - * Lookup321: up_data_structs::SponsoringRateLimit + * Lookup320: up_data_structs::SponsoringRateLimit **/ UpDataStructsSponsoringRateLimit: { _enum: { @@ -2678,7 +2687,7 @@ } }, /** - * Lookup324: up_data_structs::CollectionPermissions + * Lookup323: up_data_structs::CollectionPermissions **/ UpDataStructsCollectionPermissions: { access: 'Option', @@ -2686,7 +2695,7 @@ nesting: 'Option' }, /** - * Lookup326: up_data_structs::NestingPermissions + * Lookup325: up_data_structs::NestingPermissions **/ UpDataStructsNestingPermissions: { tokenOwner: 'bool', @@ -2694,18 +2703,18 @@ restricted: 'Option' }, /** - * Lookup328: up_data_structs::OwnerRestrictedSet + * Lookup327: up_data_structs::OwnerRestrictedSet **/ UpDataStructsOwnerRestrictedSet: 'BTreeSet', /** - * Lookup333: up_data_structs::PropertyKeyPermission + * Lookup332: up_data_structs::PropertyKeyPermission **/ UpDataStructsPropertyKeyPermission: { key: 'Bytes', permission: 'UpDataStructsPropertyPermission' }, /** - * Lookup334: up_data_structs::PropertyPermission + * Lookup333: up_data_structs::PropertyPermission **/ UpDataStructsPropertyPermission: { mutable: 'bool', @@ -2713,14 +2722,14 @@ tokenOwner: 'bool' }, /** - * Lookup337: up_data_structs::Property + * Lookup336: up_data_structs::Property **/ UpDataStructsProperty: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup340: up_data_structs::CreateItemData + * Lookup339: up_data_structs::CreateItemData **/ UpDataStructsCreateItemData: { _enum: { @@ -2730,26 +2739,26 @@ } }, /** - * Lookup341: up_data_structs::CreateNftData + * Lookup340: up_data_structs::CreateNftData **/ UpDataStructsCreateNftData: { properties: 'Vec' }, /** - * Lookup342: up_data_structs::CreateFungibleData + * Lookup341: up_data_structs::CreateFungibleData **/ UpDataStructsCreateFungibleData: { value: 'u128' }, /** - * Lookup343: up_data_structs::CreateReFungibleData + * Lookup342: up_data_structs::CreateReFungibleData **/ UpDataStructsCreateReFungibleData: { pieces: 'u128', properties: 'Vec' }, /** - * Lookup346: up_data_structs::CreateItemExData> + * Lookup345: up_data_structs::CreateItemExData> **/ UpDataStructsCreateItemExData: { _enum: { @@ -2760,14 +2769,14 @@ } }, /** - * Lookup348: up_data_structs::CreateNftExData> + * Lookup347: up_data_structs::CreateNftExData> **/ UpDataStructsCreateNftExData: { properties: 'Vec', owner: 'PalletEvmAccountBasicCrossAccountIdRepr' }, /** - * Lookup355: up_data_structs::CreateRefungibleExSingleOwner> + * Lookup354: up_data_structs::CreateRefungibleExSingleOwner> **/ UpDataStructsCreateRefungibleExSingleOwner: { user: 'PalletEvmAccountBasicCrossAccountIdRepr', @@ -2775,14 +2784,14 @@ properties: 'Vec' }, /** - * Lookup357: up_data_structs::CreateRefungibleExMultipleOwners> + * Lookup356: up_data_structs::CreateRefungibleExMultipleOwners> **/ UpDataStructsCreateRefungibleExMultipleOwners: { users: 'BTreeMap', properties: 'Vec' }, /** - * Lookup358: pallet_configuration::pallet::Call + * Lookup357: pallet_configuration::pallet::Call **/ PalletConfigurationCall: { _enum: { @@ -2810,7 +2819,7 @@ } }, /** - * Lookup363: pallet_configuration::AppPromotionConfiguration + * Lookup362: pallet_configuration::AppPromotionConfiguration **/ PalletConfigurationAppPromotionConfiguration: { recalculationInterval: 'Option', @@ -2819,15 +2828,15 @@ maxStakersPerCalculation: 'Option' }, /** - * Lookup367: pallet_template_transaction_payment::Call + * Lookup366: pallet_template_transaction_payment::Call **/ PalletTemplateTransactionPaymentCall: 'Null', /** - * Lookup368: pallet_structure::pallet::Call + * Lookup367: pallet_structure::pallet::Call **/ PalletStructureCall: 'Null', /** - * Lookup369: pallet_rmrk_core::pallet::Call + * Lookup368: pallet_rmrk_core::pallet::Call **/ PalletRmrkCoreCall: { _enum: { @@ -2918,7 +2927,7 @@ } }, /** - * Lookup375: rmrk_traits::resource::ResourceTypes, sp_core::bounded::bounded_vec::BoundedVec> + * Lookup374: rmrk_traits::resource::ResourceTypes, sp_core::bounded::bounded_vec::BoundedVec> **/ RmrkTraitsResourceResourceTypes: { _enum: { @@ -2928,7 +2937,7 @@ } }, /** - * Lookup377: rmrk_traits::resource::BasicResource> + * Lookup376: rmrk_traits::resource::BasicResource> **/ RmrkTraitsResourceBasicResource: { src: 'Option', @@ -2937,7 +2946,7 @@ thumb: 'Option' }, /** - * Lookup379: rmrk_traits::resource::ComposableResource, sp_core::bounded::bounded_vec::BoundedVec> + * Lookup378: rmrk_traits::resource::ComposableResource, sp_core::bounded::bounded_vec::BoundedVec> **/ RmrkTraitsResourceComposableResource: { parts: 'Vec', @@ -2948,7 +2957,7 @@ thumb: 'Option' }, /** - * Lookup380: rmrk_traits::resource::SlotResource> + * Lookup379: rmrk_traits::resource::SlotResource> **/ RmrkTraitsResourceSlotResource: { base: 'u32', @@ -2959,7 +2968,7 @@ thumb: 'Option' }, /** - * Lookup383: pallet_rmrk_equip::pallet::Call + * Lookup382: pallet_rmrk_equip::pallet::Call **/ PalletRmrkEquipCall: { _enum: { @@ -2980,7 +2989,7 @@ } }, /** - * Lookup386: rmrk_traits::part::PartType, sp_core::bounded::bounded_vec::BoundedVec> + * Lookup385: rmrk_traits::part::PartType, sp_core::bounded::bounded_vec::BoundedVec> **/ RmrkTraitsPartPartType: { _enum: { @@ -2989,7 +2998,7 @@ } }, /** - * Lookup388: rmrk_traits::part::FixedPart> + * Lookup387: rmrk_traits::part::FixedPart> **/ RmrkTraitsPartFixedPart: { id: 'u32', @@ -2997,7 +3006,7 @@ src: 'Bytes' }, /** - * Lookup389: rmrk_traits::part::SlotPart, sp_core::bounded::bounded_vec::BoundedVec> + * Lookup388: rmrk_traits::part::SlotPart, sp_core::bounded::bounded_vec::BoundedVec> **/ RmrkTraitsPartSlotPart: { id: 'u32', @@ -3006,7 +3015,7 @@ z: 'u32' }, /** - * Lookup390: rmrk_traits::part::EquippableList> + * Lookup389: rmrk_traits::part::EquippableList> **/ RmrkTraitsPartEquippableList: { _enum: { @@ -3016,7 +3025,7 @@ } }, /** - * Lookup392: rmrk_traits::theme::Theme, sp_core::bounded::bounded_vec::BoundedVec>, S>> + * Lookup391: rmrk_traits::theme::Theme, sp_core::bounded::bounded_vec::BoundedVec>, S>> **/ RmrkTraitsTheme: { name: 'Bytes', @@ -3024,14 +3033,14 @@ inherit: 'bool' }, /** - * Lookup394: rmrk_traits::theme::ThemeProperty> + * Lookup393: rmrk_traits::theme::ThemeProperty> **/ RmrkTraitsThemeThemeProperty: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup396: pallet_app_promotion::pallet::Call + * Lookup395: pallet_app_promotion::pallet::Call **/ PalletAppPromotionCall: { _enum: { @@ -3060,7 +3069,7 @@ } }, /** - * Lookup397: pallet_foreign_assets::module::Call + * Lookup396: pallet_foreign_assets::module::Call **/ PalletForeignAssetsModuleCall: { _enum: { @@ -3077,7 +3086,7 @@ } }, /** - * Lookup398: pallet_evm::pallet::Call + * Lookup397: pallet_evm::pallet::Call **/ PalletEvmCall: { _enum: { @@ -3120,7 +3129,7 @@ } }, /** - * Lookup404: pallet_ethereum::pallet::Call + * Lookup403: pallet_ethereum::pallet::Call **/ PalletEthereumCall: { _enum: { @@ -3130,7 +3139,7 @@ } }, /** - * Lookup405: ethereum::transaction::TransactionV2 + * Lookup404: ethereum::transaction::TransactionV2 **/ EthereumTransactionTransactionV2: { _enum: { @@ -3140,7 +3149,7 @@ } }, /** - * Lookup406: ethereum::transaction::LegacyTransaction + * Lookup405: ethereum::transaction::LegacyTransaction **/ EthereumTransactionLegacyTransaction: { nonce: 'U256', @@ -3152,7 +3161,7 @@ signature: 'EthereumTransactionTransactionSignature' }, /** - * Lookup407: ethereum::transaction::TransactionAction + * Lookup406: ethereum::transaction::TransactionAction **/ EthereumTransactionTransactionAction: { _enum: { @@ -3161,7 +3170,7 @@ } }, /** - * Lookup408: ethereum::transaction::TransactionSignature + * Lookup407: ethereum::transaction::TransactionSignature **/ EthereumTransactionTransactionSignature: { v: 'u64', @@ -3169,7 +3178,7 @@ s: 'H256' }, /** - * Lookup410: ethereum::transaction::EIP2930Transaction + * Lookup409: ethereum::transaction::EIP2930Transaction **/ EthereumTransactionEip2930Transaction: { chainId: 'u64', @@ -3185,14 +3194,14 @@ s: 'H256' }, /** - * Lookup412: ethereum::transaction::AccessListItem + * Lookup411: ethereum::transaction::AccessListItem **/ EthereumTransactionAccessListItem: { address: 'H160', storageKeys: 'Vec' }, /** - * Lookup413: ethereum::transaction::EIP1559Transaction + * Lookup412: ethereum::transaction::EIP1559Transaction **/ EthereumTransactionEip1559Transaction: { chainId: 'u64', @@ -3209,7 +3218,7 @@ s: 'H256' }, /** - * Lookup414: pallet_evm_migration::pallet::Call + * Lookup413: pallet_evm_migration::pallet::Call **/ PalletEvmMigrationCall: { _enum: { @@ -3233,13 +3242,13 @@ } }, /** - * Lookup418: pallet_maintenance::pallet::Call + * Lookup417: pallet_maintenance::pallet::Call **/ PalletMaintenanceCall: { _enum: ['enable', 'disable'] }, /** - * Lookup419: pallet_test_utils::pallet::Call + * Lookup418: pallet_test_utils::pallet::Call **/ PalletTestUtilsCall: { _enum: { @@ -3258,32 +3267,32 @@ } }, /** - * Lookup421: pallet_sudo::pallet::Error + * Lookup420: pallet_sudo::pallet::Error **/ PalletSudoError: { _enum: ['RequireSudo'] }, /** - * Lookup423: orml_vesting::module::Error + * Lookup422: orml_vesting::module::Error **/ OrmlVestingModuleError: { _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'] }, /** - * Lookup424: orml_xtokens::module::Error + * Lookup423: orml_xtokens::module::Error **/ OrmlXtokensModuleError: { _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined'] }, /** - * Lookup427: orml_tokens::BalanceLock + * Lookup426: orml_tokens::BalanceLock **/ OrmlTokensBalanceLock: { id: '[u8;8]', amount: 'u128' }, /** - * Lookup429: orml_tokens::AccountData + * Lookup428: orml_tokens::AccountData **/ OrmlTokensAccountData: { free: 'u128', @@ -3291,20 +3300,20 @@ frozen: 'u128' }, /** - * Lookup431: orml_tokens::ReserveData + * Lookup430: orml_tokens::ReserveData **/ OrmlTokensReserveData: { id: 'Null', amount: 'u128' }, /** - * Lookup433: orml_tokens::module::Error + * Lookup432: orml_tokens::module::Error **/ OrmlTokensModuleError: { _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves'] }, /** - * Lookup435: cumulus_pallet_xcmp_queue::InboundChannelDetails + * Lookup434: cumulus_pallet_xcmp_queue::InboundChannelDetails **/ CumulusPalletXcmpQueueInboundChannelDetails: { sender: 'u32', @@ -3312,19 +3321,19 @@ messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>' }, /** - * Lookup436: cumulus_pallet_xcmp_queue::InboundState + * Lookup435: cumulus_pallet_xcmp_queue::InboundState **/ CumulusPalletXcmpQueueInboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup439: polkadot_parachain::primitives::XcmpMessageFormat + * Lookup438: polkadot_parachain::primitives::XcmpMessageFormat **/ PolkadotParachainPrimitivesXcmpMessageFormat: { _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals'] }, /** - * Lookup442: cumulus_pallet_xcmp_queue::OutboundChannelDetails + * Lookup441: cumulus_pallet_xcmp_queue::OutboundChannelDetails **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: 'u32', @@ -3334,13 +3343,13 @@ lastIndex: 'u16' }, /** - * Lookup443: cumulus_pallet_xcmp_queue::OutboundState + * Lookup442: cumulus_pallet_xcmp_queue::OutboundState **/ CumulusPalletXcmpQueueOutboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup445: cumulus_pallet_xcmp_queue::QueueConfigData + * Lookup444: cumulus_pallet_xcmp_queue::QueueConfigData **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: 'u32', @@ -3351,29 +3360,29 @@ xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight' }, /** - * Lookup447: cumulus_pallet_xcmp_queue::pallet::Error + * Lookup446: cumulus_pallet_xcmp_queue::pallet::Error **/ CumulusPalletXcmpQueueError: { _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit'] }, /** - * Lookup448: pallet_xcm::pallet::Error + * Lookup447: pallet_xcm::pallet::Error **/ PalletXcmError: { _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed'] }, /** - * Lookup449: cumulus_pallet_xcm::pallet::Error + * Lookup448: cumulus_pallet_xcm::pallet::Error **/ CumulusPalletXcmError: 'Null', /** - * Lookup450: cumulus_pallet_dmp_queue::ConfigData + * Lookup449: cumulus_pallet_dmp_queue::ConfigData **/ CumulusPalletDmpQueueConfigData: { maxIndividual: 'SpWeightsWeightV2Weight' }, /** - * Lookup451: cumulus_pallet_dmp_queue::PageIndexData + * Lookup450: cumulus_pallet_dmp_queue::PageIndexData **/ CumulusPalletDmpQueuePageIndexData: { beginUsed: 'u32', @@ -3381,25 +3390,25 @@ overweightCount: 'u64' }, /** - * Lookup454: cumulus_pallet_dmp_queue::pallet::Error + * Lookup453: cumulus_pallet_dmp_queue::pallet::Error **/ CumulusPalletDmpQueueError: { _enum: ['Unknown', 'OverLimit'] }, /** - * Lookup458: pallet_unique::Error + * Lookup457: pallet_unique::Error **/ PalletUniqueError: { _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection'] }, /** - * Lookup459: pallet_configuration::pallet::Error + * Lookup458: pallet_configuration::pallet::Error **/ PalletConfigurationError: { _enum: ['InconsistentConfiguration'] }, /** - * Lookup460: up_data_structs::Collection + * Lookup459: up_data_structs::Collection **/ UpDataStructsCollection: { owner: 'AccountId32', @@ -3413,7 +3422,7 @@ flags: '[u8;1]' }, /** - * Lookup461: up_data_structs::SponsorshipState + * Lookup460: up_data_structs::SponsorshipState **/ UpDataStructsSponsorshipStateAccountId32: { _enum: { @@ -3423,7 +3432,7 @@ } }, /** - * Lookup462: up_data_structs::Properties + * Lookup461: up_data_structs::Properties **/ UpDataStructsProperties: { map: 'UpDataStructsPropertiesMapBoundedVec', @@ -3431,15 +3440,15 @@ spaceLimit: 'u32' }, /** - * Lookup463: up_data_structs::PropertiesMap> + * Lookup462: up_data_structs::PropertiesMap> **/ UpDataStructsPropertiesMapBoundedVec: 'BTreeMap', /** - * Lookup468: up_data_structs::PropertiesMap + * Lookup467: up_data_structs::PropertiesMap **/ UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap', /** - * Lookup475: up_data_structs::CollectionStats + * Lookup474: up_data_structs::CollectionStats **/ UpDataStructsCollectionStats: { created: 'u32', @@ -3447,18 +3456,18 @@ alive: 'u32' }, /** - * Lookup476: up_data_structs::TokenChild + * Lookup475: up_data_structs::TokenChild **/ UpDataStructsTokenChild: { token: 'u32', collection: 'u32' }, /** - * Lookup477: PhantomType::up_data_structs + * Lookup476: PhantomType::up_data_structs **/ PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild,UpPovEstimateRpcPovInfo);0]', /** - * Lookup479: up_data_structs::TokenData> + * Lookup478: up_data_structs::TokenData> **/ UpDataStructsTokenData: { properties: 'Vec', @@ -3466,7 +3475,7 @@ pieces: 'u128' }, /** - * Lookup481: up_data_structs::RpcCollection + * Lookup480: up_data_structs::RpcCollection **/ UpDataStructsRpcCollection: { owner: 'AccountId32', @@ -3483,14 +3492,14 @@ flags: 'UpDataStructsRpcCollectionFlags' }, /** - * Lookup482: up_data_structs::RpcCollectionFlags + * Lookup481: up_data_structs::RpcCollectionFlags **/ UpDataStructsRpcCollectionFlags: { foreign: 'bool', erc721metadata: 'bool' }, /** - * Lookup483: rmrk_traits::collection::CollectionInfo, sp_core::bounded::bounded_vec::BoundedVec, sp_core::crypto::AccountId32> + * Lookup482: rmrk_traits::collection::CollectionInfo, sp_core::bounded::bounded_vec::BoundedVec, sp_core::crypto::AccountId32> **/ RmrkTraitsCollectionCollectionInfo: { issuer: 'AccountId32', @@ -3500,7 +3509,7 @@ nftsCount: 'u32' }, /** - * Lookup484: rmrk_traits::nft::NftInfo> + * Lookup483: rmrk_traits::nft::NftInfo> **/ RmrkTraitsNftNftInfo: { owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple', @@ -3510,14 +3519,14 @@ pending: 'bool' }, /** - * Lookup486: rmrk_traits::nft::RoyaltyInfo + * Lookup485: rmrk_traits::nft::RoyaltyInfo **/ RmrkTraitsNftRoyaltyInfo: { recipient: 'AccountId32', amount: 'Permill' }, /** - * Lookup487: rmrk_traits::resource::ResourceInfo, sp_core::bounded::bounded_vec::BoundedVec> + * Lookup486: rmrk_traits::resource::ResourceInfo, sp_core::bounded::bounded_vec::BoundedVec> **/ RmrkTraitsResourceResourceInfo: { id: 'u32', @@ -3526,14 +3535,14 @@ pendingRemoval: 'bool' }, /** - * Lookup488: rmrk_traits::property::PropertyInfo, sp_core::bounded::bounded_vec::BoundedVec> + * Lookup487: rmrk_traits::property::PropertyInfo, sp_core::bounded::bounded_vec::BoundedVec> **/ RmrkTraitsPropertyPropertyInfo: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup489: rmrk_traits::base::BaseInfo> + * Lookup488: rmrk_traits::base::BaseInfo> **/ RmrkTraitsBaseBaseInfo: { issuer: 'AccountId32', @@ -3541,14 +3550,14 @@ symbol: 'Bytes' }, /** - * Lookup490: rmrk_traits::nft::NftChild + * Lookup489: rmrk_traits::nft::NftChild **/ RmrkTraitsNftNftChild: { collectionId: 'u32', nftId: 'u32' }, /** - * Lookup491: up_pov_estimate_rpc::PovInfo + * Lookup490: up_pov_estimate_rpc::PovInfo **/ UpPovEstimateRpcPovInfo: { proofSize: 'u64', @@ -3558,7 +3567,7 @@ keyValues: 'Vec' }, /** - * Lookup494: sp_runtime::transaction_validity::TransactionValidityError + * Lookup493: sp_runtime::transaction_validity::TransactionValidityError **/ SpRuntimeTransactionValidityTransactionValidityError: { _enum: { @@ -3567,7 +3576,7 @@ } }, /** - * Lookup495: sp_runtime::transaction_validity::InvalidTransaction + * Lookup494: sp_runtime::transaction_validity::InvalidTransaction **/ SpRuntimeTransactionValidityInvalidTransaction: { _enum: { @@ -3585,7 +3594,7 @@ } }, /** - * Lookup496: sp_runtime::transaction_validity::UnknownTransaction + * Lookup495: sp_runtime::transaction_validity::UnknownTransaction **/ SpRuntimeTransactionValidityUnknownTransaction: { _enum: { @@ -3595,86 +3604,86 @@ } }, /** - * Lookup498: up_pov_estimate_rpc::TrieKeyValue + * Lookup497: up_pov_estimate_rpc::TrieKeyValue **/ UpPovEstimateRpcTrieKeyValue: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup500: pallet_common::pallet::Error + * Lookup499: pallet_common::pallet::Error **/ PalletCommonError: { _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin'] }, /** - * Lookup502: pallet_fungible::pallet::Error + * Lookup501: pallet_fungible::pallet::Error **/ PalletFungibleError: { _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid'] }, /** - * Lookup506: pallet_refungible::pallet::Error + * Lookup505: pallet_refungible::pallet::Error **/ PalletRefungibleError: { _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed'] }, /** - * Lookup507: pallet_nonfungible::ItemData> + * Lookup506: pallet_nonfungible::ItemData> **/ PalletNonfungibleItemData: { owner: 'PalletEvmAccountBasicCrossAccountIdRepr' }, /** - * Lookup509: up_data_structs::PropertyScope + * Lookup508: up_data_structs::PropertyScope **/ UpDataStructsPropertyScope: { _enum: ['None', 'Rmrk'] }, /** - * Lookup512: pallet_nonfungible::pallet::Error + * Lookup511: pallet_nonfungible::pallet::Error **/ PalletNonfungibleError: { _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren'] }, /** - * Lookup513: pallet_structure::pallet::Error + * Lookup512: pallet_structure::pallet::Error **/ PalletStructureError: { _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound'] }, /** - * Lookup514: pallet_rmrk_core::pallet::Error + * Lookup513: pallet_rmrk_core::pallet::Error **/ PalletRmrkCoreError: { _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId'] }, /** - * Lookup516: pallet_rmrk_equip::pallet::Error + * Lookup515: pallet_rmrk_equip::pallet::Error **/ PalletRmrkEquipError: { _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart'] }, /** - * Lookup522: pallet_app_promotion::pallet::Error + * Lookup521: pallet_app_promotion::pallet::Error **/ PalletAppPromotionError: { _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation'] }, /** - * Lookup523: pallet_foreign_assets::module::Error + * Lookup522: pallet_foreign_assets::module::Error **/ PalletForeignAssetsModuleError: { _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted'] }, /** - * Lookup525: pallet_evm::pallet::Error + * Lookup524: pallet_evm::pallet::Error **/ PalletEvmError: { _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA'] }, /** - * Lookup528: fp_rpc::TransactionStatus + * Lookup527: fp_rpc::TransactionStatus **/ FpRpcTransactionStatus: { transactionHash: 'H256', @@ -3686,11 +3695,11 @@ logsBloom: 'EthbloomBloom' }, /** - * Lookup530: ethbloom::Bloom + * Lookup529: ethbloom::Bloom **/ EthbloomBloom: '[u8;256]', /** - * Lookup532: ethereum::receipt::ReceiptV3 + * Lookup531: ethereum::receipt::ReceiptV3 **/ EthereumReceiptReceiptV3: { _enum: { @@ -3700,7 +3709,7 @@ } }, /** - * Lookup533: ethereum::receipt::EIP658ReceiptData + * Lookup532: ethereum::receipt::EIP658ReceiptData **/ EthereumReceiptEip658ReceiptData: { statusCode: 'u8', @@ -3709,7 +3718,7 @@ logs: 'Vec' }, /** - * Lookup534: ethereum::block::Block + * Lookup533: ethereum::block::Block **/ EthereumBlock: { header: 'EthereumHeader', @@ -3717,7 +3726,7 @@ ommers: 'Vec' }, /** - * Lookup535: ethereum::header::Header + * Lookup534: ethereum::header::Header **/ EthereumHeader: { parentHash: 'H256', @@ -3737,23 +3746,23 @@ nonce: 'EthereumTypesHashH64' }, /** - * Lookup536: ethereum_types::hash::H64 + * Lookup535: ethereum_types::hash::H64 **/ EthereumTypesHashH64: '[u8;8]', /** - * Lookup541: pallet_ethereum::pallet::Error + * Lookup540: pallet_ethereum::pallet::Error **/ PalletEthereumError: { _enum: ['InvalidSignature', 'PreLogExists'] }, /** - * Lookup542: pallet_evm_coder_substrate::pallet::Error + * Lookup541: pallet_evm_coder_substrate::pallet::Error **/ PalletEvmCoderSubstrateError: { _enum: ['OutOfGas', 'OutOfFund'] }, /** - * Lookup543: up_data_structs::SponsorshipState> + * Lookup542: up_data_structs::SponsorshipState> **/ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: { _enum: { @@ -3763,35 +3772,35 @@ } }, /** - * Lookup544: pallet_evm_contract_helpers::SponsoringModeT + * Lookup543: pallet_evm_contract_helpers::SponsoringModeT **/ PalletEvmContractHelpersSponsoringModeT: { _enum: ['Disabled', 'Allowlisted', 'Generous'] }, /** - * Lookup550: pallet_evm_contract_helpers::pallet::Error + * Lookup549: pallet_evm_contract_helpers::pallet::Error **/ PalletEvmContractHelpersError: { _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit'] }, /** - * Lookup551: pallet_evm_migration::pallet::Error + * Lookup550: pallet_evm_migration::pallet::Error **/ PalletEvmMigrationError: { _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent'] }, /** - * Lookup552: pallet_maintenance::pallet::Error + * Lookup551: pallet_maintenance::pallet::Error **/ PalletMaintenanceError: 'Null', /** - * Lookup553: pallet_test_utils::pallet::Error + * Lookup552: pallet_test_utils::pallet::Error **/ PalletTestUtilsError: { _enum: ['TestPalletDisabled', 'TriggerRollback'] }, /** - * Lookup555: sp_runtime::MultiSignature + * Lookup554: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -3801,55 +3810,55 @@ } }, /** - * Lookup556: sp_core::ed25519::Signature + * Lookup555: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup558: sp_core::sr25519::Signature + * Lookup557: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup559: sp_core::ecdsa::Signature + * Lookup558: sp_core::ecdsa::Signature **/ SpCoreEcdsaSignature: '[u8;65]', /** - * Lookup562: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup561: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup563: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup562: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup564: frame_system::extensions::check_genesis::CheckGenesis + * Lookup563: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup567: frame_system::extensions::check_nonce::CheckNonce + * Lookup566: frame_system::extensions::check_nonce::CheckNonce **/ FrameSystemExtensionsCheckNonce: 'Compact', /** - * Lookup568: frame_system::extensions::check_weight::CheckWeight + * Lookup567: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup569: opal_runtime::runtime_common::maintenance::CheckMaintenance + * Lookup568: opal_runtime::runtime_common::maintenance::CheckMaintenance **/ OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null', /** - * Lookup570: opal_runtime::runtime_common::evm_migration::FilterIdentity + * Lookup569: opal_runtime::runtime_common::data_management::FilterIdentity **/ - OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity: 'Null', + OpalRuntimeRuntimeCommonDataManagementFilterIdentity: 'Null', /** - * Lookup571: pallet_template_transaction_payment::ChargeTransactionPayment + * Lookup570: pallet_template_transaction_payment::ChargeTransactionPayment **/ PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup572: opal_runtime::Runtime + * Lookup571: opal_runtime::Runtime **/ OpalRuntimeRuntime: 'Null', /** - * Lookup573: pallet_ethereum::FakeTransactionFinalizer + * Lookup572: pallet_ethereum::FakeTransactionFinalizer **/ PalletEthereumFakeTransactionFinalizer: 'Null' }; --- a/tests/src/interfaces/registry.ts +++ b/tests/src/interfaces/registry.ts @@ -5,7 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; +import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonDataManagementFilterIdentity, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; declare module '@polkadot/types/types/registry' { interface InterfaceTypes { @@ -74,7 +74,7 @@ FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass; FrameSystemPhase: FrameSystemPhase; OpalRuntimeRuntime: OpalRuntimeRuntime; - OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity: OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity; + OpalRuntimeRuntimeCommonDataManagementFilterIdentity: OpalRuntimeRuntimeCommonDataManagementFilterIdentity; OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance; OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys; OrmlTokensAccountData: OrmlTokensAccountData; @@ -112,9 +112,6 @@ PalletConfigurationCall: PalletConfigurationCall; PalletConfigurationError: PalletConfigurationError; PalletConfigurationEvent: PalletConfigurationEvent; - PalletEvmMigrationCall: PalletEvmMigrationCall; - PalletEvmMigrationError: PalletEvmMigrationError; - PalletEvmMigrationEvent: PalletEvmMigrationEvent; PalletEthereumCall: PalletEthereumCall; PalletEthereumError: PalletEthereumError; PalletEthereumEvent: PalletEthereumEvent; @@ -127,6 +124,9 @@ PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT; PalletEvmError: PalletEvmError; PalletEvmEvent: PalletEvmEvent; + PalletEvmMigrationCall: PalletEvmMigrationCall; + PalletEvmMigrationError: PalletEvmMigrationError; + PalletEvmMigrationEvent: PalletEvmMigrationEvent; PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds; PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata; PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall; --- a/tests/src/interfaces/types-lookup.ts +++ b/tests/src/interfaces/types-lookup.ts @@ -253,6 +253,14 @@ readonly who: AccountId32; readonly deposit: u128; } & Struct; + readonly isIdentitiesInserted: boolean; + readonly asIdentitiesInserted: { + readonly amount: u32; + } & Struct; + readonly isIdentitiesRemoved: boolean; + readonly asIdentitiesRemoved: { + readonly amount: u32; + } & Struct; readonly isJudgementRequested: boolean; readonly asJudgementRequested: { readonly who: AccountId32; @@ -290,7 +298,7 @@ readonly main: AccountId32; readonly deposit: u128; } & Struct; - readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked'; + readonly type: 'IdentitySet' | 'IdentityCleared' | 'IdentityKilled' | 'IdentitiesInserted' | 'IdentitiesRemoved' | 'JudgementRequested' | 'JudgementUnrequested' | 'JudgementGiven' | 'RegistrarAdded' | 'SubIdentityAdded' | 'SubIdentityRemoved' | 'SubIdentityRevoked'; } /** @name PalletBalancesEvent (33) */ @@ -2057,14 +2065,18 @@ readonly sub: MultiAddress; } & Struct; readonly isQuitSub: boolean; - readonly isSetIdentities: boolean; - readonly asSetIdentities: { - readonly identities: Vec]>>; + readonly isForceInsertIdentities: boolean; + readonly asForceInsertIdentities: { + readonly identities: Vec>; } & Struct; - readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities'; + readonly isForceRemoveIdentities: boolean; + readonly asForceRemoveIdentities: { + readonly identities: Vec; + } & Struct; + readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'ForceInsertIdentities' | 'ForceRemoveIdentities'; } - /** @name PalletIdentityError (251) */ + /** @name PalletIdentityError (250) */ interface PalletIdentityError extends Enum { readonly isTooManySubAccounts: boolean; readonly isNotFound: boolean; @@ -2087,14 +2099,14 @@ readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed'; } - /** @name PalletBalancesBalanceLock (253) */ + /** @name PalletBalancesBalanceLock (252) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (254) */ + /** @name PalletBalancesReasons (253) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -2102,13 +2114,13 @@ readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesReserveData (257) */ + /** @name PalletBalancesReserveData (256) */ interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name PalletBalancesCall (259) */ + /** @name PalletBalancesCall (258) */ interface PalletBalancesCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -2145,7 +2157,7 @@ readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve'; } - /** @name PalletBalancesError (260) */ + /** @name PalletBalancesError (259) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -2158,7 +2170,7 @@ readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves'; } - /** @name PalletTimestampCall (262) */ + /** @name PalletTimestampCall (261) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -2167,14 +2179,14 @@ readonly type: 'Set'; } - /** @name PalletTransactionPaymentReleases (264) */ + /** @name PalletTransactionPaymentReleases (263) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name PalletTreasuryProposal (265) */ + /** @name PalletTreasuryProposal (264) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -2182,7 +2194,7 @@ readonly bond: u128; } - /** @name PalletTreasuryCall (267) */ + /** @name PalletTreasuryCall (266) */ interface PalletTreasuryCall extends Enum { readonly isProposeSpend: boolean; readonly asProposeSpend: { @@ -2209,10 +2221,10 @@ readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval'; } - /** @name FrameSupportPalletId (269) */ + /** @name FrameSupportPalletId (268) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (270) */ + /** @name PalletTreasuryError (269) */ interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; @@ -2222,7 +2234,7 @@ readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved'; } - /** @name PalletSudoCall (271) */ + /** @name PalletSudoCall (270) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -2245,7 +2257,7 @@ readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; } - /** @name OrmlVestingModuleCall (273) */ + /** @name OrmlVestingModuleCall (272) */ interface OrmlVestingModuleCall extends Enum { readonly isClaim: boolean; readonly isVestedTransfer: boolean; @@ -2265,7 +2277,7 @@ readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor'; } - /** @name OrmlXtokensModuleCall (275) */ + /** @name OrmlXtokensModuleCall (274) */ interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -2312,7 +2324,7 @@ readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets'; } - /** @name XcmVersionedMultiAsset (276) */ + /** @name XcmVersionedMultiAsset (275) */ interface XcmVersionedMultiAsset extends Enum { readonly isV0: boolean; readonly asV0: XcmV0MultiAsset; @@ -2321,7 +2333,7 @@ readonly type: 'V0' | 'V1'; } - /** @name OrmlTokensModuleCall (279) */ + /** @name OrmlTokensModuleCall (278) */ interface OrmlTokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -2358,7 +2370,7 @@ readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance'; } - /** @name CumulusPalletXcmpQueueCall (280) */ + /** @name CumulusPalletXcmpQueueCall (279) */ interface CumulusPalletXcmpQueueCall extends Enum { readonly isServiceOverweight: boolean; readonly asServiceOverweight: { @@ -2394,7 +2406,7 @@ readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight'; } - /** @name PalletXcmCall (281) */ + /** @name PalletXcmCall (280) */ interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { @@ -2456,7 +2468,7 @@ readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets'; } - /** @name XcmVersionedXcm (282) */ + /** @name XcmVersionedXcm (281) */ interface XcmVersionedXcm extends Enum { readonly isV0: boolean; readonly asV0: XcmV0Xcm; @@ -2467,7 +2479,7 @@ readonly type: 'V0' | 'V1' | 'V2'; } - /** @name XcmV0Xcm (283) */ + /** @name XcmV0Xcm (282) */ interface XcmV0Xcm extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: { @@ -2530,7 +2542,7 @@ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom'; } - /** @name XcmV0Order (285) */ + /** @name XcmV0Order (284) */ interface XcmV0Order extends Enum { readonly isNull: boolean; readonly isDepositAsset: boolean; @@ -2578,14 +2590,14 @@ readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution'; } - /** @name XcmV0Response (287) */ + /** @name XcmV0Response (286) */ interface XcmV0Response extends Enum { readonly isAssets: boolean; readonly asAssets: Vec; readonly type: 'Assets'; } - /** @name XcmV1Xcm (288) */ + /** @name XcmV1Xcm (287) */ interface XcmV1Xcm extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: { @@ -2654,7 +2666,7 @@ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion'; } - /** @name XcmV1Order (290) */ + /** @name XcmV1Order (289) */ interface XcmV1Order extends Enum { readonly isNoop: boolean; readonly isDepositAsset: boolean; @@ -2704,7 +2716,7 @@ readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution'; } - /** @name XcmV1Response (292) */ + /** @name XcmV1Response (291) */ interface XcmV1Response extends Enum { readonly isAssets: boolean; readonly asAssets: XcmV1MultiassetMultiAssets; @@ -2713,10 +2725,10 @@ readonly type: 'Assets' | 'Version'; } - /** @name CumulusPalletXcmCall (306) */ + /** @name CumulusPalletXcmCall (305) */ type CumulusPalletXcmCall = Null; - /** @name CumulusPalletDmpQueueCall (307) */ + /** @name CumulusPalletDmpQueueCall (306) */ interface CumulusPalletDmpQueueCall extends Enum { readonly isServiceOverweight: boolean; readonly asServiceOverweight: { @@ -2726,7 +2738,7 @@ readonly type: 'ServiceOverweight'; } - /** @name PalletInflationCall (308) */ + /** @name PalletInflationCall (307) */ interface PalletInflationCall extends Enum { readonly isStartInflation: boolean; readonly asStartInflation: { @@ -2735,7 +2747,7 @@ readonly type: 'StartInflation'; } - /** @name PalletUniqueCall (309) */ + /** @name PalletUniqueCall (308) */ interface PalletUniqueCall extends Enum { readonly isCreateCollection: boolean; readonly asCreateCollection: { @@ -2908,7 +2920,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 (314) */ + /** @name UpDataStructsCollectionMode (313) */ interface UpDataStructsCollectionMode extends Enum { readonly isNft: boolean; readonly isFungible: boolean; @@ -2917,7 +2929,7 @@ readonly type: 'Nft' | 'Fungible' | 'ReFungible'; } - /** @name UpDataStructsCreateCollectionData (315) */ + /** @name UpDataStructsCreateCollectionData (314) */ interface UpDataStructsCreateCollectionData extends Struct { readonly mode: UpDataStructsCollectionMode; readonly access: Option; @@ -2931,14 +2943,14 @@ readonly properties: Vec; } - /** @name UpDataStructsAccessMode (317) */ + /** @name UpDataStructsAccessMode (316) */ interface UpDataStructsAccessMode extends Enum { readonly isNormal: boolean; readonly isAllowList: boolean; readonly type: 'Normal' | 'AllowList'; } - /** @name UpDataStructsCollectionLimits (319) */ + /** @name UpDataStructsCollectionLimits (318) */ interface UpDataStructsCollectionLimits extends Struct { readonly accountTokenOwnershipLimit: Option; readonly sponsoredDataSize: Option; @@ -2951,7 +2963,7 @@ readonly transfersEnabled: Option; } - /** @name UpDataStructsSponsoringRateLimit (321) */ + /** @name UpDataStructsSponsoringRateLimit (320) */ interface UpDataStructsSponsoringRateLimit extends Enum { readonly isSponsoringDisabled: boolean; readonly isBlocks: boolean; @@ -2959,43 +2971,43 @@ readonly type: 'SponsoringDisabled' | 'Blocks'; } - /** @name UpDataStructsCollectionPermissions (324) */ + /** @name UpDataStructsCollectionPermissions (323) */ interface UpDataStructsCollectionPermissions extends Struct { readonly access: Option; readonly mintMode: Option; readonly nesting: Option; } - /** @name UpDataStructsNestingPermissions (326) */ + /** @name UpDataStructsNestingPermissions (325) */ interface UpDataStructsNestingPermissions extends Struct { readonly tokenOwner: bool; readonly collectionAdmin: bool; readonly restricted: Option; } - /** @name UpDataStructsOwnerRestrictedSet (328) */ + /** @name UpDataStructsOwnerRestrictedSet (327) */ interface UpDataStructsOwnerRestrictedSet extends BTreeSet {} - /** @name UpDataStructsPropertyKeyPermission (333) */ + /** @name UpDataStructsPropertyKeyPermission (332) */ interface UpDataStructsPropertyKeyPermission extends Struct { readonly key: Bytes; readonly permission: UpDataStructsPropertyPermission; } - /** @name UpDataStructsPropertyPermission (334) */ + /** @name UpDataStructsPropertyPermission (333) */ interface UpDataStructsPropertyPermission extends Struct { readonly mutable: bool; readonly collectionAdmin: bool; readonly tokenOwner: bool; } - /** @name UpDataStructsProperty (337) */ + /** @name UpDataStructsProperty (336) */ interface UpDataStructsProperty extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name UpDataStructsCreateItemData (340) */ + /** @name UpDataStructsCreateItemData (339) */ interface UpDataStructsCreateItemData extends Enum { readonly isNft: boolean; readonly asNft: UpDataStructsCreateNftData; @@ -3006,23 +3018,23 @@ readonly type: 'Nft' | 'Fungible' | 'ReFungible'; } - /** @name UpDataStructsCreateNftData (341) */ + /** @name UpDataStructsCreateNftData (340) */ interface UpDataStructsCreateNftData extends Struct { readonly properties: Vec; } - /** @name UpDataStructsCreateFungibleData (342) */ + /** @name UpDataStructsCreateFungibleData (341) */ interface UpDataStructsCreateFungibleData extends Struct { readonly value: u128; } - /** @name UpDataStructsCreateReFungibleData (343) */ + /** @name UpDataStructsCreateReFungibleData (342) */ interface UpDataStructsCreateReFungibleData extends Struct { readonly pieces: u128; readonly properties: Vec; } - /** @name UpDataStructsCreateItemExData (346) */ + /** @name UpDataStructsCreateItemExData (345) */ interface UpDataStructsCreateItemExData extends Enum { readonly isNft: boolean; readonly asNft: Vec; @@ -3035,26 +3047,26 @@ readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners'; } - /** @name UpDataStructsCreateNftExData (348) */ + /** @name UpDataStructsCreateNftExData (347) */ interface UpDataStructsCreateNftExData extends Struct { readonly properties: Vec; readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } - /** @name UpDataStructsCreateRefungibleExSingleOwner (355) */ + /** @name UpDataStructsCreateRefungibleExSingleOwner (354) */ interface UpDataStructsCreateRefungibleExSingleOwner extends Struct { readonly user: PalletEvmAccountBasicCrossAccountIdRepr; readonly pieces: u128; readonly properties: Vec; } - /** @name UpDataStructsCreateRefungibleExMultipleOwners (357) */ + /** @name UpDataStructsCreateRefungibleExMultipleOwners (356) */ interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct { readonly users: BTreeMap; readonly properties: Vec; } - /** @name PalletConfigurationCall (358) */ + /** @name PalletConfigurationCall (357) */ interface PalletConfigurationCall extends Enum { readonly isSetWeightToFeeCoefficientOverride: boolean; readonly asSetWeightToFeeCoefficientOverride: { @@ -3087,7 +3099,7 @@ readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold'; } - /** @name PalletConfigurationAppPromotionConfiguration (363) */ + /** @name PalletConfigurationAppPromotionConfiguration (362) */ interface PalletConfigurationAppPromotionConfiguration extends Struct { readonly recalculationInterval: Option; readonly pendingInterval: Option; @@ -3095,13 +3107,13 @@ readonly maxStakersPerCalculation: Option; } - /** @name PalletTemplateTransactionPaymentCall (367) */ + /** @name PalletTemplateTransactionPaymentCall (366) */ type PalletTemplateTransactionPaymentCall = Null; - /** @name PalletStructureCall (368) */ + /** @name PalletStructureCall (367) */ type PalletStructureCall = Null; - /** @name PalletRmrkCoreCall (369) */ + /** @name PalletRmrkCoreCall (368) */ interface PalletRmrkCoreCall extends Enum { readonly isCreateCollection: boolean; readonly asCreateCollection: { @@ -3207,7 +3219,7 @@ readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource'; } - /** @name RmrkTraitsResourceResourceTypes (375) */ + /** @name RmrkTraitsResourceResourceTypes (374) */ interface RmrkTraitsResourceResourceTypes extends Enum { readonly isBasic: boolean; readonly asBasic: RmrkTraitsResourceBasicResource; @@ -3218,7 +3230,7 @@ readonly type: 'Basic' | 'Composable' | 'Slot'; } - /** @name RmrkTraitsResourceBasicResource (377) */ + /** @name RmrkTraitsResourceBasicResource (376) */ interface RmrkTraitsResourceBasicResource extends Struct { readonly src: Option; readonly metadata: Option; @@ -3226,7 +3238,7 @@ readonly thumb: Option; } - /** @name RmrkTraitsResourceComposableResource (379) */ + /** @name RmrkTraitsResourceComposableResource (378) */ interface RmrkTraitsResourceComposableResource extends Struct { readonly parts: Vec; readonly base: u32; @@ -3236,7 +3248,7 @@ readonly thumb: Option; } - /** @name RmrkTraitsResourceSlotResource (380) */ + /** @name RmrkTraitsResourceSlotResource (379) */ interface RmrkTraitsResourceSlotResource extends Struct { readonly base: u32; readonly src: Option; @@ -3246,7 +3258,7 @@ readonly thumb: Option; } - /** @name PalletRmrkEquipCall (383) */ + /** @name PalletRmrkEquipCall (382) */ interface PalletRmrkEquipCall extends Enum { readonly isCreateBase: boolean; readonly asCreateBase: { @@ -3268,7 +3280,7 @@ readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable'; } - /** @name RmrkTraitsPartPartType (386) */ + /** @name RmrkTraitsPartPartType (385) */ interface RmrkTraitsPartPartType extends Enum { readonly isFixedPart: boolean; readonly asFixedPart: RmrkTraitsPartFixedPart; @@ -3277,14 +3289,14 @@ readonly type: 'FixedPart' | 'SlotPart'; } - /** @name RmrkTraitsPartFixedPart (388) */ + /** @name RmrkTraitsPartFixedPart (387) */ interface RmrkTraitsPartFixedPart extends Struct { readonly id: u32; readonly z: u32; readonly src: Bytes; } - /** @name RmrkTraitsPartSlotPart (389) */ + /** @name RmrkTraitsPartSlotPart (388) */ interface RmrkTraitsPartSlotPart extends Struct { readonly id: u32; readonly equippable: RmrkTraitsPartEquippableList; @@ -3292,7 +3304,7 @@ readonly z: u32; } - /** @name RmrkTraitsPartEquippableList (390) */ + /** @name RmrkTraitsPartEquippableList (389) */ interface RmrkTraitsPartEquippableList extends Enum { readonly isAll: boolean; readonly isEmpty: boolean; @@ -3301,20 +3313,20 @@ readonly type: 'All' | 'Empty' | 'Custom'; } - /** @name RmrkTraitsTheme (392) */ + /** @name RmrkTraitsTheme (391) */ interface RmrkTraitsTheme extends Struct { readonly name: Bytes; readonly properties: Vec; readonly inherit: bool; } - /** @name RmrkTraitsThemeThemeProperty (394) */ + /** @name RmrkTraitsThemeThemeProperty (393) */ interface RmrkTraitsThemeThemeProperty extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name PalletAppPromotionCall (396) */ + /** @name PalletAppPromotionCall (395) */ interface PalletAppPromotionCall extends Enum { readonly isSetAdminAddress: boolean; readonly asSetAdminAddress: { @@ -3348,7 +3360,7 @@ readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers'; } - /** @name PalletForeignAssetsModuleCall (397) */ + /** @name PalletForeignAssetsModuleCall (396) */ interface PalletForeignAssetsModuleCall extends Enum { readonly isRegisterForeignAsset: boolean; readonly asRegisterForeignAsset: { @@ -3365,7 +3377,7 @@ readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset'; } - /** @name PalletEvmCall (398) */ + /** @name PalletEvmCall (397) */ interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -3410,7 +3422,7 @@ readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2'; } - /** @name PalletEthereumCall (404) */ + /** @name PalletEthereumCall (403) */ interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -3419,7 +3431,7 @@ readonly type: 'Transact'; } - /** @name EthereumTransactionTransactionV2 (405) */ + /** @name EthereumTransactionTransactionV2 (404) */ interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; @@ -3430,7 +3442,7 @@ readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumTransactionLegacyTransaction (406) */ + /** @name EthereumTransactionLegacyTransaction (405) */ interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -3441,7 +3453,7 @@ readonly signature: EthereumTransactionTransactionSignature; } - /** @name EthereumTransactionTransactionAction (407) */ + /** @name EthereumTransactionTransactionAction (406) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -3449,14 +3461,14 @@ readonly type: 'Call' | 'Create'; } - /** @name EthereumTransactionTransactionSignature (408) */ + /** @name EthereumTransactionTransactionSignature (407) */ interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Transaction (410) */ + /** @name EthereumTransactionEip2930Transaction (409) */ interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -3471,13 +3483,13 @@ readonly s: H256; } - /** @name EthereumTransactionAccessListItem (412) */ + /** @name EthereumTransactionAccessListItem (411) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name EthereumTransactionEip1559Transaction (413) */ + /** @name EthereumTransactionEip1559Transaction (412) */ interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -3493,7 +3505,7 @@ readonly s: H256; } - /** @name PalletEvmMigrationCall (414) */ + /** @name PalletEvmMigrationCall (413) */ interface PalletEvmMigrationCall extends Enum { readonly isBegin: boolean; readonly asBegin: { @@ -3520,14 +3532,14 @@ readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents'; } - /** @name PalletMaintenanceCall (418) */ + /** @name PalletMaintenanceCall (417) */ interface PalletMaintenanceCall extends Enum { readonly isEnable: boolean; readonly isDisable: boolean; readonly type: 'Enable' | 'Disable'; } - /** @name PalletTestUtilsCall (419) */ + /** @name PalletTestUtilsCall (418) */ interface PalletTestUtilsCall extends Enum { readonly isEnable: boolean; readonly isSetTestValue: boolean; @@ -3547,13 +3559,13 @@ readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll'; } - /** @name PalletSudoError (421) */ + /** @name PalletSudoError (420) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name OrmlVestingModuleError (423) */ + /** @name OrmlVestingModuleError (422) */ interface OrmlVestingModuleError extends Enum { readonly isZeroVestingPeriod: boolean; readonly isZeroVestingPeriodCount: boolean; @@ -3564,7 +3576,7 @@ readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded'; } - /** @name OrmlXtokensModuleError (424) */ + /** @name OrmlXtokensModuleError (423) */ interface OrmlXtokensModuleError extends Enum { readonly isAssetHasNoReserve: boolean; readonly isNotCrossChainTransfer: boolean; @@ -3588,26 +3600,26 @@ readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined'; } - /** @name OrmlTokensBalanceLock (427) */ + /** @name OrmlTokensBalanceLock (426) */ interface OrmlTokensBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name OrmlTokensAccountData (429) */ + /** @name OrmlTokensAccountData (428) */ interface OrmlTokensAccountData extends Struct { readonly free: u128; readonly reserved: u128; readonly frozen: u128; } - /** @name OrmlTokensReserveData (431) */ + /** @name OrmlTokensReserveData (430) */ interface OrmlTokensReserveData extends Struct { readonly id: Null; readonly amount: u128; } - /** @name OrmlTokensModuleError (433) */ + /** @name OrmlTokensModuleError (432) */ interface OrmlTokensModuleError extends Enum { readonly isBalanceTooLow: boolean; readonly isAmountIntoBalanceFailed: boolean; @@ -3620,21 +3632,21 @@ readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves'; } - /** @name CumulusPalletXcmpQueueInboundChannelDetails (435) */ + /** @name CumulusPalletXcmpQueueInboundChannelDetails (434) */ interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { readonly sender: u32; readonly state: CumulusPalletXcmpQueueInboundState; readonly messageMetadata: Vec>; } - /** @name CumulusPalletXcmpQueueInboundState (436) */ + /** @name CumulusPalletXcmpQueueInboundState (435) */ interface CumulusPalletXcmpQueueInboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name PolkadotParachainPrimitivesXcmpMessageFormat (439) */ + /** @name PolkadotParachainPrimitivesXcmpMessageFormat (438) */ interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum { readonly isConcatenatedVersionedXcm: boolean; readonly isConcatenatedEncodedBlob: boolean; @@ -3642,7 +3654,7 @@ readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals'; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (442) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (441) */ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -3651,14 +3663,14 @@ readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (443) */ + /** @name CumulusPalletXcmpQueueOutboundState (442) */ interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name CumulusPalletXcmpQueueQueueConfigData (445) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (444) */ interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; @@ -3668,7 +3680,7 @@ readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight; } - /** @name CumulusPalletXcmpQueueError (447) */ + /** @name CumulusPalletXcmpQueueError (446) */ interface CumulusPalletXcmpQueueError extends Enum { readonly isFailedToSend: boolean; readonly isBadXcmOrigin: boolean; @@ -3678,7 +3690,7 @@ readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit'; } - /** @name PalletXcmError (448) */ + /** @name PalletXcmError (447) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -3696,29 +3708,29 @@ readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed'; } - /** @name CumulusPalletXcmError (449) */ + /** @name CumulusPalletXcmError (448) */ type CumulusPalletXcmError = Null; - /** @name CumulusPalletDmpQueueConfigData (450) */ + /** @name CumulusPalletDmpQueueConfigData (449) */ interface CumulusPalletDmpQueueConfigData extends Struct { readonly maxIndividual: SpWeightsWeightV2Weight; } - /** @name CumulusPalletDmpQueuePageIndexData (451) */ + /** @name CumulusPalletDmpQueuePageIndexData (450) */ interface CumulusPalletDmpQueuePageIndexData extends Struct { readonly beginUsed: u32; readonly endUsed: u32; readonly overweightCount: u64; } - /** @name CumulusPalletDmpQueueError (454) */ + /** @name CumulusPalletDmpQueueError (453) */ interface CumulusPalletDmpQueueError extends Enum { readonly isUnknown: boolean; readonly isOverLimit: boolean; readonly type: 'Unknown' | 'OverLimit'; } - /** @name PalletUniqueError (458) */ + /** @name PalletUniqueError (457) */ interface PalletUniqueError extends Enum { readonly isCollectionDecimalPointLimitExceeded: boolean; readonly isEmptyArgument: boolean; @@ -3726,13 +3738,13 @@ readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection'; } - /** @name PalletConfigurationError (459) */ + /** @name PalletConfigurationError (458) */ interface PalletConfigurationError extends Enum { readonly isInconsistentConfiguration: boolean; readonly type: 'InconsistentConfiguration'; } - /** @name UpDataStructsCollection (460) */ + /** @name UpDataStructsCollection (459) */ interface UpDataStructsCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -3745,7 +3757,7 @@ readonly flags: U8aFixed; } - /** @name UpDataStructsSponsorshipStateAccountId32 (461) */ + /** @name UpDataStructsSponsorshipStateAccountId32 (460) */ interface UpDataStructsSponsorshipStateAccountId32 extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -3755,43 +3767,43 @@ readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name UpDataStructsProperties (462) */ + /** @name UpDataStructsProperties (461) */ interface UpDataStructsProperties extends Struct { readonly map: UpDataStructsPropertiesMapBoundedVec; readonly consumedSpace: u32; readonly spaceLimit: u32; } - /** @name UpDataStructsPropertiesMapBoundedVec (463) */ + /** @name UpDataStructsPropertiesMapBoundedVec (462) */ interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} - /** @name UpDataStructsPropertiesMapPropertyPermission (468) */ + /** @name UpDataStructsPropertiesMapPropertyPermission (467) */ interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} - /** @name UpDataStructsCollectionStats (475) */ + /** @name UpDataStructsCollectionStats (474) */ interface UpDataStructsCollectionStats extends Struct { readonly created: u32; readonly destroyed: u32; readonly alive: u32; } - /** @name UpDataStructsTokenChild (476) */ + /** @name UpDataStructsTokenChild (475) */ interface UpDataStructsTokenChild extends Struct { readonly token: u32; readonly collection: u32; } - /** @name PhantomTypeUpDataStructs (477) */ + /** @name PhantomTypeUpDataStructs (476) */ interface PhantomTypeUpDataStructs extends Vec> {} - /** @name UpDataStructsTokenData (479) */ + /** @name UpDataStructsTokenData (478) */ interface UpDataStructsTokenData extends Struct { readonly properties: Vec; readonly owner: Option; readonly pieces: u128; } - /** @name UpDataStructsRpcCollection (481) */ + /** @name UpDataStructsRpcCollection (480) */ interface UpDataStructsRpcCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -3807,13 +3819,13 @@ readonly flags: UpDataStructsRpcCollectionFlags; } - /** @name UpDataStructsRpcCollectionFlags (482) */ + /** @name UpDataStructsRpcCollectionFlags (481) */ interface UpDataStructsRpcCollectionFlags extends Struct { readonly foreign: bool; readonly erc721metadata: bool; } - /** @name RmrkTraitsCollectionCollectionInfo (483) */ + /** @name RmrkTraitsCollectionCollectionInfo (482) */ interface RmrkTraitsCollectionCollectionInfo extends Struct { readonly issuer: AccountId32; readonly metadata: Bytes; @@ -3822,7 +3834,7 @@ readonly nftsCount: u32; } - /** @name RmrkTraitsNftNftInfo (484) */ + /** @name RmrkTraitsNftNftInfo (483) */ interface RmrkTraitsNftNftInfo extends Struct { readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple; readonly royalty: Option; @@ -3831,13 +3843,13 @@ readonly pending: bool; } - /** @name RmrkTraitsNftRoyaltyInfo (486) */ + /** @name RmrkTraitsNftRoyaltyInfo (485) */ interface RmrkTraitsNftRoyaltyInfo extends Struct { readonly recipient: AccountId32; readonly amount: Permill; } - /** @name RmrkTraitsResourceResourceInfo (487) */ + /** @name RmrkTraitsResourceResourceInfo (486) */ interface RmrkTraitsResourceResourceInfo extends Struct { readonly id: u32; readonly resource: RmrkTraitsResourceResourceTypes; @@ -3845,26 +3857,26 @@ readonly pendingRemoval: bool; } - /** @name RmrkTraitsPropertyPropertyInfo (488) */ + /** @name RmrkTraitsPropertyPropertyInfo (487) */ interface RmrkTraitsPropertyPropertyInfo extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name RmrkTraitsBaseBaseInfo (489) */ + /** @name RmrkTraitsBaseBaseInfo (488) */ interface RmrkTraitsBaseBaseInfo extends Struct { readonly issuer: AccountId32; readonly baseType: Bytes; readonly symbol: Bytes; } - /** @name RmrkTraitsNftNftChild (490) */ + /** @name RmrkTraitsNftNftChild (489) */ interface RmrkTraitsNftNftChild extends Struct { readonly collectionId: u32; readonly nftId: u32; } - /** @name UpPovEstimateRpcPovInfo (491) */ + /** @name UpPovEstimateRpcPovInfo (490) */ interface UpPovEstimateRpcPovInfo extends Struct { readonly proofSize: u64; readonly compactProofSize: u64; @@ -3873,7 +3885,7 @@ readonly keyValues: Vec; } - /** @name SpRuntimeTransactionValidityTransactionValidityError (494) */ + /** @name SpRuntimeTransactionValidityTransactionValidityError (493) */ interface SpRuntimeTransactionValidityTransactionValidityError extends Enum { readonly isInvalid: boolean; readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction; @@ -3882,7 +3894,7 @@ readonly type: 'Invalid' | 'Unknown'; } - /** @name SpRuntimeTransactionValidityInvalidTransaction (495) */ + /** @name SpRuntimeTransactionValidityInvalidTransaction (494) */ interface SpRuntimeTransactionValidityInvalidTransaction extends Enum { readonly isCall: boolean; readonly isPayment: boolean; @@ -3899,7 +3911,7 @@ readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner'; } - /** @name SpRuntimeTransactionValidityUnknownTransaction (496) */ + /** @name SpRuntimeTransactionValidityUnknownTransaction (495) */ interface SpRuntimeTransactionValidityUnknownTransaction extends Enum { readonly isCannotLookup: boolean; readonly isNoUnsignedValidator: boolean; @@ -3908,13 +3920,13 @@ readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom'; } - /** @name UpPovEstimateRpcTrieKeyValue (498) */ + /** @name UpPovEstimateRpcTrieKeyValue (497) */ interface UpPovEstimateRpcTrieKeyValue extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name PalletCommonError (500) */ + /** @name PalletCommonError (499) */ interface PalletCommonError extends Enum { readonly isCollectionNotFound: boolean; readonly isMustBeTokenOwner: boolean; @@ -3955,7 +3967,7 @@ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin'; } - /** @name PalletFungibleError (502) */ + /** @name PalletFungibleError (501) */ interface PalletFungibleError extends Enum { readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isFungibleItemsHaveNoId: boolean; @@ -3967,7 +3979,7 @@ readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid'; } - /** @name PalletRefungibleError (506) */ + /** @name PalletRefungibleError (505) */ interface PalletRefungibleError extends Enum { readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isWrongRefungiblePieces: boolean; @@ -3977,19 +3989,19 @@ readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed'; } - /** @name PalletNonfungibleItemData (507) */ + /** @name PalletNonfungibleItemData (506) */ interface PalletNonfungibleItemData extends Struct { readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } - /** @name UpDataStructsPropertyScope (509) */ + /** @name UpDataStructsPropertyScope (508) */ interface UpDataStructsPropertyScope extends Enum { readonly isNone: boolean; readonly isRmrk: boolean; readonly type: 'None' | 'Rmrk'; } - /** @name PalletNonfungibleError (512) */ + /** @name PalletNonfungibleError (511) */ interface PalletNonfungibleError extends Enum { readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isNonfungibleItemsHaveNoAmount: boolean; @@ -3997,7 +4009,7 @@ readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren'; } - /** @name PalletStructureError (513) */ + /** @name PalletStructureError (512) */ interface PalletStructureError extends Enum { readonly isOuroborosDetected: boolean; readonly isDepthLimit: boolean; @@ -4006,7 +4018,7 @@ readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound'; } - /** @name PalletRmrkCoreError (514) */ + /** @name PalletRmrkCoreError (513) */ interface PalletRmrkCoreError extends Enum { readonly isCorruptedCollectionType: boolean; readonly isRmrkPropertyKeyIsTooLong: boolean; @@ -4030,7 +4042,7 @@ readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId'; } - /** @name PalletRmrkEquipError (516) */ + /** @name PalletRmrkEquipError (515) */ interface PalletRmrkEquipError extends Enum { readonly isPermissionError: boolean; readonly isNoAvailableBaseId: boolean; @@ -4042,7 +4054,7 @@ readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart'; } - /** @name PalletAppPromotionError (522) */ + /** @name PalletAppPromotionError (521) */ interface PalletAppPromotionError extends Enum { readonly isAdminNotSet: boolean; readonly isNoPermission: boolean; @@ -4053,7 +4065,7 @@ readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation'; } - /** @name PalletForeignAssetsModuleError (523) */ + /** @name PalletForeignAssetsModuleError (522) */ interface PalletForeignAssetsModuleError extends Enum { readonly isBadLocation: boolean; readonly isMultiLocationExisted: boolean; @@ -4062,7 +4074,7 @@ readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted'; } - /** @name PalletEvmError (525) */ + /** @name PalletEvmError (524) */ interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; @@ -4078,7 +4090,7 @@ readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA'; } - /** @name FpRpcTransactionStatus (528) */ + /** @name FpRpcTransactionStatus (527) */ interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; @@ -4089,10 +4101,10 @@ readonly logsBloom: EthbloomBloom; } - /** @name EthbloomBloom (530) */ + /** @name EthbloomBloom (529) */ interface EthbloomBloom extends U8aFixed {} - /** @name EthereumReceiptReceiptV3 (532) */ + /** @name EthereumReceiptReceiptV3 (531) */ interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; @@ -4103,7 +4115,7 @@ readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumReceiptEip658ReceiptData (533) */ + /** @name EthereumReceiptEip658ReceiptData (532) */ interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; @@ -4111,14 +4123,14 @@ readonly logs: Vec; } - /** @name EthereumBlock (534) */ + /** @name EthereumBlock (533) */ interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } - /** @name EthereumHeader (535) */ + /** @name EthereumHeader (534) */ interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; @@ -4137,24 +4149,24 @@ readonly nonce: EthereumTypesHashH64; } - /** @name EthereumTypesHashH64 (536) */ + /** @name EthereumTypesHashH64 (535) */ interface EthereumTypesHashH64 extends U8aFixed {} - /** @name PalletEthereumError (541) */ + /** @name PalletEthereumError (540) */ interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: 'InvalidSignature' | 'PreLogExists'; } - /** @name PalletEvmCoderSubstrateError (542) */ + /** @name PalletEvmCoderSubstrateError (541) */ interface PalletEvmCoderSubstrateError extends Enum { readonly isOutOfGas: boolean; readonly isOutOfFund: boolean; readonly type: 'OutOfGas' | 'OutOfFund'; } - /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (543) */ + /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (542) */ interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -4164,7 +4176,7 @@ readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name PalletEvmContractHelpersSponsoringModeT (544) */ + /** @name PalletEvmContractHelpersSponsoringModeT (543) */ interface PalletEvmContractHelpersSponsoringModeT extends Enum { readonly isDisabled: boolean; readonly isAllowlisted: boolean; @@ -4172,7 +4184,7 @@ readonly type: 'Disabled' | 'Allowlisted' | 'Generous'; } - /** @name PalletEvmContractHelpersError (550) */ + /** @name PalletEvmContractHelpersError (549) */ interface PalletEvmContractHelpersError extends Enum { readonly isNoPermission: boolean; readonly isNoPendingSponsor: boolean; @@ -4180,7 +4192,7 @@ readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit'; } - /** @name PalletEvmMigrationError (551) */ + /** @name PalletEvmMigrationError (550) */ interface PalletEvmMigrationError extends Enum { readonly isAccountNotEmpty: boolean; readonly isAccountIsNotMigrating: boolean; @@ -4188,17 +4200,17 @@ readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent'; } - /** @name PalletMaintenanceError (552) */ + /** @name PalletMaintenanceError (551) */ type PalletMaintenanceError = Null; - /** @name PalletTestUtilsError (553) */ + /** @name PalletTestUtilsError (552) */ interface PalletTestUtilsError extends Enum { readonly isTestPalletDisabled: boolean; readonly isTriggerRollback: boolean; readonly type: 'TestPalletDisabled' | 'TriggerRollback'; } - /** @name SpRuntimeMultiSignature (555) */ + /** @name SpRuntimeMultiSignature (554) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; @@ -4209,43 +4221,43 @@ readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEd25519Signature (556) */ + /** @name SpCoreEd25519Signature (555) */ interface SpCoreEd25519Signature extends U8aFixed {} - /** @name SpCoreSr25519Signature (558) */ + /** @name SpCoreSr25519Signature (557) */ interface SpCoreSr25519Signature extends U8aFixed {} - /** @name SpCoreEcdsaSignature (559) */ + /** @name SpCoreEcdsaSignature (558) */ interface SpCoreEcdsaSignature extends U8aFixed {} - /** @name FrameSystemExtensionsCheckSpecVersion (562) */ + /** @name FrameSystemExtensionsCheckSpecVersion (561) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (563) */ + /** @name FrameSystemExtensionsCheckTxVersion (562) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (564) */ + /** @name FrameSystemExtensionsCheckGenesis (563) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (567) */ + /** @name FrameSystemExtensionsCheckNonce (566) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (568) */ + /** @name FrameSystemExtensionsCheckWeight (567) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (569) */ + /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (568) */ type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null; - /** @name OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity (570) */ - type OpalRuntimeRuntimeCommonEvmMigrationFilterIdentity = Null; + /** @name OpalRuntimeRuntimeCommonDataManagementFilterIdentity (569) */ + type OpalRuntimeRuntimeCommonDataManagementFilterIdentity = Null; - /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (571) */ + /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (570) */ interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name OpalRuntimeRuntime (572) */ + /** @name OpalRuntimeRuntime (571) */ type OpalRuntimeRuntime = Null; - /** @name PalletEthereumFakeTransactionFinalizer (573) */ + /** @name PalletEthereumFakeTransactionFinalizer (572) */ type PalletEthereumFakeTransactionFinalizer = Null; } // declare module --- a/tests/src/util/identitySetter.ts +++ b/tests/src/util/identitySetter.ts @@ -1,26 +1,43 @@ // Copyright 2019-2022 Unique Network (Gibraltar) Ltd. // SPDX-License-Identifier: Apache-2.0 +import {encodeAddress} from '@polkadot/keyring'; import {usingPlaygrounds, Pallets} from './index'; +import {ChainHelperBase} from './playgrounds/unique'; -const relayUrl0 = process.argv[2] ?? 'localhost:9844'; -const relayUrl = `ws${relayUrl0.includes('localhost') ? '' : 's'}://${relayUrl0}`; +const relayUrl = process.argv[2] ?? 'ws://localhost:9844'; +const paraUrl = process.argv[3] ?? 'ws://localhost:9944'; +const key = process.argv.length > 4 ? process.argv.slice(4).join(' ') : '//Alice'; -const paraUrl0 = process.argv[3] ?? 'localhost:9944'; -const paraUrl = `ws${paraUrl0.includes('localhost') ? '' : 's'}://${paraUrl0}`; +function extractIdentity(key: any, value: any): [string, any] { + return [(key as any).toHuman()[0], (value as any).unwrap()]; +} -const key = process.argv.length > 4 ? process.argv.slice(4).join(' ') : '//Alice'; +async function getIdentities(helper: ChainHelperBase) { + const identities: [string, any][] = []; + for(const [key, value] of await helper.getApi().query.identity.identityOf.entries()) + identities.push(extractIdentity(key, value)); + return identities; +} // This is a utility for pulling -const setIdentities = async (): Promise => { - const identities: any[] = []; +const forceInsertIdentities = async (): Promise => { + const identitiesOnRelay: any[] = []; + const identitiesToRemove: string[] = []; await usingPlaygrounds(async helper => { try { + // iterate over every identity for(const [key, v] of await helper.getApi().query.identity.identityOf.entries()) { const value = v as any; - if (!value.isSome) continue; + if (value.isNone) { + // in the nigh-impossible case that storage map would actually give None for a value, might as well delete it + identitiesToRemove.push((key as any).toHuman()[0]); + continue; + } + + // if any of the judgements resulted in a good confirmed outcome, keep this identity if (value.unwrap().toHuman().judgements.filter((x: any) => x[1] == 'Reasonable' || x[1] == 'KnownGood').length == 0) continue; - identities.push([key, value]); + identitiesOnRelay.push(extractIdentity(key, value)); } } catch (error) { console.error(error); @@ -32,9 +49,32 @@ if (helper.fetchMissingPalletNames([Pallets.Identity]).length != 0) console.error('pallet-identity is not included in parachain.'); try { const superuser = await privateKey(key); - // todo:collator - await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.setIdentities', [identities]); - console.log(`Tried to upload ${identities.length} identities. ` + const ss58Format = helper.chain.getChainProperties().ss58Format; + const paraIdentities = await getIdentities(helper); + const identitiesToAdd: any[] = []; + + // cross-reference every account for changes + for (const [key, value] of identitiesOnRelay) { + const encodedKey = encodeAddress(key, ss58Format); + + const identity = paraIdentities.find(i => i[0] === encodedKey); + if (identity) { + // only update if the identity info does not exist or is changed + if (value.toString() === identity[1].toString()) { + continue; + } + } + identitiesToAdd.push([key, value]); + // exercise caution - in case we have an identity and the realy doesn't, it might mean one of two things: + // 1) it was deleted on the relay; + // 2) it is our own identity, we don't want to delete it. + // identitiesToRemove.push((key as any).toHuman()[0]); + } + + // await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceRemoveIdentities', [identitiesToRemove]); + await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.forceInsertIdentities', [identitiesToAdd]); + console.log(`Tried to upload ${identitiesToAdd.length} identities ` + + `and found ${identitiesToRemove.length} identities for potential removal. ` + `Now there are ${(await helper.getApi().query.identity.identityOf.keys()).length}.`); } catch (error) { console.error(error); @@ -43,4 +83,4 @@ }, paraUrl); }; -setIdentities().catch(() => process.exit(1)); \ No newline at end of file +forceInsertIdentities().catch(() => process.exit(1)); \ No newline at end of file