difftreelog
Fix after rebase
in: master
15 files changed
Cargo.lockdiffbeforeafterboth989989990[[package]]990[[package]]991name = "camino"991name = "camino"992version = "1.0.9"992version = "1.0.8"993source = "registry+https://github.com/rust-lang/crates.io-index"993source = "registry+https://github.com/rust-lang/crates.io-index"994checksum = "869119e97797867fd90f5e22af7d0bd274bd4635ebb9eb68c04f3f513ae6c412"994checksum = "07fd178c5af4d59e83498ef15cf3f154e1a6f9d091270cb86283c65ef44e9ef0"995dependencies = [995dependencies = [996 "serde",996 "serde",997]997]6098 "up-data-structs",6098 "up-data-structs",6099]6099]61006101[[package]]6102name = "pallet-evm-collection"6103version = "0.1.0"6104dependencies = [6105 "ethereum",6106 "evm-coder",6107 "fp-evm-mapping",6108 "frame-support",6109 "frame-system",6110 "log",6111 "pallet-common",6112 "pallet-evm",6113 "pallet-evm-coder-substrate",6114 "pallet-nonfungible",6115 "parity-scale-codec",6116 "scale-info",6117 "serde_json",6118 "sp-core",6119 "sp-runtime",6120 "sp-std",6121 "up-data-structs",6122]610061236101[[package]]6124[[package]]6102name = "pallet-evm-contract-helpers"6125name = "pallet-evm-contract-helpers"pallets/evm-collection/src/stubs/Collection.rawdiffbeforeafterbothbinary blob — no preview
pallets/evm-collection/src/stubs/Collection.soldiffbeforeafterboth56 }56 }575758 // Selector: setOffchainSchema(address,string) 2c9d9d7058 // Selector: setOffchainSchema(address,string) 2c9d9d7059 function setOffchainSchema(address collectionAddress, string memory shema)59 function setOffchainSchema(address collectionAddress, string memory schema)60 public60 public61 view61 view62 {62 {63 require(false, stub_error);63 require(false, stub_error);64 collectionAddress;64 collectionAddress;65 shema;65 schema;66 dummy;66 dummy;67 }67 }6868pallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth28pallet-common = { default-features = false, path = '../../pallets/common' }28pallet-common = { default-features = false, path = '../../pallets/common' }29pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }29pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }30pallet-nonfungible = { default-features = false, path = '../../pallets/nonfungible' }30pallet-nonfungible = { default-features = false, path = '../../pallets/nonfungible' }31up-data-structs = { default-features = false, path = '../../primitives/data-structs' }31up-data-structs = { default-features = false, path = '../../primitives/data-structs', features = ['serde1'] }323233[dependencies.codec]33[dependencies.codec]34default-features = false34default-features = falseprimitives/rpc/src/lib.rsdiffbeforeafterboth23use sp_std::vec::Vec;23use sp_std::vec::Vec;24use codec::Decode;24use codec::Decode;25use sp_runtime::DispatchError;25use sp_runtime::DispatchError;26use sp_core::H160;262727type Result<T> = core::result::Result<T, DispatchError>;28type Result<T> = core::result::Result<T, DispatchError>;282971 token: TokenId,72 token: TokenId,72 ) -> Result<u128>;73 ) -> Result<u128>;737475 fn eth_contract_code(account: H160) -> Option<Vec<u8>>;74 fn adminlist(collection: CollectionId) -> Result<Vec<CrossAccountId>>;76 fn adminlist(collection: CollectionId) -> Result<Vec<CrossAccountId>>;75 fn allowlist(collection: CollectionId) -> Result<Vec<CrossAccountId>>;77 fn allowlist(collection: CollectionId) -> Result<Vec<CrossAccountId>>;76 fn allowed(collection: CollectionId, user: CrossAccountId) -> Result<bool>;78 fn allowed(collection: CollectionId, user: CrossAccountId) -> Result<bool>;runtime/opal/src/lib.rsdiffbeforeafterboth79};79};80use smallvec::smallvec;80use smallvec::smallvec;81use codec::{Encode, Decode};81use codec::{Encode, Decode};82use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping};82use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};83use fp_rpc::TransactionStatus;83use fp_rpc::TransactionStatus;84use sp_runtime::{84use sp_runtime::{85 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},85 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},runtime/unique/src/lib.rsdiffbeforeafterboth84};84};85use smallvec::smallvec;85use smallvec::smallvec;86use codec::{Encode, Decode};86use codec::{Encode, Decode};87use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping};87use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};88use fp_rpc::TransactionStatus;88use fp_rpc::TransactionStatus;89use sp_runtime::{89use sp_runtime::{90 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},90 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},tests/src/eth/api/Collection.soldiffbeforeafterboth30 function confirmSponsorship(address collectionAddress) external view;30 function confirmSponsorship(address collectionAddress) external view;313132 // Selector: setOffchainSchema(address,string) 2c9d9d7032 // Selector: setOffchainSchema(address,string) 2c9d9d7033 function setOffchainSchema(address collectionAddress, string memory shema)33 function setOffchainSchema(address collectionAddress, string memory schema)34 external34 external35 view;35 view;3636tests/src/eth/collectionAbi.jsondiffbeforeafterboth58 "name": "collectionAddress",58 "name": "collectionAddress",59 "type": "address"59 "type": "address"60 },60 },61 { "internalType": "string", "name": "shema", "type": "string" }61 { "internalType": "string", "name": "schema", "type": "string" }62 ],62 ],63 "name": "setOffchainSchema",63 "name": "setOffchainSchema",64 "outputs": [],64 "outputs": [],tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth249 **/249 **/250 [key: string]: AugmentedError<ApiType>;250 [key: string]: AugmentedError<ApiType>;251 };251 };252 evmCollection: {253 /**254 * This method is only executable by owner255 **/256 NoPermission: AugmentedError<ApiType>;257 /**258 * Generic error259 **/260 [key: string]: AugmentedError<ApiType>;261 };252 evmContractHelpers: {262 evmContractHelpers: {253 /**263 /**254 * This method is only executable by owner264 * This method is only executable by ownertests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth13import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';13import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';14import type { AuthorityId } from '@polkadot/types/interfaces/consensus';14import type { AuthorityId } from '@polkadot/types/interfaces/consensus';15import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';15import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';16import type { BlockStats } from '@polkadot/types/interfaces/dev';17import type { CreatedBlock } from '@polkadot/types/interfaces/engine';16import type { CreatedBlock } from '@polkadot/types/interfaces/engine';18import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';17import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';19import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';18import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';22import type { StorageKind } from '@polkadot/types/interfaces/offchain';21import type { StorageKind } from '@polkadot/types/interfaces/offchain';23import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';22import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';24import type { RpcMethods } from '@polkadot/types/interfaces/rpc';23import type { RpcMethods } from '@polkadot/types/interfaces/rpc';25import type { AccountId, AccountId32, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';24import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';26import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';25import type { ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';27import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';26import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';28import type { IExtrinsic, Observable } from '@polkadot/types/types';27import type { IExtrinsic, Observable } from '@polkadot/types/types';2928157 **/156 **/158 uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<CodeUploadResult>>;157 uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<CodeUploadResult>>;159 };158 };160 dev: {161 /**162 * Reexecute the specified `block_hash` and gather statistics while doing so163 **/164 getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable<Option<BlockStats>>>;165 };166 engine: {159 engine: {167 /**160 /**168 * Instructs the manual-seal authorship task to create a new block161 * Instructs the manual-seal authorship task to create a new block339 **/332 **/340 uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable<bool>>;333 uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable<bool>>;341 };334 };342 grandpa: {343 /**344 * Prove finality for the given block number, returning the Justification for the last block in the set.345 **/346 proveFinality: AugmentedRpc<(blockNumber: BlockNumber | AnyNumber | Uint8Array) => Observable<Option<EncodedFinalityProofs>>>;347 /**348 * Returns the state of the current best round state as well as the ongoing background rounds349 **/350 roundState: AugmentedRpc<() => Observable<ReportedRoundStates>>;351 /**352 * Subscribes to grandpa justifications353 **/354 subscribeJustifications: AugmentedRpc<() => Observable<JustificationNotification>>;355 };356 mmr: {335 mmr: {357 /**336 /**358 * Generate MMR proof for given leaf index.337 * Generate MMR proof for given leaf index.453 **/432 **/454 methods: AugmentedRpc<() => Observable<RpcMethods>>;433 methods: AugmentedRpc<() => Observable<RpcMethods>>;455 };434 };456 state: {457 /**458 * Perform a call to a builtin on the chain459 **/460 call: AugmentedRpc<(method: Text | string, data: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<Bytes>>;461 /**462 * Retrieves the keys with prefix of a specific child storage463 **/464 getChildKeys: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Vec<StorageKey>>>;465 /**466 * Returns proof of storage for child key entries at a specific block state.467 **/468 getChildReadProof: AugmentedRpc<(childStorageKey: PrefixedStorageKey | string | Uint8Array, keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array) => Observable<ReadProof>>;469 /**470 * Retrieves the child storage for a key471 **/472 getChildStorage: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<StorageData>>;473 /**474 * Retrieves the child storage hash475 **/476 getChildStorageHash: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Hash>>;477 /**478 * Retrieves the child storage size479 **/480 getChildStorageSize: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<u64>>;481 /**482 * Retrieves the keys with a certain prefix483 **/484 getKeys: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Vec<StorageKey>>>;485 /**486 * Returns the keys with prefix with pagination support.487 **/488 getKeysPaged: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, count: u32 | AnyNumber | Uint8Array, startKey?: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Vec<StorageKey>>>;489 /**490 * Returns the runtime metadata491 **/492 getMetadata: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<Metadata>>;493 /**494 * Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged)495 **/496 getPairs: AugmentedRpc<(prefix: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Vec<KeyValue>>>;497 /**498 * Returns proof of storage entries at a specific block state499 **/500 getReadProof: AugmentedRpc<(keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array) => Observable<ReadProof>>;501 /**502 * Get the runtime version503 **/504 getRuntimeVersion: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<RuntimeVersion>>;505 /**506 * Retrieves the storage for a key507 **/508 getStorage: AugmentedRpc<<T = Codec>(key: StorageKey | string | Uint8Array | any, block?: Hash | Uint8Array | string) => Observable<T>>;509 /**510 * Retrieves the storage hash511 **/512 getStorageHash: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Hash>>;513 /**514 * Retrieves the storage size515 **/516 getStorageSize: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<u64>>;517 /**518 * Query historical storage entries (by key) starting from a start block519 **/520 queryStorage: AugmentedRpc<<T = Codec[]>(keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], fromBlock?: Hash | Uint8Array | string, toBlock?: Hash | Uint8Array | string) => Observable<[Hash, T][]>>;521 /**522 * Query storage entries (by key) starting at block hash given as the second parameter523 **/524 queryStorageAt: AugmentedRpc<<T = Codec[]>(keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: Hash | Uint8Array | string) => Observable<T>>;525 /**526 * Retrieves the runtime version via subscription527 **/528 subscribeRuntimeVersion: AugmentedRpc<() => Observable<RuntimeVersion>>;529 /**530 * Subscribes to storage changes for the provided keys531 **/532 subscribeStorage: AugmentedRpc<<T = Codec[]>(keys?: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[]) => Observable<T>>;533 /**534 * Provides a way to trace the re-execution of a single block535 **/536 traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array, methods: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>;537 /**538 * Check current migration state539 **/540 trieMigrationStatus: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<MigrationStatusResult>>;541 };542 syncstate: {435 syncstate: {543 /**436 /**544 * Returns the json-serialized chainspec running the node, with a sync state.437 * Returns the json-serialized chainspec running the node, with a sync state.tests/src/interfaces/augment-types.tsdiffbeforeafterboth23import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';23import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';24import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';24import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';25import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';25import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';26import type { BlockStats } from '@polkadot/types/interfaces/dev';27import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';26import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';28import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';27import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';29import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';28import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';52import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';51import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';53import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';52import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';54import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking';53import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking';55import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';54import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';56import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';55import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';57import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8a, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';56import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';58import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';57import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';59import type { Multiplier } from '@polkadot/types/interfaces/txpayment';58import type { Multiplier } from '@polkadot/types/interfaces/txpayment';60import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';59import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';154 BlockNumber: BlockNumber;153 BlockNumber: BlockNumber;155 BlockNumberFor: BlockNumberFor;154 BlockNumberFor: BlockNumberFor;156 BlockNumberOf: BlockNumberOf;155 BlockNumberOf: BlockNumberOf;157 BlockStats: BlockStats;158 BlockTrace: BlockTrace;156 BlockTrace: BlockTrace;159 BlockTraceEvent: BlockTraceEvent;157 BlockTraceEvent: BlockTraceEvent;160 BlockTraceEventData: BlockTraceEventData;158 BlockTraceEventData: BlockTraceEventData;329 DispatchClass: DispatchClass;327 DispatchClass: DispatchClass;330 DispatchError: DispatchError;328 DispatchError: DispatchError;331 DispatchErrorModule: DispatchErrorModule;329 DispatchErrorModule: DispatchErrorModule;332 DispatchErrorModuleU8a: DispatchErrorModuleU8a;333 DispatchErrorTo198: DispatchErrorTo198;330 DispatchErrorTo198: DispatchErrorTo198;334 DispatchFeePayment: DispatchFeePayment;331 DispatchFeePayment: DispatchFeePayment;335 DispatchInfo: DispatchInfo;332 DispatchInfo: DispatchInfo;660 MetadataV13: MetadataV13;657 MetadataV13: MetadataV13;661 MetadataV14: MetadataV14;658 MetadataV14: MetadataV14;662 MetadataV9: MetadataV9;659 MetadataV9: MetadataV9;663 MigrationStatusResult: MigrationStatusResult;664 MmrLeafProof: MmrLeafProof;660 MmrLeafProof: MmrLeafProof;665 MmrRootHash: MmrRootHash;661 MmrRootHash: MmrRootHash;666 ModuleConstantMetadataV10: ModuleConstantMetadataV10;662 ModuleConstantMetadataV10: ModuleConstantMetadataV10;771 PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;767 PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;772 PalletEvmCall: PalletEvmCall;768 PalletEvmCall: PalletEvmCall;773 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;769 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;770 PalletEvmCollectionError: PalletEvmCollectionError;774 PalletEvmContractHelpersError: PalletEvmContractHelpersError;771 PalletEvmContractHelpersError: PalletEvmContractHelpersError;775 PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;772 PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;776 PalletEvmError: PalletEvmError;773 PalletEvmError: PalletEvmError;tests/src/interfaces/lookup.tsdiffbeforeafterboth25 SpTrieStorageProof: {25 SpTrieStorageProof: {26 trieNodes: 'BTreeSet<Bytes>'26 trieNodes: 'BTreeSet<Bytes>'27 },27 },28 /**29 * Lookup11: BTreeSet<T>30 **/31 BTreeSet: 'Vec<Bytes>',28 /**32 /**29 * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot33 * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot30 **/34 **/tests/src/interfaces/types-lookup.tsdiffbeforeafterboth26 readonly trieNodes: BTreeSet<Bytes>;26 readonly trieNodes: BTreeSet<Bytes>;27 }27 }2829 /** @name BTreeSet (11) */30 export interface BTreeSet extends Vec<Bytes> {}283129 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */32 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */30 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {33 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {tests/src/interfaces/unique/types.tsdiffbeforeafterboth6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name BTreeSet */10export interface BTreeSet extends Vec<Bytes> {}8119/** @name CumulusPalletDmpQueueCall */12/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {13export interface CumulusPalletDmpQueueCall extends Enum {1012 readonly type: 'OutOfGas' | 'OutOfFund';1015 readonly type: 'OutOfGas' | 'OutOfFund';1013}1016}10171018/** @name PalletEvmCollectionError */1019export interface PalletEvmCollectionError extends Enum {1020 readonly isNoPermission: boolean;1021 readonly type: 'NoPermission';1022}101410231015/** @name PalletEvmContractHelpersError */1024/** @name PalletEvmContractHelpersError */1016export interface PalletEvmContractHelpersError extends Enum {1025export interface PalletEvmContractHelpersError extends Enum {