diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 5bb9104133..843ce9fe4a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,4 +1,4 @@ - 3006 Jaco Split rpc.system.* definitions (#4906) + 3007 Jaco Align DispatchError (#4907) 83 Amaury Martiny StatementKind: Regular and Saft (#2303) 37 Keith Ingram Update contract types and rpc (#4541) 35 Stefanie Doll Updated child storage parameters (#1709) diff --git a/package.json b/package.json index d4c7879415..00b39e8d05 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "sideEffects": false, "type": "commonjs", - "version": "8.7.2-7", + "version": "8.7.2-8", "workspaces": [ "packages/*" ], diff --git a/packages/api-augment/package.json b/packages/api-augment/package.json index 3e421f0ca1..bfb6d566b2 100644 --- a/packages/api-augment/package.json +++ b/packages/api-augment/package.json @@ -20,18 +20,18 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/api-base": "8.7.2-7", - "@polkadot/rpc-augment": "8.7.2-7", - "@polkadot/types": "8.7.2-7", - "@polkadot/types-augment": "8.7.2-7", - "@polkadot/types-codec": "8.7.2-7", + "@polkadot/api-base": "8.7.2-8", + "@polkadot/rpc-augment": "8.7.2-8", + "@polkadot/types": "8.7.2-8", + "@polkadot/types-augment": "8.7.2-8", + "@polkadot/types-codec": "8.7.2-8", "@polkadot/util": "^9.4.1" }, "devDependencies": { - "@polkadot/types-support": "8.7.2-7" + "@polkadot/types-support": "8.7.2-8" } } diff --git a/packages/api-augment/src/packageInfo.ts b/packages/api-augment/src/packageInfo.ts index 907b36c5f2..a14586bca4 100644 --- a/packages/api-augment/src/packageInfo.ts +++ b/packages/api-augment/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/api-base/package.json b/packages/api-base/package.json index d6bfa5df06..cd15fa1702 100644 --- a/packages/api-base/package.json +++ b/packages/api-base/package.json @@ -20,12 +20,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/rpc-core": "8.7.2-7", - "@polkadot/types": "8.7.2-7", + "@polkadot/rpc-core": "8.7.2-8", + "@polkadot/types": "8.7.2-8", "@polkadot/util": "^9.4.1", "rxjs": "^7.5.5" } diff --git a/packages/api-base/src/packageInfo.ts b/packages/api-base/src/packageInfo.ts index 37a42c29d6..19f3846c9a 100644 --- a/packages/api-base/src/packageInfo.ts +++ b/packages/api-base/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index ff0d4d64c1..00dbcc7780 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -20,20 +20,20 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/api": "8.7.2-7", - "@polkadot/types": "8.7.2-7", - "@polkadot/types-codec": "8.7.2-7", - "@polkadot/types-create": "8.7.2-7", + "@polkadot/api": "8.7.2-8", + "@polkadot/types": "8.7.2-8", + "@polkadot/types-codec": "8.7.2-8", + "@polkadot/types-create": "8.7.2-8", "@polkadot/util": "^9.4.1", "@polkadot/util-crypto": "^9.4.1", "rxjs": "^7.5.5" }, "devDependencies": { - "@polkadot/api-augment": "8.7.2-7", + "@polkadot/api-augment": "8.7.2-8", "@polkadot/keyring": "^9.4.1" } } diff --git a/packages/api-contract/src/packageInfo.ts b/packages/api-contract/src/packageInfo.ts index 2ab304f3a0..771d40576e 100644 --- a/packages/api-contract/src/packageInfo.ts +++ b/packages/api-contract/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 5be0f0d864..bc9a073b1b 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -20,25 +20,25 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/api": "8.7.2-7", - "@polkadot/api-augment": "8.7.2-7", - "@polkadot/api-base": "8.7.2-7", - "@polkadot/rpc-core": "8.7.2-7", - "@polkadot/types": "8.7.2-7", - "@polkadot/types-codec": "8.7.2-7", + "@polkadot/api": "8.7.2-8", + "@polkadot/api-augment": "8.7.2-8", + "@polkadot/api-base": "8.7.2-8", + "@polkadot/rpc-core": "8.7.2-8", + "@polkadot/types": "8.7.2-8", + "@polkadot/types-codec": "8.7.2-8", "@polkadot/util": "^9.4.1", "@polkadot/util-crypto": "^9.4.1", "rxjs": "^7.5.5" }, "devDependencies": { - "@polkadot/api": "8.7.2-7", - "@polkadot/api-augment": "8.7.2-7", - "@polkadot/rpc-augment": "8.7.2-7", - "@polkadot/rpc-provider": "8.7.2-7", - "@polkadot/types-support": "8.7.2-7" + "@polkadot/api": "8.7.2-8", + "@polkadot/api-augment": "8.7.2-8", + "@polkadot/rpc-augment": "8.7.2-8", + "@polkadot/rpc-provider": "8.7.2-8", + "@polkadot/types-support": "8.7.2-8" } } diff --git a/packages/api-derive/src/packageInfo.ts b/packages/api-derive/src/packageInfo.ts index 27b8bd60d6..f92223f508 100644 --- a/packages/api-derive/src/packageInfo.ts +++ b/packages/api-derive/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/api/package.json b/packages/api/package.json index 157e2bf9c8..5faf18eaa3 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -20,29 +20,29 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/api-augment": "8.7.2-7", - "@polkadot/api-base": "8.7.2-7", - "@polkadot/api-derive": "8.7.2-7", + "@polkadot/api-augment": "8.7.2-8", + "@polkadot/api-base": "8.7.2-8", + "@polkadot/api-derive": "8.7.2-8", "@polkadot/keyring": "^9.4.1", - "@polkadot/rpc-augment": "8.7.2-7", - "@polkadot/rpc-core": "8.7.2-7", - "@polkadot/rpc-provider": "8.7.2-7", - "@polkadot/types": "8.7.2-7", - "@polkadot/types-augment": "8.7.2-7", - "@polkadot/types-codec": "8.7.2-7", - "@polkadot/types-create": "8.7.2-7", - "@polkadot/types-known": "8.7.2-7", + "@polkadot/rpc-augment": "8.7.2-8", + "@polkadot/rpc-core": "8.7.2-8", + "@polkadot/rpc-provider": "8.7.2-8", + "@polkadot/types": "8.7.2-8", + "@polkadot/types-augment": "8.7.2-8", + "@polkadot/types-codec": "8.7.2-8", + "@polkadot/types-create": "8.7.2-8", + "@polkadot/types-known": "8.7.2-8", "@polkadot/util": "^9.4.1", "@polkadot/util-crypto": "^9.4.1", "eventemitter3": "^4.0.7", "rxjs": "^7.5.5" }, "devDependencies": { - "@polkadot/api-augment": "8.7.2-7", - "@polkadot/types-support": "8.7.2-7" + "@polkadot/api-augment": "8.7.2-8", + "@polkadot/types-support": "8.7.2-8" } } diff --git a/packages/api/src/packageInfo.ts b/packages/api/src/packageInfo.ts index 640961560c..17bf6177c0 100644 --- a/packages/api/src/packageInfo.ts +++ b/packages/api/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/rpc-augment/package.json b/packages/rpc-augment/package.json index 9a75097330..75162b8e00 100644 --- a/packages/rpc-augment/package.json +++ b/packages/rpc-augment/package.json @@ -20,13 +20,13 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/rpc-core": "8.7.2-7", - "@polkadot/types": "8.7.2-7", - "@polkadot/types-codec": "8.7.2-7", + "@polkadot/rpc-core": "8.7.2-8", + "@polkadot/types": "8.7.2-8", + "@polkadot/types-codec": "8.7.2-8", "@polkadot/util": "^9.4.1" } } diff --git a/packages/rpc-augment/src/packageInfo.ts b/packages/rpc-augment/src/packageInfo.ts index 176b459218..3b219149aa 100644 --- a/packages/rpc-augment/src/packageInfo.ts +++ b/packages/rpc-augment/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index d03399c646..ac367c9664 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -20,18 +20,18 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/rpc-augment": "8.7.2-7", - "@polkadot/rpc-provider": "8.7.2-7", - "@polkadot/types": "8.7.2-7", + "@polkadot/rpc-augment": "8.7.2-8", + "@polkadot/rpc-provider": "8.7.2-8", + "@polkadot/types": "8.7.2-8", "@polkadot/util": "^9.4.1", "rxjs": "^7.5.5" }, "devDependencies": { "@polkadot/keyring": "^9.4.1", - "@polkadot/rpc-augment": "8.7.2-7" + "@polkadot/rpc-augment": "8.7.2-8" } } diff --git a/packages/rpc-core/src/packageInfo.ts b/packages/rpc-core/src/packageInfo.ts index 1a19a1b53a..ff15cfd1c6 100644 --- a/packages/rpc-core/src/packageInfo.ts +++ b/packages/rpc-core/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index d74bcea891..eb0cd56325 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -20,13 +20,13 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", "@polkadot/keyring": "^9.4.1", - "@polkadot/types": "8.7.2-7", - "@polkadot/types-support": "8.7.2-7", + "@polkadot/types": "8.7.2-8", + "@polkadot/types-support": "8.7.2-8", "@polkadot/util": "^9.4.1", "@polkadot/util-crypto": "^9.4.1", "@polkadot/x-fetch": "^9.4.1", diff --git a/packages/rpc-provider/src/packageInfo.ts b/packages/rpc-provider/src/packageInfo.ts index b45cf9fe82..cd9091ebd9 100644 --- a/packages/rpc-provider/src/packageInfo.ts +++ b/packages/rpc-provider/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/typegen/package.json b/packages/typegen/package.json index 89a6938a43..988b4f3dd8 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "bin": { "polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs", @@ -33,15 +33,15 @@ "@babel/core": "^7.18.2", "@babel/register": "^7.17.7", "@babel/runtime": "^7.18.3", - "@polkadot/api": "8.7.2-7", - "@polkadot/api-augment": "8.7.2-7", - "@polkadot/rpc-augment": "8.7.2-7", - "@polkadot/rpc-provider": "8.7.2-7", - "@polkadot/types": "8.7.2-7", - "@polkadot/types-augment": "8.7.2-7", - "@polkadot/types-codec": "8.7.2-7", - "@polkadot/types-create": "8.7.2-7", - "@polkadot/types-support": "8.7.2-7", + "@polkadot/api": "8.7.2-8", + "@polkadot/api-augment": "8.7.2-8", + "@polkadot/rpc-augment": "8.7.2-8", + "@polkadot/rpc-provider": "8.7.2-8", + "@polkadot/types": "8.7.2-8", + "@polkadot/types-augment": "8.7.2-8", + "@polkadot/types-codec": "8.7.2-8", + "@polkadot/types-create": "8.7.2-8", + "@polkadot/types-support": "8.7.2-8", "@polkadot/util": "^9.4.1", "@polkadot/x-ws": "^9.4.1", "handlebars": "^4.7.7", diff --git a/packages/typegen/src/packageInfo.ts b/packages/typegen/src/packageInfo.ts index abadc01b03..bf5ce932eb 100644 --- a/packages/typegen/src/packageInfo.ts +++ b/packages/typegen/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/types-augment/package.json b/packages/types-augment/package.json index ef8e6c39fa..7a7564b0c1 100644 --- a/packages/types-augment/package.json +++ b/packages/types-augment/package.json @@ -20,12 +20,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/types": "8.7.2-7", - "@polkadot/types-codec": "8.7.2-7", + "@polkadot/types": "8.7.2-8", + "@polkadot/types-codec": "8.7.2-8", "@polkadot/util": "^9.4.1" } } diff --git a/packages/types-augment/src/packageInfo.ts b/packages/types-augment/src/packageInfo.ts index bbed7623b1..8b860f10c4 100644 --- a/packages/types-augment/src/packageInfo.ts +++ b/packages/types-augment/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/types-augment/src/registry/interfaces.ts b/packages/types-augment/src/registry/interfaces.ts index 257b2f1e69..e1592ae60e 100644 --- a/packages/types-augment/src/registry/interfaces.ts +++ b/packages/types-augment/src/registry/interfaces.ts @@ -53,7 +53,7 @@ import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, Vouching import 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'; import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state'; import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; -import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8, 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'; +import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8, 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, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system'; import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; import type { Multiplier } from '@polkadot/types/interfaces/txpayment'; import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques'; @@ -993,6 +993,7 @@ declare module '@polkadot/types/types/registry' { TombstoneContractInfo: TombstoneContractInfo; TraceBlockResponse: TraceBlockResponse; TraceError: TraceError; + TransactionalError: TransactionalError; TransactionInfo: TransactionInfo; TransactionPriority: TransactionPriority; TransactionStorageProof: TransactionStorageProof; diff --git a/packages/types-codec/package.json b/packages/types-codec/package.json index 4bfc2adb49..ed7367ca2e 100644 --- a/packages/types-codec/package.json +++ b/packages/types-codec/package.json @@ -20,16 +20,16 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", "@polkadot/util": "^9.4.1" }, "devDependencies": { - "@polkadot/types": "8.7.2-7", - "@polkadot/types-augment": "8.7.2-7", - "@polkadot/types-support": "8.7.2-7", + "@polkadot/types": "8.7.2-8", + "@polkadot/types-augment": "8.7.2-8", + "@polkadot/types-support": "8.7.2-8", "@polkadot/util-crypto": "^9.4.1" } } diff --git a/packages/types-codec/src/packageInfo.ts b/packages/types-codec/src/packageInfo.ts index 3a4663df8a..88b11a8fa4 100644 --- a/packages/types-codec/src/packageInfo.ts +++ b/packages/types-codec/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/types-create/package.json b/packages/types-create/package.json index 616a4681de..699b3b79d8 100644 --- a/packages/types-create/package.json +++ b/packages/types-create/package.json @@ -20,14 +20,14 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/types-codec": "8.7.2-7", + "@polkadot/types-codec": "8.7.2-8", "@polkadot/util": "^9.4.1" }, "devDependencies": { - "@polkadot/types": "8.7.2-7" + "@polkadot/types": "8.7.2-8" } } diff --git a/packages/types-create/src/packageInfo.ts b/packages/types-create/src/packageInfo.ts index 64418bd52f..9d6a20e125 100644 --- a/packages/types-create/src/packageInfo.ts +++ b/packages/types-create/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/types-known/package.json b/packages/types-known/package.json index cbb42fb4cf..3382a448a7 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -20,14 +20,14 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", "@polkadot/networks": "^9.4.1", - "@polkadot/types": "8.7.2-7", - "@polkadot/types-codec": "8.7.2-7", - "@polkadot/types-create": "8.7.2-7", + "@polkadot/types": "8.7.2-8", + "@polkadot/types-codec": "8.7.2-8", + "@polkadot/types-create": "8.7.2-8", "@polkadot/util": "^9.4.1" } } diff --git a/packages/types-known/src/packageInfo.ts b/packages/types-known/src/packageInfo.ts index 914ad334dc..096034e9db 100644 --- a/packages/types-known/src/packageInfo.ts +++ b/packages/types-known/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/types-support/package.json b/packages/types-support/package.json index 1767bf29b2..a1249ac63a 100644 --- a/packages/types-support/package.json +++ b/packages/types-support/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", diff --git a/packages/types-support/src/packageInfo.ts b/packages/types-support/src/packageInfo.ts index e7910ad898..2e34ece633 100644 --- a/packages/types-support/src/packageInfo.ts +++ b/packages/types-support/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/packages/types/package.json b/packages/types/package.json index 93ecfe0ddf..96dbb24260 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -20,20 +20,20 @@ "./detectPackage.cjs" ], "type": "module", - "version": "8.7.2-7", + "version": "8.7.2-8", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", "@polkadot/keyring": "^9.4.1", - "@polkadot/types-augment": "8.7.2-7", - "@polkadot/types-codec": "8.7.2-7", - "@polkadot/types-create": "8.7.2-7", + "@polkadot/types-augment": "8.7.2-8", + "@polkadot/types-codec": "8.7.2-8", + "@polkadot/types-create": "8.7.2-8", "@polkadot/util": "^9.4.1", "@polkadot/util-crypto": "^9.4.1", "rxjs": "^7.5.5" }, "devDependencies": { "@polkadot/keyring": "^9.4.1", - "@polkadot/types-support": "8.7.2-7" + "@polkadot/types-support": "8.7.2-8" } } diff --git a/packages/types/src/interfaces/system/types.ts b/packages/types/src/interfaces/system/types.ts index 392a81652e..9406642f62 100644 --- a/packages/types/src/interfaces/system/types.ts +++ b/packages/types/src/interfaces/system/types.ts @@ -112,11 +112,14 @@ export interface DispatchError extends Enum { readonly asModule: DispatchErrorModule; readonly isConsumerRemaining: boolean; readonly isNoProviders: boolean; + readonly isTooManyConsumers: boolean; readonly isToken: boolean; readonly asToken: TokenError; readonly isArithmetic: boolean; readonly asArithmetic: ArithmeticError; - readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'Token' | 'Arithmetic'; + readonly isTransactional: boolean; + readonly asTransactional: TransactionalError; + readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional'; } /** @name DispatchErrorModule */ @@ -387,9 +390,17 @@ export interface TokenError extends Enum { readonly isCannotCreate: boolean; readonly isUnknownAsset: boolean; readonly isFrozen: boolean; + readonly isUnsupported: boolean; readonly isUnderflow: boolean; readonly isOverflow: boolean; - readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Underflow' | 'Overflow'; + readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported' | 'Underflow' | 'Overflow'; +} + +/** @name TransactionalError */ +export interface TransactionalError extends Enum { + readonly isLimitReached: boolean; + readonly isNoLayer: boolean; + readonly type: 'LimitReached' | 'NoLayer'; } /** @name TransactionValidityError */ diff --git a/packages/types/src/packageInfo.ts b/packages/types/src/packageInfo.ts index ec14d079b6..66b7a0997c 100644 --- a/packages/types/src/packageInfo.ts +++ b/packages/types/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '8.7.2-7' }; +export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '8.7.2-8' }; diff --git a/yarn.lock b/yarn.lock index 53100a95f1..d0ea7c0cf2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1951,28 +1951,28 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@8.7.2-7, @polkadot/api-augment@workspace:packages/api-augment": +"@polkadot/api-augment@8.7.2-8, @polkadot/api-augment@workspace:packages/api-augment": version: 0.0.0-use.local resolution: "@polkadot/api-augment@workspace:packages/api-augment" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/api-base": 8.7.2-7 - "@polkadot/rpc-augment": 8.7.2-7 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-augment": 8.7.2-7 - "@polkadot/types-codec": 8.7.2-7 - "@polkadot/types-support": 8.7.2-7 + "@polkadot/api-base": 8.7.2-8 + "@polkadot/rpc-augment": 8.7.2-8 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-augment": 8.7.2-8 + "@polkadot/types-codec": 8.7.2-8 + "@polkadot/types-support": 8.7.2-8 "@polkadot/util": ^9.4.1 languageName: unknown linkType: soft -"@polkadot/api-base@8.7.2-7, @polkadot/api-base@workspace:packages/api-base": +"@polkadot/api-base@8.7.2-8, @polkadot/api-base@workspace:packages/api-base": version: 0.0.0-use.local resolution: "@polkadot/api-base@workspace:packages/api-base" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/rpc-core": 8.7.2-7 - "@polkadot/types": 8.7.2-7 + "@polkadot/rpc-core": 8.7.2-8 + "@polkadot/types": 8.7.2-8 "@polkadot/util": ^9.4.1 rxjs: ^7.5.5 languageName: unknown @@ -1983,56 +1983,56 @@ __metadata: resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/api": 8.7.2-7 - "@polkadot/api-augment": 8.7.2-7 + "@polkadot/api": 8.7.2-8 + "@polkadot/api-augment": 8.7.2-8 "@polkadot/keyring": ^9.4.1 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-codec": 8.7.2-7 - "@polkadot/types-create": 8.7.2-7 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-codec": 8.7.2-8 + "@polkadot/types-create": 8.7.2-8 "@polkadot/util": ^9.4.1 "@polkadot/util-crypto": ^9.4.1 rxjs: ^7.5.5 languageName: unknown linkType: soft -"@polkadot/api-derive@8.7.2-7, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@8.7.2-8, @polkadot/api-derive@workspace:packages/api-derive": version: 0.0.0-use.local resolution: "@polkadot/api-derive@workspace:packages/api-derive" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/api": 8.7.2-7 - "@polkadot/api-augment": 8.7.2-7 - "@polkadot/api-base": 8.7.2-7 - "@polkadot/rpc-augment": 8.7.2-7 - "@polkadot/rpc-core": 8.7.2-7 - "@polkadot/rpc-provider": 8.7.2-7 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-codec": 8.7.2-7 - "@polkadot/types-support": 8.7.2-7 + "@polkadot/api": 8.7.2-8 + "@polkadot/api-augment": 8.7.2-8 + "@polkadot/api-base": 8.7.2-8 + "@polkadot/rpc-augment": 8.7.2-8 + "@polkadot/rpc-core": 8.7.2-8 + "@polkadot/rpc-provider": 8.7.2-8 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-codec": 8.7.2-8 + "@polkadot/types-support": 8.7.2-8 "@polkadot/util": ^9.4.1 "@polkadot/util-crypto": ^9.4.1 rxjs: ^7.5.5 languageName: unknown linkType: soft -"@polkadot/api@8.7.2-7, @polkadot/api@workspace:packages/api": +"@polkadot/api@8.7.2-8, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/api-augment": 8.7.2-7 - "@polkadot/api-base": 8.7.2-7 - "@polkadot/api-derive": 8.7.2-7 + "@polkadot/api-augment": 8.7.2-8 + "@polkadot/api-base": 8.7.2-8 + "@polkadot/api-derive": 8.7.2-8 "@polkadot/keyring": ^9.4.1 - "@polkadot/rpc-augment": 8.7.2-7 - "@polkadot/rpc-core": 8.7.2-7 - "@polkadot/rpc-provider": 8.7.2-7 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-augment": 8.7.2-7 - "@polkadot/types-codec": 8.7.2-7 - "@polkadot/types-create": 8.7.2-7 - "@polkadot/types-known": 8.7.2-7 - "@polkadot/types-support": 8.7.2-7 + "@polkadot/rpc-augment": 8.7.2-8 + "@polkadot/rpc-core": 8.7.2-8 + "@polkadot/rpc-provider": 8.7.2-8 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-augment": 8.7.2-8 + "@polkadot/types-codec": 8.7.2-8 + "@polkadot/types-create": 8.7.2-8 + "@polkadot/types-known": 8.7.2-8 + "@polkadot/types-support": 8.7.2-8 "@polkadot/util": ^9.4.1 "@polkadot/util-crypto": ^9.4.1 eventemitter3: ^4.0.7 @@ -2158,40 +2158,40 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-augment@8.7.2-7, @polkadot/rpc-augment@workspace:packages/rpc-augment": +"@polkadot/rpc-augment@8.7.2-8, @polkadot/rpc-augment@workspace:packages/rpc-augment": version: 0.0.0-use.local resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/rpc-core": 8.7.2-7 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-codec": 8.7.2-7 + "@polkadot/rpc-core": 8.7.2-8 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-codec": 8.7.2-8 "@polkadot/util": ^9.4.1 languageName: unknown linkType: soft -"@polkadot/rpc-core@8.7.2-7, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@8.7.2-8, @polkadot/rpc-core@workspace:packages/rpc-core": version: 0.0.0-use.local resolution: "@polkadot/rpc-core@workspace:packages/rpc-core" dependencies: "@babel/runtime": ^7.18.3 "@polkadot/keyring": ^9.4.1 - "@polkadot/rpc-augment": 8.7.2-7 - "@polkadot/rpc-provider": 8.7.2-7 - "@polkadot/types": 8.7.2-7 + "@polkadot/rpc-augment": 8.7.2-8 + "@polkadot/rpc-provider": 8.7.2-8 + "@polkadot/types": 8.7.2-8 "@polkadot/util": ^9.4.1 rxjs: ^7.5.5 languageName: unknown linkType: soft -"@polkadot/rpc-provider@8.7.2-7, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@8.7.2-8, @polkadot/rpc-provider@workspace:packages/rpc-provider": version: 0.0.0-use.local resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider" dependencies: "@babel/runtime": ^7.18.3 "@polkadot/keyring": ^9.4.1 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-support": 8.7.2-7 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-support": 8.7.2-8 "@polkadot/util": ^9.4.1 "@polkadot/util-crypto": ^9.4.1 "@polkadot/x-fetch": ^9.4.1 @@ -2211,15 +2211,15 @@ __metadata: "@babel/core": ^7.18.2 "@babel/register": ^7.17.7 "@babel/runtime": ^7.18.3 - "@polkadot/api": 8.7.2-7 - "@polkadot/api-augment": 8.7.2-7 - "@polkadot/rpc-augment": 8.7.2-7 - "@polkadot/rpc-provider": 8.7.2-7 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-augment": 8.7.2-7 - "@polkadot/types-codec": 8.7.2-7 - "@polkadot/types-create": 8.7.2-7 - "@polkadot/types-support": 8.7.2-7 + "@polkadot/api": 8.7.2-8 + "@polkadot/api-augment": 8.7.2-8 + "@polkadot/rpc-augment": 8.7.2-8 + "@polkadot/rpc-provider": 8.7.2-8 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-augment": 8.7.2-8 + "@polkadot/types-codec": 8.7.2-8 + "@polkadot/types-create": 8.7.2-8 + "@polkadot/types-support": 8.7.2-8 "@polkadot/util": ^9.4.1 "@polkadot/x-ws": ^9.4.1 "@types/websocket": ^1.0.5 @@ -2236,55 +2236,55 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-augment@8.7.2-7, @polkadot/types-augment@workspace:packages/types-augment": +"@polkadot/types-augment@8.7.2-8, @polkadot/types-augment@workspace:packages/types-augment": version: 0.0.0-use.local resolution: "@polkadot/types-augment@workspace:packages/types-augment" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-codec": 8.7.2-7 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-codec": 8.7.2-8 "@polkadot/util": ^9.4.1 languageName: unknown linkType: soft -"@polkadot/types-codec@8.7.2-7, @polkadot/types-codec@workspace:packages/types-codec": +"@polkadot/types-codec@8.7.2-8, @polkadot/types-codec@workspace:packages/types-codec": version: 0.0.0-use.local resolution: "@polkadot/types-codec@workspace:packages/types-codec" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-augment": 8.7.2-7 - "@polkadot/types-support": 8.7.2-7 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-augment": 8.7.2-8 + "@polkadot/types-support": 8.7.2-8 "@polkadot/util": ^9.4.1 "@polkadot/util-crypto": ^9.4.1 languageName: unknown linkType: soft -"@polkadot/types-create@8.7.2-7, @polkadot/types-create@workspace:packages/types-create": +"@polkadot/types-create@8.7.2-8, @polkadot/types-create@workspace:packages/types-create": version: 0.0.0-use.local resolution: "@polkadot/types-create@workspace:packages/types-create" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-codec": 8.7.2-7 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-codec": 8.7.2-8 "@polkadot/util": ^9.4.1 languageName: unknown linkType: soft -"@polkadot/types-known@8.7.2-7, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@8.7.2-8, @polkadot/types-known@workspace:packages/types-known": version: 0.0.0-use.local resolution: "@polkadot/types-known@workspace:packages/types-known" dependencies: "@babel/runtime": ^7.18.3 "@polkadot/networks": ^9.4.1 - "@polkadot/types": 8.7.2-7 - "@polkadot/types-codec": 8.7.2-7 - "@polkadot/types-create": 8.7.2-7 + "@polkadot/types": 8.7.2-8 + "@polkadot/types-codec": 8.7.2-8 + "@polkadot/types-create": 8.7.2-8 "@polkadot/util": ^9.4.1 languageName: unknown linkType: soft -"@polkadot/types-support@8.7.2-7, @polkadot/types-support@workspace:packages/types-support": +"@polkadot/types-support@8.7.2-8, @polkadot/types-support@workspace:packages/types-support": version: 0.0.0-use.local resolution: "@polkadot/types-support@workspace:packages/types-support" dependencies: @@ -2293,16 +2293,16 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types@8.7.2-7, @polkadot/types@workspace:packages/types": +"@polkadot/types@8.7.2-8, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.18.3 "@polkadot/keyring": ^9.4.1 - "@polkadot/types-augment": 8.7.2-7 - "@polkadot/types-codec": 8.7.2-7 - "@polkadot/types-create": 8.7.2-7 - "@polkadot/types-support": 8.7.2-7 + "@polkadot/types-augment": 8.7.2-8 + "@polkadot/types-codec": 8.7.2-8 + "@polkadot/types-create": 8.7.2-8 + "@polkadot/types-support": 8.7.2-8 "@polkadot/util": ^9.4.1 "@polkadot/util-crypto": ^9.4.1 rxjs: ^7.5.5