Compare commits

...
26 Commits
Author SHA1 Message Date
github-actions[bot] a437f98b31 [CI Skip] release/stable 11.2.1
skip-checks: true
2024-05-29 02:41:20 +00:00
Tarik Gul 8666d580df 11.2.1 (#5897) 2024-05-29 05:20:41 +03:00
github-actions[bot] 651bb35acf [CI Skip] bump/beta 11.1.2-4-x
skip-checks: true
2024-05-28 21:22:30 +00:00
Tarik Gul f78a00cd7f Update Substrate Metadata to latest (#5896)
* Update Substrate Metadata to latest

* import
2024-05-29 00:14:38 +03:00
github-actions[bot] e55c9d248c [CI Skip] bump/beta 11.1.2-3-x
skip-checks: true
2024-05-28 19:29:16 +00:00
Tarik Gul 986355b56f Add support for ParachainHost v11 (#5893) 2024-05-28 22:21:45 +03:00
github-actions[bot] dd9123f790 [CI Skip] bump/beta 11.1.2-2-x
skip-checks: true
2024-05-28 18:13:49 +00:00
Francis O'Brien d28d2b5f48 fix: Re-subscribe to chain updates on reconnection if not a clone (#5794)
This prevents issues with bad transaction signatures after chain updates following a temporary disconnect.
2024-05-28 14:06:15 -04:00
github-actions[bot] 0b3cad94bc [CI Skip] bump/beta 11.1.2-1-x
skip-checks: true
2024-05-27 14:51:29 +00:00
Tarik Gul 2b29dda2ad Update kusama and westend block upgrades (#5892) 2024-05-27 10:43:54 -04:00
github-actions[bot] 3d3af779c1 [CI Skip] bump/beta 11.1.2-0-x
skip-checks: true
2024-05-27 14:27:10 +00:00
Alberto Nicolas Penayo d04cc7b940 fix: add support for AuraUnincludedSegmentApi (#5891)
* added AuraUnincludedSegmentApi

* linting
2024-05-27 10:19:37 -04:00
github-actions[bot] 2ef84c5dcd [CI Skip] release/stable 11.1.1
skip-checks: true
2024-05-21 18:41:45 +00:00
Tarik Gul 36c24826ec 11.1.1 (#5888) 2024-05-21 14:34:18 -04:00
github-actions[bot] 184f702efd [CI Skip] bump/beta 11.0.4-5-x
skip-checks: true
2024-05-20 16:38:58 +00:00
Tarik Gulandbee344 b392c19922 fix: CheckMetadataHash signedExtension support (#5882)
* CheckMetadataHash support

* lint

* updtated CheckGenesis

* linting

* added getters for metadataHash

* fixed metadataHash type

* fixed toHuman override

* updated SignerPayload

* updated mode to take AnyNumber

---------

Co-authored-by: bee344 <alberto.penayo@parity.io>
2024-05-20 13:31:23 -03:00
github-actions[bot] 38de00d8d8 [CI Skip] bump/beta 11.0.4-4-x
skip-checks: true
2024-05-17 20:29:41 +00:00
Tarik Gul f9c58203a0 Fix api.derive.accounts.{info && identity} (#5885)
* Fix api.derive.accounts.identity and all residual derives

* reorder types
2024-05-17 23:22:07 +03:00
github-actions[bot] baaa27ba9e [CI Skip] bump/beta 11.0.4-3-x
skip-checks: true
2024-05-15 01:53:00 +00:00
Alberto Nicolas Penayo 365fde895a fix: updated extrinsics' assetId toHuman (#5879) 2024-05-14 21:45:55 -04:00
github-actions[bot] b17a6d3920 [CI Skip] bump/beta 11.0.4-2-x
skip-checks: true
2024-05-14 01:05:48 +00:00
Tarik Gul 0d8df6380e Bump yarn to 4.2.2 (#5878) 2024-05-14 03:58:04 +03:00
github-actions[bot] 52cd797488 [CI Skip] bump/beta 11.0.4-1-x
skip-checks: true
2024-05-14 00:47:46 +00:00
Tarik Gul a71d401f1d Bump @polkadot/dev to 0.79.1 w/ topo sort (#5877) 2024-05-14 03:40:21 +03:00
github-actions[bot] 61b68393e7 [CI Skip] bump/beta 11.0.4-0-x
skip-checks: true
2024-05-10 18:53:21 +00:00
Tarik Gul 7d6933ed39 Dedupe nextElected accountIds (#5876)
* Dedupe nextElected accountIds

* remove consoles
2024-05-10 21:45:26 +03:00
68 changed files with 3132 additions and 2457 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -12,4 +12,4 @@ logFilters:
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.1.1.cjs
yarnPath: .yarn/releases/yarn-4.2.2.cjs
+26
View File
@@ -1,5 +1,31 @@
# CHANGELOG
## 11.2.1 May 28, 2024
Contributed:
- fix: Re-subscribe to chain updates on reconnection if not a clone (Thanks to https://github.com/F-OBrien)
Changes:
- Add support for AuraUnincludedSegmentApi (Thanks to https://github.com/bee344)
- Add support for ParachainHost v11 Api
- Update Kusama and Westend block upgrades
- Update Substrate metadata to latest
## 11.1.1 May 21, 2024
Changes
- Dedupe nextElected accountIds in `api.derive.staking.nextElected`
- Bump @polkadot/dev to 0.79.1 w/ topo sort
- Bump yarn to 4.2.2
- fix: updated extrinsics' assetId `toHuman` (Thanks to https://github.com/bee344)
- fix `api.derive.accounts.{info && identity}`
- feat: Add support for `CheckMetadataHash` signedExtension (Thanks to https://github.com/bee344)
## 11.0.3 May 8, 2024
Changes
+3 -2
View File
@@ -1,6 +1,6 @@
3512 Jaco Bump deps (#5785)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
43 Tarik Gul 11.0.3 (#5873)
53 Tarik Gul 11.2.1 (#5897)
37 Keith Ingram Update contract types and rpc (#4541)
35 Stefanie Doll Updated child storage parameters (#1709)
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
@@ -14,6 +14,7 @@
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
5 Julien Eluard General WsProvider extensibility improvements (#5467)
5 Matias Volpe Bump @substrate/connect to 0.8.10 (#5863)
4 Alberto Nicolas Penayo fix: add support for `AuraUnincludedSegmentApi` (#5891)
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
4 Alex Wang fix issue that creates duplicate providers (#983)
4 Alexander Popiak Add asset id in signing (#4009)
@@ -33,7 +34,6 @@
3 Miguel Hervas Adding RT4 Types (#3007)
3 Shawn Tabrizi Add `isReadyOrError` when connecting to API (#2577)
3 YJ feat: Vote interface as U8a (#1061)
2 Alberto Nicolas Penayo updated remaining assetId for ChargeAssetTxPayment (#5763)
2 Alexander Krupenkin Add [u8; 33] type width for U8aFixed type (#2391)
2 Branan Riley Add proxy type for Centrifuge (#3940)
2 Caio Add `Range` and `RangeInclusive` types (#3791)
@@ -75,6 +75,7 @@
1 Ermal Kaleci fix cache key (rpc-provider) (#5745)
1 flex Change BeefySignedCommitment signatures type to EcdsaSignature (#4204)
1 Florian Franzen metadataMd: use endpoint for rpc and runtime details too (#5628)
1 Francis O'Brien fix: Re-subscribe to chain updates on reconnection if not a clone (#5794)
1 Furqan A fix: fixed 404 to the docs from the api readme (#3985)
1 Gérard Dethier Fix LRUCache memory leak. (#4520)
1 Gerben van de Wiel Adding some extra notes on changes in the specname (#2329)
+5 -5
View File
@@ -6,7 +6,7 @@
},
"homepage": "https://github.com/polkadot-js/api#readme",
"license": "Apache-2.0",
"packageManager": "yarn@4.1.1",
"packageManager": "yarn@4.2.2",
"private": true,
"repository": {
"type": "git",
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"versions": {
"git": "11.0.3",
"npm": "11.0.3"
"git": "11.2.1",
"npm": "11.2.1"
},
"workspaces": [
"packages/*"
@@ -40,7 +40,7 @@
"test:one": "polkadot-dev-run-test --env node"
},
"devDependencies": {
"@polkadot/dev": "^0.78.9",
"@polkadot/dev": "^0.79.1",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/node": "^20.11.6"
},
+6 -6
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "11.0.3",
"@polkadot/rpc-augment": "11.0.3",
"@polkadot/types": "11.0.3",
"@polkadot/types-augment": "11.0.3",
"@polkadot/types-codec": "11.0.3",
"@polkadot/api-base": "11.2.1",
"@polkadot/rpc-augment": "11.2.1",
"@polkadot/types": "11.2.1",
"@polkadot/types-augment": "11.2.1",
"@polkadot/types-codec": "11.2.1",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
}
+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: '11.0.3' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '11.2.1' };
@@ -2873,6 +2873,10 @@ declare module '@polkadot/api-base/types/errors' {
* staking settings to keep things safe for the runtime.
**/
TooManyValidators: AugmentedError<ApiType>;
/**
* Operation not allowed for virtual stakers.
**/
VirtualStakerNotAllowed: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -219,6 +219,10 @@ declare module '@polkadot/api-base/types/events' {
* Some asset class was created.
**/
Created: AugmentedEvent<ApiType, [assetId: u32, creator: AccountId32, owner: AccountId32], { assetId: u32, creator: AccountId32, owner: AccountId32 }>;
/**
* Some assets were deposited (e.g. for transaction fees).
**/
Deposited: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, amount: u128], { assetId: u32, who: AccountId32, amount: u128 }>;
/**
* An asset class was destroyed.
**/
@@ -272,6 +276,10 @@ declare module '@polkadot/api-base/types/events' {
* the approved `delegate`.
**/
TransferredApproved: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], { assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128 }>;
/**
* Some assets were withdrawn from the account (e.g. for transaction fees).
**/
Withdrawn: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, amount: u128], { assetId: u32, who: AccountId32, amount: u128 }>;
/**
* Generic event
**/
@@ -1558,6 +1566,10 @@ declare module '@polkadot/api-base/types/events' {
* Some asset class was created.
**/
Created: AugmentedEvent<ApiType, [assetId: u32, creator: AccountId32, owner: AccountId32], { assetId: u32, creator: AccountId32, owner: AccountId32 }>;
/**
* Some assets were deposited (e.g. for transaction fees).
**/
Deposited: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, amount: u128], { assetId: u32, who: AccountId32, amount: u128 }>;
/**
* An asset class was destroyed.
**/
@@ -1611,6 +1623,10 @@ declare module '@polkadot/api-base/types/events' {
* the approved `delegate`.
**/
TransferredApproved: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], { assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128 }>;
/**
* Some assets were withdrawn from the account (e.g. for transaction fees).
**/
Withdrawn: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, amount: u128], { assetId: u32, who: AccountId32, amount: u128 }>;
/**
* Generic event
**/
+10 -12
View File
@@ -1888,6 +1888,16 @@ declare module '@polkadot/api-base/types/storage' {
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
**/
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Indices of validators that have offended in the active era. The offenders are disabled for a
* whole era. For this reason they are kept here - only staking pallet knows about eras. The
* implementor of [`DisablingStrategy`] defines if a validator should be disabled which
* implicitly means that the implementor also controls the max number of disabled validators.
*
* The vec is always kept sorted so that we can find whether a given validator has previously
* offended using binary search.
**/
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Rewards for the last [`Config::HistoryDepth`] eras.
* If reward hasn't been set or has been removed then 0 reward is returned.
@@ -2056,18 +2066,6 @@ declare module '@polkadot/api-base/types/storage' {
* All slashing events on nominators, mapped by era to the highest slash value of the era.
**/
nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
/**
* Indices of validators that have offended in the active era and whether they are currently
* disabled.
*
* This value should be a superset of disabled validators since not all offences lead to the
* validator being disabled (if there was no slash). This is needed to track the percentage of
* validators that have offended in the current era, ensuring a new era is forced if
* `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find
* whether a given validator has previously offended using binary search. It gets cleared when
* the era ends.
**/
offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Where the reward payment should be made. Keyed by stash.
*
+16 -4
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensFungibleUnionOfNativeOrWithId, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParameters, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletBalancesAdjustmentDirection, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensFungibleUnionOfNativeOrWithId, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParameters, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletBalancesAdjustmentDirection, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -893,6 +893,16 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
balances: {
/**
* Burn the specified liquid free balance from the origin account.
*
* If the origin's account ends up below the existential deposit as a result
* of the burn and `keep_alive` is false, the account will be reaped.
*
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
* this `burn` operation will reduce total issuance by the amount _burned_.
**/
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
/**
* Adjust the total issuance in a saturating way.
*
@@ -978,7 +988,7 @@ declare module '@polkadot/api-base/types/submittable' {
* against the extracted offender. If both are valid, the offence
* will be reported.
**/
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyEquivocationProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyEquivocationProof, SpSessionMembershipProof]>;
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
/**
* Report voter equivocation/misbehavior. This method will verify the
* equivocation proof and validate the given key ownership proof
@@ -990,7 +1000,7 @@ declare module '@polkadot/api-base/types/submittable' {
* if the block author is defined it will be defined as the equivocation
* reporter.
**/
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyEquivocationProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyEquivocationProof, SpSessionMembershipProof]>;
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
/**
* Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
* future.
@@ -5737,7 +5747,8 @@ declare module '@polkadot/api-base/types/submittable' {
* - Three extra DB entries.
*
* NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
* unless the `origin` falls below _existential deposit_ and gets removed as dust.
* unless the `origin` falls below _existential deposit_ (or equal to 0) and gets removed
* as dust.
**/
bond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | { None: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PalletStakingRewardDestination]>;
/**
@@ -5958,6 +5969,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* 1. the `total_balance` of the stash is below existential deposit.
* 2. or, the `ledger.total` of the stash is below existential deposit.
* 3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero.
*
* The former can happen in cases like a slash; the latter when a fully unbonded account
* is still receiving staking rewards in `RewardDestination::Staked`.
+3 -3
View File
@@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "11.0.3",
"@polkadot/types": "11.0.3",
"@polkadot/rpc-core": "11.2.1",
"@polkadot/types": "11.2.1",
"@polkadot/util": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
+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: '11.0.3' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '11.2.1' };
+3 -1
View File
@@ -3,7 +3,7 @@
import type { Observable } from 'rxjs';
import type { AccountId, Address, ApplyExtrinsicResult, BlockNumber, Call, DispatchError, DispatchInfo, EventRecord, Extrinsic, ExtrinsicStatus, Hash, RuntimeDispatchInfo } from '@polkadot/types/interfaces';
import type { AnyFunction, AnyNumber, AnyTuple, Callback, CallBase, Codec, IExtrinsicEra, IKeyringPair, ISubmittableResult, Signer } from '@polkadot/types/types';
import type { AnyFunction, AnyNumber, AnyTuple, AnyU8a, Callback, CallBase, Codec, IExtrinsicEra, IKeyringPair, ISubmittableResult, Signer } from '@polkadot/types/types';
import type { ApiTypes, EmptyBase, PromiseOrObs } from './base.js';
export type AugmentedSubmittable<T extends AnyFunction, A extends AnyTuple = AnyTuple> = T & CallBase<A>;
@@ -17,6 +17,8 @@ export interface SignerOptions {
signer?: Signer;
tip?: AnyNumber;
assetId?: AnyNumber | object;
mode?: AnyNumber;
metadataHash?: AnyU8a;
}
export type SubmittableDryRunResult<ApiType extends ApiTypes> =
+8 -8
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/api": "11.0.3",
"@polkadot/api-augment": "11.0.3",
"@polkadot/types": "11.0.3",
"@polkadot/types-codec": "11.0.3",
"@polkadot/types-create": "11.0.3",
"@polkadot/api": "11.2.1",
"@polkadot/api-augment": "11.2.1",
"@polkadot/types": "11.2.1",
"@polkadot/types-codec": "11.2.1",
"@polkadot/types-create": "11.2.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api-augment": "11.0.3",
"@polkadot/api-augment": "11.2.1",
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-support": "11.0.3"
"@polkadot/types-support": "11.2.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: '11.0.3' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '11.2.1' };
+12 -12
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/api": "11.0.3",
"@polkadot/api-augment": "11.0.3",
"@polkadot/api-base": "11.0.3",
"@polkadot/rpc-core": "11.0.3",
"@polkadot/types": "11.0.3",
"@polkadot/types-codec": "11.0.3",
"@polkadot/api": "11.2.1",
"@polkadot/api-augment": "11.2.1",
"@polkadot/api-base": "11.2.1",
"@polkadot/rpc-core": "11.2.1",
"@polkadot/types": "11.2.1",
"@polkadot/types-codec": "11.2.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api": "11.0.3",
"@polkadot/api-augment": "11.0.3",
"@polkadot/rpc-augment": "11.0.3",
"@polkadot/rpc-provider": "11.0.3",
"@polkadot/types-support": "11.0.3"
"@polkadot/api": "11.2.1",
"@polkadot/api-augment": "11.2.1",
"@polkadot/rpc-augment": "11.2.1",
"@polkadot/rpc-provider": "11.2.1",
"@polkadot/types-support": "11.2.1"
}
}
+23 -3
View File
@@ -2,8 +2,8 @@
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
import type { Bytes, Data } from '@polkadot/types';
import type { AccountId } from '@polkadot/types/interfaces';
import type { Bytes, Data, Struct } from '@polkadot/types';
import type { AccountId, H160 } from '@polkadot/types/interfaces';
import type { PalletIdentityLegacyIdentityInfo, PalletIdentityRegistration } from '@polkadot/types/lookup';
import type { Option } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
@@ -17,9 +17,26 @@ import { firstMemo, memo } from '../util/index.js';
type IdentityInfoAdditional = PalletIdentityLegacyIdentityInfo['additional'][0];
interface PeopleIdentityInfo extends Struct {
display: Data;
legal: Data;
web: Data;
matrix: Data;
email: Data;
pgpFingerprint: Option<H160>;
image: Data;
twitter: Data;
github: Data;
discord: Data;
}
const UNDEF_HEX = { toHex: () => undefined };
function dataAsString (data: Data): string | undefined {
if (!data) {
return data;
}
return data.isRaw
? u8aToString(data.asRaw.toU8a(true))
: data.isNone
@@ -58,13 +75,16 @@ function extractIdentity (identityOfOpt?: Option<ITuple<[PalletIdentityRegistrat
const topDisplay = dataAsString(info.display);
return {
discord: dataAsString((info as unknown as PeopleIdentityInfo).discord),
display: (superOf && dataAsString(superOf[1])) || topDisplay,
displayParent: superOf && topDisplay,
email: dataAsString(info.email),
github: dataAsString((info as unknown as PeopleIdentityInfo).github),
image: dataAsString(info.image),
judgements,
legal: dataAsString(info.legal),
other: extractOther(info.additional),
matrix: dataAsString((info as unknown as PeopleIdentityInfo).matrix),
other: info.additional ? extractOther(info.additional) : {},
parent: superOf?.[0],
pgp: info.pgpFingerprint.unwrapOr(UNDEF_HEX).toHex(),
riot: dataAsString(info.riot),
@@ -8,11 +8,14 @@ export type AccountIdAndIndex = [AccountId | undefined, AccountIndex | undefined
export type AccountIndexes = Record<string, AccountIndex>;
export interface DeriveAccountRegistration {
discord?: string | undefined;
display?: string | undefined;
displayParent?: string | undefined;
email?: string | undefined;
github?: string | undefined;
image?: string | undefined;
legal?: string | undefined;
matrix?: string | undefined;
other?: Record<string, string> | undefined;
parent?: AccountId | undefined;
pgp?: string | undefined;
+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: '11.0.3' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '11.2.1' };
@@ -17,14 +17,16 @@ export function nextElected (instanceId: string, api: DeriveApi): () => Observab
// only populate for next era in the last session, so track both here - entries are not
// subscriptions, so we need a trigger - currentIndex acts as that trigger to refresh
switchMap(({ currentEra }) => api.query.staking.erasStakersPaged.keys(currentEra)),
map((keys) => keys.map(({ args: [, accountId] }) => accountId))
// Dedupe any duplicates
map((keys) => [...new Set(keys.map(({ args: [, accountId] }) => accountId.toString()))].map((a) => api.registry.createType('AccountId', a)))
)
: api.query.staking.erasStakers
? api.derive.session.indexes().pipe(
// only populate for next era in the last session, so track both here - entries are not
// subscriptions, so we need a trigger - currentIndex acts as that trigger to refresh
switchMap(({ currentEra }) => api.query.staking.erasStakers.keys(currentEra)),
map((keys) => keys.map(({ args: [, accountId] }) => accountId))
// Dedupe any duplicates
map((keys) => [...new Set(keys.map(({ args: [, accountId] }) => accountId.toString()))].map((a) => api.registry.createType('AccountId', a)))
)
: api.query.staking['currentElected']<AccountId[]>()
);
+14 -14
View File
@@ -18,21 +18,21 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "11.0.3",
"@polkadot/api-base": "11.0.3",
"@polkadot/api-derive": "11.0.3",
"@polkadot/api-augment": "11.2.1",
"@polkadot/api-base": "11.2.1",
"@polkadot/api-derive": "11.2.1",
"@polkadot/keyring": "^12.6.2",
"@polkadot/rpc-augment": "11.0.3",
"@polkadot/rpc-core": "11.0.3",
"@polkadot/rpc-provider": "11.0.3",
"@polkadot/types": "11.0.3",
"@polkadot/types-augment": "11.0.3",
"@polkadot/types-codec": "11.0.3",
"@polkadot/types-create": "11.0.3",
"@polkadot/types-known": "11.0.3",
"@polkadot/rpc-augment": "11.2.1",
"@polkadot/rpc-core": "11.2.1",
"@polkadot/rpc-provider": "11.2.1",
"@polkadot/types": "11.2.1",
"@polkadot/types-augment": "11.2.1",
"@polkadot/types-codec": "11.2.1",
"@polkadot/types-create": "11.2.1",
"@polkadot/types-known": "11.2.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"eventemitter3": "^5.0.1",
@@ -40,7 +40,7 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api-augment": "11.0.3",
"@polkadot/types-support": "11.0.3"
"@polkadot/api-augment": "11.2.1",
"@polkadot/types-support": "11.2.1"
}
}
+5
View File
@@ -244,6 +244,11 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
protected async _loadMeta (): Promise<boolean> {
// on re-connection to the same chain, we don't want to re-do everything from chain again
if (this._isReady) {
// on re-connection only re-subscribe to chain updates if we are not a clone
if (!this._options.source) {
this._subscribeUpdates();
}
return true;
}
+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: '11.0.3' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '11.2.1' };
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "11.0.3",
"@polkadot/types": "11.0.3",
"@polkadot/types-codec": "11.0.3",
"@polkadot/rpc-core": "11.2.1",
"@polkadot/types": "11.2.1",
"@polkadot/types-codec": "11.2.1",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
}
+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: '11.0.3' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '11.2.1' };
+5 -5
View File
@@ -18,18 +18,18 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "11.0.3",
"@polkadot/rpc-provider": "11.0.3",
"@polkadot/types": "11.0.3",
"@polkadot/rpc-augment": "11.2.1",
"@polkadot/rpc-provider": "11.2.1",
"@polkadot/types": "11.2.1",
"@polkadot/util": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/rpc-augment": "11.0.3"
"@polkadot/rpc-augment": "11.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '11.0.3' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '11.2.1' };
+3 -3
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types": "11.0.3",
"@polkadot/types-support": "11.0.3",
"@polkadot/types": "11.2.1",
"@polkadot/types-support": "11.2.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-fetch": "^12.6.2",
+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: '11.0.3' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '11.2.1' };
+10 -10
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
@@ -28,15 +28,15 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
},
"dependencies": {
"@polkadot/api": "11.0.3",
"@polkadot/api-augment": "11.0.3",
"@polkadot/rpc-augment": "11.0.3",
"@polkadot/rpc-provider": "11.0.3",
"@polkadot/types": "11.0.3",
"@polkadot/types-augment": "11.0.3",
"@polkadot/types-codec": "11.0.3",
"@polkadot/types-create": "11.0.3",
"@polkadot/types-support": "11.0.3",
"@polkadot/api": "11.2.1",
"@polkadot/api-augment": "11.2.1",
"@polkadot/rpc-augment": "11.2.1",
"@polkadot/rpc-provider": "11.2.1",
"@polkadot/types": "11.2.1",
"@polkadot/types-augment": "11.2.1",
"@polkadot/types-codec": "11.2.1",
"@polkadot/types-create": "11.2.1",
"@polkadot/types-support": "11.2.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-ws": "^12.6.2",
+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: '11.0.3' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '11.2.1' };
+3 -3
View File
@@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/types": "11.0.3",
"@polkadot/types-codec": "11.0.3",
"@polkadot/types": "11.2.1",
"@polkadot/types-codec": "11.2.1",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
}
@@ -2261,6 +2261,13 @@ export default {
Para: 'u32'
}
},
/**
* Lookup451: sp_consensus_beefy::EquivocationProof<Number, sp_consensus_beefy::ecdsa_crypto::Public, sp_consensus_beefy::ecdsa_crypto::Signature>
**/
SpConsensusBeefyEquivocationProof: {
first: 'SpConsensusBeefyVoteMessage',
second: 'SpConsensusBeefyVoteMessage'
},
/**
* Lookup466: polkadot_runtime_common::claims::pallet::Event<T>
**/
File diff suppressed because it is too large Load Diff
@@ -2248,6 +2248,12 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Para';
}
/** @name SpConsensusBeefyEquivocationProof (451) */
interface SpConsensusBeefyEquivocationProof extends Struct {
readonly first: SpConsensusBeefyVoteMessage;
readonly second: SpConsensusBeefyVoteMessage;
}
/** @name PolkadotRuntimeCommonClaimsPalletEvent (466) */
interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
readonly isClaimed: boolean;
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '11.0.3' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '11.2.1' };
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.6.2",
@@ -26,9 +26,9 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/types": "11.0.3",
"@polkadot/types-augment": "11.0.3",
"@polkadot/types-support": "11.0.3",
"@polkadot/types": "11.2.1",
"@polkadot/types-augment": "11.2.1",
"@polkadot/types-support": "11.2.1",
"@polkadot/util-crypto": "^12.6.2"
}
}
+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: '11.0.3' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '11.2.1' };
+3 -3
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "11.0.3",
"@polkadot/types-codec": "11.2.1",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/types": "11.0.3"
"@polkadot/types": "11.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '11.0.3' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '11.2.1' };
+5 -5
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^12.6.2",
"@polkadot/types": "11.0.3",
"@polkadot/types-codec": "11.0.3",
"@polkadot/types-create": "11.0.3",
"@polkadot/types": "11.2.1",
"@polkadot/types-codec": "11.2.1",
"@polkadot/types-create": "11.2.1",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api": "11.0.3"
"@polkadot/api": "11.2.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: '11.0.3' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '11.2.1' };
@@ -4860,5 +4860,169 @@ export const upgrades: ChainUpgradesExpanded = [
1
]
]
],
[
22790000,
1002000,
[
[
"0xdf6acb689907609b",
4
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
10
],
[
"0x49eaaf1b548a0cb0",
3
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xfbc577b9d747efd6",
1
]
]
],
[
23176015,
1002001,
[
[
"0xdf6acb689907609b",
4
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
10
],
[
"0x49eaaf1b548a0cb0",
3
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xfbc577b9d747efd6",
1
]
]
]
];
@@ -5502,5 +5502,91 @@ export const upgrades: ChainUpgradesExpanded = [
1
]
]
],
[
20649086,
1011000,
[
[
"0xdf6acb689907609b",
5
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
11
],
[
"0x49eaaf1b548a0cb0",
3
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0x6ff52ee858e6c5bd",
1
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xfbc577b9d747efd6",
1
]
]
]
];
@@ -21,5 +21,5 @@ export const upgrades: ChainUpgradesRaw = [
// we have 9340 via system.setStorage (whitelist.WhitelistedCallDispatched event)
[15680713, 9340], [15756296, 9350], [15912007, 9360], [16356547, 9370], [17335450, 9381],
[18062739, 9420], [18625000, 9430], [20465806, 1000000], [21570000, 1001000], [21786291, 1001002],
[22515962, 1001003]
[22515962, 1001003], [22790000, 1002000], [23176015, 1002001]
];
@@ -21,5 +21,5 @@ export const upgrades: ChainUpgradesRaw = [
[14849830, 9390], [15146832, 9400], [15332317, 9401], [15661793, 9420], [16165469, 9430],
[18293984, 102000], [18293991, 103000], [18451783, 104000], [18679741, 1005000], [19166695, 1006000],
[19234157, 1006001], [19542944, 1007000], [19621258, 1007001], [19761406, 1008000], [20056997, 1009000],
[20368318, 1010000]
[20368318, 1010000], [20649086, 1011000]
];
+1 -1
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.6.2",
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '11.0.3' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '11.2.1' };
+5 -5
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "11.0.3",
"version": "11.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-augment": "11.0.3",
"@polkadot/types-codec": "11.0.3",
"@polkadot/types-create": "11.0.3",
"@polkadot/types-augment": "11.2.1",
"@polkadot/types-codec": "11.2.1",
"@polkadot/types-create": "11.2.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"rxjs": "^7.8.1",
@@ -32,6 +32,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-support": "11.0.3"
"@polkadot/types-support": "11.2.1"
}
}
+11 -3
View File
@@ -5,7 +5,7 @@ import type { AnyJson, AnyTuple, AnyU8a, ArgsDef, IMethod, Inspect, IOption } fr
import type { HexString } from '@polkadot/util/types';
import type { EcdsaSignature, Ed25519Signature, ExtrinsicUnknown, ExtrinsicV4, Sr25519Signature } from '../interfaces/extrinsics/index.js';
import type { FunctionMetadataLatest } from '../interfaces/metadata/index.js';
import type { Address, Call, CodecHash } from '../interfaces/runtime/index.js';
import type { Address, Call, CodecHash, Hash } from '../interfaces/runtime/index.js';
import type { MultiLocation } from '../interfaces/types.js';
import type { CallBase, ExtrinsicPayloadValue, ICompact, IExtrinsic, IKeyringPair, INumber, Registry, SignatureOptions } from '../types/index.js';
import type { GenericExtrinsicEra } from './ExtrinsicEra.js';
@@ -195,10 +195,17 @@ abstract class ExtrinsicBase<A extends AnyTuple> extends AbstractBase<ExtrinsicV
/**
* @description Forward compat
*/
public get assetId (): IOption<INumber> | IOption<MultiLocation> {
public get assetId (): IOption<INumber | MultiLocation> {
return this.inner.signature.assetId;
}
/**
* @description Forward compat
*/
public get metadataHash (): IOption<Hash> {
return this.inner.signature.metadataHash;
}
/**
* @description Returns the raw transaction version (not flagged with signing information)
*/
@@ -324,8 +331,9 @@ export class GenericExtrinsic<A extends AnyTuple = AnyTuple> extends ExtrinsicBa
},
this.isSigned
? {
assetId: this.assetId.toHuman(isExpanded, disableAscii),
assetId: this.assetId ? this.assetId.toHuman(isExpanded, disableAscii) : null,
era: this.era.toHuman(isExpanded, disableAscii),
metadataHash: this.metadataHash ? this.metadataHash.toHex() : null,
nonce: this.nonce.toHuman(isExpanded, disableAscii),
signature: this.signature.toHex(),
signer: this.signer.toHuman(isExpanded, disableAscii),
@@ -6,7 +6,7 @@ import type { AnyJson, BareOpts, Registry } from '@polkadot/types-codec/types';
import type { HexString } from '@polkadot/util/types';
import type { BlockHash } from '../interfaces/chain/index.js';
import type { ExtrinsicPayloadV4 } from '../interfaces/extrinsics/index.js';
import type { MultiLocation } from '../interfaces/types.js';
import type { Hash, MultiLocation } from '../interfaces/types.js';
import type { ExtrinsicPayloadValue, ICompact, IKeyringPair, INumber, IOption } from '../types/index.js';
import type { GenericExtrinsicEra } from './ExtrinsicEra.js';
@@ -113,10 +113,17 @@ export class GenericExtrinsicPayload extends AbstractBase<ExtrinsicPayloadVx> {
/**
* @description The (optional) asset id as a [[u32]] or [[MultiLocation]] for this payload
*/
public get assetId (): IOption<INumber | IOption<MultiLocation>> {
public get assetId (): IOption<INumber | MultiLocation> {
return this.inner.assetId;
}
/**
* @description The (optional) [[Hash]] of the genesis metadata for this payload
*/
public get metadataHash (): IOption<Hash> {
return this.inner.metadataHash;
}
/**
* @description Compares the value of the input to see if there is a match
*/
@@ -17,11 +17,15 @@ registry.setMetadata(metadata);
describe('SignerPayload', (): void => {
const TEST = {
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
// eslint-disable-next-line sort-keys
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } },
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
blockNumber: '0x00231d30',
era: '0x0703',
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
metadataHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
method: '0x060000d7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c',
mode: 1,
nonce: '0x00001234',
signedExtensions: ['CheckNonce', 'CheckWeight'],
specVersion: '0x00000006',
@@ -34,11 +38,15 @@ describe('SignerPayload', (): void => {
expect(
new SignerPayload(registry, {
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
// eslint-disable-next-line sort-keys
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } },
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
blockNumber: '0x231d30',
era: registry.createType('ExtrinsicEra', { current: 2301232, period: 200 }),
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
metadataHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
method: registry.createType('Call', '0x060000d7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c'),
mode: 1,
nonce: 0x1234,
signedExtensions: ['CheckNonce'],
tip: 0x5678,
@@ -46,11 +54,15 @@ describe('SignerPayload', (): void => {
}).toPayload()
).toEqual({
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
// eslint-disable-next-line sort-keys
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } },
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
blockNumber: '0x00231d30',
era: '0x0703',
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
metadataHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
method: '0x060000d7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c',
mode: 1,
nonce: '0x00001234',
signedExtensions: ['CheckNonce'],
specVersion: '0x00000000',
@@ -71,25 +83,14 @@ describe('SignerPayload', (): void => {
).toEqual(true);
expect(
// @ts-expect-error We don't have getters for this field
test.toPayload().assetId
).toEqual({
// eslint-disable-next-line sort-keys
parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] }
});
).toEqual({ parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } });
expect(
// @ts-expect-error We don't have getters for this field
new SignerPayload(registry, { assetId: 0 }).toPayload().assetId
).toEqual({
// eslint-disable-next-line sort-keys
parents: 0, interior: { here: null }
});
expect(
// @ts-expect-error We don't have getters for this field
new SignerPayload(registry, TEST).toPayload().assetId
).toBeUndefined();
).toEqual({ parents: 0, interior: { here: null } });
});
it('re-constructs from JSON', (): void => {
@@ -126,11 +127,55 @@ describe('SignerPayload', (): void => {
expect(payload.blockHash.toHex()).toEqual(TEST.blockHash);
expect(payload.nonce.eq(TEST.nonce)).toBe(true);
expect(payload.tip.eq(TEST.tip)).toBe(true);
// @ts-expect-error assetId is of unknown type, so we don't know about "isSome"
expect(payload.inner?.get('assetId')?.isSome && payload.inner?.get('assetId')
expect(payload.assetId.isSome && payload.assetId
?.eq(registry.createType('MultiLocation', {
// eslint-disable-next-line sort-keys
parents: 0, interior: { X2: [{ palletInstance: 50 }, { generalIndex: 123 }] }
}))).toBe(true);
});
const TEST_WITHOUT_CHECK = {
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
blockNumber: '0x00231d30',
era: '0x0703',
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
method: '0x060000d7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c',
nonce: '0x00001234',
signedExtensions: [],
specVersion: '0x00000006',
tip: '0x00000000000000000000000000005678',
transactionVersion: '0x00000007',
version: 4
};
const PAYLOAD_WITHOUT_CHECK = {
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
assetId: null,
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
blockNumber: '0x00231d30',
era: '0x0703',
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
metadataHash: null,
method: '0x060000d7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c',
mode: 0,
nonce: '0x00001234',
signedExtensions: [],
specVersion: '0x00000006',
tip: '0x00000000000000000000000000005678',
transactionVersion: '0x00000007',
version: 4
};
it('can build SignerPayload without additional SignedExtensions', (): void => {
expect(
new SignerPayload(
registry,
{
...TEST_WITHOUT_CHECK,
runtimeVersion: { specVersion: 0x06, transactionVersion: 0x07 }
}
).toPayload()
).toEqual(PAYLOAD_WITHOUT_CHECK);
});
});
+18 -1
View File
@@ -12,11 +12,14 @@ import { objectProperty, objectSpread, u8aToHex } from '@polkadot/util';
export interface SignerPayloadType extends Codec {
address: Address;
assetId: IOption<INumber | MultiLocation>;
blockHash: Hash;
blockNumber: INumber;
era: ExtrinsicEra;
genesisHash: Hash;
metadataHash: IOption<Hash>;
method: Call;
mode: INumber;
nonce: ICompact<INumber>;
runtimeVersion: IRuntimeVersion;
signedExtensions: Vec<Text>;
@@ -26,11 +29,14 @@ export interface SignerPayloadType extends Codec {
const knownTypes: Record<string, string> = {
address: 'Address',
assetId: 'Option<TAssetConversion>',
blockHash: 'Hash',
blockNumber: 'BlockNumber',
era: 'ExtrinsicEra',
genesisHash: 'Hash',
metadataHash: 'Option<[u8;32]>',
method: 'Call',
mode: 'u8',
nonce: 'Compact<Index>',
runtimeVersion: 'RuntimeVersion',
signedExtensions: 'Vec<Text>',
@@ -104,7 +110,7 @@ export class GenericSignerPayload extends Struct implements ISignerPayload, Sign
return this.getT('tip');
}
get assetId (): IOption<INumber> | IOption<MultiLocation> {
get assetId (): IOption<INumber | MultiLocation> {
return this.getT('assetId');
}
@@ -112,6 +118,14 @@ export class GenericSignerPayload extends Struct implements ISignerPayload, Sign
return this.getT('version');
}
get mode (): INumber {
return this.getT('mode');
}
get metadataHash (): IOption<Hash> {
return this.getT('metadataHash');
}
/**
* @description Creates an representation of the structure as an ISignerPayload JSON
*/
@@ -139,11 +153,14 @@ export class GenericSignerPayload extends Struct implements ISignerPayload, Sign
// the known defaults as managed explicitly and has different
// formatting in cases, e.g. we mostly expose a hex format here
address: this.address.toString(),
assetId: this.assetId ? this.assetId.toJSON() : null,
blockHash: this.blockHash.toHex(),
blockNumber: this.blockNumber.toHex(),
era: this.era.toHex(),
genesisHash: this.genesisHash.toHex(),
metadataHash: this.metadataHash.isSome ? this.metadataHash.toHex() : null,
method: this.method.toHex(),
mode: this.mode.toNumber(),
nonce: this.nonce.toHex(),
signedExtensions: this.signedExtensions.map((e) => e.toString()),
specVersion: this.runtimeVersion.specVersion.toHex(),
@@ -5,6 +5,15 @@ import type { ExtDef, ExtInfo } from './types.js';
import { emptyCheck } from './emptyCheck.js';
const CheckMetadataHash: ExtInfo = {
extrinsic: {
mode: 'u8'
},
payload: {
metadataHash: 'Option<[u8;32]>'
}
};
const CheckMortality: ExtInfo = {
extrinsic: {
era: 'ExtrinsicEra'
@@ -31,6 +40,7 @@ export const substrate: ExtDef = {
genesisHash: 'Hash'
}
},
CheckMetadataHash,
CheckMortality,
CheckNonZeroSender: emptyCheck,
CheckNonce: {
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
import type { SignOptions } from '@polkadot/keyring/types';
import type { MultiLocation } from '@polkadot/types/interfaces';
import type { Hash, MultiLocation } from '@polkadot/types/interfaces';
import type { Bytes } from '@polkadot/types-codec';
import type { Inspect, Registry } from '@polkadot/types-codec/types';
import type { HexString } from '@polkadot/util/types';
@@ -105,10 +105,17 @@ export class GenericExtrinsicPayloadV4 extends Struct {
/**
* @description The (optional) asset id for this signature for chains that support transaction fees in assets
*/
public get assetId (): IOption<INumber | IOption<MultiLocation>> {
public get assetId (): IOption<INumber | MultiLocation> {
return this.getT('assetId');
}
/**
* @description The (optional) asset id for this signature for chains that support transaction fees in assets
*/
public get metadataHash (): IOption<Hash> {
return this.getT('metadataHash');
}
/**
* @description Sign the payload with the keypair
*/
@@ -4,7 +4,7 @@
import type { MultiLocation } from '@polkadot/types/interfaces';
import type { HexString } from '@polkadot/util/types';
import type { EcdsaSignature, Ed25519Signature, ExtrinsicEra, ExtrinsicSignature, Sr25519Signature } from '../../interfaces/extrinsics/index.js';
import type { Address, Call } from '../../interfaces/runtime/index.js';
import type { Address, Call, Hash } from '../../interfaces/runtime/index.js';
import type { ExtrinsicPayloadValue, ICompact, IExtrinsicSignature, IKeyringPair, INumber, IOption, Registry, SignatureOptions } from '../../types/index.js';
import type { ExtrinsicSignatureOptions } from '../types.js';
@@ -122,10 +122,17 @@ export class GenericExtrinsicSignatureV4 extends Struct implements IExtrinsicSig
/**
* @description The [[u32]] or [[MultiLocation]] assetId
*/
public get assetId (): IOption<INumber> | IOption<MultiLocation> {
public get assetId (): IOption<INumber | MultiLocation> {
return this.getT('assetId');
}
/**
* @description The [[Hash]] for the metadata
*/
public get metadataHash (): IOption<Hash> {
return this.getT('metadataHash');
}
protected _injectSignature (signer: Address, signature: ExtrinsicSignature, payload: GenericExtrinsicPayloadV4): IExtrinsicSignature {
// use the fields exposed to guide the getters
for (let i = 0, count = this.#signKeys.length; i < count; i++) {
@@ -4,6 +4,27 @@
import type { DefinitionsCall } from '../../types/index.js';
export const runtime: DefinitionsCall = {
AuraUnincludedSegmentApi: [
{
methods: {
can_build_upon: {
description: 'Whether it is legal to extend the chain',
params: [
{
name: 'includedHash',
type: 'BlockHash'
},
{
name: 'slot',
type: 'Slot'
}
],
type: 'bool'
}
},
version: 1
}
],
CollectCollationInfo: [
{
methods: {
@@ -281,8 +281,32 @@ const PH_V10: DefinitionsCallEntry['methods'] = {
}
};
const PH_V11: DefinitionsCallEntry['methods'] = {
claim_queue: {
description: 'Claim queue',
params: [],
type: 'BTreeMap<CoreIndex, Vec<u32>>'
}
};
export const runtime: DefinitionsCall = {
ParachainHost: [
{
methods: {
...PH_V1_TO_V2,
...PH_V2_TO_V3,
...PH_V3,
...PH_V4,
...PH_V5,
...PH_V6,
...PH_V7,
...PH_V8,
...PH_V9,
...PH_V10,
...PH_V11
},
version: 11
},
{
methods: {
...PH_V1_TO_V2,
+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: '11.0.3' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '11.2.1' };
+19
View File
@@ -35,6 +35,11 @@ export interface SignerPayloadJSON {
*/
address: string;
/**
* @description The id of the asset used to pay fees, in hex
*/
assetId?: number | object;
/**
* @description The checkpoint hash of the block, in hex
*/
@@ -55,11 +60,21 @@ export interface SignerPayloadJSON {
*/
genesisHash: HexString;
/**
* @description The metadataHash for the CheckMetadataHash SignedExtension, as hex
*/
metadataHash?: HexString;
/**
* @description The encoded method (with arguments) in hex
*/
method: string;
/**
* @description The mode for the CheckMetadataHash SignedExtension, in hex
*/
mode?: number;
/**
* @description The nonce for this transaction, in hex
*/
@@ -164,6 +179,8 @@ export interface SignatureOptions {
signer?: Signer;
tip?: AnyNumber;
assetId?: AnyNumber | object;
mode?: AnyNumber;
metadataHash?: Uint8Array | string;
}
interface ExtrinsicSignatureBase {
@@ -185,6 +202,8 @@ export interface ExtrinsicPayloadValue {
tip: AnyNumber;
transactionVersion: AnyNumber;
assetId?: AnyNumber | object;
mode?: AnyNumber;
metadataHash?: AnyU8a;
}
export interface IExtrinsicSignature extends ExtrinsicSignatureBase, Codec {
+94 -94
View File
@@ -444,26 +444,26 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@npm:11.0.3, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@npm:11.2.1, @polkadot/api-augment@workspace:packages/api-augment":
version: 0.0.0-use.local
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
dependencies:
"@polkadot/api-base": "npm:11.0.3"
"@polkadot/rpc-augment": "npm:11.0.3"
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-augment": "npm:11.0.3"
"@polkadot/types-codec": "npm:11.0.3"
"@polkadot/api-base": "npm:11.2.1"
"@polkadot/rpc-augment": "npm:11.2.1"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-augment": "npm:11.2.1"
"@polkadot/types-codec": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/api-base@npm:11.0.3, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@npm:11.2.1, @polkadot/api-base@workspace:packages/api-base":
version: 0.0.0-use.local
resolution: "@polkadot/api-base@workspace:packages/api-base"
dependencies:
"@polkadot/rpc-core": "npm:11.0.3"
"@polkadot/types": "npm:11.0.3"
"@polkadot/rpc-core": "npm:11.2.1"
"@polkadot/types": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
@@ -474,13 +474,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@polkadot/api": "npm:11.0.3"
"@polkadot/api-augment": "npm:11.0.3"
"@polkadot/api": "npm:11.2.1"
"@polkadot/api-augment": "npm:11.2.1"
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-codec": "npm:11.0.3"
"@polkadot/types-create": "npm:11.0.3"
"@polkadot/types-support": "npm:11.0.3"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-codec": "npm:11.2.1"
"@polkadot/types-create": "npm:11.2.1"
"@polkadot/types-support": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
rxjs: "npm:^7.8.1"
@@ -488,19 +488,19 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api-derive@npm:11.0.3, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@npm:11.2.1, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@polkadot/api": "npm:11.0.3"
"@polkadot/api-augment": "npm:11.0.3"
"@polkadot/api-base": "npm:11.0.3"
"@polkadot/rpc-augment": "npm:11.0.3"
"@polkadot/rpc-core": "npm:11.0.3"
"@polkadot/rpc-provider": "npm:11.0.3"
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-codec": "npm:11.0.3"
"@polkadot/types-support": "npm:11.0.3"
"@polkadot/api": "npm:11.2.1"
"@polkadot/api-augment": "npm:11.2.1"
"@polkadot/api-base": "npm:11.2.1"
"@polkadot/rpc-augment": "npm:11.2.1"
"@polkadot/rpc-core": "npm:11.2.1"
"@polkadot/rpc-provider": "npm:11.2.1"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-codec": "npm:11.2.1"
"@polkadot/types-support": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
rxjs: "npm:^7.8.1"
@@ -508,23 +508,23 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api@npm:11.0.3, @polkadot/api@workspace:packages/api":
"@polkadot/api@npm:11.2.1, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@polkadot/api-augment": "npm:11.0.3"
"@polkadot/api-base": "npm:11.0.3"
"@polkadot/api-derive": "npm:11.0.3"
"@polkadot/api-augment": "npm:11.2.1"
"@polkadot/api-base": "npm:11.2.1"
"@polkadot/api-derive": "npm:11.2.1"
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/rpc-augment": "npm:11.0.3"
"@polkadot/rpc-core": "npm:11.0.3"
"@polkadot/rpc-provider": "npm:11.0.3"
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-augment": "npm:11.0.3"
"@polkadot/types-codec": "npm:11.0.3"
"@polkadot/types-create": "npm:11.0.3"
"@polkadot/types-known": "npm:11.0.3"
"@polkadot/types-support": "npm:11.0.3"
"@polkadot/rpc-augment": "npm:11.2.1"
"@polkadot/rpc-core": "npm:11.2.1"
"@polkadot/rpc-provider": "npm:11.2.1"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-augment": "npm:11.2.1"
"@polkadot/types-codec": "npm:11.2.1"
"@polkadot/types-create": "npm:11.2.1"
"@polkadot/types-known": "npm:11.2.1"
"@polkadot/types-support": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
eventemitter3: "npm:^5.0.1"
@@ -533,34 +533,34 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/dev-test@npm:^0.78.9":
version: 0.78.9
resolution: "@polkadot/dev-test@npm:0.78.9"
"@polkadot/dev-test@npm:^0.79.1":
version: 0.79.1
resolution: "@polkadot/dev-test@npm:0.79.1"
dependencies:
jsdom: "npm:^24.0.0"
tslib: "npm:^2.6.2"
checksum: 10/84d70e797a2d8c5cce12db044308548151cf4289e94ec9569f3852d7cf7ea545abaa595018e4cb14f57bab6c1b050792ed2b788c8d985ae8c594ae9b964a20ac
checksum: 10/36bd5fcdf2e444cdd8054567d3d9ab6b53657df0b42e7e0e79097458172b3e60dcf13daa524874d718334d590f008813141a2752099d302c314f762ad30b4890
languageName: node
linkType: hard
"@polkadot/dev-ts@npm:^0.78.9":
version: 0.78.9
resolution: "@polkadot/dev-ts@npm:0.78.9"
"@polkadot/dev-ts@npm:^0.79.1":
version: 0.79.1
resolution: "@polkadot/dev-ts@npm:0.79.1"
dependencies:
json5: "npm:^2.2.3"
tslib: "npm:^2.6.2"
typescript: "npm:^5.3.3"
checksum: 10/04294e766f492e4eb0447e6516487be4643da8b70054ad925f360b8110c2549e0e55821e8ebaa9141cf7795fe1ea814fb6151a6c0d1967377704ab90974a9825
checksum: 10/027a6570d19a54328e6ebca0ffe2cf532c6faebd75702abb3531a8b53168d1f35e0259b15e41760f601a912516ff46bd522f82127a0d475fb6c88e293e5449a5
languageName: node
linkType: hard
"@polkadot/dev@npm:^0.78.9":
version: 0.78.9
resolution: "@polkadot/dev@npm:0.78.9"
"@polkadot/dev@npm:^0.79.1":
version: 0.79.1
resolution: "@polkadot/dev@npm:0.79.1"
dependencies:
"@eslint/js": "npm:^8.56.0"
"@polkadot/dev-test": "npm:^0.78.9"
"@polkadot/dev-ts": "npm:^0.78.9"
"@polkadot/dev-test": "npm:^0.79.1"
"@polkadot/dev-ts": "npm:^0.79.1"
"@rollup/plugin-alias": "npm:^5.1.0"
"@rollup/plugin-commonjs": "npm:^25.0.7"
"@rollup/plugin-dynamic-import-vars": "npm:^2.1.2"
@@ -625,7 +625,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: 10/0658fda631302a895e1fdf0a4cf60baba0fd52e78ebed4df5e3c2555ad6dd78e9982e9514ca54e8f5a0d85a6d7049c9684136012c8751ae30ec095d3fad72d00
checksum: 10/2a7bbd5da088a091c64d5e6b1e9215d0a82058702bc93bca43b2be941af0eb1de515356df9609cb179e0729dfe287dfea935e243afb71cf10cc055877c6edd6e
languageName: node
linkType: hard
@@ -654,39 +654,39 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-augment@npm:11.0.3, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@npm:11.2.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
dependencies:
"@polkadot/rpc-core": "npm:11.0.3"
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-codec": "npm:11.0.3"
"@polkadot/rpc-core": "npm:11.2.1"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-codec": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/rpc-core@npm:11.0.3, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@npm:11.2.1, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/rpc-augment": "npm:11.0.3"
"@polkadot/rpc-provider": "npm:11.0.3"
"@polkadot/types": "npm:11.0.3"
"@polkadot/rpc-augment": "npm:11.2.1"
"@polkadot/rpc-provider": "npm:11.2.1"
"@polkadot/types": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@npm:11.0.3, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@npm:11.2.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-support": "npm:11.0.3"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-support": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/x-fetch": "npm:^12.6.2"
@@ -707,15 +707,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/typegen@workspace:packages/typegen"
dependencies:
"@polkadot/api": "npm:11.0.3"
"@polkadot/api-augment": "npm:11.0.3"
"@polkadot/rpc-augment": "npm:11.0.3"
"@polkadot/rpc-provider": "npm:11.0.3"
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-augment": "npm:11.0.3"
"@polkadot/types-codec": "npm:11.0.3"
"@polkadot/types-create": "npm:11.0.3"
"@polkadot/types-support": "npm:11.0.3"
"@polkadot/api": "npm:11.2.1"
"@polkadot/api-augment": "npm:11.2.1"
"@polkadot/rpc-augment": "npm:11.2.1"
"@polkadot/rpc-provider": "npm:11.2.1"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-augment": "npm:11.2.1"
"@polkadot/types-codec": "npm:11.2.1"
"@polkadot/types-create": "npm:11.2.1"
"@polkadot/types-support": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/x-ws": "npm:^12.6.2"
@@ -732,24 +732,24 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@npm:11.0.3, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@npm:11.2.1, @polkadot/types-augment@workspace:packages/types-augment":
version: 0.0.0-use.local
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
dependencies:
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-codec": "npm:11.0.3"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-codec": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/types-codec@npm:11.0.3, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@npm:11.2.1, @polkadot/types-codec@workspace:packages/types-codec":
version: 0.0.0-use.local
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
dependencies:
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-augment": "npm:11.0.3"
"@polkadot/types-support": "npm:11.0.3"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-augment": "npm:11.2.1"
"@polkadot/types-support": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/x-bigint": "npm:^12.6.2"
@@ -757,32 +757,32 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-create@npm:11.0.3, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@npm:11.2.1, @polkadot/types-create@workspace:packages/types-create":
version: 0.0.0-use.local
resolution: "@polkadot/types-create@workspace:packages/types-create"
dependencies:
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-codec": "npm:11.0.3"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-codec": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/types-known@npm:11.0.3, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@npm:11.2.1, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@polkadot/api": "npm:11.0.3"
"@polkadot/api": "npm:11.2.1"
"@polkadot/networks": "npm:^12.6.2"
"@polkadot/types": "npm:11.0.3"
"@polkadot/types-codec": "npm:11.0.3"
"@polkadot/types-create": "npm:11.0.3"
"@polkadot/types": "npm:11.2.1"
"@polkadot/types-codec": "npm:11.2.1"
"@polkadot/types-create": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/types-support@npm:11.0.3, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@npm:11.2.1, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -791,15 +791,15 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@npm:11.0.3, @polkadot/types@workspace:packages/types":
"@polkadot/types@npm:11.2.1, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/types-augment": "npm:11.0.3"
"@polkadot/types-codec": "npm:11.0.3"
"@polkadot/types-create": "npm:11.0.3"
"@polkadot/types-support": "npm:11.0.3"
"@polkadot/types-augment": "npm:11.2.1"
"@polkadot/types-codec": "npm:11.2.1"
"@polkadot/types-create": "npm:11.2.1"
"@polkadot/types-support": "npm:11.2.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
rxjs: "npm:^7.8.1"
@@ -7942,7 +7942,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@polkadot/dev": "npm:^0.78.9"
"@polkadot/dev": "npm:^0.79.1"
"@polkadot/typegen": "workspace:packages/typegen"
"@types/node": "npm:^20.11.6"
languageName: unknown