Compare commits

...
33 Commits
Author SHA1 Message Date
github-actions[bot] 967f5e980a [CI Skip] release/stable 8.2.1
skip-checks: true
2022-04-24 08:59:23 +00:00
Jaco 00a27efaee 8.2.1 (#4766) 2022-04-24 11:51:42 +03:00
github-actions[bot] a7163fb1ba [CI Skip] release/beta 8.1.2-6
skip-checks: true
2022-04-24 07:32:16 +00:00
Jaco 4c6dd53c3b Bump dev (w/ lint fixes) (#4765) 2022-04-24 10:23:58 +03:00
github-actions[bot] 61199ffb2b [CI Skip] release/beta 8.1.2-5
skip-checks: true
2022-04-24 07:11:13 +00:00
Jaco dbfb03760c Bump static metadata (#4764)
* Bump static metadata

* Redo Kusama
2022-04-24 10:02:48 +03:00
github-actions[bot] c9b1fcdb0a [CI Skip] release/beta 8.1.2-4
skip-checks: true
2022-04-22 13:30:54 +00:00
Jaco 29953edd24 api.derive.balances.fees (#4761)
* api.derive.balances.fees

* Adjust for removal

* Adjust
2022-04-22 16:22:36 +03:00
github-actions[bot] 96a23bda50 [CI Skip] release/beta 8.1.2-3
skip-checks: true
2022-04-22 05:14:41 +00:00
serge 09a8d80144 make WS provider timeout configurable (#4758)
* make WS provider timeout configurable

* minor
2022-04-22 08:05:42 +03:00
github-actions[bot] 5637579879 [CI Skip] release/beta 8.1.2-2
skip-checks: true
2022-04-21 19:43:07 +00:00
Jaco 448ce0a76e Re-bump dev 2022-04-21 22:34:33 +03:00
Jaco a6a062378d Bump dev (#4763) 2022-04-21 22:26:03 +03:00
github-actions[bot] 40c78f95d2 [CI Skip] release/beta 8.1.2-1
skip-checks: true
2022-04-19 14:10:30 +00:00
Jaco b0e135c5ca Bump deps (#4757) 2022-04-19 16:59:27 +03:00
github-actions[bot] 22218bd9b0 [CI Skip] release/beta 8.1.2-0
skip-checks: true
2022-04-19 10:10:08 +00:00
Jaco 149b7d9ee6 Don't fake sign if already signed (#4756) 2022-04-19 13:02:20 +03:00
github-actions[bot] 9a7b91a6f5 [CI Skip] release/stable 8.1.1
skip-checks: true
2022-04-17 11:40:27 +00:00
Jaco 80b165ba34 8.1.1 (#4750)
* 8.1.1

* CHANGELOG
2022-04-17 14:31:59 +03:00
github-actions[bot] 95a4512530 [CI Skip] release/beta 8.0.3-6
skip-checks: true
2022-04-17 10:52:54 +00:00
Jaco 15a315dede Bump static metadata (#4749) 2022-04-17 13:44:21 +03:00
github-actions[bot] 32548a34a4 [CI Skip] release/beta 8.0.3-5
skip-checks: true
2022-04-17 05:39:22 +00:00
Jaco 50142d7e63 Pull typegen __dirname from packageInfo (#4748)
* Pull ty[pegen __dirname from packageInfo

* CHANGELOG
2022-04-17 08:31:04 +03:00
github-actions[bot] 1ed6117e3f [CI Skip] release/beta 8.0.3-4
skip-checks: true
2022-04-14 13:51:48 +00:00
Jaco a392025a15 Adjust default "no RPC response" timeout to 60s (#4746) 2022-04-14 16:43:53 +03:00
github-actions[bot] fbeb478602 [CI Skip] release/beta 8.0.3-3
skip-checks: true
2022-04-14 12:17:31 +00:00
Jaco 2cdd24445c Adjust entriesPages w/ & w/o at (#4745)
* Adjust entriesPages w/ & w/o at

* Adjust

* Update packages/api/src/base/Decorate.ts

* s/keyset/keys/

* CHANGELOG
2022-04-14 15:07:55 +03:00
github-actions[bot] e545f6f2b3 [CI Skip] release/beta 8.0.3-2
skip-checks: true
2022-04-14 09:51:19 +00:00
Zannis Kalampoukis 1aa2b7e1ff fix: Typegen handles structs and vectors of structs without erroring (#4743) 2022-04-14 12:39:57 +03:00
github-actions[bot] 677d0c9969 [CI Skip] release/beta 8.0.3-1
skip-checks: true
2022-04-14 05:22:37 +00:00
Jaco 775fff5333 Apply wildcard type matches (renamed pallets) (#4741)
* Apply wildcard type matches (renamed pallets)

* typo
2022-04-14 08:14:04 +03:00
github-actions[bot] 9345a18de0 [CI Skip] release/beta 8.0.3-0
skip-checks: true
2022-04-12 05:07:29 +00:00
Jaco a4256396ee Bump deps (#4739) 2022-04-12 07:59:13 +03:00
81 changed files with 9127 additions and 9310 deletions
+29
View File
@@ -1,5 +1,34 @@
# CHANGELOG
## 8.2.1 Apr 24, 2022
Contributed:
- Make WS timeout check configurable (Thanks to https://github.com/isSerge)
Changes:
- Don't fake signature for `paymentInfo` if already signed
- Remove `api.derive.balances.fees` (use direct constants as applicable)
- Add Westend 9190 upgrade block
- Update to latest Substrate, Kusama & Polkadot static metadata
## 8.1.1 Apr 17, 2022
Contributed:
- Adjust typegen for `Vec<{ struct: <type> }>` (Thanks to https://github.com/zannis)
- Adjust typegen __dirname for ESM (Thanks to https://github.com/drewstone)
Changes:
- Fix `entriesPaged` where no `at?: BlockHash` is specified
- Apply windcard matches for `democracy::vote::Vote` and `identity::type::Data`
- Adjust default "no RPC response" timeout to 60s
- Update to latest Substrate, Kusama & Polkadot static metadata
## 8.0.2 Apr 11, 2022
Changes:
+3 -2
View File
@@ -1,4 +1,4 @@
2909 Jaco Detect typegen template location for commonjs execution (#4738)
2924 Jaco 8.2.1 (#4766)
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)
@@ -41,6 +41,7 @@
2 sung wu Update tx.md (#2485)
2 Veliko Abi constructor takes different parameters (#3347)
2 Wei Tang Use /usr/bin/env bash instead of /bin/bash (#2053)
2 Zannis Kalampoukis fix: Typegen handles structs and vectors of structs without erroring (#4743)
2 扩散性百万甜面包 Typo, deocrateMethod -> decorateMethod (#1594)
1 Andreea Eftene Add storage deposit support (#4304)
1 Brad Larson [NEW] Support for custom headers with providers (#2423)
@@ -92,11 +93,11 @@
1 satellitex Add traits replace rules. for invalid cases `::<type>` and `<type>::`. (#885)
1 Satyam Agrawal update as per the 0.97.0-beta.38 release (#1617)
1 Sean Young Solang requires u256 and i256 types (#2752)
1 serge make WS provider timeout configurable (#4758)
1 Sergei Pepyakin INK! -> ink! (#1347)
1 WoeOm adapt Darwinia, Crab Network types (#3498)
1 Xat_MassacrE Fix packages/types/src/codec/utils/encodeTypes.ts encodeSubTypes bug (#1544)
1 Yaroslav Bolyukin Support BTreeMap/BTreeSet in typegen (#4682)
1 yjh fix MetadataVersioned.asV12 (#2983)
1 Yuri fixes #3693 Fix uniques return types (#3694)
1 Zannis Kalampoukis fix: typegen supports vectors of slices (#4720)
1 Zeke Mostov fix: Allow sudo for polkadot indexed proxy enum (#3286)
+2 -2
View File
@@ -11,7 +11,7 @@
},
"sideEffects": false,
"type": "commonjs",
"version": "8.0.2",
"version": "8.2.1",
"workspaces": [
"packages/*"
],
@@ -34,7 +34,7 @@
"@babel/core": "^7.17.9",
"@babel/register": "^7.17.7",
"@babel/runtime": "^7.17.9",
"@polkadot/dev": "^0.66.1",
"@polkadot/dev": "^0.66.9",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^27.4.1",
"copyfiles": "^2.4.1"
+7 -7
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/api-base": "8.0.2",
"@polkadot/rpc-augment": "8.0.2",
"@polkadot/types": "8.0.2",
"@polkadot/types-augment": "8.0.2",
"@polkadot/types-codec": "8.0.2",
"@polkadot/api-base": "8.2.1",
"@polkadot/rpc-augment": "8.2.1",
"@polkadot/types": "8.2.1",
"@polkadot/types-augment": "8.2.1",
"@polkadot/types-codec": "8.2.1",
"@polkadot/util": "^9.0.1"
},
"devDependencies": {
"@polkadot/types-support": "8.0.2"
"@polkadot/types-support": "8.2.1"
}
}
+15 -6
View File
@@ -187,7 +187,7 @@ declare module '@polkadot/api-base/types/consts' {
**/
childBountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Maximum number of child-bounties that can be added to a parent bounty.
* Maximum number of child bounties that can be added to a parent bounty.
**/
maxActiveChildBountyCount: u32 & AugmentedConst<ApiType>;
/**
@@ -284,6 +284,16 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec;
};
electionProviderMultiPhase: {
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better" in the Signed phase.
**/
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better" in the Unsigned phase.
**/
betterUnsignedThreshold: Perbill & AugmentedConst<ApiType>;
/**
* The maximum number of electable targets to put in the snapshot.
**/
@@ -331,6 +341,10 @@ declare module '@polkadot/api-base/types/consts' {
* Per-weight deposit for a signed solution.
**/
signedDepositWeight: u128 & AugmentedConst<ApiType>;
/**
* The maximum amount of unchecked solutions to refund the call fee for.
**/
signedMaxRefunds: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of signed submissions that can be queued.
*
@@ -355,11 +369,6 @@ declare module '@polkadot/api-base/types/consts' {
* Base reward for a signed solution
**/
signedRewardBase: u128 & AugmentedConst<ApiType>;
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better" (in any phase).
**/
solutionImprovementThreshold: Perbill & AugmentedConst<ApiType>;
/**
* Duration of the unsigned phase.
**/
+2 -2
View File
@@ -149,7 +149,7 @@ declare module '@polkadot/api-base/types/errors' {
};
bounties: {
/**
* The bounty cannot be closed because it has active child-bounties.
* The bounty cannot be closed because it has active child bounties.
**/
HasActiveChildBounty: AugmentedError<ApiType>;
/**
@@ -208,7 +208,7 @@ declare module '@polkadot/api-base/types/errors' {
**/
ParentBountyNotActive: AugmentedError<ApiType>;
/**
* Number of child-bounties exceeds limit `MaxActiveChildBountyCount`.
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
**/
TooManyChildBounties: AugmentedError<ApiType>;
/**
+5 -1
View File
@@ -6,7 +6,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
import type { ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, KusamaRuntimeProxyType, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, KusamaRuntimeProxyType, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/events' {
export interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -946,6 +946,10 @@ declare module '@polkadot/api-base/types/events' {
* An account has unbonded this amount. \[stash, amount\]
**/
Unbonded: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* A validator has set their preferences.
**/
ValidatorPrefsSet: AugmentedEvent<ApiType, [AccountId32, PalletStakingValidatorPrefs]>;
/**
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
* from the unlocking queue. \[stash, amount\]
+8 -11
View File
@@ -7,7 +7,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
declare module '@polkadot/api-base/types/storage' {
@@ -259,7 +259,7 @@ declare module '@polkadot/api-base/types/storage' {
};
childBounties: {
/**
* Child-bounties that have been added.
* Child bounties that have been added.
**/
childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
/**
@@ -275,7 +275,7 @@ declare module '@polkadot/api-base/types/storage' {
**/
childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Number of child-bounties per parent bounty.
* Number of child bounties per parent bounty.
* Map of parent bounty index to number of child bounties.
**/
parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
@@ -317,12 +317,6 @@ declare module '@polkadot/api-base/types/storage' {
* is meant to be used only as the last resort.
**/
bypassConsistencyCheck: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Pending configuration (if any) for the next session.
*
* DEPRECATED: This is no longer used, and will be removed in the future.
**/
pendingConfig: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Pending configuration changes.
*
@@ -1680,8 +1674,11 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Events deposited for the current block.
*
* NOTE: This storage item is explicitly unbounded since it is never intended to be read
* from within the runtime.
* NOTE: The item is unbound and should therefore never be read on chain.
* It could otherwise inflate the PoV size of a block.
*
* Events have a large in-memory size. Box the events to not go out-of-memory
* just in case someone still reads them from within the runtime.
**/
events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
/**
+7 -7
View File
@@ -367,7 +367,7 @@ declare module '@polkadot/api-base/types/submittable' {
* parent bounty to child-bounty account, if parent bounty has enough
* funds, else the call fails.
*
* Upper bound to maximum number of active child-bounties that can be
* Upper bound to maximum number of active child bounties that can be
* added are managed via runtime trait config
* [`Config::MaxActiveChildBountyCount`].
*
@@ -384,7 +384,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* The beneficiary will be able to claim the funds after a delay.
*
* The dispatch origin for this call must be the master curator or
* The dispatch origin for this call must be the parent curator or
* curator of this child-bounty.
*
* Parent bounty must be in active state, for this child-bounty call to
@@ -468,12 +468,12 @@ declare module '@polkadot/api-base/types/submittable' {
* the curator of the parent bounty, or any signed origin.
*
* For the origin other than T::RejectOrigin and the child-bounty
* curator, parent-bounty must be in active state, for this call to
* curator, parent bounty must be in active state, for this call to
* work. We allow child-bounty curator and T::RejectOrigin to execute
* this call irrespective of the parent-bounty state.
* this call irrespective of the parent bounty state.
*
* If this function is called by the `RejectOrigin` or the
* parent-bounty curator, we assume that the child-bounty curator is
* parent bounty curator, we assume that the child-bounty curator is
* malicious or inactive. As a result, child-bounty curator deposit is
* slashed.
*
@@ -3529,7 +3529,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* (Re-)set the controller of a stash.
*
* Effects will be felt at the beginning of the next era.
* Effects will be felt instantly (as soon as this function is completed successfully).
*
* The dispatch origin for this call must be _Signed_ by the stash, not the controller.
*
@@ -3579,7 +3579,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* (Re-)set the payment target for a controller.
*
* Effects will be felt at the beginning of the next era.
* Effects will be felt instantly (as soon as this function is completed successfully).
*
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
*
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '8.2.1' };
+15 -6
View File
@@ -187,7 +187,7 @@ declare module '@polkadot/api-base/types/consts' {
**/
childBountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Maximum number of child-bounties that can be added to a parent bounty.
* Maximum number of child bounties that can be added to a parent bounty.
**/
maxActiveChildBountyCount: u32 & AugmentedConst<ApiType>;
/**
@@ -284,6 +284,16 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec;
};
electionProviderMultiPhase: {
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better" in the Signed phase.
**/
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better" in the Unsigned phase.
**/
betterUnsignedThreshold: Perbill & AugmentedConst<ApiType>;
/**
* The maximum number of electable targets to put in the snapshot.
**/
@@ -331,6 +341,10 @@ declare module '@polkadot/api-base/types/consts' {
* Per-weight deposit for a signed solution.
**/
signedDepositWeight: u128 & AugmentedConst<ApiType>;
/**
* The maximum amount of unchecked solutions to refund the call fee for.
**/
signedMaxRefunds: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of signed submissions that can be queued.
*
@@ -355,11 +369,6 @@ declare module '@polkadot/api-base/types/consts' {
* Base reward for a signed solution
**/
signedRewardBase: u128 & AugmentedConst<ApiType>;
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better" (in any phase).
**/
solutionImprovementThreshold: Perbill & AugmentedConst<ApiType>;
/**
* Duration of the unsigned phase.
**/
+2 -2
View File
@@ -149,7 +149,7 @@ declare module '@polkadot/api-base/types/errors' {
};
bounties: {
/**
* The bounty cannot be closed because it has active child-bounties.
* The bounty cannot be closed because it has active child bounties.
**/
HasActiveChildBounty: AugmentedError<ApiType>;
/**
@@ -208,7 +208,7 @@ declare module '@polkadot/api-base/types/errors' {
**/
ParentBountyNotActive: AugmentedError<ApiType>;
/**
* Number of child-bounties exceeds limit `MaxActiveChildBountyCount`.
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
**/
TooManyChildBounties: AugmentedError<ApiType>;
/**
+5 -1
View File
@@ -6,7 +6,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
import type { ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/events' {
export interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -821,6 +821,10 @@ declare module '@polkadot/api-base/types/events' {
* An account has unbonded this amount. \[stash, amount\]
**/
Unbonded: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* A validator has set their preferences.
**/
ValidatorPrefsSet: AugmentedEvent<ApiType, [AccountId32, PalletStakingValidatorPrefs]>;
/**
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
* from the unlocking queue. \[stash, amount\]
+8 -11
View File
@@ -7,7 +7,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
declare module '@polkadot/api-base/types/storage' {
@@ -259,7 +259,7 @@ declare module '@polkadot/api-base/types/storage' {
};
childBounties: {
/**
* Child-bounties that have been added.
* Child bounties that have been added.
**/
childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
/**
@@ -275,7 +275,7 @@ declare module '@polkadot/api-base/types/storage' {
**/
childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Number of child-bounties per parent bounty.
* Number of child bounties per parent bounty.
* Map of parent bounty index to number of child bounties.
**/
parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
@@ -317,12 +317,6 @@ declare module '@polkadot/api-base/types/storage' {
* is meant to be used only as the last resort.
**/
bypassConsistencyCheck: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Pending configuration (if any) for the next session.
*
* DEPRECATED: This is no longer used, and will be removed in the future.
**/
pendingConfig: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Pending configuration changes.
*
@@ -1560,8 +1554,11 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Events deposited for the current block.
*
* NOTE: This storage item is explicitly unbounded since it is never intended to be read
* from within the runtime.
* NOTE: The item is unbound and should therefore never be read on chain.
* It could otherwise inflate the PoV size of a block.
*
* Events have a large in-memory size. Box the events to not go out-of-memory
* just in case someone still reads them from within the runtime.
**/
events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
/**
+7 -7
View File
@@ -367,7 +367,7 @@ declare module '@polkadot/api-base/types/submittable' {
* parent bounty to child-bounty account, if parent bounty has enough
* funds, else the call fails.
*
* Upper bound to maximum number of active child-bounties that can be
* Upper bound to maximum number of active child bounties that can be
* added are managed via runtime trait config
* [`Config::MaxActiveChildBountyCount`].
*
@@ -384,7 +384,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* The beneficiary will be able to claim the funds after a delay.
*
* The dispatch origin for this call must be the master curator or
* The dispatch origin for this call must be the parent curator or
* curator of this child-bounty.
*
* Parent bounty must be in active state, for this child-bounty call to
@@ -468,12 +468,12 @@ declare module '@polkadot/api-base/types/submittable' {
* the curator of the parent bounty, or any signed origin.
*
* For the origin other than T::RejectOrigin and the child-bounty
* curator, parent-bounty must be in active state, for this call to
* curator, parent bounty must be in active state, for this call to
* work. We allow child-bounty curator and T::RejectOrigin to execute
* this call irrespective of the parent-bounty state.
* this call irrespective of the parent bounty state.
*
* If this function is called by the `RejectOrigin` or the
* parent-bounty curator, we assume that the child-bounty curator is
* parent bounty curator, we assume that the child-bounty curator is
* malicious or inactive. As a result, child-bounty curator deposit is
* slashed.
*
@@ -2947,7 +2947,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* (Re-)set the controller of a stash.
*
* Effects will be felt at the beginning of the next era.
* Effects will be felt instantly (as soon as this function is completed successfully).
*
* The dispatch origin for this call must be _Signed_ by the stash, not the controller.
*
@@ -2997,7 +2997,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* (Re-)set the payment target for a controller.
*
* Effects will be felt at the beginning of the next era.
* Effects will be felt instantly (as soon as this function is completed successfully).
*
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
*
+15 -6
View File
@@ -201,7 +201,7 @@ declare module '@polkadot/api-base/types/consts' {
**/
childBountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Maximum number of child-bounties that can be added to a parent bounty.
* Maximum number of child bounties that can be added to a parent bounty.
**/
maxActiveChildBountyCount: u32 & AugmentedConst<ApiType>;
/**
@@ -345,6 +345,16 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec;
};
electionProviderMultiPhase: {
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better" in the Signed phase.
**/
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better" in the Unsigned phase.
**/
betterUnsignedThreshold: Perbill & AugmentedConst<ApiType>;
/**
* The maximum number of electable targets to put in the snapshot.
**/
@@ -392,6 +402,10 @@ declare module '@polkadot/api-base/types/consts' {
* Per-weight deposit for a signed solution.
**/
signedDepositWeight: u128 & AugmentedConst<ApiType>;
/**
* The maximum amount of unchecked solutions to refund the call fee for.
**/
signedMaxRefunds: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of signed submissions that can be queued.
*
@@ -416,11 +430,6 @@ declare module '@polkadot/api-base/types/consts' {
* Base reward for a signed solution
**/
signedRewardBase: u128 & AugmentedConst<ApiType>;
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better" (in any phase).
**/
solutionImprovementThreshold: Perbill & AugmentedConst<ApiType>;
/**
* Duration of the unsigned phase.
**/
+16 -2
View File
@@ -183,7 +183,7 @@ declare module '@polkadot/api-base/types/errors' {
};
bounties: {
/**
* The bounty cannot be closed because it has active child-bounties.
* The bounty cannot be closed because it has active child bounties.
**/
HasActiveChildBounty: AugmentedError<ApiType>;
/**
@@ -242,7 +242,7 @@ declare module '@polkadot/api-base/types/errors' {
**/
ParentBountyNotActive: AugmentedError<ApiType>;
/**
* Number of child-bounties exceeds limit `MaxActiveChildBountyCount`.
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
**/
TooManyChildBounties: AugmentedError<ApiType>;
/**
@@ -1206,6 +1206,20 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
remark: {
/**
* Attempted to call `store` outside of block execution.
**/
BadContext: AugmentedError<ApiType>;
/**
* Attempting to store empty data.
**/
Empty: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
scheduler: {
/**
* Failed to schedule a call
+15 -1
View File
@@ -5,7 +5,7 @@ import type { ApiTypes } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, NodeRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, NodeRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/events' {
export interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -754,6 +754,16 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
remark: {
/**
* Stored data off chain.
**/
Stored: AugmentedEvent<ApiType, [AccountId32, H256]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
scheduler: {
/**
* The call for the provided hash was not found so the task has been aborted.
@@ -913,6 +923,10 @@ declare module '@polkadot/api-base/types/events' {
* An account has unbonded this amount. \[stash, amount\]
**/
Unbonded: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* A validator has set their preferences.
**/
ValidatorPrefsSet: AugmentedEvent<ApiType, [AccountId32, PalletStakingValidatorPrefs]>;
/**
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
* from the unlocking queue. \[stash, amount\]
+7 -4
View File
@@ -267,7 +267,7 @@ declare module '@polkadot/api-base/types/storage' {
};
childBounties: {
/**
* Child-bounties that have been added.
* Child bounties that have been added.
**/
childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
/**
@@ -283,7 +283,7 @@ declare module '@polkadot/api-base/types/storage' {
**/
childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Number of child-bounties per parent bounty.
* Number of child bounties per parent bounty.
* Map of parent bounty index to number of child bounties.
**/
parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
@@ -1331,8 +1331,11 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Events deposited for the current block.
*
* NOTE: This storage item is explicitly unbounded since it is never intended to be read
* from within the runtime.
* NOTE: The item is unbound and should therefore never be read on chain.
* It could otherwise inflate the PoV size of a block.
*
* Events have a large in-memory size. Box the events to not go out-of-memory
* just in case someone still reads them from within the runtime.
**/
events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
/**
+18 -8
View File
@@ -761,7 +761,7 @@ declare module '@polkadot/api-base/types/submittable' {
* parent bounty to child-bounty account, if parent bounty has enough
* funds, else the call fails.
*
* Upper bound to maximum number of active child-bounties that can be
* Upper bound to maximum number of active child bounties that can be
* added are managed via runtime trait config
* [`Config::MaxActiveChildBountyCount`].
*
@@ -778,7 +778,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* The beneficiary will be able to claim the funds after a delay.
*
* The dispatch origin for this call must be the master curator or
* The dispatch origin for this call must be the parent curator or
* curator of this child-bounty.
*
* Parent bounty must be in active state, for this child-bounty call to
@@ -862,12 +862,12 @@ declare module '@polkadot/api-base/types/submittable' {
* the curator of the parent bounty, or any signed origin.
*
* For the origin other than T::RejectOrigin and the child-bounty
* curator, parent-bounty must be in active state, for this call to
* curator, parent bounty must be in active state, for this call to
* work. We allow child-bounty curator and T::RejectOrigin to execute
* this call irrespective of the parent-bounty state.
* this call irrespective of the parent bounty state.
*
* If this function is called by the `RejectOrigin` or the
* parent-bounty curator, we assume that the child-bounty curator is
* parent bounty curator, we assume that the child-bounty curator is
* malicious or inactive. As a result, child-bounty curator deposit is
* slashed.
*
@@ -2954,6 +2954,16 @@ declare module '@polkadot/api-base/types/submittable' {
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
remark: {
/**
* Index and store data off chain.
**/
store: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
scheduler: {
/**
* Cancel an anonymously scheduled task.
@@ -3614,7 +3624,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* (Re-)set the controller of a stash.
*
* Effects will be felt at the beginning of the next era.
* Effects will be felt instantly (as soon as this function is completed successfully).
*
* The dispatch origin for this call must be _Signed_ by the stash, not the controller.
*
@@ -3664,7 +3674,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* (Re-)set the payment target for a controller.
*
* Effects will be felt at the beginning of the next era.
* Effects will be felt instantly (as soon as this function is completed successfully).
*
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
*
@@ -4351,7 +4361,7 @@ declare module '@polkadot/api-base/types/submittable' {
**/
renew: AugmentedSubmittable<(block: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
/**
* Index and store data on chain. Minimum data size is 1 bytes, maximum is
* Index and store data off chain. Minimum data size is 1 bytes, maximum is
* `MaxTransactionSize`. Data will be removed after `STORAGE_PERIOD` blocks, unless `renew`
* is called. # <weight>
* - n*log(n) of data size, as all data is pushed to an in-memory trie.
+3 -3
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/rpc-core": "8.0.2",
"@polkadot/types": "8.0.2",
"@polkadot/rpc-core": "8.2.1",
"@polkadot/types": "8.2.1",
"@polkadot/util": "^9.0.1",
"rxjs": "^7.5.5"
}
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '8.2.1' };
+6 -6
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/api": "8.0.2",
"@polkadot/types": "8.0.2",
"@polkadot/types-codec": "8.0.2",
"@polkadot/types-create": "8.0.2",
"@polkadot/api": "8.2.1",
"@polkadot/types": "8.2.1",
"@polkadot/types-codec": "8.2.1",
"@polkadot/types-create": "8.2.1",
"@polkadot/util": "^9.0.1",
"@polkadot/util-crypto": "^9.0.1",
"rxjs": "^7.5.5"
},
"devDependencies": {
"@polkadot/api-augment": "8.0.2",
"@polkadot/api-augment": "8.2.1",
"@polkadot/keyring": "^9.0.1"
}
}
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '8.2.1' };
+12 -12
View File
@@ -20,25 +20,25 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/api": "8.0.2",
"@polkadot/api-augment": "8.0.2",
"@polkadot/api-base": "8.0.2",
"@polkadot/rpc-core": "8.0.2",
"@polkadot/types": "8.0.2",
"@polkadot/types-codec": "8.0.2",
"@polkadot/api": "8.2.1",
"@polkadot/api-augment": "8.2.1",
"@polkadot/api-base": "8.2.1",
"@polkadot/rpc-core": "8.2.1",
"@polkadot/types": "8.2.1",
"@polkadot/types-codec": "8.2.1",
"@polkadot/util": "^9.0.1",
"@polkadot/util-crypto": "^9.0.1",
"rxjs": "^7.5.5"
},
"devDependencies": {
"@polkadot/api": "8.0.2",
"@polkadot/api-augment": "8.0.2",
"@polkadot/rpc-augment": "8.0.2",
"@polkadot/rpc-provider": "8.0.2",
"@polkadot/types-support": "8.0.2"
"@polkadot/api": "8.2.1",
"@polkadot/api-augment": "8.2.1",
"@polkadot/rpc-augment": "8.2.1",
"@polkadot/rpc-provider": "8.2.1",
"@polkadot/types-support": "8.2.1"
}
}
-45
View File
@@ -1,45 +0,0 @@
// Copyright 2017-2022 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
import type { Balance } from '@polkadot/types/interfaces';
import type { DeriveApi, DeriveFees } from '../types';
import { map, of } from 'rxjs';
import { memo } from '../util';
/**
* @name fees
* @returns An object containing the combined results of the storage queries for
* all relevant fees as declared in the substrate chain spec.
* @example
* <BR>
*
* ```javascript
* api.derive.balances.fees(({ creationFee, transferFee }) => {
* console.log(`The fee for creating a new account on this chain is ${creationFee} units. The fee required for making a transfer is ${transferFee} units.`);
* });
* ```
*/
export function fees (instanceId: string, api: DeriveApi): () => Observable<DeriveFees> {
return memo(instanceId, (): Observable<DeriveFees> =>
of([
// deprecated - remove
(api.consts.balances?.creationFee as unknown as Balance) || api.registry.createType('Balance'),
(api.consts.balances?.transferFee as unknown as Balance) || api.registry.createType('Balance'),
// current
(api.consts.balances?.existentialDeposit as Balance) || api.registry.createType('Balance'),
(api.consts.transactionPayment?.transactionBaseFee as unknown as Balance) || api.registry.createType('Balance'),
(api.consts.transactionPayment?.transactionByteFee as Balance) || api.registry.createType('Balance')
]).pipe(
map(([creationFee, transferFee, existentialDeposit, transactionBaseFee, transactionByteFee]): DeriveFees => ({
creationFee,
existentialDeposit,
transactionBaseFee,
transactionByteFee,
transferFee
}))
));
}
@@ -4,7 +4,6 @@
import { all } from './all';
export * from './account';
export * from './fees';
export * from './votingBalances';
const votingBalance = all;
-1
View File
@@ -47,7 +47,6 @@ describe('derive', (): void => {
testFunction(api)('accounts', 'indexToId', []);
testFunction(api)('balances', 'all', []);
testFunction(api)('balances', 'fees', []);
testFunction(api)('balances', 'votingBalance', []);
testFunction(api)('balances', 'votingBalances', []);
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '8.2.1' };
+14 -14
View File
@@ -20,29 +20,29 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/api-augment": "8.0.2",
"@polkadot/api-base": "8.0.2",
"@polkadot/api-derive": "8.0.2",
"@polkadot/api-augment": "8.2.1",
"@polkadot/api-base": "8.2.1",
"@polkadot/api-derive": "8.2.1",
"@polkadot/keyring": "^9.0.1",
"@polkadot/rpc-augment": "8.0.2",
"@polkadot/rpc-core": "8.0.2",
"@polkadot/rpc-provider": "8.0.2",
"@polkadot/types": "8.0.2",
"@polkadot/types-augment": "8.0.2",
"@polkadot/types-codec": "8.0.2",
"@polkadot/types-create": "8.0.2",
"@polkadot/types-known": "8.0.2",
"@polkadot/rpc-augment": "8.2.1",
"@polkadot/rpc-core": "8.2.1",
"@polkadot/rpc-provider": "8.2.1",
"@polkadot/types": "8.2.1",
"@polkadot/types-augment": "8.2.1",
"@polkadot/types-codec": "8.2.1",
"@polkadot/types-create": "8.2.1",
"@polkadot/types-known": "8.2.1",
"@polkadot/util": "^9.0.1",
"@polkadot/util-crypto": "^9.0.1",
"eventemitter3": "^4.0.7",
"rxjs": "^7.5.5"
},
"devDependencies": {
"@polkadot/api-augment": "8.0.2",
"@polkadot/types-support": "8.0.2"
"@polkadot/api-augment": "8.2.1",
"@polkadot/types-support": "8.2.1"
}
}
+15 -9
View File
@@ -687,13 +687,13 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
const headKey = iterKey(...args).toHex();
const startSubject = new BehaviorSubject<string>(headKey);
const queryCall = at
const getKeysPaged = at
? (startKey: string) => this._rpcCore.state.getKeysPaged(headKey, PAGE_SIZE_K, startKey, at)
: (startKey: string) => this._rpcCore.state.getKeysPaged(headKey, PAGE_SIZE_K, startKey);
const setMeta = (key: StorageKey) => key.setMeta(meta, section, method);
return startSubject.pipe(
switchMap(queryCall),
switchMap(getKeysPaged),
map((keys) => keys.map(setMeta)),
tap((keys): void => {
setTimeout((): void => {
@@ -710,23 +710,25 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
private _retrieveMapKeysPaged ({ iterKey, meta, method, section }: StorageEntry, at: Hash | Uint8Array | string | undefined, opts: PaginationOptions): Observable<StorageKey[]> {
assert(iterKey && meta.type.isMap, 'keys can only be retrieved on maps');
const headKey = iterKey(...opts.args).toHex();
const setMeta = (key: StorageKey) => key.setMeta(meta, section, method);
const getKeysPaged = at
? (headKey: string) => this._rpcCore.state.getKeysPaged(headKey, opts.pageSize, opts.startKey || headKey, at)
: (headKey: string) => this._rpcCore.state.getKeysPaged(headKey, opts.pageSize, opts.startKey || headKey);
return this._rpcCore.state.getKeysPaged(headKey, opts.pageSize, opts.startKey || headKey, at).pipe(
return getKeysPaged(iterKey(...opts.args).toHex()).pipe(
map((keys) => keys.map(setMeta))
);
}
private _retrieveMapEntries (entry: StorageEntry, at: Hash | Uint8Array | string | null, args: unknown[]): Observable<[StorageKey, Codec][]> {
const query = at
? (keyset: StorageKey[]) => this._rpcCore.state.queryStorageAt(keyset, at)
: (keyset: StorageKey[]) => this._rpcCore.state.queryStorageAt(keyset);
const queryStorageAt = at
? (keys: StorageKey[]) => this._rpcCore.state.queryStorageAt(keys, at)
: (keys: StorageKey[]) => this._rpcCore.state.queryStorageAt(keys);
return this._retrieveMapKeys(entry, at, args).pipe(
switchMap((keys) =>
keys.length
? combineLatest(arrayChunk(keys, PAGE_SIZE_V).map(query)).pipe(
? combineLatest(arrayChunk(keys, PAGE_SIZE_V).map(queryStorageAt)).pipe(
map((valsArr) =>
arrayFlatten(valsArr).map((value, index): [StorageKey, Codec] => [keys[index], value])
)
@@ -737,10 +739,14 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
}
private _retrieveMapEntriesPaged (entry: StorageEntry, at: Hash | Uint8Array | string | undefined, opts: PaginationOptions): Observable<[StorageKey, Codec][]> {
const queryStorageAt = at
? (keys: StorageKey[]) => this._rpcCore.state.queryStorageAt(keys, at)
: (keys: StorageKey[]) => this._rpcCore.state.queryStorageAt(keys);
return this._retrieveMapKeysPaged(entry, at, opts).pipe(
switchMap((keys) =>
keys.length
? this._rpcCore.state.queryStorageAt(keys, at).pipe(
? queryStorageAt(keys).pipe(
map((valsArr) =>
valsArr.map((value, index): [StorageKey, Codec] => [keys[index], value])
)
+2 -2
View File
@@ -33,9 +33,9 @@ async function derive (api: ApiPromise): Promise<void> {
console.log('current author:', header.author);
});
const fees = await api.derive.balances.fees();
const info = await api.derive.balances.account('0x1234');
console.log('fees', fees);
console.log('info', info);
}
function errors (api: ApiPromise): void {
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '8.0.2' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '8.2.1' };
+8 -1
View File
@@ -119,7 +119,14 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHas
if (blockHash || isString(optionsOrHash) || isU8a(optionsOrHash)) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
return decorateMethod(
(): Observable<RuntimeDispatchInfo> => api.rpc.payment.queryInfo(this.toHex(), blockHash || optionsOrHash as string)
(): Observable<RuntimeDispatchInfo> =>
api.rpc.payment.queryInfo(this.toHex(), blockHash || optionsOrHash as string)
);
} else if (this.isSigned) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-return,@typescript-eslint/no-unsafe-call
return decorateMethod(
(): Observable<RuntimeDispatchInfo> =>
api.rpc.payment.queryInfo(this.toHex())
);
}
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/rpc-core": "8.0.2",
"@polkadot/types": "8.0.2",
"@polkadot/types-codec": "8.0.2",
"@polkadot/rpc-core": "8.2.1",
"@polkadot/types": "8.2.1",
"@polkadot/types-codec": "8.2.1",
"@polkadot/util": "^9.0.1"
}
}
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '8.2.1' };
+5 -5
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/rpc-augment": "8.0.2",
"@polkadot/rpc-provider": "8.0.2",
"@polkadot/types": "8.0.2",
"@polkadot/rpc-augment": "8.2.1",
"@polkadot/rpc-provider": "8.2.1",
"@polkadot/types": "8.2.1",
"@polkadot/util": "^9.0.1",
"rxjs": "^7.5.5"
},
"devDependencies": {
"@polkadot/keyring": "^9.0.1",
"@polkadot/rpc-augment": "8.0.2"
"@polkadot/rpc-augment": "8.2.1"
}
}
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '8.2.1' };
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/keyring": "^9.0.1",
"@polkadot/types": "8.0.2",
"@polkadot/types-support": "8.0.2",
"@polkadot/types": "8.2.1",
"@polkadot/types-support": "8.2.1",
"@polkadot/util": "^9.0.1",
"@polkadot/util-crypto": "^9.0.1",
"@polkadot/x-fetch": "^9.0.1",
@@ -34,7 +34,7 @@
"@polkadot/x-ws": "^9.0.1",
"@substrate/connect": "0.7.2",
"eventemitter3": "^4.0.7",
"mock-socket": "^9.1.2",
"mock-socket": "^9.1.3",
"nock": "^13.2.4"
}
}
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '8.2.1' };
+9 -2
View File
@@ -12,9 +12,9 @@ const TEST_WS_URL = 'ws://localhost-index.spec.ts:9977';
let provider: WsProvider | null;
let mock: Mock;
function createWs (requests: Request[], autoConnect = 1000, headers?: Record<string, string>): WsProvider {
function createWs (requests: Request[], autoConnect = 1000, headers?: Record<string, string>, timeout?: number): WsProvider {
mock = mockWs(requests, TEST_WS_URL);
provider = new WsProvider(TEST_WS_URL, autoConnect, headers);
provider = new WsProvider(TEST_WS_URL, autoConnect, headers, timeout);
return provider;
}
@@ -40,6 +40,13 @@ describe('Ws', (): void => {
it('allows you to initialize the provider with custom headers', () => {
createWs([], 100, { foo: 'bar' });
});
it('allows you to set custom timeout value for handlers', () => {
const CUSTOM_TIMEOUT_S = 90;
const CUSTOM_TIMEOUT_MS = CUSTOM_TIMEOUT_S * 1000;
createWs([], 100, { foo: 'bar' }, CUSTOM_TIMEOUT_MS);
});
});
describe('Endpoint Parsing', (): void => {
+10 -7
View File
@@ -42,8 +42,7 @@ const ALIASES: { [index: string]: string } = {
const RETRY_DELAY = 2_500;
const TIMEOUT_S = 30;
const TIMEOUT_MS = TIMEOUT_S * 1000;
const DEFAULT_TIMEOUT_MS = 60 * 1000;
const TIMEOUT_INTERVAL = 5_000;
const MEGABYTE = 1024 * 1024;
@@ -111,11 +110,14 @@ export class WsProvider implements ProviderInterface {
#websocket: WebSocket | null;
#timeout: number;
/**
* @param {string | string[]} endpoint The endpoint url. Usually `ws://ip:9944` or `wss://ip:9944`, may provide an array of endpoint strings.
* @param {boolean} autoConnect Whether to connect automatically or not.
* @param {number} [timeout] Custom timeout value
*/
constructor (endpoint: string | string[] = defaults.WS_URL, autoConnectMs: number | false = RETRY_DELAY, headers: Record<string, string> = {}) {
constructor (endpoint: string | string[] = defaults.WS_URL, autoConnectMs: number | false = RETRY_DELAY, headers: Record<string, string> = {}, timeout?: number) {
const endpoints = Array.isArray(endpoint)
? endpoint
: [endpoint];
@@ -137,6 +139,7 @@ export class WsProvider implements ProviderInterface {
active: { requests: 0, subscriptions: 0 },
total: { bytesRecv: 0, bytesSent: 0, cached: 0, requests: 0, subscriptions: 0, timeout: 0 }
};
this.#timeout = timeout || DEFAULT_TIMEOUT_MS;
if (autoConnectMs > 0) {
this.connectWithRetry().catch((): void => {
@@ -210,7 +213,7 @@ export class WsProvider implements ProviderInterface {
this.#websocket.onopen = this.#onSocketOpen;
// timeout any handlers that have not had a response
this.#timeoutId = setInterval(() => this.#timeout(), TIMEOUT_INTERVAL);
this.#timeoutId = setInterval(() => this.#timeoutHandlers(), TIMEOUT_INTERVAL);
} catch (error) {
l.error(error);
@@ -557,16 +560,16 @@ export class WsProvider implements ProviderInterface {
})).catch(l.error);
};
#timeout = (): void => {
#timeoutHandlers = (): void => {
const now = Date.now();
const ids = Object.keys(this.#handlers);
for (let i = 0; i < ids.length; i++) {
const handler = this.#handlers[ids[i]];
if ((now - handler.start) > TIMEOUT_MS) {
if ((now - handler.start) > this.#timeout) {
try {
handler.callback(new Error(`No response received from RPC endpoint in ${TIMEOUT_S}s`), undefined);
handler.callback(new Error(`No response received from RPC endpoint in ${this.#timeout / 1000}s`), undefined);
} catch {
// ignore
}
+11 -11
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,20 +33,20 @@
"@babel/core": "^7.17.9",
"@babel/register": "^7.17.7",
"@babel/runtime": "^7.17.9",
"@polkadot/api": "8.0.2",
"@polkadot/api-augment": "8.0.2",
"@polkadot/rpc-augment": "8.0.2",
"@polkadot/rpc-provider": "8.0.2",
"@polkadot/types": "8.0.2",
"@polkadot/types-augment": "8.0.2",
"@polkadot/types-codec": "8.0.2",
"@polkadot/types-create": "8.0.2",
"@polkadot/types-support": "8.0.2",
"@polkadot/api": "8.2.1",
"@polkadot/api-augment": "8.2.1",
"@polkadot/rpc-augment": "8.2.1",
"@polkadot/rpc-provider": "8.2.1",
"@polkadot/types": "8.2.1",
"@polkadot/types-augment": "8.2.1",
"@polkadot/types-codec": "8.2.1",
"@polkadot/types-create": "8.2.1",
"@polkadot/types-support": "8.2.1",
"@polkadot/util": "^9.0.1",
"@polkadot/x-ws": "^9.0.1",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
"yargs": "^17.4.0"
"yargs": "^17.4.1"
},
"devDependencies": {
"@types/websocket": "^1.0.5",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '8.0.2' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '8.2.1' };
+17
View File
@@ -41,4 +41,21 @@ describe('getSimilarTypes', (): void => {
'Vec<Vec<Balance>>'
]);
});
it('handles structs', (): void => {
expect(getSimilarTypes(registry, {}, '{ "a": "u8", "b": "Vec<u8>" }', mockImports)).toEqual([
`{
readonly a: u8;
readonly b: Bytes;
} & Struct`, '{ a?: any; b?: any }', 'string', 'Uint8Array'
]);
});
it('handles vectors of structs', (): void => {
expect(getSimilarTypes(registry, {}, 'Vec<{ "a": "H256", "b": "Vec<H256>" }>', mockImports)).toEqual([
`Vec<{
readonly a: H256;
readonly b: Vec<H256>;
} & Struct>`
]);
});
});
+2
View File
@@ -60,6 +60,8 @@ export function getSimilarTypes (registry: Registry, definitions: Record<string,
possibleTypes.push(`([${subs.join(', ')}])[]`);
} else if (subDef.info === TypeDefInfo.VecFixed) {
// TODO: Add possibleTypes so imports work
} else if (subDef.info === TypeDefInfo.Struct) {
// TODO: Add possibleTypes so imports work
} else {
throw new Error(`Unhandled subtype in Vec, ${stringify(subDef)}`);
}
+10 -3
View File
@@ -6,6 +6,8 @@ import path from 'path';
import { assert } from '@polkadot/util';
import { packageInfo } from '../packageInfo';
export function writeFile (dest: string, generator: () => string, noLog?: boolean): void {
!noLog && console.log(`${dest}\n\tGenerating`);
@@ -23,12 +25,17 @@ export function writeFile (dest: string, generator: () => string, noLog?: boolea
}
export function readTemplate (template: string): string {
// Inside the api repo itself, it will be 'auto'
const rootDir = packageInfo.path === 'auto'
? path.join(__dirname, '..')
: packageInfo.path;
// NOTE With cjs in a subdir, search one lower as well
const file = ['../templates', '../../templates']
.map((p) => path.join(__dirname, p, `${template}.hbs`))
const file = ['./templates', '../templates']
.map((p) => path.join(rootDir, p, `${template}.hbs`))
.find((p) => fs.existsSync(p));
assert(file, `Unable to locate ${template}.hbs from ${__dirname}`);
assert(file, `Unable to locate ${template}.hbs from ${rootDir}`);
return fs.readFileSync(file).toString();
}
+3 -3
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/types": "8.0.2",
"@polkadot/types-codec": "8.0.2",
"@polkadot/types": "8.2.1",
"@polkadot/types-codec": "8.2.1",
"@polkadot/util": "^9.0.1"
}
}
+2 -2
View File
@@ -5,7 +5,7 @@
export default {
/**
* Lookup76: kusama_runtime::ProxyType
* Lookup79: kusama_runtime::ProxyType
**/
KusamaRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction', 'Society']
@@ -158,7 +158,7 @@ export default {
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
},
/**
* Lookup748: kusama_runtime::Runtime
* Lookup747: kusama_runtime::Runtime
**/
KusamaRuntimeRuntime: 'Null'
};
+92 -137
View File
@@ -5,7 +5,7 @@
export default {
/**
* Lookup68: polkadot_runtime_common::claims::pallet::Event<T>
* Lookup71: polkadot_runtime_common::claims::pallet::Event<T>
**/
PolkadotRuntimeCommonClaimsPalletEvent: {
_enum: {
@@ -13,13 +13,13 @@ export default {
}
},
/**
* Lookup75: polkadot_runtime::ProxyType
* Lookup78: polkadot_runtime::ProxyType
**/
PolkadotRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', '__Unused4', 'IdentityJudgement', 'CancelProxy', 'Auction']
},
/**
* Lookup86: polkadot_runtime_parachains::inclusion::pallet::Event<T>
* Lookup89: polkadot_runtime_parachains::inclusion::pallet::Event<T>
**/
PolkadotRuntimeParachainsInclusionPalletEvent: {
_enum: {
@@ -29,14 +29,14 @@ export default {
}
},
/**
* Lookup87: polkadot_primitives::v2::CandidateReceipt<primitive_types::H256>
* Lookup90: polkadot_primitives::v2::CandidateReceipt<primitive_types::H256>
**/
PolkadotPrimitivesV2CandidateReceipt: {
descriptor: 'PolkadotPrimitivesV2CandidateDescriptor',
commitmentsHash: 'H256'
},
/**
* Lookup88: polkadot_primitives::v2::CandidateDescriptor<primitive_types::H256>
* Lookup91: polkadot_primitives::v2::CandidateDescriptor<primitive_types::H256>
**/
PolkadotPrimitivesV2CandidateDescriptor: {
paraId: 'u32',
@@ -50,15 +50,15 @@ export default {
validationCodeHash: 'H256'
},
/**
* Lookup90: polkadot_primitives::v2::collator_app::Public
* Lookup93: polkadot_primitives::v2::collator_app::Public
**/
PolkadotPrimitivesV2CollatorAppPublic: 'SpCoreSr25519Public',
/**
* Lookup91: polkadot_primitives::v2::collator_app::Signature
* Lookup94: polkadot_primitives::v2::collator_app::Signature
**/
PolkadotPrimitivesV2CollatorAppSignature: 'SpCoreSr25519Signature',
/**
* Lookup98: polkadot_runtime_parachains::paras::pallet::Event
* Lookup101: polkadot_runtime_parachains::paras::pallet::Event
**/
PolkadotRuntimeParachainsParasPalletEvent: {
_enum: {
@@ -73,7 +73,7 @@ export default {
}
},
/**
* Lookup99: polkadot_runtime_parachains::ump::pallet::Event
* Lookup102: polkadot_runtime_parachains::ump::pallet::Event
**/
PolkadotRuntimeParachainsUmpPalletEvent: {
_enum: {
@@ -87,7 +87,7 @@ export default {
}
},
/**
* Lookup100: xcm::v2::traits::Outcome
* Lookup103: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -97,7 +97,7 @@ export default {
}
},
/**
* Lookup101: xcm::v2::traits::Error
* Lookup104: xcm::v2::traits::Error
**/
XcmV2TraitsError: {
_enum: {
@@ -130,7 +130,7 @@ export default {
}
},
/**
* Lookup102: polkadot_runtime_parachains::hrmp::pallet::Event<T>
* Lookup105: polkadot_runtime_parachains::hrmp::pallet::Event<T>
**/
PolkadotRuntimeParachainsHrmpPalletEvent: {
_enum: {
@@ -141,14 +141,14 @@ export default {
}
},
/**
* Lookup103: polkadot_parachain::primitives::HrmpChannelId
* Lookup106: polkadot_parachain::primitives::HrmpChannelId
**/
PolkadotParachainPrimitivesHrmpChannelId: {
sender: 'u32',
recipient: 'u32'
},
/**
* Lookup104: polkadot_runtime_parachains::disputes::pallet::Event<T>
* Lookup107: polkadot_runtime_parachains::disputes::pallet::Event<T>
**/
PolkadotRuntimeParachainsDisputesPalletEvent: {
_enum: {
@@ -159,19 +159,19 @@ export default {
}
},
/**
* Lookup106: polkadot_runtime_parachains::disputes::DisputeLocation
* Lookup109: polkadot_runtime_parachains::disputes::DisputeLocation
**/
PolkadotRuntimeParachainsDisputesDisputeLocation: {
_enum: ['Local', 'Remote']
},
/**
* Lookup107: polkadot_runtime_parachains::disputes::DisputeResult
* Lookup110: polkadot_runtime_parachains::disputes::DisputeResult
**/
PolkadotRuntimeParachainsDisputesDisputeResult: {
_enum: ['Valid', 'Invalid']
},
/**
* Lookup108: polkadot_runtime_common::paras_registrar::pallet::Event<T>
* Lookup111: polkadot_runtime_common::paras_registrar::pallet::Event<T>
**/
PolkadotRuntimeCommonParasRegistrarPalletEvent: {
_enum: {
@@ -181,7 +181,7 @@ export default {
}
},
/**
* Lookup109: polkadot_runtime_common::slots::pallet::Event<T>
* Lookup112: polkadot_runtime_common::slots::pallet::Event<T>
**/
PolkadotRuntimeCommonSlotsPalletEvent: {
_enum: {
@@ -190,7 +190,7 @@ export default {
}
},
/**
* Lookup110: polkadot_runtime_common::auctions::pallet::Event<T>
* Lookup113: polkadot_runtime_common::auctions::pallet::Event<T>
**/
PolkadotRuntimeCommonAuctionsPalletEvent: {
_enum: {
@@ -204,7 +204,7 @@ export default {
}
},
/**
* Lookup111: polkadot_runtime_common::crowdloan::pallet::Event<T>
* Lookup114: polkadot_runtime_common::crowdloan::pallet::Event<T>
**/
PolkadotRuntimeCommonCrowdloanPalletEvent: {
_enum: {
@@ -221,7 +221,7 @@ export default {
}
},
/**
* Lookup112: pallet_xcm::pallet::Event<T>
* Lookup115: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -244,14 +244,14 @@ export default {
}
},
/**
* Lookup113: xcm::v1::multilocation::MultiLocation
* Lookup116: xcm::v1::multilocation::MultiLocation
**/
XcmV1MultiLocation: {
parents: 'u8',
interior: 'XcmV1MultilocationJunctions'
},
/**
* Lookup114: xcm::v1::multilocation::Junctions
* Lookup117: xcm::v1::multilocation::Junctions
**/
XcmV1MultilocationJunctions: {
_enum: {
@@ -267,7 +267,7 @@ export default {
}
},
/**
* Lookup115: xcm::v1::junction::Junction
* Lookup118: xcm::v1::junction::Junction
**/
XcmV1Junction: {
_enum: {
@@ -295,7 +295,7 @@ export default {
}
},
/**
* Lookup117: xcm::v0::junction::NetworkId
* Lookup120: xcm::v0::junction::NetworkId
**/
XcmV0JunctionNetworkId: {
_enum: {
@@ -306,7 +306,7 @@ export default {
}
},
/**
* Lookup119: xcm::v0::junction::BodyId
* Lookup122: xcm::v0::junction::BodyId
**/
XcmV0JunctionBodyId: {
_enum: {
@@ -320,7 +320,7 @@ export default {
}
},
/**
* Lookup120: xcm::v0::junction::BodyPart
* Lookup123: xcm::v0::junction::BodyPart
**/
XcmV0JunctionBodyPart: {
_enum: {
@@ -343,11 +343,11 @@ export default {
}
},
/**
* Lookup121: xcm::v2::Xcm<Call>
* Lookup124: xcm::v2::Xcm<Call>
**/
XcmV2Xcm: 'Vec<XcmV2Instruction>',
/**
* Lookup123: xcm::v2::Instruction<Call>
* Lookup126: xcm::v2::Instruction<Call>
**/
XcmV2Instruction: {
_enum: {
@@ -445,18 +445,18 @@ export default {
}
},
/**
* Lookup124: xcm::v1::multiasset::MultiAssets
* Lookup127: xcm::v1::multiasset::MultiAssets
**/
XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
/**
* Lookup126: xcm::v1::multiasset::MultiAsset
* Lookup129: xcm::v1::multiasset::MultiAsset
**/
XcmV1MultiAsset: {
id: 'XcmV1MultiassetAssetId',
fun: 'XcmV1MultiassetFungibility'
},
/**
* Lookup127: xcm::v1::multiasset::AssetId
* Lookup130: xcm::v1::multiasset::AssetId
**/
XcmV1MultiassetAssetId: {
_enum: {
@@ -465,7 +465,7 @@ export default {
}
},
/**
* Lookup128: xcm::v1::multiasset::Fungibility
* Lookup131: xcm::v1::multiasset::Fungibility
**/
XcmV1MultiassetFungibility: {
_enum: {
@@ -474,7 +474,7 @@ export default {
}
},
/**
* Lookup129: xcm::v1::multiasset::AssetInstance
* Lookup132: xcm::v1::multiasset::AssetInstance
**/
XcmV1MultiassetAssetInstance: {
_enum: {
@@ -488,7 +488,7 @@ export default {
}
},
/**
* Lookup131: xcm::v2::Response
* Lookup134: xcm::v2::Response
**/
XcmV2Response: {
_enum: {
@@ -499,19 +499,19 @@ export default {
}
},
/**
* Lookup134: xcm::v0::OriginKind
* Lookup137: xcm::v0::OriginKind
**/
XcmV0OriginKind: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
},
/**
* Lookup135: xcm::double_encoded::DoubleEncoded<T>
* Lookup138: xcm::double_encoded::DoubleEncoded<T>
**/
XcmDoubleEncoded: {
encoded: 'Bytes'
},
/**
* Lookup136: xcm::v1::multiasset::MultiAssetFilter
* Lookup139: xcm::v1::multiasset::MultiAssetFilter
**/
XcmV1MultiassetMultiAssetFilter: {
_enum: {
@@ -520,7 +520,7 @@ export default {
}
},
/**
* Lookup137: xcm::v1::multiasset::WildMultiAsset
* Lookup140: xcm::v1::multiasset::WildMultiAsset
**/
XcmV1MultiassetWildMultiAsset: {
_enum: {
@@ -532,13 +532,13 @@ export default {
}
},
/**
* Lookup138: xcm::v1::multiasset::WildFungibility
* Lookup141: xcm::v1::multiasset::WildFungibility
**/
XcmV1MultiassetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
* Lookup139: xcm::v2::WeightLimit
* Lookup142: xcm::v2::WeightLimit
**/
XcmV2WeightLimit: {
_enum: {
@@ -547,7 +547,7 @@ export default {
}
},
/**
* Lookup141: xcm::VersionedMultiAssets
* Lookup144: xcm::VersionedMultiAssets
**/
XcmVersionedMultiAssets: {
_enum: {
@@ -556,7 +556,7 @@ export default {
}
},
/**
* Lookup143: xcm::v0::multi_asset::MultiAsset
* Lookup146: xcm::v0::multi_asset::MultiAsset
**/
XcmV0MultiAsset: {
_enum: {
@@ -595,7 +595,7 @@ export default {
}
},
/**
* Lookup144: xcm::v0::multi_location::MultiLocation
* Lookup147: xcm::v0::multi_location::MultiLocation
**/
XcmV0MultiLocation: {
_enum: {
@@ -611,7 +611,7 @@ export default {
}
},
/**
* Lookup145: xcm::v0::junction::Junction
* Lookup148: xcm::v0::junction::Junction
**/
XcmV0Junction: {
_enum: {
@@ -640,7 +640,7 @@ export default {
}
},
/**
* Lookup146: xcm::VersionedMultiLocation
* Lookup149: xcm::VersionedMultiLocation
**/
XcmVersionedMultiLocation: {
_enum: {
@@ -1831,65 +1831,20 @@ export default {
minimumValidationUpgradeDelay: 'u32'
},
/**
* Lookup597: polkadot_runtime_parachains::configuration::migration::v1::HostConfiguration<BlockNumber>
**/
PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration: {
maxCodeSize: 'u32',
maxHeadDataSize: 'u32',
maxUpwardQueueCount: 'u32',
maxUpwardQueueSize: 'u32',
maxUpwardMessageSize: 'u32',
maxUpwardMessageNumPerCandidate: 'u32',
hrmpMaxMessageNumPerCandidate: 'u32',
validationUpgradeFrequency: 'u32',
validationUpgradeDelay: 'u32',
maxPovSize: 'u32',
maxDownwardMessageSize: 'u32',
umpServiceTotalWeight: 'u64',
hrmpMaxParachainOutboundChannels: 'u32',
hrmpMaxParathreadOutboundChannels: 'u32',
hrmpSenderDeposit: 'u128',
hrmpRecipientDeposit: 'u128',
hrmpChannelMaxCapacity: 'u32',
hrmpChannelMaxTotalSize: 'u32',
hrmpMaxParachainInboundChannels: 'u32',
hrmpMaxParathreadInboundChannels: 'u32',
hrmpChannelMaxMessageSize: 'u32',
codeRetentionPeriod: 'u32',
parathreadCores: 'u32',
parathreadRetries: 'u32',
groupRotationFrequency: 'u32',
chainAvailabilityPeriod: 'u32',
threadAvailabilityPeriod: 'u32',
schedulingLookahead: 'u32',
maxValidatorsPerCore: 'Option<u32>',
maxValidators: 'Option<u32>',
disputePeriod: 'u32',
disputePostConclusionAcceptancePeriod: 'u32',
disputeMaxSpamSlots: 'u32',
disputeConclusionByTimeOutPeriod: 'u32',
noShowSlots: 'u32',
nDelayTranches: 'u32',
zerothDelayTrancheWidth: 'u32',
neededApprovals: 'u32',
relayVrfModuloSamples: 'u32',
umpMaxIndividualWeight: 'u64'
},
/**
* Lookup600: polkadot_runtime_parachains::configuration::pallet::Error<T>
* Lookup599: polkadot_runtime_parachains::configuration::pallet::Error<T>
**/
PolkadotRuntimeParachainsConfigurationPalletError: {
_enum: ['InvalidNewValue']
},
/**
* Lookup603: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
* Lookup602: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
**/
PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord: {
bitfield: 'BitVec',
submittedAt: 'u32'
},
/**
* Lookup604: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
* Lookup603: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
**/
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: {
_alias: {
@@ -1905,13 +1860,13 @@ export default {
backingGroup: 'u32'
},
/**
* Lookup605: polkadot_runtime_parachains::inclusion::pallet::Error<T>
* Lookup604: polkadot_runtime_parachains::inclusion::pallet::Error<T>
**/
PolkadotRuntimeParachainsInclusionPalletError: {
_enum: ['UnsortedOrDuplicateValidatorIndices', 'UnsortedOrDuplicateDisputeStatementSet', 'UnsortedOrDuplicateBackedCandidates', 'UnexpectedRelayParent', 'WrongBitfieldSize', 'BitfieldAllZeros', 'BitfieldDuplicateOrUnordered', 'ValidatorIndexOutOfBounds', 'InvalidBitfieldSignature', 'UnscheduledCandidate', 'CandidateScheduledBeforeParaFree', 'WrongCollator', 'ScheduledOutOfOrder', 'HeadDataTooLarge', 'PrematureCodeUpgrade', 'NewCodeTooLarge', 'CandidateNotInParentContext', 'InvalidGroupIndex', 'InsufficientBacking', 'InvalidBacking', 'NotCollatorSigned', 'ValidationDataHashMismatch', 'IncorrectDownwardMessageHandling', 'InvalidUpwardMessages', 'HrmpWatermarkMishandling', 'InvalidOutboundHrmp', 'InvalidValidationCodeHash', 'ParaHeadMismatch', 'BitfieldReferencesFreedCore']
},
/**
* Lookup606: polkadot_primitives::v2::ScrapedOnChainVotes<primitive_types::H256>
* Lookup605: polkadot_primitives::v2::ScrapedOnChainVotes<primitive_types::H256>
**/
PolkadotPrimitivesV2ScrapedOnChainVotes: {
session: 'u32',
@@ -1919,38 +1874,38 @@ export default {
disputes: 'Vec<PolkadotPrimitivesV2DisputeStatementSet>'
},
/**
* Lookup611: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
* Lookup610: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
**/
PolkadotRuntimeParachainsParasInherentPalletError: {
_enum: ['TooManyInclusionInherents', 'InvalidParentHeader', 'CandidateConcludedInvalid', 'InherentOverweight', 'DisputeStatementsUnsortedOrDuplicates', 'DisputeInvalid']
},
/**
* Lookup613: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
* Lookup612: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
**/
PolkadotRuntimeParachainsSchedulerParathreadClaimQueue: {
queue: 'Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>',
nextCoreOffset: 'u32'
},
/**
* Lookup615: polkadot_runtime_parachains::scheduler::QueuedParathread
* Lookup614: polkadot_runtime_parachains::scheduler::QueuedParathread
**/
PolkadotRuntimeParachainsSchedulerQueuedParathread: {
claim: 'PolkadotPrimitivesV2ParathreadEntry',
coreOffset: 'u32'
},
/**
* Lookup616: polkadot_primitives::v2::ParathreadEntry
* Lookup615: polkadot_primitives::v2::ParathreadEntry
**/
PolkadotPrimitivesV2ParathreadEntry: {
claim: 'PolkadotPrimitivesV2ParathreadClaim',
retries: 'u32'
},
/**
* Lookup617: polkadot_primitives::v2::ParathreadClaim
* Lookup616: polkadot_primitives::v2::ParathreadClaim
**/
PolkadotPrimitivesV2ParathreadClaim: '(u32,PolkadotPrimitivesV2CollatorAppPublic)',
/**
* Lookup620: polkadot_primitives::v2::CoreOccupied
* Lookup619: polkadot_primitives::v2::CoreOccupied
**/
PolkadotPrimitivesV2CoreOccupied: {
_enum: {
@@ -1959,7 +1914,7 @@ export default {
}
},
/**
* Lookup623: polkadot_runtime_parachains::scheduler::CoreAssignment
* Lookup622: polkadot_runtime_parachains::scheduler::CoreAssignment
**/
PolkadotRuntimeParachainsSchedulerCoreAssignment: {
core: 'u32',
@@ -1968,7 +1923,7 @@ export default {
groupIdx: 'u32'
},
/**
* Lookup624: polkadot_runtime_parachains::scheduler::AssignmentKind
* Lookup623: polkadot_runtime_parachains::scheduler::AssignmentKind
**/
PolkadotRuntimeParachainsSchedulerAssignmentKind: {
_enum: {
@@ -1977,7 +1932,7 @@ export default {
}
},
/**
* Lookup625: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState<BlockNumber>
* Lookup624: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState<BlockNumber>
**/
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState: {
votesAccept: 'BitVec',
@@ -1987,7 +1942,7 @@ export default {
causes: 'Vec<PolkadotRuntimeParachainsParasPvfCheckCause>'
},
/**
* Lookup627: polkadot_runtime_parachains::paras::PvfCheckCause<BlockNumber>
* Lookup626: polkadot_runtime_parachains::paras::PvfCheckCause<BlockNumber>
**/
PolkadotRuntimeParachainsParasPvfCheckCause: {
_enum: {
@@ -1999,39 +1954,39 @@ export default {
}
},
/**
* Lookup629: polkadot_runtime_parachains::paras::ParaLifecycle
* Lookup628: polkadot_runtime_parachains::paras::ParaLifecycle
**/
PolkadotRuntimeParachainsParasParaLifecycle: {
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
},
/**
* Lookup631: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
* Lookup630: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
**/
PolkadotRuntimeParachainsParasParaPastCodeMeta: {
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
lastPruned: 'Option<u32>'
},
/**
* Lookup633: polkadot_runtime_parachains::paras::ReplacementTimes<N>
* Lookup632: polkadot_runtime_parachains::paras::ReplacementTimes<N>
**/
PolkadotRuntimeParachainsParasReplacementTimes: {
expectedAt: 'u32',
activatedAt: 'u32'
},
/**
* Lookup635: polkadot_primitives::v2::UpgradeGoAhead
* Lookup634: polkadot_primitives::v2::UpgradeGoAhead
**/
PolkadotPrimitivesV2UpgradeGoAhead: {
_enum: ['Abort', 'GoAhead']
},
/**
* Lookup636: polkadot_primitives::v2::UpgradeRestriction
* Lookup635: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
* Lookup637: polkadot_runtime_parachains::paras::ParaGenesisArgs
* Lookup636: polkadot_runtime_parachains::paras::ParaGenesisArgs
**/
PolkadotRuntimeParachainsParasParaGenesisArgs: {
genesisHead: 'Bytes',
@@ -2039,13 +1994,13 @@ export default {
parachain: 'bool'
},
/**
* Lookup638: polkadot_runtime_parachains::paras::pallet::Error<T>
* Lookup637: polkadot_runtime_parachains::paras::pallet::Error<T>
**/
PolkadotRuntimeParachainsParasPalletError: {
_enum: ['NotRegistered', 'CannotOnboard', 'CannotOffboard', 'CannotUpgrade', 'CannotDowngrade', 'PvfCheckStatementStale', 'PvfCheckStatementFuture', 'PvfCheckValidatorIndexOutOfBounds', 'PvfCheckInvalidSignature', 'PvfCheckDoubleVote', 'PvfCheckSubjectInvalid', 'PvfCheckDisabled']
},
/**
* Lookup640: polkadot_runtime_parachains::initializer::BufferedSessionChange
* Lookup639: polkadot_runtime_parachains::initializer::BufferedSessionChange
**/
PolkadotRuntimeParachainsInitializerBufferedSessionChange: {
validators: 'Vec<PolkadotPrimitivesV2ValidatorAppPublic>',
@@ -2053,20 +2008,20 @@ export default {
sessionIndex: 'u32'
},
/**
* Lookup642: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
* Lookup641: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
* Lookup644: polkadot_runtime_parachains::ump::pallet::Error<T>
* Lookup643: polkadot_runtime_parachains::ump::pallet::Error<T>
**/
PolkadotRuntimeParachainsUmpPalletError: {
_enum: ['UnknownMessageIndex', 'WeightOverLimit']
},
/**
* Lookup645: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
* Lookup644: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
**/
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
confirmed: 'bool',
@@ -2077,7 +2032,7 @@ export default {
maxTotalSize: 'u32'
},
/**
* Lookup647: polkadot_runtime_parachains::hrmp::HrmpChannel
* Lookup646: polkadot_runtime_parachains::hrmp::HrmpChannel
**/
PolkadotRuntimeParachainsHrmpHrmpChannel: {
maxCapacity: 'u32',
@@ -2090,20 +2045,20 @@ export default {
recipientDeposit: 'u128'
},
/**
* Lookup650: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
* Lookup649: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
* Lookup653: polkadot_runtime_parachains::hrmp::pallet::Error<T>
* Lookup652: polkadot_runtime_parachains::hrmp::pallet::Error<T>
**/
PolkadotRuntimeParachainsHrmpPalletError: {
_enum: ['OpenHrmpChannelToSelf', 'OpenHrmpChannelInvalidRecipient', 'OpenHrmpChannelZeroCapacity', 'OpenHrmpChannelCapacityExceedsLimit', 'OpenHrmpChannelZeroMessageSize', 'OpenHrmpChannelMessageSizeExceedsLimit', 'OpenHrmpChannelAlreadyExists', 'OpenHrmpChannelAlreadyRequested', 'OpenHrmpChannelLimitExceeded', 'AcceptHrmpChannelDoesntExist', 'AcceptHrmpChannelAlreadyConfirmed', 'AcceptHrmpChannelLimitExceeded', 'CloseHrmpChannelUnauthorized', 'CloseHrmpChannelDoesntExist', 'CloseHrmpChannelAlreadyUnderway', 'CancelHrmpOpenChannelUnauthorized', 'OpenHrmpChannelDoesntExist', 'OpenHrmpChannelAlreadyConfirmed', 'WrongWitness']
},
/**
* Lookup655: polkadot_primitives::v2::SessionInfo
* Lookup654: polkadot_primitives::v2::SessionInfo
**/
PolkadotPrimitivesV2SessionInfo: {
activeValidatorIndices: 'Vec<u32>',
@@ -2121,7 +2076,7 @@ export default {
neededApprovals: 'u32'
},
/**
* Lookup658: polkadot_primitives::v2::DisputeState<N>
* Lookup657: polkadot_primitives::v2::DisputeState<N>
**/
PolkadotPrimitivesV2DisputeState: {
validatorsFor: 'BitVec',
@@ -2130,13 +2085,13 @@ export default {
concludedAt: 'Option<u32>'
},
/**
* Lookup659: polkadot_runtime_parachains::disputes::pallet::Error<T>
* Lookup658: polkadot_runtime_parachains::disputes::pallet::Error<T>
**/
PolkadotRuntimeParachainsDisputesPalletError: {
_enum: ['DuplicateDisputeStatementSets', 'AncientDisputeStatement', 'ValidatorIndexOutOfBounds', 'InvalidSignature', 'DuplicateStatement', 'PotentialSpam', 'SingleSidedDispute']
},
/**
* Lookup660: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
* Lookup659: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
**/
PolkadotRuntimeCommonParasRegistrarParaInfo: {
manager: 'AccountId32',
@@ -2144,25 +2099,25 @@ export default {
locked: 'bool'
},
/**
* Lookup661: polkadot_runtime_common::paras_registrar::pallet::Error<T>
* Lookup660: polkadot_runtime_common::paras_registrar::pallet::Error<T>
**/
PolkadotRuntimeCommonParasRegistrarPalletError: {
_enum: ['NotRegistered', 'AlreadyRegistered', 'NotOwner', 'CodeTooLarge', 'HeadDataTooLarge', 'NotParachain', 'NotParathread', 'CannotDeregister', 'CannotDowngrade', 'CannotUpgrade', 'ParaLocked', 'NotReserved', 'EmptyCode', 'CannotSwap']
},
/**
* Lookup663: polkadot_runtime_common::slots::pallet::Error<T>
* Lookup662: polkadot_runtime_common::slots::pallet::Error<T>
**/
PolkadotRuntimeCommonSlotsPalletError: {
_enum: ['ParaNotOnboarding', 'LeaseError']
},
/**
* Lookup668: polkadot_runtime_common::auctions::pallet::Error<T>
* Lookup667: polkadot_runtime_common::auctions::pallet::Error<T>
**/
PolkadotRuntimeCommonAuctionsPalletError: {
_enum: ['AuctionInProgress', 'LeasePeriodInPast', 'ParaNotRegistered', 'NotCurrentAuction', 'NotAuction', 'AuctionEnded', 'AlreadyLeasedOut']
},
/**
* Lookup669: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
* Lookup668: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
**/
PolkadotRuntimeCommonCrowdloanFundInfo: {
depositor: 'AccountId32',
@@ -2177,7 +2132,7 @@ export default {
fundIndex: 'u32'
},
/**
* Lookup670: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
* Lookup669: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
**/
PolkadotRuntimeCommonCrowdloanLastContribution: {
_enum: {
@@ -2187,13 +2142,13 @@ export default {
}
},
/**
* Lookup671: polkadot_runtime_common::crowdloan::pallet::Error<T>
* Lookup670: polkadot_runtime_common::crowdloan::pallet::Error<T>
**/
PolkadotRuntimeCommonCrowdloanPalletError: {
_enum: ['FirstPeriodInPast', 'FirstPeriodTooFarInFuture', 'LastPeriodBeforeFirstPeriod', 'LastPeriodTooFarInFuture', 'CannotEndInPast', 'EndTooFarInFuture', 'Overflow', 'ContributionTooSmall', 'InvalidParaId', 'CapExceeded', 'ContributionPeriodOver', 'InvalidOrigin', 'NotParachain', 'LeaseActive', 'BidOrLeaseActive', 'FundNotEnded', 'NoContributions', 'NotReadyToDissolve', 'InvalidSignature', 'MemoTooLarge', 'AlreadyInNewRaise', 'VrfDelayInProgress', 'NoLeasePeriod']
},
/**
* Lookup672: pallet_xcm::pallet::QueryStatus<BlockNumber>
* Lookup671: pallet_xcm::pallet::QueryStatus<BlockNumber>
**/
PalletXcmQueryStatus: {
_enum: {
@@ -2213,7 +2168,7 @@ export default {
}
},
/**
* Lookup675: xcm::VersionedResponse
* Lookup674: xcm::VersionedResponse
**/
XcmVersionedResponse: {
_enum: {
@@ -2223,7 +2178,7 @@ export default {
}
},
/**
* Lookup681: pallet_xcm::pallet::VersionMigrationStage
* Lookup680: pallet_xcm::pallet::VersionMigrationStage
**/
PalletXcmVersionMigrationStage: {
_enum: {
@@ -2234,21 +2189,21 @@ export default {
}
},
/**
* Lookup682: pallet_xcm::pallet::Error<T>
* Lookup681: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
* Lookup693: pallet_transaction_payment::ChargeTransactionPayment<T>
* Lookup692: pallet_transaction_payment::ChargeTransactionPayment<T>
**/
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
* Lookup694: polkadot_runtime_common::claims::PrevalidateAttests<T>
* Lookup693: polkadot_runtime_common::claims::PrevalidateAttests<T>
**/
PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null',
/**
* Lookup695: polkadot_runtime::Runtime
* Lookup694: polkadot_runtime::Runtime
**/
PolkadotRuntimeRuntime: 'Null'
};
File diff suppressed because it is too large Load Diff
@@ -6,7 +6,7 @@ declare module '@polkadot/types/lookup' {
import type { ITuple } from '@polkadot/types-codec/types';
import type { PerU16 } from '@polkadot/types/interfaces/runtime';
/** @name KusamaRuntimeProxyType (76) */
/** @name KusamaRuntimeProxyType (79) */
export interface KusamaRuntimeProxyType extends Enum {
readonly isAny: boolean;
readonly isNonTransfer: boolean;
@@ -73,7 +73,7 @@ declare module '@polkadot/types/lookup' {
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
}
/** @name KusamaRuntimeRuntime (748) */
/** @name KusamaRuntimeRuntime (747) */
export type KusamaRuntimeRuntime = Null;
} // declare module
@@ -7,14 +7,14 @@ declare module '@polkadot/types/lookup' {
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, PerU16 } from '@polkadot/types/interfaces/runtime';
/** @name PolkadotRuntimeCommonClaimsPalletEvent (68) */
/** @name PolkadotRuntimeCommonClaimsPalletEvent (71) */
export interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
readonly isClaimed: boolean;
readonly asClaimed: ITuple<[AccountId32, EthereumAddress, u128]>;
readonly type: 'Claimed';
}
/** @name PolkadotRuntimeProxyType (75) */
/** @name PolkadotRuntimeProxyType (78) */
export interface PolkadotRuntimeProxyType extends Enum {
readonly isAny: boolean;
readonly isNonTransfer: boolean;
@@ -26,7 +26,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction';
}
/** @name PolkadotRuntimeParachainsInclusionPalletEvent (86) */
/** @name PolkadotRuntimeParachainsInclusionPalletEvent (89) */
export interface PolkadotRuntimeParachainsInclusionPalletEvent extends Enum {
readonly isCandidateBacked: boolean;
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesV2CandidateReceipt, Bytes, u32, u32]>;
@@ -37,13 +37,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'CandidateBacked' | 'CandidateIncluded' | 'CandidateTimedOut';
}
/** @name PolkadotPrimitivesV2CandidateReceipt (87) */
/** @name PolkadotPrimitivesV2CandidateReceipt (90) */
export interface PolkadotPrimitivesV2CandidateReceipt extends Struct {
readonly descriptor: PolkadotPrimitivesV2CandidateDescriptor;
readonly commitmentsHash: H256;
}
/** @name PolkadotPrimitivesV2CandidateDescriptor (88) */
/** @name PolkadotPrimitivesV2CandidateDescriptor (91) */
export interface PolkadotPrimitivesV2CandidateDescriptor extends Struct {
readonly paraId: u32;
readonly relayParent: H256;
@@ -56,13 +56,13 @@ declare module '@polkadot/types/lookup' {
readonly validationCodeHash: H256;
}
/** @name PolkadotPrimitivesV2CollatorAppPublic (90) */
/** @name PolkadotPrimitivesV2CollatorAppPublic (93) */
export interface PolkadotPrimitivesV2CollatorAppPublic extends SpCoreSr25519Public {}
/** @name PolkadotPrimitivesV2CollatorAppSignature (91) */
/** @name PolkadotPrimitivesV2CollatorAppSignature (94) */
export interface PolkadotPrimitivesV2CollatorAppSignature extends SpCoreSr25519Signature {}
/** @name PolkadotRuntimeParachainsParasPalletEvent (98) */
/** @name PolkadotRuntimeParachainsParasPalletEvent (101) */
export interface PolkadotRuntimeParachainsParasPalletEvent extends Enum {
readonly isCurrentCodeUpdated: boolean;
readonly asCurrentCodeUpdated: u32;
@@ -83,7 +83,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'CurrentCodeUpdated' | 'CurrentHeadUpdated' | 'CodeUpgradeScheduled' | 'NewHeadNoted' | 'ActionQueued' | 'PvfCheckStarted' | 'PvfCheckAccepted' | 'PvfCheckRejected';
}
/** @name PolkadotRuntimeParachainsUmpPalletEvent (99) */
/** @name PolkadotRuntimeParachainsUmpPalletEvent (102) */
export interface PolkadotRuntimeParachainsUmpPalletEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -102,7 +102,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedUpward' | 'WeightExhausted' | 'UpwardMessagesReceived' | 'OverweightEnqueued' | 'OverweightServiced';
}
/** @name XcmV2TraitsOutcome (100) */
/** @name XcmV2TraitsOutcome (103) */
export interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
@@ -113,7 +113,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
/** @name XcmV2TraitsError (101) */
/** @name XcmV2TraitsError (104) */
export interface XcmV2TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
@@ -146,7 +146,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';
}
/** @name PolkadotRuntimeParachainsHrmpPalletEvent (102) */
/** @name PolkadotRuntimeParachainsHrmpPalletEvent (105) */
export interface PolkadotRuntimeParachainsHrmpPalletEvent extends Enum {
readonly isOpenChannelRequested: boolean;
readonly asOpenChannelRequested: ITuple<[u32, u32, u32, u32]>;
@@ -159,13 +159,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'OpenChannelRequested' | 'OpenChannelCanceled' | 'OpenChannelAccepted' | 'ChannelClosed';
}
/** @name PolkadotParachainPrimitivesHrmpChannelId (103) */
/** @name PolkadotParachainPrimitivesHrmpChannelId (106) */
export interface PolkadotParachainPrimitivesHrmpChannelId extends Struct {
readonly sender: u32;
readonly recipient: u32;
}
/** @name PolkadotRuntimeParachainsDisputesPalletEvent (104) */
/** @name PolkadotRuntimeParachainsDisputesPalletEvent (107) */
export interface PolkadotRuntimeParachainsDisputesPalletEvent extends Enum {
readonly isDisputeInitiated: boolean;
readonly asDisputeInitiated: ITuple<[H256, PolkadotRuntimeParachainsDisputesDisputeLocation]>;
@@ -178,21 +178,21 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DisputeInitiated' | 'DisputeConcluded' | 'DisputeTimedOut' | 'Revert';
}
/** @name PolkadotRuntimeParachainsDisputesDisputeLocation (106) */
/** @name PolkadotRuntimeParachainsDisputesDisputeLocation (109) */
export interface PolkadotRuntimeParachainsDisputesDisputeLocation extends Enum {
readonly isLocal: boolean;
readonly isRemote: boolean;
readonly type: 'Local' | 'Remote';
}
/** @name PolkadotRuntimeParachainsDisputesDisputeResult (107) */
/** @name PolkadotRuntimeParachainsDisputesDisputeResult (110) */
export interface PolkadotRuntimeParachainsDisputesDisputeResult extends Enum {
readonly isValid: boolean;
readonly isInvalid: boolean;
readonly type: 'Valid' | 'Invalid';
}
/** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (108) */
/** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (111) */
export interface PolkadotRuntimeCommonParasRegistrarPalletEvent extends Enum {
readonly isRegistered: boolean;
readonly asRegistered: ITuple<[u32, AccountId32]>;
@@ -203,7 +203,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Registered' | 'Deregistered' | 'Reserved';
}
/** @name PolkadotRuntimeCommonSlotsPalletEvent (109) */
/** @name PolkadotRuntimeCommonSlotsPalletEvent (112) */
export interface PolkadotRuntimeCommonSlotsPalletEvent extends Enum {
readonly isNewLeasePeriod: boolean;
readonly asNewLeasePeriod: u32;
@@ -212,7 +212,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NewLeasePeriod' | 'Leased';
}
/** @name PolkadotRuntimeCommonAuctionsPalletEvent (110) */
/** @name PolkadotRuntimeCommonAuctionsPalletEvent (113) */
export interface PolkadotRuntimeCommonAuctionsPalletEvent extends Enum {
readonly isAuctionStarted: boolean;
readonly asAuctionStarted: ITuple<[u32, u32, u32]>;
@@ -231,7 +231,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'AuctionStarted' | 'AuctionClosed' | 'Reserved' | 'Unreserved' | 'ReserveConfiscated' | 'BidAccepted' | 'WinningOffset';
}
/** @name PolkadotRuntimeCommonCrowdloanPalletEvent (111) */
/** @name PolkadotRuntimeCommonCrowdloanPalletEvent (114) */
export interface PolkadotRuntimeCommonCrowdloanPalletEvent extends Enum {
readonly isCreated: boolean;
readonly asCreated: u32;
@@ -256,7 +256,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Created' | 'Contributed' | 'Withdrew' | 'PartiallyRefunded' | 'AllRefunded' | 'Dissolved' | 'HandleBidResult' | 'Edited' | 'MemoUpdated' | 'AddedToNewRaise';
}
/** @name PalletXcmEvent (112) */
/** @name PalletXcmEvent (115) */
export interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
@@ -293,13 +293,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
}
/** @name XcmV1MultiLocation (113) */
/** @name XcmV1MultiLocation (116) */
export interface XcmV1MultiLocation extends Struct {
readonly parents: u8;
readonly interior: XcmV1MultilocationJunctions;
}
/** @name XcmV1MultilocationJunctions (114) */
/** @name XcmV1MultilocationJunctions (117) */
export interface XcmV1MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
@@ -321,7 +321,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
/** @name XcmV1Junction (115) */
/** @name XcmV1Junction (118) */
export interface XcmV1Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
@@ -355,7 +355,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
/** @name XcmV0JunctionNetworkId (117) */
/** @name XcmV0JunctionNetworkId (120) */
export interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
@@ -365,7 +365,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
}
/** @name XcmV0JunctionBodyId (119) */
/** @name XcmV0JunctionBodyId (122) */
export interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
@@ -379,7 +379,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
}
/** @name XcmV0JunctionBodyPart (120) */
/** @name XcmV0JunctionBodyPart (123) */
export interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
@@ -404,10 +404,10 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
/** @name XcmV2Xcm (121) */
/** @name XcmV2Xcm (124) */
export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
/** @name XcmV2Instruction (123) */
/** @name XcmV2Instruction (126) */
export interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
@@ -527,16 +527,16 @@ declare module '@polkadot/types/lookup' {
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
/** @name XcmV1MultiassetMultiAssets (124) */
/** @name XcmV1MultiassetMultiAssets (127) */
export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
/** @name XcmV1MultiAsset (126) */
/** @name XcmV1MultiAsset (129) */
export interface XcmV1MultiAsset extends Struct {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetFungibility;
}
/** @name XcmV1MultiassetAssetId (127) */
/** @name XcmV1MultiassetAssetId (130) */
export interface XcmV1MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
readonly asConcrete: XcmV1MultiLocation;
@@ -545,7 +545,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Concrete' | 'Abstract';
}
/** @name XcmV1MultiassetFungibility (128) */
/** @name XcmV1MultiassetFungibility (131) */
export interface XcmV1MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
@@ -554,7 +554,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Fungible' | 'NonFungible';
}
/** @name XcmV1MultiassetAssetInstance (129) */
/** @name XcmV1MultiassetAssetInstance (132) */
export interface XcmV1MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
@@ -572,7 +572,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
}
/** @name XcmV2Response (131) */
/** @name XcmV2Response (134) */
export interface XcmV2Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
@@ -584,7 +584,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
}
/** @name XcmV0OriginKind (134) */
/** @name XcmV0OriginKind (137) */
export interface XcmV0OriginKind extends Enum {
readonly isNative: boolean;
readonly isSovereignAccount: boolean;
@@ -593,12 +593,12 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
}
/** @name XcmDoubleEncoded (135) */
/** @name XcmDoubleEncoded (138) */
export interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
}
/** @name XcmV1MultiassetMultiAssetFilter (136) */
/** @name XcmV1MultiassetMultiAssetFilter (139) */
export interface XcmV1MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: XcmV1MultiassetMultiAssets;
@@ -607,7 +607,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Definite' | 'Wild';
}
/** @name XcmV1MultiassetWildMultiAsset (137) */
/** @name XcmV1MultiassetWildMultiAsset (140) */
export interface XcmV1MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
@@ -618,14 +618,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'All' | 'AllOf';
}
/** @name XcmV1MultiassetWildFungibility (138) */
/** @name XcmV1MultiassetWildFungibility (141) */
export interface XcmV1MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
/** @name XcmV2WeightLimit (139) */
/** @name XcmV2WeightLimit (142) */
export interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
@@ -633,7 +633,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Unlimited' | 'Limited';
}
/** @name XcmVersionedMultiAssets (141) */
/** @name XcmVersionedMultiAssets (144) */
export interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>;
@@ -642,7 +642,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'V0' | 'V1';
}
/** @name XcmV0MultiAsset (143) */
/** @name XcmV0MultiAsset (146) */
export interface XcmV0MultiAsset extends Enum {
readonly isNone: boolean;
readonly isAll: boolean;
@@ -687,7 +687,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
}
/** @name XcmV0MultiLocation (144) */
/** @name XcmV0MultiLocation (147) */
export interface XcmV0MultiLocation extends Enum {
readonly isNull: boolean;
readonly isX1: boolean;
@@ -709,7 +709,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
/** @name XcmV0Junction (145) */
/** @name XcmV0Junction (148) */
export interface XcmV0Junction extends Enum {
readonly isParent: boolean;
readonly isParachain: boolean;
@@ -744,7 +744,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
/** @name XcmVersionedMultiLocation (146) */
/** @name XcmVersionedMultiLocation (149) */
export interface XcmVersionedMultiLocation extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiLocation;
@@ -1793,63 +1793,19 @@ declare module '@polkadot/types/lookup' {
readonly minimumValidationUpgradeDelay: u32;
}
/** @name PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration (597) */
export interface PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
readonly maxUpwardQueueCount: u32;
readonly maxUpwardQueueSize: u32;
readonly maxUpwardMessageSize: u32;
readonly maxUpwardMessageNumPerCandidate: u32;
readonly hrmpMaxMessageNumPerCandidate: u32;
readonly validationUpgradeFrequency: u32;
readonly validationUpgradeDelay: u32;
readonly maxPovSize: u32;
readonly maxDownwardMessageSize: u32;
readonly umpServiceTotalWeight: u64;
readonly hrmpMaxParachainOutboundChannels: u32;
readonly hrmpMaxParathreadOutboundChannels: u32;
readonly hrmpSenderDeposit: u128;
readonly hrmpRecipientDeposit: u128;
readonly hrmpChannelMaxCapacity: u32;
readonly hrmpChannelMaxTotalSize: u32;
readonly hrmpMaxParachainInboundChannels: u32;
readonly hrmpMaxParathreadInboundChannels: u32;
readonly hrmpChannelMaxMessageSize: u32;
readonly codeRetentionPeriod: u32;
readonly parathreadCores: u32;
readonly parathreadRetries: u32;
readonly groupRotationFrequency: u32;
readonly chainAvailabilityPeriod: u32;
readonly threadAvailabilityPeriod: u32;
readonly schedulingLookahead: u32;
readonly maxValidatorsPerCore: Option<u32>;
readonly maxValidators: Option<u32>;
readonly disputePeriod: u32;
readonly disputePostConclusionAcceptancePeriod: u32;
readonly disputeMaxSpamSlots: u32;
readonly disputeConclusionByTimeOutPeriod: u32;
readonly noShowSlots: u32;
readonly nDelayTranches: u32;
readonly zerothDelayTrancheWidth: u32;
readonly neededApprovals: u32;
readonly relayVrfModuloSamples: u32;
readonly umpMaxIndividualWeight: u64;
}
/** @name PolkadotRuntimeParachainsConfigurationPalletError (600) */
/** @name PolkadotRuntimeParachainsConfigurationPalletError (599) */
export interface PolkadotRuntimeParachainsConfigurationPalletError extends Enum {
readonly isInvalidNewValue: boolean;
readonly type: 'InvalidNewValue';
}
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (603) */
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (602) */
export interface PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord extends Struct {
readonly bitfield: BitVec;
readonly submittedAt: u32;
}
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (604) */
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (603) */
export interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
readonly core: u32;
readonly hash_: H256;
@@ -1861,7 +1817,7 @@ declare module '@polkadot/types/lookup' {
readonly backingGroup: u32;
}
/** @name PolkadotRuntimeParachainsInclusionPalletError (605) */
/** @name PolkadotRuntimeParachainsInclusionPalletError (604) */
export interface PolkadotRuntimeParachainsInclusionPalletError extends Enum {
readonly isUnsortedOrDuplicateValidatorIndices: boolean;
readonly isUnsortedOrDuplicateDisputeStatementSet: boolean;
@@ -1895,14 +1851,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'UnsortedOrDuplicateValidatorIndices' | 'UnsortedOrDuplicateDisputeStatementSet' | 'UnsortedOrDuplicateBackedCandidates' | 'UnexpectedRelayParent' | 'WrongBitfieldSize' | 'BitfieldAllZeros' | 'BitfieldDuplicateOrUnordered' | 'ValidatorIndexOutOfBounds' | 'InvalidBitfieldSignature' | 'UnscheduledCandidate' | 'CandidateScheduledBeforeParaFree' | 'WrongCollator' | 'ScheduledOutOfOrder' | 'HeadDataTooLarge' | 'PrematureCodeUpgrade' | 'NewCodeTooLarge' | 'CandidateNotInParentContext' | 'InvalidGroupIndex' | 'InsufficientBacking' | 'InvalidBacking' | 'NotCollatorSigned' | 'ValidationDataHashMismatch' | 'IncorrectDownwardMessageHandling' | 'InvalidUpwardMessages' | 'HrmpWatermarkMishandling' | 'InvalidOutboundHrmp' | 'InvalidValidationCodeHash' | 'ParaHeadMismatch' | 'BitfieldReferencesFreedCore';
}
/** @name PolkadotPrimitivesV2ScrapedOnChainVotes (606) */
/** @name PolkadotPrimitivesV2ScrapedOnChainVotes (605) */
export interface PolkadotPrimitivesV2ScrapedOnChainVotes extends Struct {
readonly session: u32;
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesV2CandidateReceipt, Vec<ITuple<[u32, PolkadotPrimitivesV2ValidityAttestation]>>]>>;
readonly disputes: Vec<PolkadotPrimitivesV2DisputeStatementSet>;
}
/** @name PolkadotRuntimeParachainsParasInherentPalletError (611) */
/** @name PolkadotRuntimeParachainsParasInherentPalletError (610) */
export interface PolkadotRuntimeParachainsParasInherentPalletError extends Enum {
readonly isTooManyInclusionInherents: boolean;
readonly isInvalidParentHeader: boolean;
@@ -1913,28 +1869,28 @@ declare module '@polkadot/types/lookup' {
readonly type: 'TooManyInclusionInherents' | 'InvalidParentHeader' | 'CandidateConcludedInvalid' | 'InherentOverweight' | 'DisputeStatementsUnsortedOrDuplicates' | 'DisputeInvalid';
}
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (613) */
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (612) */
export interface PolkadotRuntimeParachainsSchedulerParathreadClaimQueue extends Struct {
readonly queue: Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>;
readonly nextCoreOffset: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (615) */
/** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (614) */
export interface PolkadotRuntimeParachainsSchedulerQueuedParathread extends Struct {
readonly claim: PolkadotPrimitivesV2ParathreadEntry;
readonly coreOffset: u32;
}
/** @name PolkadotPrimitivesV2ParathreadEntry (616) */
/** @name PolkadotPrimitivesV2ParathreadEntry (615) */
export interface PolkadotPrimitivesV2ParathreadEntry extends Struct {
readonly claim: PolkadotPrimitivesV2ParathreadClaim;
readonly retries: u32;
}
/** @name PolkadotPrimitivesV2ParathreadClaim (617) */
/** @name PolkadotPrimitivesV2ParathreadClaim (616) */
export interface PolkadotPrimitivesV2ParathreadClaim extends ITuple<[u32, PolkadotPrimitivesV2CollatorAppPublic]> {}
/** @name PolkadotPrimitivesV2CoreOccupied (620) */
/** @name PolkadotPrimitivesV2CoreOccupied (619) */
export interface PolkadotPrimitivesV2CoreOccupied extends Enum {
readonly isParathread: boolean;
readonly asParathread: PolkadotPrimitivesV2ParathreadEntry;
@@ -1942,7 +1898,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Parathread' | 'Parachain';
}
/** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (623) */
/** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (622) */
export interface PolkadotRuntimeParachainsSchedulerCoreAssignment extends Struct {
readonly core: u32;
readonly paraId: u32;
@@ -1950,7 +1906,7 @@ declare module '@polkadot/types/lookup' {
readonly groupIdx: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (624) */
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (623) */
export interface PolkadotRuntimeParachainsSchedulerAssignmentKind extends Enum {
readonly isParachain: boolean;
readonly isParathread: boolean;
@@ -1958,7 +1914,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Parachain' | 'Parathread';
}
/** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (625) */
/** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (624) */
export interface PolkadotRuntimeParachainsParasPvfCheckActiveVoteState extends Struct {
readonly votesAccept: BitVec;
readonly votesReject: BitVec;
@@ -1967,7 +1923,7 @@ declare module '@polkadot/types/lookup' {
readonly causes: Vec<PolkadotRuntimeParachainsParasPvfCheckCause>;
}
/** @name PolkadotRuntimeParachainsParasPvfCheckCause (627) */
/** @name PolkadotRuntimeParachainsParasPvfCheckCause (626) */
export interface PolkadotRuntimeParachainsParasPvfCheckCause extends Enum {
readonly isOnboarding: boolean;
readonly asOnboarding: u32;
@@ -1979,7 +1935,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Onboarding' | 'Upgrade';
}
/** @name PolkadotRuntimeParachainsParasParaLifecycle (629) */
/** @name PolkadotRuntimeParachainsParasParaLifecycle (628) */
export interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
readonly isOnboarding: boolean;
readonly isParathread: boolean;
@@ -1991,39 +1947,39 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Onboarding' | 'Parathread' | 'Parachain' | 'UpgradingParathread' | 'DowngradingParachain' | 'OffboardingParathread' | 'OffboardingParachain';
}
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (631) */
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (630) */
export interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct {
readonly upgradeTimes: Vec<PolkadotRuntimeParachainsParasReplacementTimes>;
readonly lastPruned: Option<u32>;
}
/** @name PolkadotRuntimeParachainsParasReplacementTimes (633) */
/** @name PolkadotRuntimeParachainsParasReplacementTimes (632) */
export interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
readonly expectedAt: u32;
readonly activatedAt: u32;
}
/** @name PolkadotPrimitivesV2UpgradeGoAhead (635) */
/** @name PolkadotPrimitivesV2UpgradeGoAhead (634) */
export interface PolkadotPrimitivesV2UpgradeGoAhead extends Enum {
readonly isAbort: boolean;
readonly isGoAhead: boolean;
readonly type: 'Abort' | 'GoAhead';
}
/** @name PolkadotPrimitivesV2UpgradeRestriction (636) */
/** @name PolkadotPrimitivesV2UpgradeRestriction (635) */
export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (637) */
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (636) */
export interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct {
readonly genesisHead: Bytes;
readonly validationCode: Bytes;
readonly parachain: bool;
}
/** @name PolkadotRuntimeParachainsParasPalletError (638) */
/** @name PolkadotRuntimeParachainsParasPalletError (637) */
export interface PolkadotRuntimeParachainsParasPalletError extends Enum {
readonly isNotRegistered: boolean;
readonly isCannotOnboard: boolean;
@@ -2040,27 +1996,27 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotRegistered' | 'CannotOnboard' | 'CannotOffboard' | 'CannotUpgrade' | 'CannotDowngrade' | 'PvfCheckStatementStale' | 'PvfCheckStatementFuture' | 'PvfCheckValidatorIndexOutOfBounds' | 'PvfCheckInvalidSignature' | 'PvfCheckDoubleVote' | 'PvfCheckSubjectInvalid' | 'PvfCheckDisabled';
}
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (640) */
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (639) */
export interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
readonly validators: Vec<PolkadotPrimitivesV2ValidatorAppPublic>;
readonly queued: Vec<PolkadotPrimitivesV2ValidatorAppPublic>;
readonly sessionIndex: u32;
}
/** @name PolkadotCorePrimitivesInboundDownwardMessage (642) */
/** @name PolkadotCorePrimitivesInboundDownwardMessage (641) */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
/** @name PolkadotRuntimeParachainsUmpPalletError (644) */
/** @name PolkadotRuntimeParachainsUmpPalletError (643) */
export interface PolkadotRuntimeParachainsUmpPalletError extends Enum {
readonly isUnknownMessageIndex: boolean;
readonly isWeightOverLimit: boolean;
readonly type: 'UnknownMessageIndex' | 'WeightOverLimit';
}
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (645) */
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (644) */
export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
readonly confirmed: bool;
readonly age: u32;
@@ -2070,7 +2026,7 @@ declare module '@polkadot/types/lookup' {
readonly maxTotalSize: u32;
}
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (647) */
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (646) */
export interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -2082,13 +2038,13 @@ declare module '@polkadot/types/lookup' {
readonly recipientDeposit: u128;
}
/** @name PolkadotCorePrimitivesInboundHrmpMessage (650) */
/** @name PolkadotCorePrimitivesInboundHrmpMessage (649) */
export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
/** @name PolkadotRuntimeParachainsHrmpPalletError (653) */
/** @name PolkadotRuntimeParachainsHrmpPalletError (652) */
export interface PolkadotRuntimeParachainsHrmpPalletError extends Enum {
readonly isOpenHrmpChannelToSelf: boolean;
readonly isOpenHrmpChannelInvalidRecipient: boolean;
@@ -2112,7 +2068,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'OpenHrmpChannelToSelf' | 'OpenHrmpChannelInvalidRecipient' | 'OpenHrmpChannelZeroCapacity' | 'OpenHrmpChannelCapacityExceedsLimit' | 'OpenHrmpChannelZeroMessageSize' | 'OpenHrmpChannelMessageSizeExceedsLimit' | 'OpenHrmpChannelAlreadyExists' | 'OpenHrmpChannelAlreadyRequested' | 'OpenHrmpChannelLimitExceeded' | 'AcceptHrmpChannelDoesntExist' | 'AcceptHrmpChannelAlreadyConfirmed' | 'AcceptHrmpChannelLimitExceeded' | 'CloseHrmpChannelUnauthorized' | 'CloseHrmpChannelDoesntExist' | 'CloseHrmpChannelAlreadyUnderway' | 'CancelHrmpOpenChannelUnauthorized' | 'OpenHrmpChannelDoesntExist' | 'OpenHrmpChannelAlreadyConfirmed' | 'WrongWitness';
}
/** @name PolkadotPrimitivesV2SessionInfo (655) */
/** @name PolkadotPrimitivesV2SessionInfo (654) */
export interface PolkadotPrimitivesV2SessionInfo extends Struct {
readonly activeValidatorIndices: Vec<u32>;
readonly randomSeed: U8aFixed;
@@ -2129,7 +2085,7 @@ declare module '@polkadot/types/lookup' {
readonly neededApprovals: u32;
}
/** @name PolkadotPrimitivesV2DisputeState (658) */
/** @name PolkadotPrimitivesV2DisputeState (657) */
export interface PolkadotPrimitivesV2DisputeState extends Struct {
readonly validatorsFor: BitVec;
readonly validatorsAgainst: BitVec;
@@ -2137,7 +2093,7 @@ declare module '@polkadot/types/lookup' {
readonly concludedAt: Option<u32>;
}
/** @name PolkadotRuntimeParachainsDisputesPalletError (659) */
/** @name PolkadotRuntimeParachainsDisputesPalletError (658) */
export interface PolkadotRuntimeParachainsDisputesPalletError extends Enum {
readonly isDuplicateDisputeStatementSets: boolean;
readonly isAncientDisputeStatement: boolean;
@@ -2149,14 +2105,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DuplicateDisputeStatementSets' | 'AncientDisputeStatement' | 'ValidatorIndexOutOfBounds' | 'InvalidSignature' | 'DuplicateStatement' | 'PotentialSpam' | 'SingleSidedDispute';
}
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (660) */
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (659) */
export interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct {
readonly manager: AccountId32;
readonly deposit: u128;
readonly locked: bool;
}
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (661) */
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (660) */
export interface PolkadotRuntimeCommonParasRegistrarPalletError extends Enum {
readonly isNotRegistered: boolean;
readonly isAlreadyRegistered: boolean;
@@ -2175,14 +2131,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotRegistered' | 'AlreadyRegistered' | 'NotOwner' | 'CodeTooLarge' | 'HeadDataTooLarge' | 'NotParachain' | 'NotParathread' | 'CannotDeregister' | 'CannotDowngrade' | 'CannotUpgrade' | 'ParaLocked' | 'NotReserved' | 'EmptyCode' | 'CannotSwap';
}
/** @name PolkadotRuntimeCommonSlotsPalletError (663) */
/** @name PolkadotRuntimeCommonSlotsPalletError (662) */
export interface PolkadotRuntimeCommonSlotsPalletError extends Enum {
readonly isParaNotOnboarding: boolean;
readonly isLeaseError: boolean;
readonly type: 'ParaNotOnboarding' | 'LeaseError';
}
/** @name PolkadotRuntimeCommonAuctionsPalletError (668) */
/** @name PolkadotRuntimeCommonAuctionsPalletError (667) */
export interface PolkadotRuntimeCommonAuctionsPalletError extends Enum {
readonly isAuctionInProgress: boolean;
readonly isLeasePeriodInPast: boolean;
@@ -2194,7 +2150,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'AuctionInProgress' | 'LeasePeriodInPast' | 'ParaNotRegistered' | 'NotCurrentAuction' | 'NotAuction' | 'AuctionEnded' | 'AlreadyLeasedOut';
}
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (669) */
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (668) */
export interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
readonly depositor: AccountId32;
readonly verifier: Option<SpRuntimeMultiSigner>;
@@ -2208,7 +2164,7 @@ declare module '@polkadot/types/lookup' {
readonly fundIndex: u32;
}
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (670) */
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (669) */
export interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
readonly isNever: boolean;
readonly isPreEnding: boolean;
@@ -2218,7 +2174,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Never' | 'PreEnding' | 'Ending';
}
/** @name PolkadotRuntimeCommonCrowdloanPalletError (671) */
/** @name PolkadotRuntimeCommonCrowdloanPalletError (670) */
export interface PolkadotRuntimeCommonCrowdloanPalletError extends Enum {
readonly isFirstPeriodInPast: boolean;
readonly isFirstPeriodTooFarInFuture: boolean;
@@ -2246,7 +2202,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'FirstPeriodInPast' | 'FirstPeriodTooFarInFuture' | 'LastPeriodBeforeFirstPeriod' | 'LastPeriodTooFarInFuture' | 'CannotEndInPast' | 'EndTooFarInFuture' | 'Overflow' | 'ContributionTooSmall' | 'InvalidParaId' | 'CapExceeded' | 'ContributionPeriodOver' | 'InvalidOrigin' | 'NotParachain' | 'LeaseActive' | 'BidOrLeaseActive' | 'FundNotEnded' | 'NoContributions' | 'NotReadyToDissolve' | 'InvalidSignature' | 'MemoTooLarge' | 'AlreadyInNewRaise' | 'VrfDelayInProgress' | 'NoLeasePeriod';
}
/** @name PalletXcmQueryStatus (672) */
/** @name PalletXcmQueryStatus (671) */
export interface PalletXcmQueryStatus extends Enum {
readonly isPending: boolean;
readonly asPending: {
@@ -2267,7 +2223,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Pending' | 'VersionNotifier' | 'Ready';
}
/** @name XcmVersionedResponse (675) */
/** @name XcmVersionedResponse (674) */
export interface XcmVersionedResponse extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Response;
@@ -2278,7 +2234,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'V0' | 'V1' | 'V2';
}
/** @name PalletXcmVersionMigrationStage (681) */
/** @name PalletXcmVersionMigrationStage (680) */
export interface PalletXcmVersionMigrationStage extends Enum {
readonly isMigrateSupportedVersion: boolean;
readonly isMigrateVersionNotifiers: boolean;
@@ -2288,7 +2244,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets';
}
/** @name PalletXcmError (682) */
/** @name PalletXcmError (681) */
export interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -2306,13 +2262,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
/** @name PalletTransactionPaymentChargeTransactionPayment (693) */
/** @name PalletTransactionPaymentChargeTransactionPayment (692) */
export interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (694) */
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (693) */
export type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
/** @name PolkadotRuntimeRuntime (695) */
/** @name PolkadotRuntimeRuntime (694) */
export type PolkadotRuntimeRuntime = Null;
} // declare module
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '8.2.1' };
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -20,16 +20,16 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/util": "^9.0.1"
},
"devDependencies": {
"@polkadot/types": "8.0.2",
"@polkadot/types-augment": "8.0.2",
"@polkadot/types-support": "8.0.2",
"@polkadot/types": "8.2.1",
"@polkadot/types-augment": "8.2.1",
"@polkadot/types-support": "8.2.1",
"@polkadot/util-crypto": "^9.0.1"
}
}
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '8.2.1' };
+3 -3
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/types-codec": "8.0.2",
"@polkadot/types-codec": "8.2.1",
"@polkadot/util": "^9.0.1"
},
"devDependencies": {
"@polkadot/types": "8.0.2"
"@polkadot/types": "8.2.1"
}
}
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '8.2.1' };
+4 -4
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/networks": "^9.0.1",
"@polkadot/types": "8.0.2",
"@polkadot/types-codec": "8.0.2",
"@polkadot/types-create": "8.0.2",
"@polkadot/types": "8.2.1",
"@polkadot/types-codec": "8.2.1",
"@polkadot/types-create": "8.2.1",
"@polkadot/util": "^9.0.1"
}
}
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '8.2.1' };
+1 -1
View File
@@ -13,7 +13,7 @@ const upgrades: ChainUpgradesRaw = [
[5879822, 9031], [5896856, 9032], [5897316, 9033], [6117927, 9050], [6210274, 9070],
[6379314, 9080], [6979141, 9090], [7568453, 9100], [7766394, 9111], [7911691, 9120],
[7968866, 9121], [7982889, 9122], [8514322, 9130], [9091726, 9140], [9091774, 9150],
[9406726, 9160], [9921066, 9170], [10007115, 9180]
[9406726, 9160], [9921066, 9170], [10007115, 9180], [10480973, 9190]
];
export default upgrades;
+1 -1
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -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.0.2' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '8.2.1' };
+5 -5
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "8.0.2",
"version": "8.2.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@polkadot/keyring": "^9.0.1",
"@polkadot/types-augment": "8.0.2",
"@polkadot/types-codec": "8.0.2",
"@polkadot/types-create": "8.0.2",
"@polkadot/types-augment": "8.2.1",
"@polkadot/types-codec": "8.2.1",
"@polkadot/types-create": "8.2.1",
"@polkadot/util": "^9.0.1",
"@polkadot/util-crypto": "^9.0.1",
"rxjs": "^7.5.5"
},
"devDependencies": {
"@polkadot/keyring": "^9.0.1",
"@polkadot/types-support": "8.0.2"
"@polkadot/types-support": "8.2.1"
}
}
+1 -1
View File
@@ -59,7 +59,7 @@ export class GenericMultiAddress extends Enum {
const { inner, outer = [] } = this.inner.inspect();
return {
inner: inner,
inner,
outer: [new Uint8Array([this.index]), ...outer]
};
}
@@ -24,9 +24,7 @@ const PRIMITIVE_ALIAS: Record<string, string> = {
// These are types where we have a specific decoding/encoding override + helpers
const PATHS_ALIAS = splitNamespace([
// these have a specific encoding or logic (for pallets)
'pallet_democracy::vote::Vote',
'pallet_identity::types::Data',
// full matching on exact names...
// these are well-known types with additional encoding
'sp_core::crypto::AccountId32',
'sp_runtime::generic::era::Era',
@@ -34,6 +32,10 @@ const PATHS_ALIAS = splitNamespace([
// ethereum overrides (Frontier, Moonbeam, Polkadot claims)
'account::AccountId20',
'polkadot_runtime_common::claims::EthereumAddress',
// wildcard matching in place...
// these have a specific encoding or logic, use a wildcard for {pallet, darwinia}_democracy
'*_democracy::vote::Vote',
'*_identity::types::Data',
// shorten some well-known types
'primitive_types::*',
'sp_arithmetic::per_things::*',
+1 -1
View File
@@ -289,7 +289,7 @@ function convertExtrinsic (registry: Registry, { signedExtensions, version }: Ex
type: 0 // we don't map the fields at all
})),
type: 0, // Map to extrinsic like in v14?
version: version
version
}]);
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '8.0.2' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '8.2.1' };
+246 -221
View File
@@ -1431,9 +1431,9 @@ __metadata:
languageName: node
linkType: hard
"@eslint/eslintrc@npm:^1.2.1":
version: 1.2.1
resolution: "@eslint/eslintrc@npm:1.2.1"
"@eslint/eslintrc@npm:^1.2.2":
version: 1.2.2
resolution: "@eslint/eslintrc@npm:1.2.2"
dependencies:
ajv: ^6.12.4
debug: ^4.3.2
@@ -1444,7 +1444,7 @@ __metadata:
js-yaml: ^4.1.0
minimatch: ^3.0.4
strip-json-comments: ^3.1.1
checksum: 1f797b9f94d71b965992cf6c44e3bcb574643014fd1e3d4862d25056bd5568f59c488461a7e9a1c1758ca7f0def5d3cb69c3d8b38581bcf4a53af74371243797
checksum: d891036bbffb0efec1462aa4a603ed6e349d546b1632dde7d474ddd15c2a8b6895671b25293f1d3ba10ff629c24a3649ad049373fe695a0e44b612537088563c
languageName: node
linkType: hard
@@ -1892,28 +1892,28 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@8.0.2, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@8.2.1, @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.17.9
"@polkadot/api-base": 8.0.2
"@polkadot/rpc-augment": 8.0.2
"@polkadot/types": 8.0.2
"@polkadot/types-augment": 8.0.2
"@polkadot/types-codec": 8.0.2
"@polkadot/types-support": 8.0.2
"@polkadot/api-base": 8.2.1
"@polkadot/rpc-augment": 8.2.1
"@polkadot/types": 8.2.1
"@polkadot/types-augment": 8.2.1
"@polkadot/types-codec": 8.2.1
"@polkadot/types-support": 8.2.1
"@polkadot/util": ^9.0.1
languageName: unknown
linkType: soft
"@polkadot/api-base@8.0.2, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@8.2.1, @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.17.9
"@polkadot/rpc-core": 8.0.2
"@polkadot/types": 8.0.2
"@polkadot/rpc-core": 8.2.1
"@polkadot/types": 8.2.1
"@polkadot/util": ^9.0.1
rxjs: ^7.5.5
languageName: unknown
@@ -1924,56 +1924,56 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.17.9
"@polkadot/api": 8.0.2
"@polkadot/api-augment": 8.0.2
"@polkadot/api": 8.2.1
"@polkadot/api-augment": 8.2.1
"@polkadot/keyring": ^9.0.1
"@polkadot/types": 8.0.2
"@polkadot/types-codec": 8.0.2
"@polkadot/types-create": 8.0.2
"@polkadot/types": 8.2.1
"@polkadot/types-codec": 8.2.1
"@polkadot/types-create": 8.2.1
"@polkadot/util": ^9.0.1
"@polkadot/util-crypto": ^9.0.1
rxjs: ^7.5.5
languageName: unknown
linkType: soft
"@polkadot/api-derive@8.0.2, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@8.2.1, @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.17.9
"@polkadot/api": 8.0.2
"@polkadot/api-augment": 8.0.2
"@polkadot/api-base": 8.0.2
"@polkadot/rpc-augment": 8.0.2
"@polkadot/rpc-core": 8.0.2
"@polkadot/rpc-provider": 8.0.2
"@polkadot/types": 8.0.2
"@polkadot/types-codec": 8.0.2
"@polkadot/types-support": 8.0.2
"@polkadot/api": 8.2.1
"@polkadot/api-augment": 8.2.1
"@polkadot/api-base": 8.2.1
"@polkadot/rpc-augment": 8.2.1
"@polkadot/rpc-core": 8.2.1
"@polkadot/rpc-provider": 8.2.1
"@polkadot/types": 8.2.1
"@polkadot/types-codec": 8.2.1
"@polkadot/types-support": 8.2.1
"@polkadot/util": ^9.0.1
"@polkadot/util-crypto": ^9.0.1
rxjs: ^7.5.5
languageName: unknown
linkType: soft
"@polkadot/api@8.0.2, @polkadot/api@workspace:packages/api":
"@polkadot/api@8.2.1, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.17.9
"@polkadot/api-augment": 8.0.2
"@polkadot/api-base": 8.0.2
"@polkadot/api-derive": 8.0.2
"@polkadot/api-augment": 8.2.1
"@polkadot/api-base": 8.2.1
"@polkadot/api-derive": 8.2.1
"@polkadot/keyring": ^9.0.1
"@polkadot/rpc-augment": 8.0.2
"@polkadot/rpc-core": 8.0.2
"@polkadot/rpc-provider": 8.0.2
"@polkadot/types": 8.0.2
"@polkadot/types-augment": 8.0.2
"@polkadot/types-codec": 8.0.2
"@polkadot/types-create": 8.0.2
"@polkadot/types-known": 8.0.2
"@polkadot/types-support": 8.0.2
"@polkadot/rpc-augment": 8.2.1
"@polkadot/rpc-core": 8.2.1
"@polkadot/rpc-provider": 8.2.1
"@polkadot/types": 8.2.1
"@polkadot/types-augment": 8.2.1
"@polkadot/types-codec": 8.2.1
"@polkadot/types-create": 8.2.1
"@polkadot/types-known": 8.2.1
"@polkadot/types-support": 8.2.1
"@polkadot/util": ^9.0.1
"@polkadot/util-crypto": ^9.0.1
eventemitter3: ^4.0.7
@@ -1981,9 +1981,9 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/dev@npm:^0.66.1":
version: 0.66.1
resolution: "@polkadot/dev@npm:0.66.1"
"@polkadot/dev@npm:^0.66.9":
version: 0.66.9
resolution: "@polkadot/dev@npm:0.66.9"
dependencies:
"@babel/cli": ^7.17.6
"@babel/core": ^7.17.9
@@ -2002,13 +2002,13 @@ __metadata:
"@babel/register": ^7.17.7
"@babel/runtime": ^7.17.9
"@rollup/plugin-alias": ^3.1.9
"@rollup/plugin-commonjs": ^21.0.3
"@rollup/plugin-commonjs": ^21.1.0
"@rollup/plugin-inject": ^4.0.4
"@rollup/plugin-json": ^4.1.0
"@rollup/plugin-node-resolve": ^13.1.3
"@rushstack/eslint-patch": ^1.1.2
"@typescript-eslint/eslint-plugin": 5.18.0
"@typescript-eslint/parser": 5.18.0
"@rollup/plugin-node-resolve": ^13.2.1
"@rushstack/eslint-patch": ^1.1.3
"@typescript-eslint/eslint-plugin": 5.20.0
"@typescript-eslint/parser": 5.20.0
"@vue/component-compiler-utils": ^3.3.0
babel-jest: ^27.5.1
babel-plugin-module-extension-resolver: ^1.0.0-rc.2
@@ -2016,22 +2016,22 @@ __metadata:
babel-plugin-styled-components: ^2.0.7
browserslist: ^4.20.2
coveralls: ^3.1.1
eslint: ^8.13.0
eslint-config-standard: ^16.0.3
eslint: ^8.14.0
eslint-config-standard: ^17.0.0
eslint-import-resolver-node: ^0.3.6
eslint-plugin-header: ^3.1.1
eslint-plugin-import: ^2.26.0
eslint-plugin-import-newlines: ^1.2.2
eslint-plugin-node: ^11.1.0
eslint-plugin-n: ^15.1.0
eslint-plugin-promise: ^6.0.0
eslint-plugin-react: ^7.29.4
eslint-plugin-react-hooks: ^4.4.0
eslint-plugin-simple-import-sort: ^7.0.0
eslint-plugin-sort-destructure-keys: ^1.4.0
fs-extra: ^10.0.1
fs-extra: ^10.1.0
gh-pages: ^3.2.3
gh-release: ^6.0.3
glob: ^7.2.0
gh-release: ^6.0.4
glob: ^8.0.1
glob2base: ^0.0.12
jest: ^27.5.1
jest-cli: ^27.5.1
@@ -2043,10 +2043,10 @@ __metadata:
mkdirp: ^1.0.4
prettier: ^2.6.2
rimraf: ^3.0.2
rollup: ^2.70.1
rollup: ^2.70.2
rollup-plugin-cleanup: ^3.2.1
typescript: ^4.6.3
yargs: ^17.4.0
yargs: ^17.4.1
bin:
polkadot-ci-ghact-build: scripts/polkadot-ci-ghact-build.mjs
polkadot-ci-ghact-docs: scripts/polkadot-ci-ghact-docs.mjs
@@ -2069,7 +2069,7 @@ __metadata:
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
checksum: 7c981430cc1b937b53281312803800dd8699bc24de9142ecfa4edc37029c4185caee5a346e89ac5a1a1d78ad8deb100775f7353c2eff31f4e427f69ae84fdcde
checksum: 4ab1d19e587c3f2c900f416f6761ca682d0f0a848410966f42ff910dcca8c6227ff9b7aa4ef85e8074409658c30da395531596b27e2483d108ee26fd26e634fb
languageName: node
linkType: hard
@@ -2098,40 +2098,40 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-augment@8.0.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@8.2.1, @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.17.9
"@polkadot/rpc-core": 8.0.2
"@polkadot/types": 8.0.2
"@polkadot/types-codec": 8.0.2
"@polkadot/rpc-core": 8.2.1
"@polkadot/types": 8.2.1
"@polkadot/types-codec": 8.2.1
"@polkadot/util": ^9.0.1
languageName: unknown
linkType: soft
"@polkadot/rpc-core@8.0.2, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@8.2.1, @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.17.9
"@polkadot/keyring": ^9.0.1
"@polkadot/rpc-augment": 8.0.2
"@polkadot/rpc-provider": 8.0.2
"@polkadot/types": 8.0.2
"@polkadot/rpc-augment": 8.2.1
"@polkadot/rpc-provider": 8.2.1
"@polkadot/types": 8.2.1
"@polkadot/util": ^9.0.1
rxjs: ^7.5.5
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@8.0.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@8.2.1, @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.17.9
"@polkadot/keyring": ^9.0.1
"@polkadot/types": 8.0.2
"@polkadot/types-support": 8.0.2
"@polkadot/types": 8.2.1
"@polkadot/types-support": 8.2.1
"@polkadot/util": ^9.0.1
"@polkadot/util-crypto": ^9.0.1
"@polkadot/x-fetch": ^9.0.1
@@ -2139,7 +2139,7 @@ __metadata:
"@polkadot/x-ws": ^9.0.1
"@substrate/connect": 0.7.2
eventemitter3: ^4.0.7
mock-socket: ^9.1.2
mock-socket: ^9.1.3
nock: ^13.2.4
languageName: unknown
linkType: soft
@@ -2151,22 +2151,22 @@ __metadata:
"@babel/core": ^7.17.9
"@babel/register": ^7.17.7
"@babel/runtime": ^7.17.9
"@polkadot/api": 8.0.2
"@polkadot/api-augment": 8.0.2
"@polkadot/rpc-augment": 8.0.2
"@polkadot/rpc-provider": 8.0.2
"@polkadot/types": 8.0.2
"@polkadot/types-augment": 8.0.2
"@polkadot/types-codec": 8.0.2
"@polkadot/types-create": 8.0.2
"@polkadot/types-support": 8.0.2
"@polkadot/api": 8.2.1
"@polkadot/api-augment": 8.2.1
"@polkadot/rpc-augment": 8.2.1
"@polkadot/rpc-provider": 8.2.1
"@polkadot/types": 8.2.1
"@polkadot/types-augment": 8.2.1
"@polkadot/types-codec": 8.2.1
"@polkadot/types-create": 8.2.1
"@polkadot/types-support": 8.2.1
"@polkadot/util": ^9.0.1
"@polkadot/x-ws": ^9.0.1
"@types/websocket": ^1.0.5
"@types/yargs": ^17.0.10
handlebars: ^4.7.7
websocket: ^1.0.34
yargs: ^17.4.0
yargs: ^17.4.1
bin:
polkadot-types-chain-info: ./scripts/polkadot-types-chain-info.cjs
polkadot-types-from-chain: ./scripts/polkadot-types-from-chain.cjs
@@ -2176,55 +2176,55 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@8.0.2, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@8.2.1, @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.17.9
"@polkadot/types": 8.0.2
"@polkadot/types-codec": 8.0.2
"@polkadot/types": 8.2.1
"@polkadot/types-codec": 8.2.1
"@polkadot/util": ^9.0.1
languageName: unknown
linkType: soft
"@polkadot/types-codec@8.0.2, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@8.2.1, @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.17.9
"@polkadot/types": 8.0.2
"@polkadot/types-augment": 8.0.2
"@polkadot/types-support": 8.0.2
"@polkadot/types": 8.2.1
"@polkadot/types-augment": 8.2.1
"@polkadot/types-support": 8.2.1
"@polkadot/util": ^9.0.1
"@polkadot/util-crypto": ^9.0.1
languageName: unknown
linkType: soft
"@polkadot/types-create@8.0.2, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@8.2.1, @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.17.9
"@polkadot/types": 8.0.2
"@polkadot/types-codec": 8.0.2
"@polkadot/types": 8.2.1
"@polkadot/types-codec": 8.2.1
"@polkadot/util": ^9.0.1
languageName: unknown
linkType: soft
"@polkadot/types-known@8.0.2, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@8.2.1, @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.17.9
"@polkadot/networks": ^9.0.1
"@polkadot/types": 8.0.2
"@polkadot/types-codec": 8.0.2
"@polkadot/types-create": 8.0.2
"@polkadot/types": 8.2.1
"@polkadot/types-codec": 8.2.1
"@polkadot/types-create": 8.2.1
"@polkadot/util": ^9.0.1
languageName: unknown
linkType: soft
"@polkadot/types-support@8.0.2, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@8.2.1, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -2233,16 +2233,16 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@8.0.2, @polkadot/types@workspace:packages/types":
"@polkadot/types@8.2.1, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.17.9
"@polkadot/keyring": ^9.0.1
"@polkadot/types-augment": 8.0.2
"@polkadot/types-codec": 8.0.2
"@polkadot/types-create": 8.0.2
"@polkadot/types-support": 8.0.2
"@polkadot/types-augment": 8.2.1
"@polkadot/types-codec": 8.2.1
"@polkadot/types-create": 8.2.1
"@polkadot/types-support": 8.2.1
"@polkadot/util": ^9.0.1
"@polkadot/util-crypto": ^9.0.1
rxjs: ^7.5.5
@@ -2406,9 +2406,9 @@ __metadata:
languageName: node
linkType: hard
"@rollup/plugin-commonjs@npm:^21.0.3":
version: 21.0.3
resolution: "@rollup/plugin-commonjs@npm:21.0.3"
"@rollup/plugin-commonjs@npm:^21.1.0":
version: 21.1.0
resolution: "@rollup/plugin-commonjs@npm:21.1.0"
dependencies:
"@rollup/pluginutils": ^3.1.0
commondir: ^1.0.1
@@ -2419,7 +2419,7 @@ __metadata:
resolve: ^1.17.0
peerDependencies:
rollup: ^2.38.3
checksum: 23307d3b7eb8d64dd966fbe380b85bf3b5f4908c7344427d45918d570cf6b48710ef6f155bea74545127c10de9d64f87dd2219078e83dbccf927505d38774de8
checksum: e8280f4b6192729f2bdf878c48c451dc441075f2a12f22c688393f48a6b95e8ff83caaacc3df4eb1d81516e08a0e3a669213632879910d85dd630b37bb284df7
languageName: node
linkType: hard
@@ -2447,9 +2447,9 @@ __metadata:
languageName: node
linkType: hard
"@rollup/plugin-node-resolve@npm:^13.1.3":
version: 13.1.3
resolution: "@rollup/plugin-node-resolve@npm:13.1.3"
"@rollup/plugin-node-resolve@npm:^13.2.1":
version: 13.2.1
resolution: "@rollup/plugin-node-resolve@npm:13.2.1"
dependencies:
"@rollup/pluginutils": ^3.1.0
"@types/resolve": 1.17.1
@@ -2459,7 +2459,7 @@ __metadata:
resolve: ^1.19.0
peerDependencies:
rollup: ^2.42.0
checksum: c275843aef884ff15ed7edb8a3b8fd072a72d517632098f6e9c25ef2c00f7842559565cc77e16c59eb119b8c4e2d858a8b5a94701ca6f85ae6a4f60a6e31f0ab
checksum: d0ba3b6f35440b5ebc203a4f62a6c0d2c565491aed9746448288b71d0cd603d1d12fdd9d1381c1be0a4b192f167412e53c34b89fd25413db4ba7d1fa910a29a2
languageName: node
linkType: hard
@@ -2476,10 +2476,10 @@ __metadata:
languageName: node
linkType: hard
"@rushstack/eslint-patch@npm:^1.1.2":
version: 1.1.2
resolution: "@rushstack/eslint-patch@npm:1.1.2"
checksum: 81cf671853fde5f696f4b79ba169484ace61831183784b3849764dca9f58b4e9d4d937064fc08d1053d0dccf9f214b80a5f6fafad985037ca9b049dc8d961732
"@rushstack/eslint-patch@npm:^1.1.3":
version: 1.1.3
resolution: "@rushstack/eslint-patch@npm:1.1.3"
checksum: 53752d1e34e45a91b30a016b837c33054fcbd0a295c0312b0812dab78289ea680d7c0c3f19c1f885f49764d416727747133765ff5bfce31a9c4cc93c7a56ebe1
languageName: node
linkType: hard
@@ -2781,13 +2781,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/eslint-plugin@npm:5.18.0":
version: 5.18.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.18.0"
"@typescript-eslint/eslint-plugin@npm:5.20.0":
version: 5.20.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.20.0"
dependencies:
"@typescript-eslint/scope-manager": 5.18.0
"@typescript-eslint/type-utils": 5.18.0
"@typescript-eslint/utils": 5.18.0
"@typescript-eslint/scope-manager": 5.20.0
"@typescript-eslint/type-utils": 5.20.0
"@typescript-eslint/utils": 5.20.0
debug: ^4.3.2
functional-red-black-tree: ^1.0.1
ignore: ^5.1.8
@@ -2800,42 +2800,42 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: e8f0e7cfa0d102b1006a0f674fbba6cfc3d5a609d3ebb07306d744d3db91080659cd2b9935ccbde2ad9bbbe9543bc47540df1ffada0e7676dd38957cdffd7436
checksum: 276251535b38dc5e9165c86d7f9b0a6d601cef82f02dc2a94b4133ad08d8825cb3e27bfd3b686b21b0627e05fa25c5e456c89cc3a66583b109637d1cf2d6c06a
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:5.18.0":
version: 5.18.0
resolution: "@typescript-eslint/parser@npm:5.18.0"
"@typescript-eslint/parser@npm:5.20.0":
version: 5.20.0
resolution: "@typescript-eslint/parser@npm:5.20.0"
dependencies:
"@typescript-eslint/scope-manager": 5.18.0
"@typescript-eslint/types": 5.18.0
"@typescript-eslint/typescript-estree": 5.18.0
"@typescript-eslint/scope-manager": 5.20.0
"@typescript-eslint/types": 5.20.0
"@typescript-eslint/typescript-estree": 5.20.0
debug: ^4.3.2
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 8e007a4980eb8794621bf51404b6ecc923eeffc661d7da2fac9d5c79f6ea70735322953dd88ee4a9b06d916f43e4cc633d724a5cf70c0a10a8cd251d54e67ff4
checksum: 0a72c5c0fbea3ef30332a20a7fc673461a4106225d7d4b78e1d4eb3cd0343d26132deb0cdaa17fd31b90711c63978996216faf1fb9a7abdee367e3b42f812e21
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:5.18.0":
version: 5.18.0
resolution: "@typescript-eslint/scope-manager@npm:5.18.0"
"@typescript-eslint/scope-manager@npm:5.20.0":
version: 5.20.0
resolution: "@typescript-eslint/scope-manager@npm:5.20.0"
dependencies:
"@typescript-eslint/types": 5.18.0
"@typescript-eslint/visitor-keys": 5.18.0
checksum: c82625ec8293afea6e3df035612e7a7ccf3b23476a9b20bf7eb1190a52bca1886a3ea479d6b6b92eaac77dbbb2a23112b03e97f894aac39c45f7442672338cb6
"@typescript-eslint/types": 5.20.0
"@typescript-eslint/visitor-keys": 5.20.0
checksum: 904fd43f559dc2579958496ffad837eca124940b4a172666f0ea54ed606074d9ec7d2bec0f2141c3f9a8b894dd2644817cb86809e79a7a73ecba2b7babcdb5c9
languageName: node
linkType: hard
"@typescript-eslint/type-utils@npm:5.18.0":
version: 5.18.0
resolution: "@typescript-eslint/type-utils@npm:5.18.0"
"@typescript-eslint/type-utils@npm:5.20.0":
version: 5.20.0
resolution: "@typescript-eslint/type-utils@npm:5.20.0"
dependencies:
"@typescript-eslint/utils": 5.18.0
"@typescript-eslint/utils": 5.20.0
debug: ^4.3.2
tsutils: ^3.21.0
peerDependencies:
@@ -2843,7 +2843,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: a9722e18635d98ed7b468b1915d4bc9ef3de6dd85bfe734d932465977f9952655171cb5c886c7d42145ebb8ef1b5b7fcf50e9937a9370080246a7bae4cbd1047
checksum: c9c436122b715d144edae9d36ebd34e9b02b282ada829382770e15170c58f4f27cfde2d5847ea3c4a1b70ca42e2460a204e920eea50b3d05e9d342e8836d4d12
languageName: node
linkType: hard
@@ -2854,19 +2854,19 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/types@npm:5.18.0":
version: 5.18.0
resolution: "@typescript-eslint/types@npm:5.18.0"
checksum: 25d8d6f2f70ac4e93f4759a4927290749f528bce2150a87cde08200d706a6147880ca2ceeb8c93e0f370aace096c878096cd45427a59538877ac2121df8aaa01
"@typescript-eslint/types@npm:5.20.0":
version: 5.20.0
resolution: "@typescript-eslint/types@npm:5.20.0"
checksum: d7f6e51e23f59feee8857340828c47a98a0dd5eaa1b045e936dc11199b55754cf78ae5cd8d56c1fafb1b5a40a6f472c1ac921072951217caffe3f06a717fa61c
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:5.18.0":
version: 5.18.0
resolution: "@typescript-eslint/typescript-estree@npm:5.18.0"
"@typescript-eslint/typescript-estree@npm:5.20.0":
version: 5.20.0
resolution: "@typescript-eslint/typescript-estree@npm:5.20.0"
dependencies:
"@typescript-eslint/types": 5.18.0
"@typescript-eslint/visitor-keys": 5.18.0
"@typescript-eslint/types": 5.20.0
"@typescript-eslint/visitor-keys": 5.20.0
debug: ^4.3.2
globby: ^11.0.4
is-glob: ^4.0.3
@@ -2875,7 +2875,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 2fc564062180a0623966061ecd0c9ecf4dfaa2350cc9b7584444cdc71afa615c2bafe75f7ea684289e38b4fd73d33766f4a99f2c1999321ba3826ad7ccbf4ea9
checksum: 2b709292b7df3675d1f8eaf2f4e1ecf491f70fc525012c6a0fb5164aa893c165317b0a419022b8b00aaed502864d5b5b84092b58a9950d2633248e8d7627abd8
languageName: node
linkType: hard
@@ -2897,19 +2897,19 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:5.18.0":
version: 5.18.0
resolution: "@typescript-eslint/utils@npm:5.18.0"
"@typescript-eslint/utils@npm:5.20.0":
version: 5.20.0
resolution: "@typescript-eslint/utils@npm:5.20.0"
dependencies:
"@types/json-schema": ^7.0.9
"@typescript-eslint/scope-manager": 5.18.0
"@typescript-eslint/types": 5.18.0
"@typescript-eslint/typescript-estree": 5.18.0
"@typescript-eslint/scope-manager": 5.20.0
"@typescript-eslint/types": 5.20.0
"@typescript-eslint/typescript-estree": 5.20.0
eslint-scope: ^5.1.1
eslint-utils: ^3.0.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: f0b03a7fe557ce97480b3824043900e563c173d46a759c8272d92ecaf32ff96e98212df76dbd2d20dc91ce512e6219bb69c9036896b8d7e22eec22366f80381b
checksum: e387cf96124e34d079804220c5cb9134148fb3efc68d852a344453e285e3016e0b7e37b11308ef58c0e7afc638f145002cebc27c5da0fd03e0c074ff97d8210e
languageName: node
linkType: hard
@@ -2923,13 +2923,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:5.18.0":
version: 5.18.0
resolution: "@typescript-eslint/visitor-keys@npm:5.18.0"
"@typescript-eslint/visitor-keys@npm:5.20.0":
version: 5.20.0
resolution: "@typescript-eslint/visitor-keys@npm:5.20.0"
dependencies:
"@typescript-eslint/types": 5.18.0
"@typescript-eslint/types": 5.20.0
eslint-visitor-keys: ^3.0.0
checksum: c856e3cf2fde3008e1d9bea3c73bc60d9060c7cb6d6ea186c20db9d74eff84986365f518dd1b4e142dca179e9a5cd7a6ed4381173d6abfd0ebd4d16d5cf50b94
checksum: 1e1aa5f14fd60f1846ee26947d571953898dc82eb635a7eab3984c6b7db9bb8897743416713a129cc95c8cd63325cc0c64b3935d264f73100911fc5da76fc65f
languageName: node
linkType: hard
@@ -3634,6 +3634,15 @@ __metadata:
languageName: node
linkType: hard
"builtins@npm:^4.0.0":
version: 4.1.0
resolution: "builtins@npm:4.1.0"
dependencies:
semver: ^7.0.0
checksum: 3524f5a5898c3f77a73fee2e0046e676abbb0acc18db1e495676ee07fbef1537134b0e9c4da525f4cb12ba3cd1b430a26c373d32b59b80a5c048f8ace31b595f
languageName: node
linkType: hard
"cacheable-request@npm:^6.0.0":
version: 6.1.0
resolution: "cacheable-request@npm:6.1.0"
@@ -4709,15 +4718,15 @@ __metadata:
languageName: node
linkType: hard
"eslint-config-standard@npm:^16.0.3":
version: 16.0.3
resolution: "eslint-config-standard@npm:16.0.3"
"eslint-config-standard@npm:^17.0.0":
version: 17.0.0
resolution: "eslint-config-standard@npm:17.0.0"
peerDependencies:
eslint: ^7.12.1
eslint-plugin-import: ^2.22.1
eslint-plugin-node: ^11.1.0
eslint-plugin-promise: ^4.2.1 || ^5.0.0
checksum: 6ae193634f289ae95dbbf2291dc1e7c5bedef2425c594db07ec58476c902e6eb51a2b1c9cd2bad3772e921f5515dc2f8fb5447f7a56c20c99801ef1296c3bfef
eslint: ^8.0.1
eslint-plugin-import: ^2.25.2
eslint-plugin-n: ^15.0.0
eslint-plugin-promise: ^6.0.0
checksum: dc0ed51e186fd963ff2c0819d33ef580afce11b11036cbcf5e74427e26e514c2b1be96b8ffe74fd2fd00263554a0d49cc873fcf76f17c3dfdba614b45d7fd7da
languageName: node
linkType: hard
@@ -4741,15 +4750,15 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-es@npm:^3.0.0":
version: 3.0.1
resolution: "eslint-plugin-es@npm:3.0.1"
"eslint-plugin-es@npm:^4.1.0":
version: 4.1.0
resolution: "eslint-plugin-es@npm:4.1.0"
dependencies:
eslint-utils: ^2.0.0
regexpp: ^3.0.0
peerDependencies:
eslint: ">=4.19.1"
checksum: e57592c52301ee8ddc296ae44216df007f3a870bcb3be8d1fbdb909a1d3a3efe3fa3785de02066f9eba1d6466b722d3eb3cc3f8b75b3cf6a1cbded31ac6298e4
checksum: 26b87a216d3625612b1d3ca8653ac8a1d261046d2a973bb0eb2759070267d2bfb0509051facdeb5ae03dc8dfb51a434be23aff7309a752ca901d637da535677f
languageName: node
linkType: hard
@@ -4796,19 +4805,21 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-node@npm:^11.1.0":
version: 11.1.0
resolution: "eslint-plugin-node@npm:11.1.0"
"eslint-plugin-n@npm:^15.1.0":
version: 15.1.0
resolution: "eslint-plugin-n@npm:15.1.0"
dependencies:
eslint-plugin-es: ^3.0.0
eslint-utils: ^2.0.0
builtins: ^4.0.0
eslint-plugin-es: ^4.1.0
eslint-utils: ^3.0.0
ignore: ^5.1.1
is-core-module: ^2.3.0
minimatch: ^3.0.4
resolve: ^1.10.1
semver: ^6.1.0
semver: ^6.3.0
peerDependencies:
eslint: ">=5.16.0"
checksum: 5804c4f8a6e721f183ef31d46fbe3b4e1265832f352810060e0502aeac7de034df83352fc88643b19641bb2163f2587f1bd4119aff0fd21e8d98c57c450e013b
eslint: ">=7.0.0"
checksum: 6c358fe29a511756617356a50a8867ec21e7ad426e2f6a1d179edbcfb8a8ded6c28b58bb5570dd198b66cb4f395e54e31c26cd9ac74d1df62901be7bbc7af2c1
languageName: node
linkType: hard
@@ -4935,11 +4946,11 @@ __metadata:
languageName: node
linkType: hard
"eslint@npm:^8.13.0":
version: 8.13.0
resolution: "eslint@npm:8.13.0"
"eslint@npm:^8.14.0":
version: 8.14.0
resolution: "eslint@npm:8.14.0"
dependencies:
"@eslint/eslintrc": ^1.2.1
"@eslint/eslintrc": ^1.2.2
"@humanwhocodes/config-array": ^0.9.2
ajv: ^6.10.0
chalk: ^4.0.0
@@ -4976,7 +4987,7 @@ __metadata:
v8-compile-cache: ^2.0.3
bin:
eslint: bin/eslint.js
checksum: bc7d2fc9a046d42cb2c8987573ecaf534c1fae14747c4695e32388e179c5f21b83eefdb3e4f35924bf76152e226d7cc9dfb21f12348baf12c803109005b17439
checksum: 87d2e3e5eb93216d4ab36006e7b8c0bfad02f40b0a0f193f1d42754512cd3a9d8244152f1c69df5db2e135b3c4f1c10d0ed2f0881fe8a8c01af55465968174c1
languageName: node
linkType: hard
@@ -5386,14 +5397,14 @@ __metadata:
languageName: node
linkType: hard
"fs-extra@npm:^10.0.1":
version: 10.0.1
resolution: "fs-extra@npm:10.0.1"
"fs-extra@npm:^10.1.0":
version: 10.1.0
resolution: "fs-extra@npm:10.1.0"
dependencies:
graceful-fs: ^4.2.0
jsonfile: ^6.0.1
universalify: ^2.0.0
checksum: c1faaa5eb9e1c5c7c7ff09f966e93922ecb068ae1b04801cfc983ef05fcc1f66bfbb8d8d0b745c910014c7a2e7317fb6cf3bfe7390450c1157e3cc1a218f221d
checksum: dc94ab37096f813cc3ca12f0f1b5ad6744dfed9ed21e953d72530d103cea193c2f81584a39e9dee1bea36de5ee66805678c0dddc048e8af1427ac19c00fffc50
languageName: node
linkType: hard
@@ -5483,9 +5494,9 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"gauge@npm:^v4.0.3":
version: 4.0.3
resolution: "gauge@npm:4.0.3"
"gauge@npm:^v4.0.4":
version: 4.0.4
resolution: "gauge@npm:4.0.4"
dependencies:
aproba: ^1.0.3 || ^2.0.0
color-support: ^1.1.3
@@ -5495,7 +5506,7 @@ fsevents@~2.1.2:
string-width: ^4.2.3
strip-ansi: ^6.0.1
wide-align: ^1.1.5
checksum: baf982238a5270def90a4895f2e083b5cf8e6f7df20b53b24a932845aec363a6cf411f88b33dcb016a43c9334fdfccd956e4514ee875d70af016bf6fead3d3ae
checksum: 788b6bfe52f1dd8e263cda800c26ac0ca2ff6de0b6eee2fe0d9e3abf15e149b651bd27bf5226be10e6e3edb5c4e5d5985a5a1a98137e7a892f75eff76467ad2d
languageName: node
linkType: hard
@@ -5640,14 +5651,14 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"gh-release@npm:^6.0.3":
version: 6.0.3
resolution: "gh-release@npm:6.0.3"
"gh-release@npm:^6.0.4":
version: 6.0.4
resolution: "gh-release@npm:6.0.4"
dependencies:
"@octokit/rest": ^18.0.9
changelog-parser: ^2.0.0
deep-extend: ^0.6.0
gauge: ^v4.0.3
gauge: ^v4.0.4
gh-release-assets: ^2.0.0
ghauth: ^5.0.0
github-url-to-object: ^4.0.4
@@ -5657,7 +5668,7 @@ fsevents@~2.1.2:
yargs: ^17.0.0
bin:
gh-release: bin/cli.js
checksum: 57dae524d2be0dacdae5be1ecabd111a3f594a8a095107f776fc424445dbe1b90c0000639a05a7ce9f4aa796d13883a3c7b65a3bd46a13915c200b7e04cbbcad
checksum: aae5a044628235dc567a8a8bc3df99fac82e37a52f1b233efb898818d8f70a9b11573a13892bdd0f73992966834e38b40f8f1ef47c680e9ed2655f401c4f516b
languageName: node
linkType: hard
@@ -5709,7 +5720,7 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.0.5, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0":
"glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.0.5, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6":
version: 7.2.0
resolution: "glob@npm:7.2.0"
dependencies:
@@ -5723,6 +5734,20 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"glob@npm:^8.0.1":
version: 8.0.1
resolution: "glob@npm:8.0.1"
dependencies:
fs.realpath: ^1.0.0
inflight: ^1.0.4
inherits: 2
minimatch: ^5.0.1
once: ^1.3.0
path-is-absolute: ^1.0.0
checksum: 7ac782f3ef1c08005884447479e68ceb0ad56997eb2003e1e9aefae71bad3cb48eb7c49190d3d6736f2ffcd8af4985d53a46831b3d5e0052cc5756822a38b61a
languageName: node
linkType: hard
"global-dirs@npm:^2.0.1":
version: 2.1.0
resolution: "global-dirs@npm:2.1.0"
@@ -6178,12 +6203,12 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"is-core-module@npm:^2.2.0, is-core-module@npm:^2.8.1":
version: 2.8.1
resolution: "is-core-module@npm:2.8.1"
"is-core-module@npm:^2.2.0, is-core-module@npm:^2.3.0, is-core-module@npm:^2.8.1":
version: 2.9.0
resolution: "is-core-module@npm:2.9.0"
dependencies:
has: ^1.0.3
checksum: 418b7bc10768a73c41c7ef497e293719604007f88934a6ffc5f7c78702791b8528102fb4c9e56d006d69361549b3d9519440214a74aefc7e0b79e5e4411d377f
checksum: b27034318b4b462f1c8f1dfb1b32baecd651d891a4e2d1922135daeff4141dfced2b82b07aef83ef54275c4a3526aa38da859223664d0868ca24182badb784ce
languageName: node
linkType: hard
@@ -7674,10 +7699,10 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"mock-socket@npm:^9.1.2":
version: 9.1.2
resolution: "mock-socket@npm:9.1.2"
checksum: ef25dbd57b7360a0c1e0bb072aa0d73ac53d11d88c1efebedd48da006ccff77327628d707fecf651906e81cc488e8929c733bdb9f2c4c4f3772e99d6b903aace
"mock-socket@npm:^9.1.3":
version: 9.1.3
resolution: "mock-socket@npm:9.1.3"
checksum: 1f218de64778d0a196adb88f73f651d8daffc4800482637ce19c7fc79189fb0de5ff74a3d9307cc612af5f0c3473b9355582b832327b4324c445a57ebe82163b
languageName: node
linkType: hard
@@ -8996,9 +9021,9 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"rollup@npm:^2.70.1":
version: 2.70.1
resolution: "rollup@npm:2.70.1"
"rollup@npm:^2.70.2":
version: 2.70.2
resolution: "rollup@npm:2.70.2"
dependencies:
fsevents: ~2.3.2
dependenciesMeta:
@@ -9006,7 +9031,7 @@ resolve@^2.0.0-next.3:
optional: true
bin:
rollup: dist/bin/rollup
checksum: 06c62933e6e81a1c8c684d7d576e507081aabdb63cc0c91bca86b7348b66df03b77827068e4990b8b6c738bd3ef66dcc8c7ed7e0ea40b736068e7618f693133e
checksum: eb04eb9b87b30517308cb41018d57a23976f42b269c3229e4124746d3136a77aa16ba8b891a3fa571931dd72419eea40642a334835fe4f33161fea30d0b803f7
languageName: node
linkType: hard
@@ -9017,7 +9042,7 @@ resolve@^2.0.0-next.3:
"@babel/core": ^7.17.9
"@babel/register": ^7.17.7
"@babel/runtime": ^7.17.9
"@polkadot/dev": ^0.66.1
"@polkadot/dev": ^0.66.9
"@polkadot/typegen": "workspace:packages/typegen"
"@types/jest": ^27.4.1
copyfiles: ^2.4.1
@@ -9124,7 +9149,7 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"semver@npm:^6.0.0, semver@npm:^6.1.0, semver@npm:^6.1.1, semver@npm:^6.1.2, semver@npm:^6.2.0, semver@npm:^6.3.0":
"semver@npm:^6.0.0, semver@npm:^6.1.1, semver@npm:^6.1.2, semver@npm:^6.2.0, semver@npm:^6.3.0":
version: 6.3.0
resolution: "semver@npm:6.3.0"
bin:
@@ -9133,14 +9158,14 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"semver@npm:^7.3.2, semver@npm:^7.3.5":
version: 7.3.5
resolution: "semver@npm:7.3.5"
"semver@npm:^7.0.0, semver@npm:^7.3.2, semver@npm:^7.3.5":
version: 7.3.7
resolution: "semver@npm:7.3.7"
dependencies:
lru-cache: ^6.0.0
bin:
semver: bin/semver.js
checksum: 5eafe6102bea2a7439897c1856362e31cc348ccf96efd455c8b5bc2c61e6f7e7b8250dc26b8828c1d76a56f818a7ee907a36ae9fb37a599d3d24609207001d60
checksum: 2fa3e877568cd6ce769c75c211beaed1f9fce80b28338cadd9d0b6c40f2e2862bafd62c19a6cff42f3d54292b7c623277bcab8816a2b5521cf15210d43e75232
languageName: node
linkType: hard
@@ -10464,9 +10489,9 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"yargs@npm:^17.0.0, yargs@npm:^17.4.0":
version: 17.4.0
resolution: "yargs@npm:17.4.0"
"yargs@npm:^17.0.0, yargs@npm:^17.4.1":
version: 17.4.1
resolution: "yargs@npm:17.4.1"
dependencies:
cliui: ^7.0.2
escalade: ^3.1.1
@@ -10475,6 +10500,6 @@ resolve@^2.0.0-next.3:
string-width: ^4.2.3
y18n: ^5.0.5
yargs-parser: ^21.0.0
checksum: 63985bddddf1fb6b9c98744591e8b70f99839591521cb84eea60903d52ec0da35ab46c42c325d151f3ab5c41935f976c10da096b5a7067c217714a91c0bd4be3
checksum: e9012322870d7e4e912a6ae1f63b203e365f911c0cf158be92c36edefddfb3bd38ce17eb9ef0d18858a4777f047c50589ea22dacb44bd949169ba37dc6d34bee
languageName: node
linkType: hard