git.delta.rocks / unique-network / refs/commits / 409ca7fed22b

difftreelog

test upgrade evm.call arguments

Yaroslav Bolyukin2022-02-09parent: #e5f149d.patch.diff
in: master

7 files changed

modifiedtests/src/eth/payable.test.tsdiffbeforeafterboth
--- a/tests/src/eth/payable.test.ts
+++ b/tests/src/eth/payable.test.ts
@@ -34,6 +34,8 @@
         GAS_ARGS.gas,
         await web3.eth.getGasPrice(),
         null,
+        null,
+        [],
       );
       const events = await submitTransactionAsync(alice, tx);
       const result = getGenericResult(events);
modifiedtests/src/eth/util/helpers.tsdiffbeforeafterboth
--- a/tests/src/eth/util/helpers.ts
+++ b/tests/src/eth/util/helpers.ts
@@ -249,6 +249,8 @@
     GAS_ARGS.gas,
     await web3.eth.getGasPrice(),
     null,
+    null,
+    [],
   );
   const events = await submitTransactionAsync(from, tx);
   expect(events.some(({event: {section, method}}) => section == 'evm' && method == 'Executed')).to.be.true;
modifiedtests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -2,7 +2,7 @@
 /* eslint-disable */
 
 import type { ApiTypes } from '@polkadot/api/types';
-import type { Vec, u128, u16, u32, u64, u8 } from '@polkadot/types';
+import type { Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types';
 import type { Permill } from '@polkadot/types/interfaces/runtime';
 import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
 import type { Codec } from '@polkadot/types/types';
@@ -36,6 +36,9 @@
       [key: string]: Codec;
     };
     inflation: {
+      /**
+       * Number of blocks that pass between treasury balance updates due to inflation
+       **/
       inflationBlockInterval: u32 & AugmentedConst<ApiType>;
       /**
        * Generic const
@@ -146,6 +149,10 @@
        **/
       proposalBond: Permill & AugmentedConst<ApiType>;
       /**
+       * Maximum amount of funds that should be placed in a deposit for making a proposal.
+       **/
+      proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
+      /**
        * Minimum amount of funds that should be placed in a deposit for making a proposal.
        **/
       proposalBondMinimum: u128 & AugmentedConst<ApiType>;
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -61,9 +61,9 @@
        **/
       CantApproveMoreThanOwned: AugmentedError<ApiType>;
       /**
-       * Exceeded max admin amount
+       * Exceeded max admin count
        **/
-      CollectionAdminAmountExceeded: AugmentedError<ApiType>;
+      CollectionAdminCountExceeded: AugmentedError<ApiType>;
       /**
        * Collection description can not be longer than 255 char.
        **/
@@ -227,7 +227,7 @@
       /**
        * Tried to set data for fungible item
        **/
-      FungibleItemsHaveData: AugmentedError<ApiType>;
+      FungibleItemsDontHaveData: AugmentedError<ApiType>;
       /**
        * Not default id passed as TokenId argument
        **/
@@ -381,6 +381,10 @@
     };
     system: {
       /**
+       * The origin filter prevent the call to be dispatched.
+       **/
+      CallFiltered: AugmentedError<ApiType>;
+      /**
        * Failed to extract the runtime version from the new runtime.
        * 
        * Either calling `Core_version` or decoding `RuntimeVersion` failed.
@@ -485,6 +489,10 @@
     };
     xcmpQueue: {
       /**
+       * Bad overweight index.
+       **/
+      BadOverweightIndex: AugmentedError<ApiType>;
+      /**
        * Bad XCM data.
        **/
       BadXcm: AugmentedError<ApiType>;
@@ -497,6 +505,10 @@
        **/
       FailedToSend: AugmentedError<ApiType>;
       /**
+       * Provided weight is possibly not enough to execute the message.
+       **/
+      WeightOverLimit: AugmentedError<ApiType>;
+      /**
        * Generic error
        **/
       [key: string]: AugmentedError<ApiType>;
modifiedtests/src/interfaces/augment-api-events.tsdiffbeforeafterboth
before · tests/src/interfaces/augment-api-events.ts
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { EthereumLog, EvmCoreErrorExitReason } from './ethereum';5import type { PalletCommonAccountBasicCrossAccountIdRepr } from './unique';6import type { ApiTypes } from '@polkadot/api/types';7import type { Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types';8import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';9import type { FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';1011declare module '@polkadot/api/types/events' {12  export interface AugmentedEvents<ApiType> {13    balances: {14      /**15       * A balance was set by root. \[who, free, reserved\]16       **/17      BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;18      /**19       * Some amount was deposited into the account (e.g. for transaction fees). \[who,20       * deposit\]21       **/22      Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;23      /**24       * An account was removed whose balance was non-zero but below ExistentialDeposit,25       * resulting in an outright loss. \[account, balance\]26       **/27      DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;28      /**29       * An account was created with some free balance. \[account, free_balance\]30       **/31      Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;32      /**33       * Some balance was reserved (moved from free to reserved). \[who, value\]34       **/35      Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;36      /**37       * Some balance was moved from the reserve of the first account to the second account.38       * Final argument indicates the destination balance type.39       * \[from, to, balance, destination_status\]40       **/41      ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;42      /**43       * Some amount was removed from the account (e.g. for misbehavior). \[who,44       * amount_slashed\]45       **/46      Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;47      /**48       * Transfer succeeded. \[from, to, value\]49       **/50      Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;51      /**52       * Some balance was unreserved (moved from reserved to free). \[who, value\]53       **/54      Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;55      /**56       * Some amount was withdrawn from the account (e.g. for transaction fees). \[who, value\]57       **/58      Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;59      /**60       * Generic event61       **/62      [key: string]: AugmentedEvent<ApiType>;63    };64    common: {65      /**66       * * collection_id67       * 68       * * item_id69       * 70       * * sender71       * 72       * * spender73       * 74       * * amount75       **/76      Approved: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;77      /**78       * New collection was created79       * 80       * # Arguments81       * 82       * * collection_id: Globally unique identifier of newly created collection.83       * 84       * * mode: [CollectionMode] converted into u8.85       * 86       * * account_id: Collection owner.87       **/88      CollectionCreated: AugmentedEvent<ApiType, [u32, u8, AccountId32]>;89      /**90       * New item was created.91       * 92       * # Arguments93       * 94       * * collection_id: Id of the collection where item was created.95       * 96       * * item_id: Id of an item. Unique within the collection.97       * 98       * * recipient: Owner of newly created item99       * 100       * * amount: Always 1 for NFT101       **/102      ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;103      /**104       * Collection item was burned.105       * 106       * # Arguments107       * 108       * * collection_id.109       * 110       * * item_id: Identifier of burned NFT.111       * 112       * * owner: which user has destroyed its tokens113       * 114       * * amount: Always 1 for NFT115       **/116      ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;117      /**118       * Item was transferred119       * 120       * * collection_id: Id of collection to which item is belong121       * 122       * * item_id: Id of an item123       * 124       * * sender: Original owner of item125       * 126       * * recipient: New owner of item127       * 128       * * amount: Always 1 for NFT129       **/130      Transfer: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;131      /**132       * Generic event133       **/134      [key: string]: AugmentedEvent<ApiType>;135    };136    cumulusXcm: {137      /**138       * Downward message executed with the given outcome.139       * \[ id, outcome \]140       **/141      ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;142      /**143       * Downward message is invalid XCM.144       * \[ id \]145       **/146      InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;147      /**148       * Downward message is unsupported version of XCM.149       * \[ id \]150       **/151      UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;152      /**153       * Generic event154       **/155      [key: string]: AugmentedEvent<ApiType>;156    };157    dmpQueue: {158      /**159       * Downward message executed with the given outcome.160       * \[ id, outcome \]161       **/162      ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;163      /**164       * Downward message is invalid XCM.165       * \[ id \]166       **/167      InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;168      /**169       * Downward message is overweight and was placed in the overweight queue.170       * \[ id, index, required \]171       **/172      OverweightEnqueued: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;173      /**174       * Downward message from the overweight queue was executed.175       * \[ index, used \]176       **/177      OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;178      /**179       * Downward message is unsupported version of XCM.180       * \[ id \]181       **/182      UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;183      /**184       * The weight limit for handling downward messages was reached.185       * \[ id, remaining, required \]186       **/187      WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;188      /**189       * Generic event190       **/191      [key: string]: AugmentedEvent<ApiType>;192    };193    ethereum: {194      /**195       * An ethereum transaction was successfully executed. [from, to/contract_address, transaction_hash, exit_reason]196       **/197      Executed: AugmentedEvent<ApiType, [H160, H160, H256, EvmCoreErrorExitReason]>;198      /**199       * Generic event200       **/201      [key: string]: AugmentedEvent<ApiType>;202    };203    evm: {204      /**205       * A deposit has been made at a given address. \[sender, address, value\]206       **/207      BalanceDeposit: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;208      /**209       * A withdrawal has been made from a given address. \[sender, address, value\]210       **/211      BalanceWithdraw: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;212      /**213       * A contract has been created at given \[address\].214       **/215      Created: AugmentedEvent<ApiType, [H160]>;216      /**217       * A \[contract\] was attempted to be created, but the execution failed.218       **/219      CreatedFailed: AugmentedEvent<ApiType, [H160]>;220      /**221       * A \[contract\] has been executed successfully with states applied.222       **/223      Executed: AugmentedEvent<ApiType, [H160]>;224      /**225       * A \[contract\] has been executed with errors. States are reverted with only gas fees applied.226       **/227      ExecutedFailed: AugmentedEvent<ApiType, [H160]>;228      /**229       * Ethereum events from contracts.230       **/231      Log: AugmentedEvent<ApiType, [EthereumLog]>;232      /**233       * Generic event234       **/235      [key: string]: AugmentedEvent<ApiType>;236    };237    parachainSystem: {238      /**239       * Downward messages were processed using the given weight.240       * \[ weight_used, result_mqc_head \]241       **/242      DownwardMessagesProcessed: AugmentedEvent<ApiType, [u64, H256]>;243      /**244       * Some downward messages have been received and will be processed.245       * \[ count \]246       **/247      DownwardMessagesReceived: AugmentedEvent<ApiType, [u32]>;248      /**249       * An upgrade has been authorized.250       **/251      UpgradeAuthorized: AugmentedEvent<ApiType, [H256]>;252      /**253       * The validation function was applied as of the contained relay chain block number.254       **/255      ValidationFunctionApplied: AugmentedEvent<ApiType, [u32]>;256      /**257       * The relay-chain aborted the upgrade process.258       **/259      ValidationFunctionDiscarded: AugmentedEvent<ApiType, []>;260      /**261       * The validation function has been scheduled to apply.262       **/263      ValidationFunctionStored: AugmentedEvent<ApiType, []>;264      /**265       * Generic event266       **/267      [key: string]: AugmentedEvent<ApiType>;268    };269    polkadotXcm: {270      /**271       * Some assets have been placed in an asset trap.272       * 273       * \[ hash, origin, assets \]274       **/275      AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;276      /**277       * Execution of an XCM message was attempted.278       * 279       * \[ outcome \]280       **/281      Attempted: AugmentedEvent<ApiType, [XcmV2TraitsOutcome]>;282      /**283       * Expected query response has been received but the origin location of the response does284       * not match that expected. The query remains registered for a later, valid, response to285       * be received and acted upon.286       * 287       * \[ origin location, id, expected location \]288       **/289      InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;290      /**291       * Expected query response has been received but the expected origin location placed in292       * storate by this runtime previously cannot be decoded. The query remains registered.293       * 294       * This is unexpected (since a location placed in storage in a previously executing295       * runtime should be readable prior to query timeout) and dangerous since the possibly296       * valid response will be dropped. Manual governance intervention is probably going to be297       * needed.298       * 299       * \[ origin location, id \]300       **/301      InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;302      /**303       * Query response has been received and query is removed. The registered notification has304       * been dispatched and executed successfully.305       * 306       * \[ id, pallet index, call index \]307       **/308      Notified: AugmentedEvent<ApiType, [u64, u8, u8]>;309      /**310       * Query response has been received and query is removed. The dispatch was unable to be311       * decoded into a `Call`; this might be due to dispatch function having a signature which312       * is not `(origin, QueryId, Response)`.313       * 314       * \[ id, pallet index, call index \]315       **/316      NotifyDecodeFailed: AugmentedEvent<ApiType, [u64, u8, u8]>;317      /**318       * Query response has been received and query is removed. There was a general error with319       * dispatching the notification call.320       * 321       * \[ id, pallet index, call index \]322       **/323      NotifyDispatchError: AugmentedEvent<ApiType, [u64, u8, u8]>;324      /**325       * Query response has been received and query is removed. The registered notification could326       * not be dispatched because the dispatch weight is greater than the maximum weight327       * originally budgeted by this runtime for the query result.328       * 329       * \[ id, pallet index, call index, actual weight, max budgeted weight \]330       **/331      NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, u64, u64]>;332      /**333       * A given location which had a version change subscription was dropped owing to an error334       * migrating the location to our new XCM format.335       * 336       * \[ location, query ID \]337       **/338      NotifyTargetMigrationFail: AugmentedEvent<ApiType, [XcmVersionedMultiLocation, u64]>;339      /**340       * A given location which had a version change subscription was dropped owing to an error341       * sending the notification to it.342       * 343       * \[ location, query ID, error \]344       **/345      NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, XcmV2TraitsError]>;346      /**347       * Query response has been received and is ready for taking with `take_response`. There is348       * no registered notification call.349       * 350       * \[ id, response \]351       **/352      ResponseReady: AugmentedEvent<ApiType, [u64, XcmV2Response]>;353      /**354       * Received query response has been read and removed.355       * 356       * \[ id \]357       **/358      ResponseTaken: AugmentedEvent<ApiType, [u64]>;359      /**360       * A XCM message was sent.361       * 362       * \[ origin, destination, message \]363       **/364      Sent: AugmentedEvent<ApiType, [XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;365      /**366       * The supported version of a location has been changed. This might be through an367       * automatic notification or a manual intervention.368       * 369       * \[ location, XCM version \]370       **/371      SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;372      /**373       * Query response received which does not match a registered query. This may be because a374       * matching query was never registered, it may be because it is a duplicate response, or375       * because the query timed out.376       * 377       * \[ origin location, id \]378       **/379      UnexpectedResponse: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;380      /**381       * An XCM version change notification message has been attempted to be sent.382       * 383       * \[ destination, result \]384       **/385      VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;386      /**387       * Generic event388       **/389      [key: string]: AugmentedEvent<ApiType>;390    };391    sudo: {392      /**393       * The \[sudoer\] just switched identity; the old key is supplied.394       **/395      KeyChanged: AugmentedEvent<ApiType, [AccountId32]>;396      /**397       * A sudo just took place. \[result\]398       **/399      Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;400      /**401       * A sudo just took place. \[result\]402       **/403      SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;404      /**405       * Generic event406       **/407      [key: string]: AugmentedEvent<ApiType>;408    };409    system: {410      /**411       * `:code` was updated.412       **/413      CodeUpdated: AugmentedEvent<ApiType, []>;414      /**415       * An extrinsic failed. \[error, info\]416       **/417      ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;418      /**419       * An extrinsic completed successfully. \[info\]420       **/421      ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;422      /**423       * An \[account\] was reaped.424       **/425      KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;426      /**427       * A new \[account\] was created.428       **/429      NewAccount: AugmentedEvent<ApiType, [AccountId32]>;430      /**431       * On on-chain remark happened. \[origin, remark_hash\]432       **/433      Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;434      /**435       * Generic event436       **/437      [key: string]: AugmentedEvent<ApiType>;438    };439    treasury: {440      /**441       * Some funds have been allocated. \[proposal_index, award, beneficiary\]442       **/443      Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;444      /**445       * Some of our funds have been burnt. \[burn\]446       **/447      Burnt: AugmentedEvent<ApiType, [u128]>;448      /**449       * Some funds have been deposited. \[deposit\]450       **/451      Deposit: AugmentedEvent<ApiType, [u128]>;452      /**453       * New proposal. \[proposal_index\]454       **/455      Proposed: AugmentedEvent<ApiType, [u32]>;456      /**457       * A proposal was rejected; funds were slashed. \[proposal_index, slashed\]458       **/459      Rejected: AugmentedEvent<ApiType, [u32, u128]>;460      /**461       * Spending has finished; this is the amount that rolls over until next spend.462       * \[budget_remaining\]463       **/464      Rollover: AugmentedEvent<ApiType, [u128]>;465      /**466       * We have ended a spend period and will now allocate funds. \[budget_remaining\]467       **/468      Spending: AugmentedEvent<ApiType, [u128]>;469      /**470       * Generic event471       **/472      [key: string]: AugmentedEvent<ApiType>;473    };474    vesting: {475      /**476       * Claimed vesting. \[who, locked_amount\]477       **/478      Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;479      /**480       * Added new vesting schedule. \[from, to, vesting_schedule\]481       **/482      VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;483      /**484       * Updated vesting schedules. \[who\]485       **/486      VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;487      /**488       * Generic event489       **/490      [key: string]: AugmentedEvent<ApiType>;491    };492    xcmpQueue: {493      /**494       * Bad XCM format used.495       **/496      BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;497      /**498       * Bad XCM version used.499       **/500      BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;501      /**502       * Some XCM failed.503       **/504      Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;505      /**506       * Some XCM was executed ok.507       **/508      Success: AugmentedEvent<ApiType, [Option<H256>]>;509      /**510       * An upward message was sent to the relay chain.511       **/512      UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;513      /**514       * An HRMP message was sent to a sibling parachain.515       **/516      XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;517      /**518       * Generic event519       **/520      [key: string]: AugmentedEvent<ApiType>;521    };522  }523524  export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {525    [key: string]: ModuleEvents<ApiType>;526  }527}
after · tests/src/interfaces/augment-api-events.ts
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { EthereumLog, EvmCoreErrorExitReason } from './ethereum';5import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode } from './unique';6import type { ApiTypes } from '@polkadot/api/types';7import type { Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types';8import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';9import type { FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';1011declare module '@polkadot/api/types/events' {12  export interface AugmentedEvents<ApiType> {13    balances: {14      /**15       * A balance was set by root.16       **/17      BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;18      /**19       * Some amount was deposited (e.g. for transaction fees).20       **/21      Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;22      /**23       * An account was removed whose balance was non-zero but below ExistentialDeposit,24       * resulting in an outright loss.25       **/26      DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;27      /**28       * An account was created with some free balance.29       **/30      Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;31      /**32       * Some balance was reserved (moved from free to reserved).33       **/34      Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;35      /**36       * Some balance was moved from the reserve of the first account to the second account.37       * Final argument indicates the destination balance type.38       **/39      ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;40      /**41       * Some amount was removed from the account (e.g. for misbehavior).42       **/43      Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;44      /**45       * Transfer succeeded.46       **/47      Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;48      /**49       * Some balance was unreserved (moved from reserved to free).50       **/51      Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;52      /**53       * Some amount was withdrawn from the account (e.g. for transaction fees).54       **/55      Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;56      /**57       * Generic event58       **/59      [key: string]: AugmentedEvent<ApiType>;60    };61    common: {62      /**63       * * collection_id64       * 65       * * item_id66       * 67       * * sender68       * 69       * * spender70       * 71       * * amount72       **/73      Approved: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;74      /**75       * New collection was created76       * 77       * # Arguments78       * 79       * * collection_id: Globally unique identifier of newly created collection.80       * 81       * * mode: [CollectionMode] converted into u8.82       * 83       * * account_id: Collection owner.84       **/85      CollectionCreated: AugmentedEvent<ApiType, [u32, u8, AccountId32]>;86      /**87       * New collection was destroyed88       * 89       * # Arguments90       * 91       * * collection_id: Globally unique identifier of collection.92       **/93      CollectionDestroyed: AugmentedEvent<ApiType, [u32]>;94      /**95       * New item was created.96       * 97       * # Arguments98       * 99       * * collection_id: Id of the collection where item was created.100       * 101       * * item_id: Id of an item. Unique within the collection.102       * 103       * * recipient: Owner of newly created item104       * 105       * * amount: Always 1 for NFT106       **/107      ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;108      /**109       * Collection item was burned.110       * 111       * # Arguments112       * 113       * * collection_id.114       * 115       * * item_id: Identifier of burned NFT.116       * 117       * * owner: which user has destroyed its tokens118       * 119       * * amount: Always 1 for NFT120       **/121      ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;122      /**123       * Item was transferred124       * 125       * * collection_id: Id of collection to which item is belong126       * 127       * * item_id: Id of an item128       * 129       * * sender: Original owner of item130       * 131       * * recipient: New owner of item132       * 133       * * amount: Always 1 for NFT134       **/135      Transfer: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;136      /**137       * Generic event138       **/139      [key: string]: AugmentedEvent<ApiType>;140    };141    cumulusXcm: {142      /**143       * Downward message executed with the given outcome.144       * \[ id, outcome \]145       **/146      ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;147      /**148       * Downward message is invalid XCM.149       * \[ id \]150       **/151      InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;152      /**153       * Downward message is unsupported version of XCM.154       * \[ id \]155       **/156      UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;157      /**158       * Generic event159       **/160      [key: string]: AugmentedEvent<ApiType>;161    };162    dmpQueue: {163      /**164       * Downward message executed with the given outcome.165       * \[ id, outcome \]166       **/167      ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;168      /**169       * Downward message is invalid XCM.170       * \[ id \]171       **/172      InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;173      /**174       * Downward message is overweight and was placed in the overweight queue.175       * \[ id, index, required \]176       **/177      OverweightEnqueued: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;178      /**179       * Downward message from the overweight queue was executed.180       * \[ index, used \]181       **/182      OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;183      /**184       * Downward message is unsupported version of XCM.185       * \[ id \]186       **/187      UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;188      /**189       * The weight limit for handling downward messages was reached.190       * \[ id, remaining, required \]191       **/192      WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;193      /**194       * Generic event195       **/196      [key: string]: AugmentedEvent<ApiType>;197    };198    ethereum: {199      /**200       * An ethereum transaction was successfully executed. [from, to/contract_address, transaction_hash, exit_reason]201       **/202      Executed: AugmentedEvent<ApiType, [H160, H160, H256, EvmCoreErrorExitReason]>;203      /**204       * Generic event205       **/206      [key: string]: AugmentedEvent<ApiType>;207    };208    evm: {209      /**210       * A deposit has been made at a given address. \[sender, address, value\]211       **/212      BalanceDeposit: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;213      /**214       * A withdrawal has been made from a given address. \[sender, address, value\]215       **/216      BalanceWithdraw: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;217      /**218       * A contract has been created at given \[address\].219       **/220      Created: AugmentedEvent<ApiType, [H160]>;221      /**222       * A \[contract\] was attempted to be created, but the execution failed.223       **/224      CreatedFailed: AugmentedEvent<ApiType, [H160]>;225      /**226       * A \[contract\] has been executed successfully with states applied.227       **/228      Executed: AugmentedEvent<ApiType, [H160]>;229      /**230       * A \[contract\] has been executed with errors. States are reverted with only gas fees applied.231       **/232      ExecutedFailed: AugmentedEvent<ApiType, [H160]>;233      /**234       * Ethereum events from contracts.235       **/236      Log: AugmentedEvent<ApiType, [EthereumLog]>;237      /**238       * Generic event239       **/240      [key: string]: AugmentedEvent<ApiType>;241    };242    parachainSystem: {243      /**244       * Downward messages were processed using the given weight.245       * \[ weight_used, result_mqc_head \]246       **/247      DownwardMessagesProcessed: AugmentedEvent<ApiType, [u64, H256]>;248      /**249       * Some downward messages have been received and will be processed.250       * \[ count \]251       **/252      DownwardMessagesReceived: AugmentedEvent<ApiType, [u32]>;253      /**254       * An upgrade has been authorized.255       **/256      UpgradeAuthorized: AugmentedEvent<ApiType, [H256]>;257      /**258       * The validation function was applied as of the contained relay chain block number.259       **/260      ValidationFunctionApplied: AugmentedEvent<ApiType, [u32]>;261      /**262       * The relay-chain aborted the upgrade process.263       **/264      ValidationFunctionDiscarded: AugmentedEvent<ApiType, []>;265      /**266       * The validation function has been scheduled to apply.267       **/268      ValidationFunctionStored: AugmentedEvent<ApiType, []>;269      /**270       * Generic event271       **/272      [key: string]: AugmentedEvent<ApiType>;273    };274    polkadotXcm: {275      /**276       * Some assets have been placed in an asset trap.277       * 278       * \[ hash, origin, assets \]279       **/280      AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;281      /**282       * Execution of an XCM message was attempted.283       * 284       * \[ outcome \]285       **/286      Attempted: AugmentedEvent<ApiType, [XcmV2TraitsOutcome]>;287      /**288       * Expected query response has been received but the origin location of the response does289       * not match that expected. The query remains registered for a later, valid, response to290       * be received and acted upon.291       * 292       * \[ origin location, id, expected location \]293       **/294      InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;295      /**296       * Expected query response has been received but the expected origin location placed in297       * storage by this runtime previously cannot be decoded. The query remains registered.298       * 299       * This is unexpected (since a location placed in storage in a previously executing300       * runtime should be readable prior to query timeout) and dangerous since the possibly301       * valid response will be dropped. Manual governance intervention is probably going to be302       * needed.303       * 304       * \[ origin location, id \]305       **/306      InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;307      /**308       * Query response has been received and query is removed. The registered notification has309       * been dispatched and executed successfully.310       * 311       * \[ id, pallet index, call index \]312       **/313      Notified: AugmentedEvent<ApiType, [u64, u8, u8]>;314      /**315       * Query response has been received and query is removed. The dispatch was unable to be316       * decoded into a `Call`; this might be due to dispatch function having a signature which317       * is not `(origin, QueryId, Response)`.318       * 319       * \[ id, pallet index, call index \]320       **/321      NotifyDecodeFailed: AugmentedEvent<ApiType, [u64, u8, u8]>;322      /**323       * Query response has been received and query is removed. There was a general error with324       * dispatching the notification call.325       * 326       * \[ id, pallet index, call index \]327       **/328      NotifyDispatchError: AugmentedEvent<ApiType, [u64, u8, u8]>;329      /**330       * Query response has been received and query is removed. The registered notification could331       * not be dispatched because the dispatch weight is greater than the maximum weight332       * originally budgeted by this runtime for the query result.333       * 334       * \[ id, pallet index, call index, actual weight, max budgeted weight \]335       **/336      NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, u64, u64]>;337      /**338       * A given location which had a version change subscription was dropped owing to an error339       * migrating the location to our new XCM format.340       * 341       * \[ location, query ID \]342       **/343      NotifyTargetMigrationFail: AugmentedEvent<ApiType, [XcmVersionedMultiLocation, u64]>;344      /**345       * A given location which had a version change subscription was dropped owing to an error346       * sending the notification to it.347       * 348       * \[ location, query ID, error \]349       **/350      NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, XcmV2TraitsError]>;351      /**352       * Query response has been received and is ready for taking with `take_response`. There is353       * no registered notification call.354       * 355       * \[ id, response \]356       **/357      ResponseReady: AugmentedEvent<ApiType, [u64, XcmV2Response]>;358      /**359       * Received query response has been read and removed.360       * 361       * \[ id \]362       **/363      ResponseTaken: AugmentedEvent<ApiType, [u64]>;364      /**365       * A XCM message was sent.366       * 367       * \[ origin, destination, message \]368       **/369      Sent: AugmentedEvent<ApiType, [XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;370      /**371       * The supported version of a location has been changed. This might be through an372       * automatic notification or a manual intervention.373       * 374       * \[ location, XCM version \]375       **/376      SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;377      /**378       * Query response received which does not match a registered query. This may be because a379       * matching query was never registered, it may be because it is a duplicate response, or380       * because the query timed out.381       * 382       * \[ origin location, id \]383       **/384      UnexpectedResponse: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;385      /**386       * An XCM version change notification message has been attempted to be sent.387       * 388       * \[ destination, result \]389       **/390      VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;391      /**392       * Generic event393       **/394      [key: string]: AugmentedEvent<ApiType>;395    };396    sudo: {397      /**398       * The \[sudoer\] just switched identity; the old key is supplied if one existed.399       **/400      KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;401      /**402       * A sudo just took place. \[result\]403       **/404      Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;405      /**406       * A sudo just took place. \[result\]407       **/408      SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;409      /**410       * Generic event411       **/412      [key: string]: AugmentedEvent<ApiType>;413    };414    system: {415      /**416       * `:code` was updated.417       **/418      CodeUpdated: AugmentedEvent<ApiType, []>;419      /**420       * An extrinsic failed.421       **/422      ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;423      /**424       * An extrinsic completed successfully.425       **/426      ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;427      /**428       * An account was reaped.429       **/430      KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;431      /**432       * A new account was created.433       **/434      NewAccount: AugmentedEvent<ApiType, [AccountId32]>;435      /**436       * On on-chain remark happened.437       **/438      Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;439      /**440       * Generic event441       **/442      [key: string]: AugmentedEvent<ApiType>;443    };444    treasury: {445      /**446       * Some funds have been allocated.447       **/448      Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;449      /**450       * Some of our funds have been burnt.451       **/452      Burnt: AugmentedEvent<ApiType, [u128]>;453      /**454       * Some funds have been deposited.455       **/456      Deposit: AugmentedEvent<ApiType, [u128]>;457      /**458       * New proposal.459       **/460      Proposed: AugmentedEvent<ApiType, [u32]>;461      /**462       * A proposal was rejected; funds were slashed.463       **/464      Rejected: AugmentedEvent<ApiType, [u32, u128]>;465      /**466       * Spending has finished; this is the amount that rolls over until next spend.467       **/468      Rollover: AugmentedEvent<ApiType, [u128]>;469      /**470       * We have ended a spend period and will now allocate funds.471       **/472      Spending: AugmentedEvent<ApiType, [u128]>;473      /**474       * Generic event475       **/476      [key: string]: AugmentedEvent<ApiType>;477    };478    unique: {479      /**480       * Address was add to allow list481       * 482       * # Arguments483       * 484       * * collection_id: Globally unique collection identifier.485       * 486       * * user:  Address.487       **/488      AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;489      /**490       * Address was remove from allow list491       * 492       * # Arguments493       * 494       * * collection_id: Globally unique collection identifier.495       * 496       * * user:  Address.497       **/498      AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;499      /**500       * Collection admin was added501       * 502       * # Arguments503       * 504       * * collection_id: Globally unique collection identifier.505       * 506       * * admin:  Admin address.507       **/508      CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;509      /**510       * Collection admin was removed511       * 512       * # Arguments513       * 514       * * collection_id: Globally unique collection identifier.515       * 516       * * admin:  Admin address.517       **/518      CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;519      /**520       * Collection limits was set521       * 522       * # Arguments523       * 524       * * collection_id: Globally unique collection identifier.525       **/526      CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;527      /**528       * Collection owned was change529       * 530       * # Arguments531       * 532       * * collection_id: Globally unique collection identifier.533       * 534       * * owner:  New owner address.535       **/536      CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;537      /**538       * Collection sponsor was removed539       * 540       * # Arguments541       * 542       * * collection_id: Globally unique collection identifier.543       **/544      CollectionSponsorRemoved: AugmentedEvent<ApiType, [u32]>;545      /**546       * Collection sponsor was set547       * 548       * # Arguments549       * 550       * * collection_id: Globally unique collection identifier.551       * 552       * * owner:  New sponsor address.553       **/554      CollectionSponsorSet: AugmentedEvent<ApiType, [u32, AccountId32]>;555      /**556       * const on chain schema was set557       * 558       * # Arguments559       * 560       * * collection_id: Globally unique collection identifier.561       **/562      ConstOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;563      /**564       * Mint permission	was set565       * 566       * # Arguments567       * 568       * * collection_id: Globally unique collection identifier.569       **/570      MintPermissionSet: AugmentedEvent<ApiType, [u32]>;571      /**572       * Offchain schema was set573       * 574       * # Arguments575       * 576       * * collection_id: Globally unique collection identifier.577       **/578      OffchainSchemaSet: AugmentedEvent<ApiType, [u32]>;579      /**580       * Public access mode was set581       * 582       * # Arguments583       * 584       * * collection_id: Globally unique collection identifier.585       * 586       * * mode: New access state.587       **/588      PublicAccessModeSet: AugmentedEvent<ApiType, [u32, UpDataStructsAccessMode]>;589      /**590       * Schema version was set591       * 592       * # Arguments593       * 594       * * collection_id: Globally unique collection identifier.595       **/596      SchemaVersionSet: AugmentedEvent<ApiType, [u32]>;597      /**598       * New sponsor was confirm599       * 600       * # Arguments601       * 602       * * collection_id: Globally unique collection identifier.603       * 604       * * sponsor:  New sponsor address.605       **/606      SponsorshipConfirmed: AugmentedEvent<ApiType, [u32, AccountId32]>;607      /**608       * Variable on chain schema was set609       * 610       * # Arguments611       * 612       * * collection_id: Globally unique collection identifier.613       **/614      VariableOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;615      /**616       * Generic event617       **/618      [key: string]: AugmentedEvent<ApiType>;619    };620    vesting: {621      /**622       * Claimed vesting.623       **/624      Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;625      /**626       * Added new vesting schedule.627       **/628      VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;629      /**630       * Updated vesting schedules.631       **/632      VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;633      /**634       * Generic event635       **/636      [key: string]: AugmentedEvent<ApiType>;637    };638    xcmpQueue: {639      /**640       * Bad XCM format used.641       **/642      BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;643      /**644       * Bad XCM version used.645       **/646      BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;647      /**648       * Some XCM failed.649       **/650      Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;651      /**652       * An XCM exceeded the individual message weight budget.653       **/654      OverweightEnqueued: AugmentedEvent<ApiType, [u32, u32, u64, u64]>;655      /**656       * An XCM from the overweight queue was executed with the given actual weight used.657       **/658      OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;659      /**660       * Some XCM was executed ok.661       **/662      Success: AugmentedEvent<ApiType, [Option<H256>]>;663      /**664       * An upward message was sent to the relay chain.665       **/666      UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;667      /**668       * An HRMP message was sent to a sibling parachain.669       **/670      XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;671      /**672       * Generic event673       **/674      [key: string]: AugmentedEvent<ApiType>;675    };676  }677678  export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {679    [key: string]: ModuleEvents<ApiType>;680  }681}
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -1,8 +1,8 @@
 // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
 /* eslint-disable */
 
-import type { EthereumBlock, EthereumReceipt, EthereumTransactionLegacyTransaction, FpRpcTransactionStatus } from './ethereum';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundStatus, CumulusPalletXcmpQueueOutboundStatus, CumulusPalletXcmpQueueQueueConfigData, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData } from './polkadot';
+import type { EthereumBlock, FpRpcTransactionStatus } from './ethereum';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueQueueConfigData, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData } from './polkadot';
 import type { PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, UpDataStructsCollection, UpDataStructsCollectionStats } from './unique';
 import type { ApiTypes } from '@polkadot/api/types';
 import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';
@@ -105,7 +105,7 @@
       /**
        * The current Ethereum receipts.
        **/
-      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceipt>>>, []> & QueryableStorageEntry<ApiType, []>;
+      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;
       /**
        * The current transaction statuses.
        **/
@@ -113,7 +113,7 @@
       /**
        * Current building block's transactions and receipts.
        **/
-      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionLegacyTransaction, FpRpcTransactionStatus, EthereumReceipt]>>>, []> & QueryableStorageEntry<ApiType, []>;
+      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;
       /**
        * Generic query
        **/
@@ -163,10 +163,22 @@
     };
     inflation: {
       /**
-       * Current block inflation
+       * Current inflation for `InflationBlockInterval` number of blocks
        **/
       blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
       /**
+       * Next target (relay) block when inflation will be applied
+       **/
+      nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+      /**
+       * Next target (relay) block when inflation is recalculated
+       **/
+      nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+      /**
+       * Relay block when inflation has started
+       **/
+      startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+      /**
        * starting year total issuance
        **/
       startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
@@ -208,6 +220,12 @@
        **/
       authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;
       /**
+       * A custom head data that should be returned as result of `validate_block`.
+       * 
+       * See [`Pallet::set_custom_validation_head_data`] for more information.
+       **/
+      customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
+      /**
        * Were the validation data set to notify the relay chain?
        **/
       didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
@@ -353,7 +371,7 @@
       /**
        * The `AccountId` of the sudo key.
        **/
-      key: AugmentedQuery<ApiType, () => Observable<AccountId32>, []> & QueryableStorageEntry<ApiType, []>;
+      key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
       /**
        * Generic query
        **/
@@ -540,7 +558,7 @@
       /**
        * Status of the inbound XCMP channels.
        **/
-      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, CumulusPalletXcmpQueueInboundStatus, Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>]>>>, []> & QueryableStorageEntry<ApiType, []>;
+      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;
       /**
        * The messages outbound in a given XCMP channel.
        **/
@@ -553,7 +571,19 @@
        * case of the need to send a high-priority signal message this block.
        * The bool is true if there is a signal message waiting to be sent.
        **/
-      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, CumulusPalletXcmpQueueOutboundStatus, bool, u16, u16]>>>, []> & QueryableStorageEntry<ApiType, []>;
+      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;
+      /**
+       * The messages that exceeded max individual message weight budget.
+       * 
+       * These message stay in this storage map until they are manually dispatched via
+       * `service_overweight`.
+       **/
+      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
+      /**
+       * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next
+       * available free overweight index.
+       **/
+      overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
       /**
        * The configuration which controls the dynamics of the outbound queue.
        **/
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -1,14 +1,13 @@
 // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
 /* eslint-disable */
 
-import type { EthereumTransactionLegacyTransaction } from './ethereum';
 import type { CumulusPrimitivesParachainInherentParachainInherentData } from './polkadot';
 import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateItemData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion } from './unique';
 import type { ApiTypes, SubmittableExtrinsic } from '@polkadot/api/types';
 import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';
 import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
 import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
-import type { SpCoreChangesTrieChangesTrieConfiguration, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
 import type { AnyNumber, ITuple } from '@polkadot/types/types';
 
 declare module '@polkadot/api/types/submittable' {
@@ -33,28 +32,17 @@
        * Set the balances of a given account.
        * 
        * This will alter `FreeBalance` and `ReservedBalance` in storage. it will
-       * also decrease the total issuance of the system (`TotalIssuance`).
+       * also alter the total issuance of the system (`TotalIssuance`) appropriately.
        * If the new free or reserved balance is below the existential deposit,
        * it will reset the account nonce (`frame_system::AccountNonce`).
        * 
        * The dispatch origin for this call is `root`.
-       * 
-       * # <weight>
-       * - Independent of the arguments.
-       * - Contains a limited number of reads and writes.
-       * ---------------------
-       * - Base Weight:
-       * - Creating: 27.56 µs
-       * - Killing: 35.11 µs
-       * - DB Weight: 1 Read, 1 Write to `who`
-       * # </weight>
        **/
       setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;
       /**
        * Transfer some liquid free balance to another account.
        * 
        * `transfer` will set the `FreeBalance` of the sender and receiver.
-       * It will decrease the total issuance of the system by the `TransferFee`.
        * If the sender's account is below the existential deposit as a result
        * of the transfer, the account will be reaped.
        * 
@@ -75,8 +63,6 @@
        * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check
        * that the transfer will not kill the origin account.
        * ---------------------------------
-       * - Base Weight: 73.64 µs, worst case scenario (account created, account removed)
-       * - DB Weight: 1 Read and 1 Write to destination account
        * - Origin account is already in memory, so no DB operations for them.
        * # </weight>
        **/
@@ -108,11 +94,6 @@
        * 99% of the time you want [`transfer`] instead.
        * 
        * [`transfer`]: struct.Pallet.html#method.transfer
-       * # <weight>
-       * - Cheaper than transfer because account cannot be killed.
-       * - Base Weight: 51.4 µs
-       * - DB Weight: 1 Read and 1 Write to dest (sender is in overlay already)
-       * #</weight>
        **/
       transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
       /**
@@ -157,7 +138,7 @@
       /**
        * Transact an Ethereum transaction.
        **/
-      transact: AugmentedSubmittable<(transaction: EthereumTransactionLegacyTransaction | { nonce?: any; gasPrice?: any; gasLimit?: any; action?: any; value?: any; input?: any; signature?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionLegacyTransaction]>;
+      transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;
       /**
        * Generic tx
        **/
@@ -167,16 +148,16 @@
       /**
        * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.
        **/
-      call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>]>;
+      call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;
       /**
        * Issue an EVM create operation. This is similar to a contract creation transaction in
        * Ethereum.
        **/
-      create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>]>;
+      create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;
       /**
        * Issue an EVM create2 operation.
        **/
-      create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>]>;
+      create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;
       /**
        * Withdraw balance from EVM into currency/balances pallet.
        **/
@@ -197,6 +178,20 @@
     };
     inflation: {
       /**
+       * This method sets the inflation start date. Can be only called once.
+       * Inflation start block can be backdated and will catch up. The method will create Treasury
+       * account if it does not exist and perform the first inflation deposit.
+       * 
+       * # Permissions
+       * 
+       * * Root
+       * 
+       * # Arguments
+       * 
+       * * inflation_start_relay_block: The relay chain block at which inflation should start
+       **/
+      startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+      /**
        * Generic tx
        **/
       [key: string]: SubmittableExtrinsicFunction<ApiType>;
@@ -300,8 +295,8 @@
        * an `AccountId32` value.
        * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the
        * `dest` side. May not be empty.
-       * - `dest_weight`: Equal to the total weight on `dest` of the XCM message
-       * `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`.
+       * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
+       * fees.
        * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
        **/
       limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;
@@ -339,8 +334,8 @@
        * an `AccountId32` value.
        * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the
        * `dest` side. May not be empty.
-       * - `dest_weight`: Equal to the total weight on `dest` of the XCM message
-       * `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`.
+       * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
+       * fees.
        **/
       teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;
       /**
@@ -374,7 +369,7 @@
        * - Weight of derivative `call` execution + 10,000.
        * # </weight>
        **/
-       sudo: AugmentedSubmittable<(call: Call) => SubmittableExtrinsic<ApiType>, [Call]>;
+      sudo: AugmentedSubmittable<(call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
       /**
        * Authenticates the sudo key and dispatches a function call with `Signed` origin from
        * a given account.
@@ -388,7 +383,7 @@
        * - Weight of derivative `call` execution + 10,000.
        * # </weight>
        **/
-      sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, ) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
+      sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
       /**
        * Authenticates the sudo key and dispatches a function call with `Root` origin.
        * This function does not check the weight of the call, and instead allows the
@@ -401,7 +396,7 @@
        * - The weight of this call is defined by the caller.
        * # </weight>
        **/
-       sudoUncheckedWeight: AugmentedSubmittable<(call: Call, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;
+      sudoUncheckedWeight: AugmentedSubmittable<(call: Call | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;
       /**
        * Generic tx
        **/
@@ -417,24 +412,10 @@
        * 
        * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
        * the prefix we are removing to accurately calculate the weight of this function.
-       * 
-       * # <weight>
-       * - `O(P)` where `P` amount of keys with prefix `prefix`
-       * - `P` storage deletions.
-       * - Base Weight: 0.834 * P µs
-       * - Writes: Number of subkeys + 1
-       * # </weight>
        **/
       killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
       /**
        * Kill some items from storage.
-       * 
-       * # <weight>
-       * - `O(IK)` where `I` length of `keys` and `K` length of one key
-       * - `I` storage deletions.
-       * - Base Weight: .378 * i µs
-       * - Writes: Number of items
-       * # </weight>
        **/
       killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
       /**
@@ -455,19 +436,6 @@
        **/
       remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
       /**
-       * Set the new changes trie configuration.
-       * 
-       * # <weight>
-       * - `O(1)`
-       * - 1 storage write or delete (codec `O(1)`).
-       * - 1 call to `deposit_log`: Uses `append` API, so O(1)
-       * - Base Weight: 7.218 µs
-       * - DB Weight:
-       * - Writes: Changes Trie, System Digest
-       * # </weight>
-       **/
-      setChangesTrieConfig: AugmentedSubmittable<(changesTrieConfig: Option<SpCoreChangesTrieChangesTrieConfiguration> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<SpCoreChangesTrieChangesTrieConfiguration>]>;
-      /**
        * Set the new runtime code.
        * 
        * # <weight>
@@ -496,25 +464,10 @@
       setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
       /**
        * Set the number of pages in the WebAssembly environment's heap.
-       * 
-       * # <weight>
-       * - `O(1)`
-       * - 1 storage write.
-       * - Base Weight: 1.405 µs
-       * - 1 write to HEAP_PAGES
-       * - 1 digest item
-       * # </weight>
        **/
       setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
       /**
        * Set some items of storage.
-       * 
-       * # <weight>
-       * - `O(I)` where `I` length of `items`
-       * - `I` storage writes (`O(1)`).
-       * - Base Weight: 0.568 * i µs
-       * - Writes: Number of items
-       * # </weight>
        **/
       setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
       /**
@@ -1026,6 +979,22 @@
     };
     xcmpQueue: {
       /**
+       * Services a single overweight XCM.
+       * 
+       * - `origin`: Must pass `ExecuteOverweightOrigin`.
+       * - `index`: The index of the overweight XCM to service
+       * - `weight_limit`: The amount of weight that XCM execution may take.
+       * 
+       * Errors:
+       * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.
+       * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.
+       * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.
+       * 
+       * Events:
+       * - `OverweightServiced`: On success.
+       **/
+      serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;
+      /**
        * Generic tx
        **/
       [key: string]: SubmittableExtrinsicFunction<ApiType>;