Compare commits

...
22 Commits
Author SHA1 Message Date
github-actions[bot] 0bae9138b8 [CI Skip] release/stable 7.9.1
skip-checks: true
2022-02-20 15:23:37 +00:00
Jaco 98e8cac424 7.9.1 (#4580) 2022-02-20 17:15:17 +02:00
github-actions[bot] dca7f208bc [CI Skip] release/beta 7.8.2-9
skip-checks: true
2022-02-20 06:44:31 +00:00
Jacoandmergify[bot] 67ff12885a Align CHANGELOG (#4579)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-20 06:35:03 +00:00
github-actions[bot] 08c53032eb [CI Skip] release/beta 7.8.2-8
skip-checks: true
2022-02-20 06:00:20 +00:00
Scott TwinameandJaco 5da8f21947 Add support for historical BlockNumber rpc methods (#4574)
* Add support for historical BlockNumber rpc methods

* Update function description

* Apply suggestions from code review

Co-authored-by: Jaco <jacogr@gmail.com>
2022-02-20 07:50:41 +02:00
github-actions[bot] 5080b266a0 [CI Skip] release/beta 7.8.2-7
skip-checks: true
2022-02-19 06:51:06 +00:00
Jaco 0186848936 Convert ExactDerive to interface (#4578) 2022-02-19 06:41:12 +00:00
github-actions[bot] d0de35b05b [CI Skip] release/beta 7.8.2-6
skip-checks: true
2022-02-18 08:42:41 +00:00
Jaco 3ded30a0f3 Bump static metadata (#4575)
* Bump static metadata

* previous incarnation of trieIndex
2022-02-18 08:30:55 +00:00
github-actions[bot] 9fef78c5e1 [CI Skip] release/beta 7.8.2-5
skip-checks: true
2022-02-17 10:28:47 +00:00
Jaco b2a7c453c4 Align grandpa_proveFinality with Substrate (#4573) 2022-02-17 10:19:24 +00:00
github-actions[bot] 030258a671 [CI Skip] release/beta 7.8.2-4
skip-checks: true
2022-02-17 06:12:57 +00:00
Scott Twiname 0a85b4839d Fix getting block registry when historical type isn't BlockHash (#4571)
* Fix getting block registry when historical type isn't BlockHash

* Revert change, remove isHistoric from historical BlockNumber fields
2022-02-17 08:05:06 +02:00
github-actions[bot] ad363bac09 [CI Skip] release/beta 7.8.2-3
skip-checks: true
2022-02-16 08:32:56 +00:00
Jaco e0c0a8c583 Bump deps (#4568) 2022-02-16 08:23:40 +00:00
github-actions[bot] f923a31758 [CI Skip] release/beta 7.8.2-2
skip-checks: true
2022-02-15 18:32:20 +00:00
Jaco 416229d976 Bump deps (#4567) 2022-02-15 18:20:37 +00:00
github-actions[bot] 4380c45f17 [CI Skip] release/beta 7.8.2-1
skip-checks: true
2022-02-15 07:53:05 +00:00
Jaco d481aed8cb Add mergify (#4566) 2022-02-15 09:45:10 +02:00
github-actions[bot] ca25983e3e [CI Skip] release/beta 7.8.2-0
skip-checks: true
2022-02-14 15:08:31 +00:00
Jaco f7caa496e4 Kusama 9160 upgrade block (#4565) 2022-02-14 17:00:05 +02:00
68 changed files with 642 additions and 395 deletions
+34
View File
@@ -0,0 +1,34 @@
queue_rules:
- name: default
conditions:
- check-success=build
- check-success=lint
- check-success=test
- label=automerge
- base=master
- "#changes-requested-reviews-by=0"
- "#approved-reviews-by>=1"
pull_request_rules:
- name: auto merge
conditions:
- check-success=build
- check-success=lint
- check-success=test
- label=automerge
- base=master
- "#changes-requested-reviews-by=0"
- "#approved-reviews-by>=1"
actions:
queue:
name: default
method: squash
- name: auto approval
conditions:
- author~=^jacogr$
- label=automerge
actions:
review:
type: APPROVE
message: This auto-approval rule should be removed once more JS maintainers are active.
+14
View File
@@ -1,5 +1,19 @@
# CHANGELOG
## 7.9.1 Feb 20, 2022
Contributed:
- Support historic queries via blockNumber (Thanks to https://github.com/stwiname)
Changes:
- Align `grandpa_proveFinality` with Substrate
- Allow for derive augmentation (swap base type to interfaces)
- Kusama 9160 upgrade block
- Update to latest Substrate, Kusama & Polkadot static metadata
## 7.8.1 Feb 14, 2022
Contributed:
+2 -2
View File
@@ -1,4 +1,4 @@
2821 Jaco 7.8.1 (#4564)
2830 Jaco 7.9.1 (#4580)
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)
@@ -13,6 +13,7 @@
4 Alexander Popiak Add asset id in signing (#4009)
4 Joshy Orndorff spelling; efect -> effect (#2295)
4 Nantian fix bigint type (#3869)
4 Scott Twiname Add support for historical BlockNumber rpc methods (#4574)
4 Thibaut Sardan no subscription for http (#3127)
3 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
3 André Silva add support for ValidationCodeHash (#3640)
@@ -34,7 +35,6 @@
2 Keith Yeung Allow keyPrefix to accept an additional argument for double maps (#2230)
2 Nikos Kontakis Add auction in shared types (#4085)
2 Paweł Nguyen Fix a minor typo in cookbook blocks docs (#2294)
2 Scott Twiname Fix `isHistorical` to `isHistoric` (#4540)
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)
+3 -3
View File
@@ -11,7 +11,7 @@
},
"sideEffects": false,
"type": "commonjs",
"version": "7.8.1",
"version": "7.9.1",
"workspaces": [
"packages/*"
],
@@ -31,10 +31,10 @@
"test:watch": "polkadot-dev-run-test --watch"
},
"devDependencies": {
"@babel/core": "^7.17.2",
"@babel/core": "^7.17.4",
"@babel/register": "^7.17.0",
"@babel/runtime": "^7.17.2",
"@polkadot/dev": "^0.65.56",
"@polkadot/dev": "^0.65.60",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^27.4.0",
"copyfiles": "^2.4.1"
+6 -6
View File
@@ -20,15 +20,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/api-base": "7.8.1",
"@polkadot/rpc-augment": "7.8.1",
"@polkadot/types": "7.8.1",
"@polkadot/types-augment": "7.8.1",
"@polkadot/types-codec": "7.8.1",
"@polkadot/api-base": "7.9.1",
"@polkadot/rpc-augment": "7.9.1",
"@polkadot/types": "7.9.1",
"@polkadot/types-augment": "7.9.1",
"@polkadot/types-codec": "7.9.1",
"@polkadot/util": "^8.4.1"
}
}
@@ -1355,6 +1355,11 @@ declare module '@polkadot/api-base/types/errors' {
* Cannot schedule downgrade of parachain to parathread
**/
CannotDowngrade: AugmentedError<ApiType>;
/**
* Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras are
* correct for the swap to work.
**/
CannotSwap: AugmentedError<ApiType>;
/**
* Cannot schedule upgrade of parathread to parachain
**/
+2 -2
View File
@@ -575,12 +575,12 @@ declare module '@polkadot/api-base/types/events' {
**/
NewHeadNoted: AugmentedEvent<ApiType, [u32]>;
/**
* The given validation code was rejected by the PVF pre-checking vote.
* The given validation code was accepted by the PVF pre-checking vote.
* `code_hash` `para_id`
**/
PvfCheckAccepted: AugmentedEvent<ApiType, [H256, u32]>;
/**
* The given validation code was accepted by the PVF pre-checking vote.
* The given validation code was rejected by the PVF pre-checking vote.
* `code_hash` `para_id`
**/
PvfCheckRejected: AugmentedEvent<ApiType, [H256, u32]>;
+5 -5
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, 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, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1DisputeState, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotPrimitivesV2SessionInfo, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, 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, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1DisputeState, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotPrimitivesV2SessionInfo, 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 { Observable } from '@polkadot/types/types';
declare module '@polkadot/api-base/types/storage' {
@@ -356,9 +356,9 @@ declare module '@polkadot/api-base/types/storage' {
**/
newRaise: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Tracker for the next available trie index
* Tracker for the next available fund index
**/
nextTrieIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
nextFundIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -475,7 +475,7 @@ declare module '@polkadot/api-base/types/storage' {
*
* Can be set via `set_minimum_untrusted_score`.
**/
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<Vec<u128>>>, []> & QueryableStorageEntry<ApiType, []>;
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
**/
@@ -497,7 +497,7 @@ declare module '@polkadot/api-base/types/storage' {
* can be quite large, so we're willing to pay the cost of multiple database accesses to access
* them one at a time instead of reading and decoding all of them at once.
**/
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<Vec<u128>, u32>>, []> & QueryableStorageEntry<ApiType, []>;
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<SpNposElectionsElectionScore, u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The next index to be assigned to an incoming signed submission.
*
+6 -6
View File
@@ -7,7 +7,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u1
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportScheduleMaybeHashed, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletSocietyJudgement, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppSignature, PolkadotPrimitivesV1InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { FrameSupportScheduleMaybeHashed, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletSocietyJudgement, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppSignature, PolkadotPrimitivesV1InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -1223,7 +1223,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* This check can be turned off by setting the value to `None`.
**/
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<Vec<u128>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<Vec<u128>>]>;
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<SpNposElectionsElectionScore>]>;
/**
* Submit a solution for the signed phase.
*
@@ -2213,7 +2213,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Weight is a function of the number of proxies the user has (P).
* # </weight>
**/
addProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KusamaRuntimeProxyType, u32]>;
addProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KusamaRuntimeProxyType, u32]>;
/**
* Publish the hash of a proxy-call that will be made in the future.
*
@@ -2263,7 +2263,7 @@ declare module '@polkadot/api-base/types/submittable' {
* # </weight>
* TODO: Might be over counting 1 read
**/
anonymous: AugmentedSubmittable<(proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeProxyType, u32, u16]>;
anonymous: AugmentedSubmittable<(proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeProxyType, u32, u16]>;
/**
* Removes a previously spawned anonymous proxy.
*
@@ -2286,7 +2286,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Weight is a function of the number of proxies the user has (P).
* # </weight>
**/
killAnonymous: AugmentedSubmittable<(spawner: AccountId32 | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
killAnonymous: AugmentedSubmittable<(spawner: AccountId32 | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
/**
* Dispatch the given `call` from an account that the sender is authorised for through
* `add_proxy`.
@@ -2389,7 +2389,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Weight is a function of the number of proxies the user has (P).
* # </weight>
**/
removeProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KusamaRuntimeProxyType, u32]>;
removeProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KusamaRuntimeProxyType, u32]>;
/**
* Generic tx
**/
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '7.9.1' };
@@ -1212,6 +1212,11 @@ declare module '@polkadot/api-base/types/errors' {
* Cannot schedule downgrade of parachain to parathread
**/
CannotDowngrade: AugmentedError<ApiType>;
/**
* Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras are
* correct for the swap to work.
**/
CannotSwap: AugmentedError<ApiType>;
/**
* Cannot schedule upgrade of parathread to parachain
**/
+2 -2
View File
@@ -553,12 +553,12 @@ declare module '@polkadot/api-base/types/events' {
**/
NewHeadNoted: AugmentedEvent<ApiType, [u32]>;
/**
* The given validation code was rejected by the PVF pre-checking vote.
* The given validation code was accepted by the PVF pre-checking vote.
* `code_hash` `para_id`
**/
PvfCheckAccepted: AugmentedEvent<ApiType, [H256, u32]>;
/**
* The given validation code was accepted by the PVF pre-checking vote.
* The given validation code was rejected by the PVF pre-checking vote.
* `code_hash` `para_id`
**/
PvfCheckRejected: AugmentedEvent<ApiType, [H256, u32]>;
+5 -5
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, 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, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotPrimitivesV2SessionInfo, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, 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, PolkadotPrimitivesV0ValidatorAppPublic, PolkadotPrimitivesV1AssignmentAppPublic, PolkadotPrimitivesV1CandidateCommitments, PolkadotPrimitivesV1CoreOccupied, PolkadotPrimitivesV1ScrapedOnChainVotes, PolkadotPrimitivesV1UpgradeGoAhead, PolkadotPrimitivesV1UpgradeRestriction, PolkadotPrimitivesV2SessionInfo, 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 { Observable } from '@polkadot/types/types';
declare module '@polkadot/api-base/types/storage' {
@@ -356,9 +356,9 @@ declare module '@polkadot/api-base/types/storage' {
**/
newRaise: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Tracker for the next available trie index
* Tracker for the next available fund index
**/
nextTrieIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
nextFundIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -475,7 +475,7 @@ declare module '@polkadot/api-base/types/storage' {
*
* Can be set via `set_minimum_untrusted_score`.
**/
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<Vec<u128>>>, []> & QueryableStorageEntry<ApiType, []>;
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
**/
@@ -497,7 +497,7 @@ declare module '@polkadot/api-base/types/storage' {
* can be quite large, so we're willing to pay the cost of multiple database accesses to access
* them one at a time instead of reading and decoding all of them at once.
**/
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<Vec<u128>, u32>>, []> & QueryableStorageEntry<ApiType, []>;
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<SpNposElectionsElectionScore, u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The next index to be assigned to an incoming signed submission.
*
+2 -2
View File
@@ -7,7 +7,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u1
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportScheduleMaybeHashed, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppSignature, PolkadotPrimitivesV1InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { FrameSupportScheduleMaybeHashed, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV0ValidatorAppSignature, PolkadotPrimitivesV1InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -1223,7 +1223,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* This check can be turned off by setting the value to `None`.
**/
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<Vec<u128>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<Vec<u128>>]>;
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<SpNposElectionsElectionScore>]>;
/**
* Submit a solution for the signed phase.
*
@@ -211,6 +211,10 @@ declare module '@polkadot/api-base/types/events' {
* Code with the specified hash has been stored.
**/
CodeStored: AugmentedEvent<ApiType, [H256]>;
/**
* A contract's code was updated.
**/
ContractCodeUpdated: AugmentedEvent<ApiType, [AccountId32, H256, H256]>;
/**
* A custom event emitted by the contract.
**/
+3 -3
View File
@@ -6,7 +6,7 @@ import type { Data } from '@polkadot/types';
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfo, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesClassDetails, PalletUniquesClassMetadata, PalletUniquesInstanceDetails, PalletUniquesInstanceMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfo, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesClassDetails, PalletUniquesClassMetadata, PalletUniquesInstanceDetails, PalletUniquesInstanceMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
declare module '@polkadot/api-base/types/storage' {
@@ -465,7 +465,7 @@ declare module '@polkadot/api-base/types/storage' {
*
* Can be set via `set_minimum_untrusted_score`.
**/
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<Vec<u128>>>, []> & QueryableStorageEntry<ApiType, []>;
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
**/
@@ -487,7 +487,7 @@ declare module '@polkadot/api-base/types/storage' {
* can be quite large, so we're willing to pay the cost of multiple database accesses to access
* them one at a time instead of reading and decoding all of them at once.
**/
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<Vec<u128>, u32>>, []> & QueryableStorageEntry<ApiType, []>;
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<SpNposElectionsElectionScore, u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The next index to be assigned to an incoming signed submission.
*
+2 -2
View File
@@ -6,7 +6,7 @@ import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportScheduleMaybeHashed, NodeRuntimeOriginCaller, NodeRuntimeProxyType, NodeRuntimeSessionKeys, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletReferendaAtOrAfter, PalletSocietyJudgement, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
import type { FrameSupportScheduleMaybeHashed, NodeRuntimeOriginCaller, NodeRuntimeProxyType, NodeRuntimeSessionKeys, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletReferendaAtOrAfter, PalletSocietyJudgement, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -1626,7 +1626,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* This check can be turned off by setting the value to `None`.
**/
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<Vec<u128>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<Vec<u128>>]>;
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<SpNposElectionsElectionScore>]>;
/**
* Submit a solution for the signed phase.
*
+3 -3
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/rpc-core": "7.8.1",
"@polkadot/types": "7.8.1",
"@polkadot/rpc-core": "7.9.1",
"@polkadot/types": "7.9.1",
"@polkadot/util": "^8.4.1",
"rxjs": "^7.5.4"
}
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '7.9.1' };
+6 -6
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/api": "7.8.1",
"@polkadot/types": "7.8.1",
"@polkadot/types-codec": "7.8.1",
"@polkadot/types-create": "7.8.1",
"@polkadot/api": "7.9.1",
"@polkadot/types": "7.9.1",
"@polkadot/types-codec": "7.9.1",
"@polkadot/types-create": "7.9.1",
"@polkadot/util": "^8.4.1",
"@polkadot/util-crypto": "^8.4.1",
"rxjs": "^7.5.4"
},
"devDependencies": {
"@polkadot/api-augment": "7.8.1",
"@polkadot/api-augment": "7.9.1",
"@polkadot/keyring": "^8.4.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: '7.8.1' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '7.9.1' };
+12 -12
View File
@@ -20,25 +20,25 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/api": "7.8.1",
"@polkadot/api-augment": "7.8.1",
"@polkadot/api-base": "7.8.1",
"@polkadot/rpc-core": "7.8.1",
"@polkadot/types": "7.8.1",
"@polkadot/types-codec": "7.8.1",
"@polkadot/api": "7.9.1",
"@polkadot/api-augment": "7.9.1",
"@polkadot/api-base": "7.9.1",
"@polkadot/rpc-core": "7.9.1",
"@polkadot/types": "7.9.1",
"@polkadot/types-codec": "7.9.1",
"@polkadot/util": "^8.4.1",
"@polkadot/util-crypto": "^8.4.1",
"rxjs": "^7.5.4"
},
"devDependencies": {
"@polkadot/api": "7.8.1",
"@polkadot/api-augment": "7.8.1",
"@polkadot/rpc-augment": "7.8.1",
"@polkadot/rpc-provider": "7.8.1",
"@polkadot/types-support": "7.8.1"
"@polkadot/api": "7.9.1",
"@polkadot/api-augment": "7.9.1",
"@polkadot/rpc-augment": "7.9.1",
"@polkadot/rpc-provider": "7.9.1",
"@polkadot/types-support": "7.9.1"
}
}
+11 -3
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
import type { Option } from '@polkadot/types';
import type { Option, u32 } from '@polkadot/types';
import type { PolkadotRuntimeCommonCrowdloanFundInfo } from '@polkadot/types/lookup';
import type { BN } from '@polkadot/util';
import type { DeriveApi } from '../types';
@@ -14,12 +14,20 @@ import { blake2AsU8a } from '@polkadot/util-crypto';
import { memo } from '../util';
function createChildKey ({ trieIndex }: PolkadotRuntimeCommonCrowdloanFundInfo): string {
interface AllInfo extends PolkadotRuntimeCommonCrowdloanFundInfo {
// previously it was named trieIndex
trieIndex?: u32;
}
function createChildKey (info: AllInfo): string {
return u8aToHex(
u8aConcat(
':child_storage:default:',
blake2AsU8a(
u8aConcat('crowdloan', trieIndex.toU8a())
u8aConcat(
'crowdloan',
(info.fundIndex || info.trieIndex).toU8a()
)
)
)
);
+4 -1
View File
@@ -33,4 +33,7 @@ type DeriveAllSections<AllSections> = {
[S in keyof AllSections]: DeriveSection<AllSections[S]>
};
export type ExactDerive = DeriveAllSections<typeof derive>;
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface ExactDerive extends DeriveAllSections<typeof derive> {
// keep empty, allows for augmentation
}
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '7.9.1' };
+14 -14
View File
@@ -20,29 +20,29 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/api-augment": "7.8.1",
"@polkadot/api-base": "7.8.1",
"@polkadot/api-derive": "7.8.1",
"@polkadot/api-augment": "7.9.1",
"@polkadot/api-base": "7.9.1",
"@polkadot/api-derive": "7.9.1",
"@polkadot/keyring": "^8.4.1",
"@polkadot/rpc-augment": "7.8.1",
"@polkadot/rpc-core": "7.8.1",
"@polkadot/rpc-provider": "7.8.1",
"@polkadot/types": "7.8.1",
"@polkadot/types-augment": "7.8.1",
"@polkadot/types-codec": "7.8.1",
"@polkadot/types-create": "7.8.1",
"@polkadot/types-known": "7.8.1",
"@polkadot/rpc-augment": "7.9.1",
"@polkadot/rpc-core": "7.9.1",
"@polkadot/rpc-provider": "7.9.1",
"@polkadot/types": "7.9.1",
"@polkadot/types-augment": "7.9.1",
"@polkadot/types-codec": "7.9.1",
"@polkadot/types-create": "7.9.1",
"@polkadot/types-known": "7.9.1",
"@polkadot/util": "^8.4.1",
"@polkadot/util-crypto": "^8.4.1",
"eventemitter3": "^4.0.7",
"rxjs": "^7.5.4"
},
"devDependencies": {
"@polkadot/api-augment": "7.8.1",
"@polkadot/types-support": "7.8.1"
"@polkadot/api-augment": "7.9.1",
"@polkadot/types-support": "7.9.1"
}
}
+2
View File
@@ -64,6 +64,8 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
this._rpcCore.setRegistrySwap((blockHash: Uint8Array) => this.getBlockRegistry(blockHash));
this._rpcCore.setResolveBlockHash((blockNumber) => firstValueFrom(this._rpcCore.chain.getBlockHash(blockNumber)));
if (this.hasSubscriptions) {
this._rpcCore.provider.on('disconnected', () => this.#onProviderDisconnect());
this._rpcCore.provider.on('error', (e: Error) => this.#onProviderError(e));
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '7.9.1' };
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/rpc-core": "7.8.1",
"@polkadot/types": "7.8.1",
"@polkadot/types-codec": "7.8.1",
"@polkadot/rpc-core": "7.9.1",
"@polkadot/types": "7.9.1",
"@polkadot/types-codec": "7.9.1",
"@polkadot/util": "^8.4.1"
}
}
+2 -2
View File
@@ -333,9 +333,9 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
};
grandpa: {
/**
* Prove finality for the range (begin; end] hash.
* Prove finality for the given block number, returning the Justification for the last block in the set.
**/
proveFinality: AugmentedRpc<(begin: BlockHash | string | Uint8Array, end: BlockHash | string | Uint8Array, authoritiesSetId?: u64 | AnyNumber | Uint8Array) => Observable<Option<EncodedFinalityProofs>>>;
proveFinality: AugmentedRpc<(blockNumber: BlockNumber | AnyNumber | Uint8Array) => Observable<Option<EncodedFinalityProofs>>>;
/**
* Returns the state of the current best round state as well as the ongoing background rounds
**/
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '7.9.1' };
+5 -5
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/rpc-augment": "7.8.1",
"@polkadot/rpc-provider": "7.8.1",
"@polkadot/types": "7.8.1",
"@polkadot/rpc-augment": "7.9.1",
"@polkadot/rpc-provider": "7.9.1",
"@polkadot/types": "7.9.1",
"@polkadot/util": "^8.4.1",
"rxjs": "^7.5.4"
},
"devDependencies": {
"@polkadot/keyring": "^8.4.1",
"@polkadot/rpc-augment": "7.8.1"
"@polkadot/rpc-augment": "7.9.1"
}
}
+19 -3
View File
@@ -5,7 +5,7 @@ import type { Observer } from 'rxjs';
import type { ProviderInterface, ProviderInterfaceCallback } from '@polkadot/rpc-provider/types';
import type { StorageKey, Vec } from '@polkadot/types';
import type { Hash } from '@polkadot/types/interfaces';
import type { AnyJson, Codec, DefinitionRpc, DefinitionRpcExt, DefinitionRpcSub, Registry } from '@polkadot/types/types';
import type { AnyJson, AnyNumber, Codec, DefinitionRpc, DefinitionRpcExt, DefinitionRpcSub, Registry } from '@polkadot/types/types';
import type { Memoized } from '@polkadot/util/types';
import type { RpcInterfaceMethod } from './types';
@@ -85,6 +85,7 @@ export class RpcCore {
#registryDefault: Registry;
#getBlockRegistry?: (blockHash: Uint8Array) => Promise<{ registry: Registry }>;
#getBlockHash?: (blockNumber: AnyNumber) => Promise<Uint8Array>;
readonly #storageCache = new Map<string, string | null>();
@@ -146,6 +147,15 @@ export class RpcCore {
});
}
/**
* @description Sets a function to resolve block hash from block number
*/
public setResolveBlockHash (resolveBlockHash: (blockNumber: AnyNumber) => Promise<Uint8Array>): void {
this.#getBlockHash = memoize(resolveBlockHash, {
getInstanceId: () => this.#instanceId
});
}
public addUserInterfaces (userRpc: Record<string, Record<string, DefinitionRpc | DefinitionRpcSub>>): void {
// add any extra user-defined sections
this.sections.push(...Object.keys(userRpc).filter((k) => !this.sections.includes(k)));
@@ -202,12 +212,18 @@ export class RpcCore {
// execute the RPC call, doing a registry swap for historic as applicable
const callWithRegistry = async <T> (isScale: boolean, values: unknown[]): Promise<T> => {
const blockHash = hashIndex === -1
const blockId = hashIndex === -1
? null
: values[hashIndex] as (Uint8Array | string | null | undefined);
: values[hashIndex];
const blockHash = blockId && def.params[hashIndex].type === 'BlockNumber'
? await this.#getBlockHash?.(blockId as AnyNumber)
: blockId as (Uint8Array | string | null | undefined);
const { registry } = isScale && blockHash && this.#getBlockRegistry
? await this.#getBlockRegistry(u8aToU8a(blockHash))
: { registry: this.#registryDefault };
const params = this._formatInputs(registry, null, def, values);
// only cache .at(<blockHash>) queries, e.g. where valid blockHash was supplied
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '7.9.1' };
+3 -3
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/keyring": "^8.4.1",
"@polkadot/types": "7.8.1",
"@polkadot/types-support": "7.8.1",
"@polkadot/types": "7.9.1",
"@polkadot/types-support": "7.9.1",
"@polkadot/util": "^8.4.1",
"@polkadot/util-crypto": "^8.4.1",
"@polkadot/x-fetch": "^8.4.1",
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '7.9.1' };
+11 -11
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -30,18 +30,18 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.cjs"
},
"dependencies": {
"@babel/core": "^7.17.2",
"@babel/core": "^7.17.4",
"@babel/register": "^7.17.0",
"@babel/runtime": "^7.17.2",
"@polkadot/api": "7.8.1",
"@polkadot/api-augment": "7.8.1",
"@polkadot/rpc-augment": "7.8.1",
"@polkadot/rpc-provider": "7.8.1",
"@polkadot/types": "7.8.1",
"@polkadot/types-augment": "7.8.1",
"@polkadot/types-codec": "7.8.1",
"@polkadot/types-create": "7.8.1",
"@polkadot/types-support": "7.8.1",
"@polkadot/api": "7.9.1",
"@polkadot/api-augment": "7.9.1",
"@polkadot/rpc-augment": "7.9.1",
"@polkadot/rpc-provider": "7.9.1",
"@polkadot/types": "7.9.1",
"@polkadot/types-augment": "7.9.1",
"@polkadot/types-codec": "7.9.1",
"@polkadot/types-create": "7.9.1",
"@polkadot/types-support": "7.9.1",
"@polkadot/util": "^8.4.1",
"@polkadot/x-ws": "^8.4.1",
"handlebars": "^4.7.7",
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '7.9.1' };
+3 -3
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/types": "7.8.1",
"@polkadot/types-codec": "7.8.1",
"@polkadot/types": "7.9.1",
"@polkadot/types-codec": "7.9.1",
"@polkadot/util": "^8.4.1"
}
}
+1 -1
View File
@@ -8,7 +8,7 @@ export default {
* Lookup75: kusama_runtime::ProxyType
**/
KusamaRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction']
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction', 'Society']
},
/**
* Lookup105: polkadot_runtime_parachains::disputes::pallet::Event<T>
@@ -2103,7 +2103,7 @@ export default {
* Lookup644: polkadot_runtime_common::paras_registrar::pallet::Error<T>
**/
PolkadotRuntimeCommonParasRegistrarPalletError: {
_enum: ['NotRegistered', 'AlreadyRegistered', 'NotOwner', 'CodeTooLarge', 'HeadDataTooLarge', 'NotParachain', 'NotParathread', 'CannotDeregister', 'CannotDowngrade', 'CannotUpgrade', 'ParaLocked', 'NotReserved', 'EmptyCode']
_enum: ['NotRegistered', 'AlreadyRegistered', 'NotOwner', 'CodeTooLarge', 'HeadDataTooLarge', 'NotParachain', 'NotParathread', 'CannotDeregister', 'CannotDowngrade', 'CannotUpgrade', 'ParaLocked', 'NotReserved', 'EmptyCode', 'CannotSwap']
},
/**
* Lookup646: polkadot_runtime_common::slots::pallet::Error<T>
@@ -2130,7 +2130,7 @@ export default {
lastContribution: 'PolkadotRuntimeCommonCrowdloanLastContribution',
firstPeriod: 'u32',
lastPeriod: 'u32',
trieIndex: 'u32'
fundIndex: 'u32'
},
/**
* Lookup653: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
+20 -8
View File
@@ -544,7 +544,12 @@ export default {
data: 'Bytes',
},
CodeRemoved: {
codeHash: 'H256'
codeHash: 'H256',
},
ContractCodeUpdated: {
contract: 'AccountId32',
newCodeHash: 'H256',
oldCodeHash: 'H256'
}
}
},
@@ -1631,7 +1636,7 @@ export default {
witness: 'PalletElectionProviderMultiPhaseSolutionOrSnapshotSize',
},
set_minimum_untrusted_score: {
maybeNextScore: 'Option<[u128;3]>',
maybeNextScore: 'Option<SpNposElectionsElectionScore>',
},
set_emergency_election_result: {
supports: 'Vec<(AccountId32,SpNposElectionsSupport)>',
@@ -1651,7 +1656,7 @@ export default {
**/
PalletElectionProviderMultiPhaseRawSolution: {
solution: 'NodeRuntimeNposSolution16',
score: '[u128;3]',
score: 'SpNposElectionsElectionScore',
round: 'u32'
},
/**
@@ -1675,6 +1680,14 @@ export default {
votes15: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);14],Compact<u16>)>',
votes16: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);15],Compact<u16>)>'
},
/**
* Lookup199: sp_npos_elections::ElectionScore
**/
SpNposElectionsElectionScore: {
minimalStake: 'u128',
sumStake: 'u128',
sumStakeSquared: 'u128'
},
/**
* Lookup200: pallet_election_provider_multi_phase::SolutionOrSnapshotSize
**/
@@ -3298,7 +3311,7 @@ export default {
**/
PalletElectionProviderMultiPhaseReadySolution: {
supports: 'Vec<(AccountId32,SpNposElectionsSupport)>',
score: '[u128;3]',
score: 'SpNposElectionsElectionScore',
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
},
/**
@@ -3745,6 +3758,7 @@ export default {
setStorage: 'u64',
setStoragePerNewByte: 'u64',
setStoragePerOldByte: 'u64',
setCodeHash: 'u64',
clearStorage: 'u64',
clearStoragePerByte: 'u64',
containsStorage: 'u64',
@@ -3757,11 +3771,9 @@ export default {
call: 'u64',
delegateCall: 'u64',
callTransferSurcharge: 'u64',
callPerInputByte: 'u64',
callPerOutputByte: 'u64',
callPerClonedByte: 'u64',
instantiate: 'u64',
instantiatePerInputByte: 'u64',
instantiatePerOutputByte: 'u64',
instantiateTransferSurcharge: 'u64',
instantiatePerSaltByte: 'u64',
hashSha2256: 'u64',
hashSha2256PerByte: 'u64',
@@ -15,7 +15,8 @@ declare module '@polkadot/types/lookup' {
readonly isIdentityJudgement: boolean;
readonly isCancelProxy: boolean;
readonly isAuction: boolean;
readonly type: 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction';
readonly isSociety: boolean;
readonly type: 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society';
}
/** @name PolkadotRuntimeParachainsDisputesPalletEvent (105) */
@@ -2118,7 +2118,8 @@ declare module '@polkadot/types/lookup' {
readonly isParaLocked: boolean;
readonly isNotReserved: boolean;
readonly isEmptyCode: boolean;
readonly type: 'NotRegistered' | 'AlreadyRegistered' | 'NotOwner' | 'CodeTooLarge' | 'HeadDataTooLarge' | 'NotParachain' | 'NotParathread' | 'CannotDeregister' | 'CannotDowngrade' | 'CannotUpgrade' | 'ParaLocked' | 'NotReserved' | 'EmptyCode';
readonly isCannotSwap: boolean;
readonly type: 'NotRegistered' | 'AlreadyRegistered' | 'NotOwner' | 'CodeTooLarge' | 'HeadDataTooLarge' | 'NotParachain' | 'NotParathread' | 'CannotDeregister' | 'CannotDowngrade' | 'CannotUpgrade' | 'ParaLocked' | 'NotReserved' | 'EmptyCode' | 'CannotSwap';
}
/** @name PolkadotRuntimeCommonSlotsPalletError (646) */
@@ -2151,7 +2152,7 @@ declare module '@polkadot/types/lookup' {
readonly lastContribution: PolkadotRuntimeCommonCrowdloanLastContribution;
readonly firstPeriod: u32;
readonly lastPeriod: u32;
readonly trieIndex: u32;
readonly fundIndex: u32;
}
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (653) */
@@ -614,7 +614,13 @@ declare module '@polkadot/types/lookup' {
readonly asCodeRemoved: {
readonly codeHash: H256;
} & Struct;
readonly type: 'Instantiated' | 'Terminated' | 'CodeStored' | 'ContractEmitted' | 'CodeRemoved';
readonly isContractCodeUpdated: boolean;
readonly asContractCodeUpdated: {
readonly contract: AccountId32;
readonly newCodeHash: H256;
readonly oldCodeHash: H256;
} & Struct;
readonly type: 'Instantiated' | 'Terminated' | 'CodeStored' | 'ContractEmitted' | 'CodeRemoved' | 'ContractCodeUpdated';
}
/** @name PalletSudoEvent (56) */
@@ -1776,7 +1782,7 @@ declare module '@polkadot/types/lookup' {
} & Struct;
readonly isSetMinimumUntrustedScore: boolean;
readonly asSetMinimumUntrustedScore: {
readonly maybeNextScore: Option<Vec<u128>>;
readonly maybeNextScore: Option<SpNposElectionsElectionScore>;
} & Struct;
readonly isSetEmergencyElectionResult: boolean;
readonly asSetEmergencyElectionResult: {
@@ -1798,7 +1804,7 @@ declare module '@polkadot/types/lookup' {
/** @name PalletElectionProviderMultiPhaseRawSolution (147) */
export interface PalletElectionProviderMultiPhaseRawSolution extends Struct {
readonly solution: NodeRuntimeNposSolution16;
readonly score: Vec<u128>;
readonly score: SpNposElectionsElectionScore;
readonly round: u32;
}
@@ -1822,6 +1828,13 @@ declare module '@polkadot/types/lookup' {
readonly votes16: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
}
/** @name SpNposElectionsElectionScore (199) */
export interface SpNposElectionsElectionScore extends Struct {
readonly minimalStake: u128;
readonly sumStake: u128;
readonly sumStakeSquared: u128;
}
/** @name PalletElectionProviderMultiPhaseSolutionOrSnapshotSize (200) */
export interface PalletElectionProviderMultiPhaseSolutionOrSnapshotSize extends Struct {
readonly voters: Compact<u32>;
@@ -3579,7 +3592,7 @@ declare module '@polkadot/types/lookup' {
/** @name PalletElectionProviderMultiPhaseReadySolution (356) */
export interface PalletElectionProviderMultiPhaseReadySolution extends Struct {
readonly supports: Vec<ITuple<[AccountId32, SpNposElectionsSupport]>>;
readonly score: Vec<u128>;
readonly score: SpNposElectionsElectionScore;
readonly compute: PalletElectionProviderMultiPhaseElectionCompute;
}
@@ -4100,6 +4113,7 @@ declare module '@polkadot/types/lookup' {
readonly setStorage: u64;
readonly setStoragePerNewByte: u64;
readonly setStoragePerOldByte: u64;
readonly setCodeHash: u64;
readonly clearStorage: u64;
readonly clearStoragePerByte: u64;
readonly containsStorage: u64;
@@ -4112,11 +4126,9 @@ declare module '@polkadot/types/lookup' {
readonly call: u64;
readonly delegateCall: u64;
readonly callTransferSurcharge: u64;
readonly callPerInputByte: u64;
readonly callPerOutputByte: u64;
readonly callPerClonedByte: u64;
readonly instantiate: u64;
readonly instantiatePerInputByte: u64;
readonly instantiatePerOutputByte: u64;
readonly instantiateTransferSurcharge: u64;
readonly instantiatePerSaltByte: u64;
readonly hashSha2256: u64;
readonly hashSha2256PerByte: u64;
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '7.9.1' };
+4 -4
View File
@@ -20,16 +20,16 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/util": "^8.4.1"
},
"devDependencies": {
"@polkadot/types": "7.8.1",
"@polkadot/types-augment": "7.8.1",
"@polkadot/types-support": "7.8.1",
"@polkadot/types": "7.9.1",
"@polkadot/types-augment": "7.9.1",
"@polkadot/types-support": "7.9.1",
"@polkadot/util-crypto": "^8.4.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: '7.8.1' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '7.9.1' };
+3 -3
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/types-codec": "7.8.1",
"@polkadot/types-codec": "7.9.1",
"@polkadot/util": "^8.4.1"
},
"devDependencies": {
"@polkadot/types": "7.8.1"
"@polkadot/types": "7.9.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: '7.8.1' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '7.9.1' };
+4 -4
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/networks": "^8.4.1",
"@polkadot/types": "7.8.1",
"@polkadot/types-codec": "7.8.1",
"@polkadot/types-create": "7.8.1",
"@polkadot/types": "7.9.1",
"@polkadot/types-codec": "7.9.1",
"@polkadot/types-create": "7.9.1",
"@polkadot/util": "^8.4.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: '7.8.1' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '7.9.1' };
+1 -1
View File
@@ -15,7 +15,7 @@ const upgrades: ChainUpgradesRaw = [
[6137912, 2028], [6561855, 2029], [7100891, 2030], [7468792, 9010], [7668600, 9030],
[7812476, 9040], [8010981, 9050], [8073833, 9070], [8555825, 9080], [8945245, 9090],
[9611377, 9100], [9625129, 9111], [9866422, 9122], [10403784, 9130], [10960765, 9150],
[11006614, 9151]
[11006614, 9151], [11404482, 9160]
];
export default upgrades;
+1 -1
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
File diff suppressed because one or more lines are too long
@@ -265,7 +265,7 @@
{
"name": "Version",
"type": 165,
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000c82300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000900000000",
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000d22300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000900000000",
"docs": [
" Get the chain's current version."
]
@@ -6412,14 +6412,14 @@
]
},
{
"name": "NextTrieIndex",
"name": "NextFundIndex",
"modifier": "Default",
"type": {
"plain": 4
},
"fallback": "0x00000000",
"docs": [
" Tracker for the next available trie index"
" Tracker for the next available fund index"
]
}
]
@@ -5277,6 +5277,12 @@
"fields": [],
"index": 6,
"docs": []
},
{
"name": "Society",
"fields": [],
"index": 7,
"docs": []
}
]
}
@@ -6830,7 +6836,7 @@
],
"index": 6,
"docs": [
"The given validation code was rejected by the PVF pre-checking vote.",
"The given validation code was accepted by the PVF pre-checking vote.",
"`code_hash` `para_id`"
]
},
@@ -6852,7 +6858,7 @@
],
"index": 7,
"docs": [
"The given validation code was accepted by the PVF pre-checking vote.",
"The given validation code was rejected by the PVF pre-checking vote.",
"`code_hash` `para_id`"
]
}
@@ -27784,12 +27790,33 @@
{
"id": 461,
"type": {
"path": [],
"path": [
"sp_npos_elections",
"ElectionScore"
],
"params": [],
"def": {
"array": {
"len": 3,
"type": 6
"composite": {
"fields": [
{
"name": "minimal_stake",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
},
{
"name": "sum_stake",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
},
{
"name": "sum_stake_squared",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
}
]
}
},
"docs": []
@@ -41940,6 +41967,15 @@
"docs": [
"Registering parachain with empty code is not allowed."
]
},
{
"name": "CannotSwap",
"fields": [],
"index": 13,
"docs": [
"Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras are",
"correct for the swap to work."
]
}
]
}
@@ -42253,9 +42289,9 @@
"docs": []
},
{
"name": "trie_index",
"name": "fund_index",
"type": 4,
"typeName": "TrieIndex",
"typeName": "FundIndex",
"docs": []
}
]
File diff suppressed because one or more lines are too long
@@ -265,7 +265,7 @@
{
"name": "Version",
"type": 158,
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000c82300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000a00000000",
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000d22300000000000038df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a8010000000a00000000",
"docs": [
" Get the chain's current version."
]
@@ -5717,14 +5717,14 @@
]
},
{
"name": "NextTrieIndex",
"name": "NextFundIndex",
"modifier": "Default",
"type": {
"plain": 4
},
"fallback": "0x00000000",
"docs": [
" Tracker for the next available trie index"
" Tracker for the next available fund index"
]
}
]
@@ -6168,7 +6168,7 @@
],
"index": 6,
"docs": [
"The given validation code was rejected by the PVF pre-checking vote.",
"The given validation code was accepted by the PVF pre-checking vote.",
"`code_hash` `para_id`"
]
},
@@ -6190,7 +6190,7 @@
],
"index": 7,
"docs": [
"The given validation code was accepted by the PVF pre-checking vote.",
"The given validation code was rejected by the PVF pre-checking vote.",
"`code_hash` `para_id`"
]
}
@@ -22511,12 +22511,33 @@
{
"id": 347,
"type": {
"path": [],
"path": [
"sp_npos_elections",
"ElectionScore"
],
"params": [],
"def": {
"array": {
"len": 3,
"type": 6
"composite": {
"fields": [
{
"name": "minimal_stake",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
},
{
"name": "sum_stake",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
},
{
"name": "sum_stake_squared",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
}
]
}
},
"docs": []
@@ -38443,6 +38464,15 @@
"docs": [
"Registering parachain with empty code is not allowed."
]
},
{
"name": "CannotSwap",
"fields": [],
"index": 13,
"docs": [
"Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras are",
"correct for the swap to work."
]
}
]
}
@@ -38756,9 +38786,9 @@
"docs": []
},
{
"name": "trie_index",
"name": "fund_index",
"type": 4,
"typeName": "TrieIndex",
"typeName": "FundIndex",
"docs": []
}
]
File diff suppressed because one or more lines are too long
@@ -3092,7 +3092,7 @@
{
"name": "Schedule",
"type": 433,
"value": "0x0400000000020000000100008000000010000000001000000001000020000000200000000040000000000200020000001d0b0000ca1c0000ea1f000032190000552800000c0d0000a7170000891c00003c000000ee870200cf31040079180000d50c0000230f0000020d00003d2200007b2a0000dd0e0000c525af00a80c00003e0d0000bc0c00008e0d0000440c00001c0c00009e0c0000b5130000e7130000c9130000c9130000dd1300000f140000e713000047130000f1130000d313000047130000331300000b130000372d0000032f0000d32c0000172f0000c51200000113000093120000dd130000f113000041140000dd130000a1130000c6910700000000004ac6b60100000000a868030000000000ba890700000000000c8307000000000076f7140000000000148a070000000000c06a070000000000da730700000000003c7607000000000068801200000000006eca030000000000905e07000000000074000000000000000000000000000000c900000000000000a834d926000000007c391800000000008ed22b0000000000f4e19f07000000002f030000000000009c5d0600000000000a88b107000000001c010000000000006800000000000000a2b7ad070000000065000000000000005affa9010000000062000000000000007c9cae01000000006f020000000000008c59b307000000007702000000000000fe567a0800000000f26a441300000000d4604f0d00000000eaefef0800000000c1000000000000003001000000000000d8dc582e00000000bf000000000000002e0100000000000007060000000000005a4e0c0000000000b311000000000000d81e0e0000000000b60b00000000000028d8090000000000930400000000000038cd0900000000009404000000000000b8e52b0900000000",
"value": "0x0400000000020000000100008000000010000000001000000001000020000000200000000040000000000200020000009f0b00007a1c0000ee20000066170000472700004e0c00009f150000ef1a00005000000058870200754504003d180000850c0000190f0000580c0000a7210000c7290000f70d0000046cac00080c0000300c00009a0b0000b20c0000c20b00007c0b0000f40b0000ed120000291300009d120000b11200009d120000d9120000a7120000e3120000151300001b120000c11100002f12000067110000612b0000412d0000072b0000ff2d0000e911000011120000e9110000b11200007f120000431200007f120000ed1200007a9c0700000000009abcb60100000000285c030000000000ea8b0700000000008e74070000000000e8a715000000000066880700000000001c870700000000005a8a070000000000a66b070000000000d4c3120000000000eebd030000000000a062070000000000730000000000000008331a0000000000c0000000000000001869e926000000007a45180000000000ea932c0000000000e0b99f07000000002603000000000000444c06000000000010a5b1070000000018010000000000006f00000000000000e83df00700000000bae0ad07000000006c0000000000000054f1a901000000006300000000000000ec49af01000000007c020000000000002836b307000000008102000000000000aa7c85080000000032c23e1300000000da624c0d000000000c047e080000000030d3010000000000d6e43e2e0000000097270000000000000106000000000000c4340c0000000000c1110000000000009a0c0e0000000000b80b00000000000002cc0900000000009704000000000000a4ac0900000000009b04000000000000a2a12b0900000000",
"docs": [
" Cost schedule and limits."
]
@@ -3100,7 +3100,7 @@
{
"name": "DeletionQueueDepth",
"type": 4,
"value": "0xd1430000",
"value": "0x01460000",
"docs": [
" The maximum number of contracts that can be pending for deletion.",
"",
@@ -4044,6 +4044,39 @@
"docs": [
"A code with the specified hash was removed."
]
},
{
"name": "ContractCodeUpdated",
"fields": [
{
"name": "contract",
"type": 0,
"typeName": "T::AccountId",
"docs": [
"The contract that has been updated."
]
},
{
"name": "new_code_hash",
"type": 9,
"typeName": "T::Hash",
"docs": [
"New code hash that was set for the contract."
]
},
{
"name": "old_code_hash",
"type": 9,
"typeName": "T::Hash",
"docs": [
"Previous code hash of the contract."
]
}
],
"index": 5,
"docs": [
"A contract's code was updated."
]
}
]
}
@@ -11909,12 +11942,33 @@
{
"id": 199,
"type": {
"path": [],
"path": [
"sp_npos_elections",
"ElectionScore"
],
"params": [],
"def": {
"array": {
"len": 3,
"type": 6
"composite": {
"fields": [
{
"name": "minimal_stake",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
},
{
"name": "sum_stake",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
},
{
"name": "sum_stake_squared",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
}
]
}
},
"docs": []
@@ -29503,6 +29557,12 @@
"typeName": "Weight",
"docs": []
},
{
"name": "set_code_hash",
"type": 8,
"typeName": "Weight",
"docs": []
},
{
"name": "clear_storage",
"type": 8,
@@ -29576,13 +29636,7 @@
"docs": []
},
{
"name": "call_per_input_byte",
"type": 8,
"typeName": "Weight",
"docs": []
},
{
"name": "call_per_output_byte",
"name": "call_per_cloned_byte",
"type": 8,
"typeName": "Weight",
"docs": []
@@ -29594,13 +29648,7 @@
"docs": []
},
{
"name": "instantiate_per_input_byte",
"type": 8,
"typeName": "Weight",
"docs": []
},
{
"name": "instantiate_per_output_byte",
"name": "instantiate_transfer_surcharge",
"type": 8,
"typeName": "Weight",
"docs": []
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '7.9.1' };
+5 -5
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.8.1",
"version": "7.9.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.2",
"@polkadot/keyring": "^8.4.1",
"@polkadot/types-augment": "7.8.1",
"@polkadot/types-codec": "7.8.1",
"@polkadot/types-create": "7.8.1",
"@polkadot/types-augment": "7.9.1",
"@polkadot/types-codec": "7.9.1",
"@polkadot/types-create": "7.9.1",
"@polkadot/util": "^8.4.1",
"@polkadot/util-crypto": "^8.4.1",
"rxjs": "^7.5.4"
},
"devDependencies": {
"@polkadot/keyring": "^8.4.1",
"@polkadot/types-support": "7.8.1"
"@polkadot/types-support": "7.9.1"
}
}
@@ -9,20 +9,11 @@ import type { Definitions } from '../../types';
export default {
rpc: {
proveFinality: {
description: 'Prove finality for the range (begin; end] hash.',
description: 'Prove finality for the given block number, returning the Justification for the last block in the set.',
params: [
{
name: 'begin',
type: 'BlockHash'
},
{
name: 'end',
type: 'BlockHash'
},
{
name: 'authoritiesSetId',
type: 'u64',
isOptional: true
name: 'blockNumber',
type: 'BlockNumber'
}
],
type: 'Option<EncodedFinalityProofs>'
+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: '7.8.1' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '7.9.1' };
+200 -175
View File
@@ -5,20 +5,20 @@ __metadata:
version: 5
cacheKey: 8
"@ampproject/remapping@npm:^2.0.0":
version: 2.0.2
resolution: "@ampproject/remapping@npm:2.0.2"
"@ampproject/remapping@npm:^2.1.0":
version: 2.1.1
resolution: "@ampproject/remapping@npm:2.1.1"
dependencies:
"@jridgewell/trace-mapping": ^0.2.2
sourcemap-codec: 1.4.8
checksum: 5759df3715f0291cbf97099a9bb7202201a1a267e232ee1505418c768b9ae7281cd550b1da563a12808a06529eb1298744a6cabde21ac354fc8450044c7f2213
"@jridgewell/trace-mapping": ^0.3.0
checksum: cc5cf29833e2b8bdf420821a6e027a35cf6a48605df64ae5095b55cb722581b236554fc8f920138e6da3f7a99ec99273b07ebe2e2bb98b6a4a8d8e33648cac77
languageName: node
linkType: hard
"@babel/cli@npm:^7.17.0":
version: 7.17.0
resolution: "@babel/cli@npm:7.17.0"
"@babel/cli@npm:^7.17.3":
version: 7.17.3
resolution: "@babel/cli@npm:7.17.3"
dependencies:
"@jridgewell/trace-mapping": ^0.3.4
"@nicolo-ribaudo/chokidar-2": 2.1.8-no-fsevents.3
chokidar: ^3.4.0
commander: ^4.0.1
@@ -38,7 +38,7 @@ __metadata:
bin:
babel: ./bin/babel.js
babel-external-helpers: ./bin/babel-external-helpers.js
checksum: 0d43d42d7aa48dd6f7c65f4f8273072c1e0161a5df08e7808b28e5b007104d92bb7ec36724f4f275b5cc3e636f0e077217ac21593b41decd6025a2a065713b97
checksum: 83e4fe9f7236c1eb4bf5786c71e3d9a4f462aed1dca3096eeb12ab1d3927349ac9c2aedd6c59857fbe0a6a0b485216c454e1dd63264d6c18d2229c94b95a0653
languageName: node
linkType: hard
@@ -58,37 +58,37 @@ __metadata:
languageName: node
linkType: hard
"@babel/core@npm:^7.1.0, @babel/core@npm:^7.12.3, @babel/core@npm:^7.17.2, @babel/core@npm:^7.7.2, @babel/core@npm:^7.8.0":
version: 7.17.2
resolution: "@babel/core@npm:7.17.2"
"@babel/core@npm:^7.1.0, @babel/core@npm:^7.12.3, @babel/core@npm:^7.17.4, @babel/core@npm:^7.7.2, @babel/core@npm:^7.8.0":
version: 7.17.4
resolution: "@babel/core@npm:7.17.4"
dependencies:
"@ampproject/remapping": ^2.0.0
"@ampproject/remapping": ^2.1.0
"@babel/code-frame": ^7.16.7
"@babel/generator": ^7.17.0
"@babel/generator": ^7.17.3
"@babel/helper-compilation-targets": ^7.16.7
"@babel/helper-module-transforms": ^7.16.7
"@babel/helpers": ^7.17.2
"@babel/parser": ^7.17.0
"@babel/parser": ^7.17.3
"@babel/template": ^7.16.7
"@babel/traverse": ^7.17.0
"@babel/traverse": ^7.17.3
"@babel/types": ^7.17.0
convert-source-map: ^1.7.0
debug: ^4.1.0
gensync: ^1.0.0-beta.2
json5: ^2.1.2
semver: ^6.3.0
checksum: 68ab3459f41b41feb5cb263937f15e418e1c46998d482d1b6dfe34f78064765466cfd5b10205c22fb16b69dbd1d46e7a3c26c067884ca4eb514b3dac1e09a57f
checksum: d367259b188fde69493fea407a1c134d6bb7a0d859cbe2c0f0d1f2464143bdee0fdfd3c8d45a2cdabdf321b95dd392cbc4f55e2d0c41a842a581d37fee4cef64
languageName: node
linkType: hard
"@babel/generator@npm:^7.17.0, @babel/generator@npm:^7.7.2":
version: 7.17.0
resolution: "@babel/generator@npm:7.17.0"
"@babel/generator@npm:^7.17.3, @babel/generator@npm:^7.7.2":
version: 7.17.3
resolution: "@babel/generator@npm:7.17.3"
dependencies:
"@babel/types": ^7.17.0
jsesc: ^2.5.1
source-map: ^0.5.0
checksum: 2987dbebb484727a227f1ce3db90810320986cfb3ffd23e6d1d87f75bbd8e7871b5bc44252822d4d5f048a2d872a5702b2a9bf7bab7e07f087d7f306f0ea6c0a
checksum: ddf70e3489976018dfc2da8b9f43ec8c582cac2da681ed4a6227c53b26a9626223e4dca90098b3d3afe43bc67f20160856240e826c56b48e577f34a5a7e22b9f
languageName: node
linkType: hard
@@ -368,12 +368,12 @@ __metadata:
languageName: node
linkType: hard
"@babel/parser@npm:^7.0.0, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.16.7, @babel/parser@npm:^7.17.0":
version: 7.17.0
resolution: "@babel/parser@npm:7.17.0"
"@babel/parser@npm:^7.0.0, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.16.7, @babel/parser@npm:^7.17.3":
version: 7.17.3
resolution: "@babel/parser@npm:7.17.3"
bin:
parser: ./bin/babel-parser.js
checksum: d0ac5ffba0b234dde516f867edf5da5d92d6f841592b370ae3244cd7c8f27a7f5e3e3d4e90ca9c15ea58bc46823f1643f3f75b6eb9a9f676ae16e8b2365e922a
checksum: 311869baef97c7630ac3b3c4600da18229b95aa2785b2daab2044384745fe0653070916ade28749fb003f7369a081111ada53e37284ba48d6b5858cbb9e411d1
languageName: node
linkType: hard
@@ -1406,21 +1406,21 @@ __metadata:
languageName: node
linkType: hard
"@babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.16.7, @babel/traverse@npm:^7.16.8, @babel/traverse@npm:^7.17.0, @babel/traverse@npm:^7.7.2":
version: 7.17.0
resolution: "@babel/traverse@npm:7.17.0"
"@babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.16.7, @babel/traverse@npm:^7.16.8, @babel/traverse@npm:^7.17.0, @babel/traverse@npm:^7.17.3, @babel/traverse@npm:^7.7.2":
version: 7.17.3
resolution: "@babel/traverse@npm:7.17.3"
dependencies:
"@babel/code-frame": ^7.16.7
"@babel/generator": ^7.17.0
"@babel/generator": ^7.17.3
"@babel/helper-environment-visitor": ^7.16.7
"@babel/helper-function-name": ^7.16.7
"@babel/helper-hoist-variables": ^7.16.7
"@babel/helper-split-export-declaration": ^7.16.7
"@babel/parser": ^7.17.0
"@babel/parser": ^7.17.3
"@babel/types": ^7.17.0
debug: ^4.1.0
globals: ^11.1.0
checksum: 9b7de053d8a29453fd7b9614a028d8dc811817f02948eaee02093274b67927a1cfb0513b521bc4a9328c9b6e5b021fd343b358c3526bbb6ee61ec078d4110c0c
checksum: 780d7ecf711758174989794891af08d378f81febdb8932056c0d9979524bf0298e28f8e7708a872d7781151506c28f56c85c63ea3f1f654662c2fcb8a3eb9fdc
languageName: node
linkType: hard
@@ -1704,13 +1704,20 @@ __metadata:
languageName: node
linkType: hard
"@jridgewell/trace-mapping@npm:^0.2.2":
version: 0.2.6
resolution: "@jridgewell/trace-mapping@npm:0.2.6"
"@jridgewell/sourcemap-codec@npm:^1.4.10":
version: 1.4.11
resolution: "@jridgewell/sourcemap-codec@npm:1.4.11"
checksum: 3b2afaf8400fb07a36db60e901fcce6a746cdec587310ee9035939d89878e57b2dec8173b0b8f63176f647efa352294049a53c49739098eb907ff81fec2547c8
languageName: node
linkType: hard
"@jridgewell/trace-mapping@npm:^0.3.0, @jridgewell/trace-mapping@npm:^0.3.4":
version: 0.3.4
resolution: "@jridgewell/trace-mapping@npm:0.3.4"
dependencies:
"@jridgewell/resolve-uri": ^3.0.3
sourcemap-codec: 1.4.8
checksum: 30bc0e5918bad0322027b85a2d3aef05a64ffc686723e72b0d1f34fc7f2b8b27ce4720d4a8e51048cf385564360304bf9411acad8ffde2f1b722ee1a85033bbe
"@jridgewell/sourcemap-codec": ^1.4.10
checksum: ab8bce84bbbc8c34f3ba8325ed926f8f2d3098983c10442a80c55764c4eb6e47d5b92d8ff20a0dd868c3e76a3535651fd8a0138182c290dbfc8396195685c37b
languageName: node
linkType: hard
@@ -1895,27 +1902,27 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@7.8.1, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@7.9.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.2
"@polkadot/api-base": 7.8.1
"@polkadot/rpc-augment": 7.8.1
"@polkadot/types": 7.8.1
"@polkadot/types-augment": 7.8.1
"@polkadot/types-codec": 7.8.1
"@polkadot/api-base": 7.9.1
"@polkadot/rpc-augment": 7.9.1
"@polkadot/types": 7.9.1
"@polkadot/types-augment": 7.9.1
"@polkadot/types-codec": 7.9.1
"@polkadot/util": ^8.4.1
languageName: unknown
linkType: soft
"@polkadot/api-base@7.8.1, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@7.9.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.2
"@polkadot/rpc-core": 7.8.1
"@polkadot/types": 7.8.1
"@polkadot/rpc-core": 7.9.1
"@polkadot/types": 7.9.1
"@polkadot/util": ^8.4.1
rxjs: ^7.5.4
languageName: unknown
@@ -1926,56 +1933,56 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.17.2
"@polkadot/api": 7.8.1
"@polkadot/api-augment": 7.8.1
"@polkadot/api": 7.9.1
"@polkadot/api-augment": 7.9.1
"@polkadot/keyring": ^8.4.1
"@polkadot/types": 7.8.1
"@polkadot/types-codec": 7.8.1
"@polkadot/types-create": 7.8.1
"@polkadot/types": 7.9.1
"@polkadot/types-codec": 7.9.1
"@polkadot/types-create": 7.9.1
"@polkadot/util": ^8.4.1
"@polkadot/util-crypto": ^8.4.1
rxjs: ^7.5.4
languageName: unknown
linkType: soft
"@polkadot/api-derive@7.8.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@7.9.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.2
"@polkadot/api": 7.8.1
"@polkadot/api-augment": 7.8.1
"@polkadot/api-base": 7.8.1
"@polkadot/rpc-augment": 7.8.1
"@polkadot/rpc-core": 7.8.1
"@polkadot/rpc-provider": 7.8.1
"@polkadot/types": 7.8.1
"@polkadot/types-codec": 7.8.1
"@polkadot/types-support": 7.8.1
"@polkadot/api": 7.9.1
"@polkadot/api-augment": 7.9.1
"@polkadot/api-base": 7.9.1
"@polkadot/rpc-augment": 7.9.1
"@polkadot/rpc-core": 7.9.1
"@polkadot/rpc-provider": 7.9.1
"@polkadot/types": 7.9.1
"@polkadot/types-codec": 7.9.1
"@polkadot/types-support": 7.9.1
"@polkadot/util": ^8.4.1
"@polkadot/util-crypto": ^8.4.1
rxjs: ^7.5.4
languageName: unknown
linkType: soft
"@polkadot/api@7.8.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@7.9.1, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.17.2
"@polkadot/api-augment": 7.8.1
"@polkadot/api-base": 7.8.1
"@polkadot/api-derive": 7.8.1
"@polkadot/api-augment": 7.9.1
"@polkadot/api-base": 7.9.1
"@polkadot/api-derive": 7.9.1
"@polkadot/keyring": ^8.4.1
"@polkadot/rpc-augment": 7.8.1
"@polkadot/rpc-core": 7.8.1
"@polkadot/rpc-provider": 7.8.1
"@polkadot/types": 7.8.1
"@polkadot/types-augment": 7.8.1
"@polkadot/types-codec": 7.8.1
"@polkadot/types-create": 7.8.1
"@polkadot/types-known": 7.8.1
"@polkadot/types-support": 7.8.1
"@polkadot/rpc-augment": 7.9.1
"@polkadot/rpc-core": 7.9.1
"@polkadot/rpc-provider": 7.9.1
"@polkadot/types": 7.9.1
"@polkadot/types-augment": 7.9.1
"@polkadot/types-codec": 7.9.1
"@polkadot/types-create": 7.9.1
"@polkadot/types-known": 7.9.1
"@polkadot/types-support": 7.9.1
"@polkadot/util": ^8.4.1
"@polkadot/util-crypto": ^8.4.1
eventemitter3: ^4.0.7
@@ -1983,12 +1990,12 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/dev@npm:^0.65.56":
version: 0.65.56
resolution: "@polkadot/dev@npm:0.65.56"
"@polkadot/dev@npm:^0.65.60":
version: 0.65.60
resolution: "@polkadot/dev@npm:0.65.60"
dependencies:
"@babel/cli": ^7.17.0
"@babel/core": ^7.17.2
"@babel/cli": ^7.17.3
"@babel/core": ^7.17.4
"@babel/plugin-proposal-nullish-coalescing-operator": ^7.16.7
"@babel/plugin-proposal-numeric-separator": ^7.16.7
"@babel/plugin-proposal-optional-chaining": ^7.16.7
@@ -2009,8 +2016,8 @@ __metadata:
"@rollup/plugin-json": ^4.1.0
"@rollup/plugin-node-resolve": ^13.1.3
"@rushstack/eslint-patch": ^1.1.0
"@typescript-eslint/eslint-plugin": 5.11.0
"@typescript-eslint/parser": 5.11.0
"@typescript-eslint/eslint-plugin": 5.12.0
"@typescript-eslint/parser": 5.12.0
"@vue/component-compiler-utils": ^3.3.0
babel-jest: ^27.5.1
babel-plugin-module-extension-resolver: ^1.0.0-rc.2
@@ -2041,7 +2048,7 @@ __metadata:
jest-haste-map: ^27.5.1
jest-resolve: ^27.5.1
madge: ^5.0.1
minimatch: ^3.1.1
minimatch: ^5.0.0
mkdirp: ^1.0.4
prettier: ^2.5.1
rimraf: ^3.0.2
@@ -2071,7 +2078,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: abd9a516a2c2a0cf94c5d9c18e9b3733a32a29c8313b6a710bfbed9a8c91683f475af347a0d909a5835a0364f4855a9e5fa1026bca17698c3368bf7833cc22a3
checksum: b99c43951367d2e74aea08072e7a37aa256fe59af9f24de4de09c9175426b7515c9b61080662f407c309585df6ddb8d496c1b44fa23580f76c77faab03976924
languageName: node
linkType: hard
@@ -2100,40 +2107,40 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-augment@7.8.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@7.9.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.2
"@polkadot/rpc-core": 7.8.1
"@polkadot/types": 7.8.1
"@polkadot/types-codec": 7.8.1
"@polkadot/rpc-core": 7.9.1
"@polkadot/types": 7.9.1
"@polkadot/types-codec": 7.9.1
"@polkadot/util": ^8.4.1
languageName: unknown
linkType: soft
"@polkadot/rpc-core@7.8.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@7.9.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.2
"@polkadot/keyring": ^8.4.1
"@polkadot/rpc-augment": 7.8.1
"@polkadot/rpc-provider": 7.8.1
"@polkadot/types": 7.8.1
"@polkadot/rpc-augment": 7.9.1
"@polkadot/rpc-provider": 7.9.1
"@polkadot/types": 7.9.1
"@polkadot/util": ^8.4.1
rxjs: ^7.5.4
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@7.8.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@7.9.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.2
"@polkadot/keyring": ^8.4.1
"@polkadot/types": 7.8.1
"@polkadot/types-support": 7.8.1
"@polkadot/types": 7.9.1
"@polkadot/types-support": 7.9.1
"@polkadot/util": ^8.4.1
"@polkadot/util-crypto": ^8.4.1
"@polkadot/x-fetch": ^8.4.1
@@ -2149,18 +2156,18 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/typegen@workspace:packages/typegen"
dependencies:
"@babel/core": ^7.17.2
"@babel/core": ^7.17.4
"@babel/register": ^7.17.0
"@babel/runtime": ^7.17.2
"@polkadot/api": 7.8.1
"@polkadot/api-augment": 7.8.1
"@polkadot/rpc-augment": 7.8.1
"@polkadot/rpc-provider": 7.8.1
"@polkadot/types": 7.8.1
"@polkadot/types-augment": 7.8.1
"@polkadot/types-codec": 7.8.1
"@polkadot/types-create": 7.8.1
"@polkadot/types-support": 7.8.1
"@polkadot/api": 7.9.1
"@polkadot/api-augment": 7.9.1
"@polkadot/rpc-augment": 7.9.1
"@polkadot/rpc-provider": 7.9.1
"@polkadot/types": 7.9.1
"@polkadot/types-augment": 7.9.1
"@polkadot/types-codec": 7.9.1
"@polkadot/types-create": 7.9.1
"@polkadot/types-support": 7.9.1
"@polkadot/util": ^8.4.1
"@polkadot/x-ws": ^8.4.1
"@types/websocket": ^1.0.5
@@ -2177,55 +2184,55 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@7.8.1, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@7.9.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.2
"@polkadot/types": 7.8.1
"@polkadot/types-codec": 7.8.1
"@polkadot/types": 7.9.1
"@polkadot/types-codec": 7.9.1
"@polkadot/util": ^8.4.1
languageName: unknown
linkType: soft
"@polkadot/types-codec@7.8.1, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@7.9.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.2
"@polkadot/types": 7.8.1
"@polkadot/types-augment": 7.8.1
"@polkadot/types-support": 7.8.1
"@polkadot/types": 7.9.1
"@polkadot/types-augment": 7.9.1
"@polkadot/types-support": 7.9.1
"@polkadot/util": ^8.4.1
"@polkadot/util-crypto": ^8.4.1
languageName: unknown
linkType: soft
"@polkadot/types-create@7.8.1, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@7.9.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.2
"@polkadot/types": 7.8.1
"@polkadot/types-codec": 7.8.1
"@polkadot/types": 7.9.1
"@polkadot/types-codec": 7.9.1
"@polkadot/util": ^8.4.1
languageName: unknown
linkType: soft
"@polkadot/types-known@7.8.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@7.9.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.2
"@polkadot/networks": ^8.4.1
"@polkadot/types": 7.8.1
"@polkadot/types-codec": 7.8.1
"@polkadot/types-create": 7.8.1
"@polkadot/types": 7.9.1
"@polkadot/types-codec": 7.9.1
"@polkadot/types-create": 7.9.1
"@polkadot/util": ^8.4.1
languageName: unknown
linkType: soft
"@polkadot/types-support@7.8.1, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@7.9.1, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -2234,16 +2241,16 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@7.8.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@7.9.1, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.17.2
"@polkadot/keyring": ^8.4.1
"@polkadot/types-augment": 7.8.1
"@polkadot/types-codec": 7.8.1
"@polkadot/types-create": 7.8.1
"@polkadot/types-support": 7.8.1
"@polkadot/types-augment": 7.9.1
"@polkadot/types-codec": 7.9.1
"@polkadot/types-create": 7.9.1
"@polkadot/types-support": 7.9.1
"@polkadot/util": ^8.4.1
"@polkadot/util-crypto": ^8.4.1
rxjs: ^7.5.4
@@ -2749,13 +2756,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/eslint-plugin@npm:5.11.0":
version: 5.11.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.11.0"
"@typescript-eslint/eslint-plugin@npm:5.12.0":
version: 5.12.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.12.0"
dependencies:
"@typescript-eslint/scope-manager": 5.11.0
"@typescript-eslint/type-utils": 5.11.0
"@typescript-eslint/utils": 5.11.0
"@typescript-eslint/scope-manager": 5.12.0
"@typescript-eslint/type-utils": 5.12.0
"@typescript-eslint/utils": 5.12.0
debug: ^4.3.2
functional-red-black-tree: ^1.0.1
ignore: ^5.1.8
@@ -2768,42 +2775,42 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: fa546ba4397f3e693870c39d1e8df6feccb728a7092be6312b78806a64c4ff4648cff0462503d3e510e8b173b9704c19e78d2a7af790ab1c0309782e33a89c32
checksum: ac7074b51456748ef8770d82f5b4e691e1b93bb1353b448bb1b43db5b5a9722a6a012dc1dc0a3b35ab0c0ca7c1b5412f535ad992115132ed84ed6f4179778d37
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:5.11.0":
version: 5.11.0
resolution: "@typescript-eslint/parser@npm:5.11.0"
"@typescript-eslint/parser@npm:5.12.0":
version: 5.12.0
resolution: "@typescript-eslint/parser@npm:5.12.0"
dependencies:
"@typescript-eslint/scope-manager": 5.11.0
"@typescript-eslint/types": 5.11.0
"@typescript-eslint/typescript-estree": 5.11.0
"@typescript-eslint/scope-manager": 5.12.0
"@typescript-eslint/types": 5.12.0
"@typescript-eslint/typescript-estree": 5.12.0
debug: ^4.3.2
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 521b6e701d877dc0514c6a3992f4900aa6fea28ba7c0bc03c634dad2b50aa195401e45683dfebd9e8492a857cd84bba3b585d8fe8d0cd1d7e2720372c34c50a3
checksum: 0453c14d967ebba4ebe0d763882b7a1258f23a710d127f53196d360b78722d880cc8c0299feb52ecc4e10600834c22559bf543211249d878efad864f7ec856bc
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:5.11.0":
version: 5.11.0
resolution: "@typescript-eslint/scope-manager@npm:5.11.0"
"@typescript-eslint/scope-manager@npm:5.12.0":
version: 5.12.0
resolution: "@typescript-eslint/scope-manager@npm:5.12.0"
dependencies:
"@typescript-eslint/types": 5.11.0
"@typescript-eslint/visitor-keys": 5.11.0
checksum: bf7feaed495ed4cafa1b89a2b73781b30061d019e1c1b3765dc8006e7f36b537f6f451e37c77400067771318b4f0c5915804084dc6299ea7c6ecde2daf0aca1c
"@typescript-eslint/types": 5.12.0
"@typescript-eslint/visitor-keys": 5.12.0
checksum: 87cc4e8ab3b495293e51685566cafca6f217c7328fc1210e4a9c3a89e864c5e3a04ddde11708e07820185fd158cb448980607a93fd658fa2089c152f27a847d0
languageName: node
linkType: hard
"@typescript-eslint/type-utils@npm:5.11.0":
version: 5.11.0
resolution: "@typescript-eslint/type-utils@npm:5.11.0"
"@typescript-eslint/type-utils@npm:5.12.0":
version: 5.12.0
resolution: "@typescript-eslint/type-utils@npm:5.12.0"
dependencies:
"@typescript-eslint/utils": 5.11.0
"@typescript-eslint/utils": 5.12.0
debug: ^4.3.2
tsutils: ^3.21.0
peerDependencies:
@@ -2811,7 +2818,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: fd570806d82874289ded6bfd90ff5414d4365b95b4a2e911f7ff2fee6e2c7675d0f2f71580c24cb8be733c3dfe2cd33eedff99ae2aa50f61b1b5af76499074eb
checksum: 90390603319441493b62611730db78f8a732e32a5d9097d1e9c6581da6caeb71cc08a3ed6c716f2fc490b153f956c9a2471d9fbe97c22214ca86f58511c7581a
languageName: node
linkType: hard
@@ -2822,19 +2829,19 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/types@npm:5.11.0":
version: 5.11.0
resolution: "@typescript-eslint/types@npm:5.11.0"
checksum: b1531481da75a6c89510ad03f3db68e4797b25438bb902ee322bd1c154b83396016271cc00356dcdbc300a8ee421493aae803b8c716f36d7b4808fe045ae3a2a
"@typescript-eslint/types@npm:5.12.0":
version: 5.12.0
resolution: "@typescript-eslint/types@npm:5.12.0"
checksum: f5e7f8270cb0f9f18886bf00f8f1fd589b793f4c05dc2de53cc826beb969161e19ffc10f51237402fb9f3d24f5aaf3bb41b1d8da70e115ec3ff11e79b3471988
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:5.11.0":
version: 5.11.0
resolution: "@typescript-eslint/typescript-estree@npm:5.11.0"
"@typescript-eslint/typescript-estree@npm:5.12.0":
version: 5.12.0
resolution: "@typescript-eslint/typescript-estree@npm:5.12.0"
dependencies:
"@typescript-eslint/types": 5.11.0
"@typescript-eslint/visitor-keys": 5.11.0
"@typescript-eslint/types": 5.12.0
"@typescript-eslint/visitor-keys": 5.12.0
debug: ^4.3.2
globby: ^11.0.4
is-glob: ^4.0.3
@@ -2843,7 +2850,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 7bda55501c586efd7f8065b4158016486d8af92b8419931fbea7cec9bfe074075de8cdebec8baa1ac8a5c3f973599b9dd44a51fced1792176e49cd60cc8e5442
checksum: 6a8e852c210b20370eb564f3beb245c425e65a4de3e78a1e2f278a241b6acf72ba43b10767df18fc1654b529453529f721fa673569406ace4011712c9c837900
languageName: node
linkType: hard
@@ -2865,19 +2872,19 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:5.11.0":
version: 5.11.0
resolution: "@typescript-eslint/utils@npm:5.11.0"
"@typescript-eslint/utils@npm:5.12.0":
version: 5.12.0
resolution: "@typescript-eslint/utils@npm:5.12.0"
dependencies:
"@types/json-schema": ^7.0.9
"@typescript-eslint/scope-manager": 5.11.0
"@typescript-eslint/types": 5.11.0
"@typescript-eslint/typescript-estree": 5.11.0
"@typescript-eslint/scope-manager": 5.12.0
"@typescript-eslint/types": 5.12.0
"@typescript-eslint/typescript-estree": 5.12.0
eslint-scope: ^5.1.1
eslint-utils: ^3.0.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 5ab1a15db1e0a2fbb857a8a16325459ad3d5239066f2641aa93ad9f7d08252d3a4ca6ae356c51cba1c6c81a65d84883436566b01932fa55b64a69796b950900d
checksum: 34c394db0510be78c5cbb8928c9eb81405a117dd9e5903a149e4f3c20218dcda89a29e5012984d07c8ce9e5c7f5d7c38f5c3061558028f3f518ac98bbeb9a006
languageName: node
linkType: hard
@@ -2891,13 +2898,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:5.11.0":
version: 5.11.0
resolution: "@typescript-eslint/visitor-keys@npm:5.11.0"
"@typescript-eslint/visitor-keys@npm:5.12.0":
version: 5.12.0
resolution: "@typescript-eslint/visitor-keys@npm:5.12.0"
dependencies:
"@typescript-eslint/types": 5.11.0
"@typescript-eslint/types": 5.12.0
eslint-visitor-keys: ^3.0.0
checksum: 8f0b6fe1e86bc93825a137be3220f57e3a4bee410cca5d35963a0cd416750b31291a73c4294676d94ed0f5066b4cfb3a8f512d409881daa550d1645f4381eb21
checksum: c3774f542aae801926edf86fe6cab534c4cdac914b035730912443ed53fcc701b0f0e7b1a0d5fc959484637c55f63409fc43df5508c334e202d66d4654484d11
languageName: node
linkType: hard
@@ -3515,6 +3522,15 @@ __metadata:
languageName: node
linkType: hard
"brace-expansion@npm:^2.0.1":
version: 2.0.1
resolution: "brace-expansion@npm:2.0.1"
dependencies:
balanced-match: ^1.0.0
checksum: a61e7cd2e8a8505e9f0036b3b6108ba5e926b4b55089eeb5550cd04a471fe216c96d4fe7e4c7f995c728c554ae20ddfc4244cad10aef255e72b62930afd233d1
languageName: node
linkType: hard
"braces@npm:^3.0.1, braces@npm:~3.0.2":
version: 3.0.2
resolution: "braces@npm:3.0.2"
@@ -7587,7 +7603,7 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"minimatch@npm:^3.0.3, minimatch@npm:^3.0.4, minimatch@npm:^3.1.1":
"minimatch@npm:^3.0.3, minimatch@npm:^3.0.4":
version: 3.1.1
resolution: "minimatch@npm:3.1.1"
dependencies:
@@ -7596,6 +7612,15 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"minimatch@npm:^5.0.0":
version: 5.0.0
resolution: "minimatch@npm:5.0.0"
dependencies:
brace-expansion: ^2.0.1
checksum: 810d4165fa2b16d0ffe8eb7586b8b7b7122ab77efa8f351686ffd1e8cbe63997ae9d5e7404fe611a676e59e1a47f7f5e8d9a004e0fe5bb6d5ac35457469116a4
languageName: node
linkType: hard
"minimist@npm:^1.2.0, minimist@npm:^1.2.5":
version: 1.2.5
resolution: "minimist@npm:1.2.5"
@@ -8958,10 +8983,10 @@ resolve@^2.0.0-next.3:
version: 0.0.0-use.local
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@babel/core": ^7.17.2
"@babel/core": ^7.17.4
"@babel/register": ^7.17.0
"@babel/runtime": ^7.17.2
"@polkadot/dev": ^0.65.56
"@polkadot/dev": ^0.65.60
"@polkadot/typegen": "workspace:packages/typegen"
"@types/jest": ^27.4.0
copyfiles: ^2.4.1
@@ -9244,7 +9269,7 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"sourcemap-codec@npm:1.4.8, sourcemap-codec@npm:^1.4.4":
"sourcemap-codec@npm:^1.4.4":
version: 1.4.8
resolution: "sourcemap-codec@npm:1.4.8"
checksum: b57981c05611afef31605732b598ccf65124a9fcb03b833532659ac4d29ac0f7bfacbc0d6c5a28a03e84c7510e7e556d758d0bb57786e214660016fb94279316