Compare commits

..
44 Commits
Author SHA1 Message Date
github-actions[bot] 72d1326de6 [CI Skip] release/stable 12.4.1
skip-checks: true
2024-08-19 18:49:45 +00:00
Tarik Gul 27de09999c 12.4.1 (#5958)
* 12.4.1

* Extra info in the changelog
2024-08-19 21:42:10 +03:00
github-actions[bot] 55c6a4f267 [CI Skip] bump/beta 12.3.2-5-x
skip-checks: true
2024-08-19 17:54:03 +00:00
Tarik Gul 92dfe00851 Revise api.derive.balances.all to include ED when necessary (#5957) 2024-08-19 13:46:21 -04:00
github-actions[bot] f82c572704 [CI Skip] bump/beta 12.3.2-4-x
skip-checks: true
2024-08-19 02:21:32 +00:00
Tarik Gul 119f88e6d2 Fix transferable formula (#5956)
* Fix transferable formula

* nits
2024-08-19 05:13:50 +03:00
github-actions[bot] e5dc4065ff [CI Skip] bump/beta 12.3.2-3-x
skip-checks: true
2024-08-18 21:58:52 +00:00
Tarik Gul e2b4e0d3e6 Rework api.derive.balance.{account, all} to work with the new frame account data (#5955)
* Rework api.derive.balance.account to work with the new frame account data

* Ensure api.derive.balances.all correctly returns transferable

* Remove null from transferable

* set back to null
2024-08-19 00:51:19 +03:00
github-actions[bot] 1921d75d01 [CI Skip] bump/beta 12.3.2-2-x
skip-checks: true
2024-08-17 01:22:11 +00:00
Tarik Gul 216435e1a1 Update general deps (patch only) (#5954) 2024-08-17 04:14:29 +03:00
github-actions[bot] 86398e21f8 [CI Skip] bump/beta 12.3.2-1-x
skip-checks: true
2024-08-15 12:04:20 +00:00
gupnikandNikhil Gupta fd84892dac Adds a check for tip in Submittable (#5953)
Co-authored-by: Nikhil Gupta <>
2024-08-15 07:56:47 -04:00
github-actions[bot] 2329af239e [CI Skip] bump/beta 12.3.2-0-x
skip-checks: true
2024-08-09 14:17:05 +00:00
Tarik Gul f95f36110f Bump yarn to 4.4.0 (#5952) 2024-08-09 17:09:30 +03:00
github-actions[bot] 3b7b44f048 [CI Skip] release/stable 12.3.1
skip-checks: true
2024-08-05 19:02:40 +00:00
Tarik Gul a1e7566114 12.3.1 (#5951) 2024-08-05 21:54:54 +03:00
github-actions[bot] ec4ec4fa5e [CI Skip] bump/beta 12.2.4-4-x
skip-checks: true
2024-08-05 17:23:01 +00:00
Tarik Gul cf26e34008 Support for BeefyApi v4 (#5950) 2024-08-05 20:15:13 +03:00
github-actions[bot] 15c440d72f [CI Skip] bump/beta 12.2.4-3-x
skip-checks: true
2024-08-05 15:42:49 +00:00
Tarik Gul 9b9c621265 Update substrate types via metadata (#5949) 2024-08-05 18:35:16 +03:00
github-actions[bot] eb7fd94c20 [CI Skip] bump/beta 12.2.4-2-x
skip-checks: true
2024-08-01 12:08:05 +00:00
Tarik Gul 54baf26d4f Upgrade known Polkadot and Westend CodeUpdated blocks (#5948) 2024-08-01 15:00:25 +03:00
github-actions[bot] 1ab7475a58 [CI Skip] bump/beta 12.2.4-1-x
skip-checks: true
2024-08-01 11:11:41 +00:00
Przemek Rzad b5adbe72f8 Increase Vec max length (#5947) 2024-08-01 07:03:57 -04:00
github-actions[bot] 778d79a9a5 [CI Skip] bump/beta 12.2.4-0-x
skip-checks: true
2024-07-30 03:15:35 +00:00
Jeeyong Um cd4b5e36dd Revert "Alias for Noir types (#5678)" (#5946)
This reverts commit d946a99a35.
2024-07-29 23:08:02 -04:00
github-actions[bot] 9de00f5a46 [CI Skip] release/stable 12.2.3
skip-checks: true
2024-07-29 19:44:17 +00:00
Tarik Gul 60e8148e8c 12.2.3 (#5945) 2024-07-29 22:36:39 +03:00
github-actions[bot] 56358b1016 [CI Skip] bump/beta 12.2.3-0-x
skip-checks: true
2024-07-29 11:36:06 +00:00
Branislav Kontur 68ce512573 Fix for fungiblesApi (#5944) 2024-07-29 07:28:13 -04:00
github-actions[bot] b0b2145d15 [CI Skip] release/stable 12.2.2
skip-checks: true
2024-07-25 10:17:59 +00:00
Tarik Gul ab683fb3f8 12.2.2 (#5943) 2024-07-25 13:10:33 +03:00
github-actions[bot] bfb92e6d8b [CI Skip] bump/beta 12.2.2-0-x
skip-checks: true
2024-07-17 22:18:39 +00:00
Tarik Gul 65b019e635 Fix toHuman error on mode (#5940) 2024-07-18 01:11:11 +03:00
github-actions[bot] dac94c5196 [CI Skip] release/stable 12.2.1
skip-checks: true
2024-07-13 20:02:35 +00:00
Tarik Gul 83204f15fc 12.2.1 (#5939) 2024-07-13 22:55:12 +03:00
github-actions[bot] fe6473351c [CI Skip] bump/beta 12.1.2-3-x
skip-checks: true
2024-07-13 19:29:42 +00:00
Tarik Gul 90efba4c36 Bump yarn to 4.3.1 (#5938) 2024-07-13 22:22:11 +03:00
github-actions[bot] 771d06b2a2 [CI Skip] bump/beta 12.1.2-2-x
skip-checks: true
2024-07-13 18:51:30 +00:00
Tarik Gul 217da1451a Update Polkadot 1002006 types-known (#5937) 2024-07-13 21:43:52 +03:00
github-actions[bot] f92f2ea357 [CI Skip] bump/beta 12.1.2-1-x
skip-checks: true
2024-07-13 18:21:05 +00:00
Tarik Gul 38a978b9be Bump substrate to latest (#5936)
* Bump substrate to latest

* Fix issues
2024-07-13 21:13:34 +03:00
github-actions[bot] 0945d26c03 [CI Skip] bump/beta 12.1.2-0-x
skip-checks: true
2024-07-13 01:06:21 +00:00
Tarik Gul 3f38963e85 Bump common to 13.0.2 (#5935) 2024-07-13 03:58:41 +03:00
69 changed files with 7939 additions and 6531 deletions
-894
View File
File diff suppressed because one or more lines are too long
+925
View File
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.2.2.cjs
yarnPath: .yarn/releases/yarn-4.4.0.cjs
+57
View File
@@ -1,5 +1,62 @@
# CHANGELOG
## 12.4.1 Aug 16, 2024
Contributed:
- Add a check for tip in Submittable (Thanks to https://github.com/gupnik) ([#5953](https://github.com/polkadot-js/api/pull/5953))
Changes:
- Bump yarn to 4.4.0 ([#5952](https://github.com/polkadot-js/api/pull/5952))
- Update General Deps (patch only) ([#5954](https://github.com/polkadot-js/api/pull/5954))
- Rework api.derive.balance.{account, all} to work with the new frame account data ([#5955](https://github.com/polkadot-js/api/pull/5955))
- Adds `transferable` and `frameSystemAccountInfo` to the output of `api.derive.balance.all`
- Revise api.derive.balances.all to include ED when necessary ([#5957](https://github.com/polkadot-js/api/pull/5957))
- Fixes the formula used for transferable balance
## 12.3.1 Aug 5, 2024
Contributed:
- Revert alias for Noir types (Thanks to https://github.com/conr2d) ([#5946](https://github.com/polkadot-js/api/pull/5946))
- Increase Vec Max Length (Thanks to https://github.com/rzadp) ([#5947](https://github.com/polkadot-js/api/pull/5947))
Changes:
- Upgrade known Polkadot and Westend CodeUpdated blocks ([#5948](https://github.com/polkadot-js/api/pull/5948))
- Update substrate types via metadata ([#5949](https://github.com/polkadot-js/api/pull/5949))
- Note: Please review the above PR for any changes to the augmented types.
- Support for BeefyApi v4 ([#5950](https://github.com/polkadot-js/api/pull/5950))
## 12.2.3 July 29, 2024
Contributed:
- Fix Fungible Api (Thanks to https://github.com/bkontur)
## 12.2.2 July 25, 2024
Changes:
- Fix toHuman error on mode
## 12.2.1 July 13, 2024
Changes:
- Bump polkadot/common to 13.0.2
- This contains the latest changes to the Ledger interface in `@polkadot/hw-ledger`. For more info please see ([13.0.1](https://github.com/polkadot-js/common/releases/tag/v13.0.1))
- Bump Substrate Metadata to Latest
- This includes additions and removals to the api's type augmentation. For more info please see ([#5936](https://github.com/polkadot-js/api/pull/5936))
- Update Polkadot 1002006 types-known
- Bump yarn to 4.3.1
## 12.1.1 July 2, 2024
Contributed:
+5 -3
View File
@@ -1,6 +1,6 @@
3512 Jaco Bump deps (#5785)
90 Tarik Gul 12.4.1 (#5958)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
72 Tarik Gul 12.1.1 (#5932)
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)
@@ -10,8 +10,8 @@
11 Ian He HttpProvider support clone() (#3949)
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
6 Andreea Eftene Update check for contract instantiation (#5699)
6 Branislav Kontur Fix for fungiblesApi (#5944)
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
5 Branislav Kontur Adjusted `LocationToAccountApi` (#5919)
5 Chevdor Fix metadata package link (#3458)
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
5 Julien Eluard General WsProvider extensibility improvements (#5467)
@@ -29,6 +29,7 @@
3 Ewa Kowalska Handle no council for bounties proposals (#3062)
3 hamidra add support for n key entries for NMaps (#3886)
3 Hamza Tokuchi more typos (#2532)
3 Jeeyong Um Revert "Alias for Noir types (#5678)" (#5946)
3 Josep M Sobrepere docs: improve rpc-provider README (#4719)
3 KarishmaBothara Backward compatibility thing (#3511)
3 Miguel Hervas Adding RT4 Types (#3007)
@@ -42,7 +43,6 @@
2 Jakub Pánik All heads subscription (#1899)
2 James Lefrère Add `.eq()` usage to docs and fix docs typos (#1405)
2 Javier Viola add muln(2), as was in the old code (#5829)
2 Jeeyong Um Alias for Noir types (#5678)
2 Jegor Sidorenko Use Box<XcmV3MultiLocation> instead of MultiAssetId (#5700)
2 Keith Yeung Allow keyPrefix to accept an additional argument for double maps (#2230)
2 MOZGIII Follow-up fix after #4665 (#4666)
@@ -80,6 +80,7 @@
1 Gérard Dethier Fix LRUCache memory leak. (#4520)
1 Gerben van de Wiel Adding some extra notes on changes in the specname (#2329)
1 girazoki Implement xcm payment api (#5911)
1 gupnik Adds a check for tip in Submittable (#5953)
1 HackFisher fix OutboundLaneData types (#3992)
1 Hoani Bryson Multiple Endpoint support for WsProvider (#2234)
1 Hyungsuk Kang Update fees.ts (#1014)
@@ -112,6 +113,7 @@
1 philipstanislaus Update types for centrifuge chain v1.2.0 (#2424)
1 Pierre Krieger Update substrate/connect to 0.7.6 (#4940)
1 polymath-eric Allow unset external signer (#5649)
1 Przemek Rzad Increase Vec max length (#5947)
1 Qinxuan Chen Add fp_account::AccountId20 mapping (#5551)
1 qiuhao update DeriveCustom type (#2581)
1 r0t0r-r0t0r Fix memory leak on raw rpc call (#4505)
+5 -5
View File
@@ -6,7 +6,7 @@
},
"homepage": "https://github.com/polkadot-js/api#readme",
"license": "Apache-2.0",
"packageManager": "yarn@4.2.2",
"packageManager": "yarn@4.4.0",
"private": true,
"repository": {
"type": "git",
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"versions": {
"git": "12.1.1",
"npm": "12.1.1"
"git": "12.4.1",
"npm": "12.4.1"
},
"workspaces": [
"packages/*"
@@ -42,7 +42,7 @@
"devDependencies": {
"@polkadot/dev": "^0.79.3",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/node": "^20.11.6"
"@types/node": "^20.15.0"
},
"resolutions": {
"typescript": "^5.3.3"
+8 -8
View File
@@ -18,15 +18,15 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "12.1.1",
"@polkadot/rpc-augment": "12.1.1",
"@polkadot/types": "12.1.1",
"@polkadot/types-augment": "12.1.1",
"@polkadot/types-codec": "12.1.1",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
"@polkadot/api-base": "12.4.1",
"@polkadot/rpc-augment": "12.4.1",
"@polkadot/types": "12.4.1",
"@polkadot/types-augment": "12.4.1",
"@polkadot/types-codec": "12.4.1",
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.3"
}
}
+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: '12.1.1' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '12.4.1' };
+5 -13
View File
@@ -353,6 +353,11 @@ declare module '@polkadot/api-base/types/consts' {
* The maximum allowable length in bytes for storage keys.
**/
maxStorageKeyLen: u32 & AugmentedConst<ApiType>;
/**
* The maximum size of the transient storage in bytes.
* This includes keys, values, and previous entries used for storage rollback.
**/
maxTransientStorageSize: u32 & AugmentedConst<ApiType>;
/**
* Cost schedule and limits.
**/
@@ -1629,19 +1634,6 @@ declare module '@polkadot/api-base/types/consts' {
* The period during which an approved treasury spend has to be claimed.
**/
payoutPeriod: u32 & AugmentedConst<ApiType>;
/**
* Fraction of a proposal's value that should be bonded in order to place the proposal.
* An accepted proposal gets these back. A rejected proposal does not.
**/
proposalBond: Permill & AugmentedConst<ApiType>;
/**
* Maximum amount of funds that should be placed in a deposit for making a proposal.
**/
proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
/**
* Minimum amount of funds that should be placed in a deposit for making a proposal.
**/
proposalBondMinimum: u128 & AugmentedConst<ApiType>;
/**
* Period between successive spends.
**/
+34 -6
View File
@@ -314,6 +314,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset is not live, and likely being destroyed.
**/
AssetNotLive: AugmentedError<ApiType>;
/**
* The asset ID must be equal to the [`NextAssetId`].
**/
BadAssetId: AugmentedError<ApiType>;
/**
* Invalid metadata given.
**/
@@ -480,9 +484,21 @@ declare module '@polkadot/api-base/types/errors' {
**/
InvalidConfiguration: AugmentedError<ApiType>;
/**
* An equivocation proof provided as part of an equivocation report is invalid.
* A double voting proof provided as part of an equivocation report is invalid.
**/
InvalidEquivocationProof: AugmentedError<ApiType>;
InvalidDoubleVotingProof: AugmentedError<ApiType>;
/**
* The session of the equivocation proof is invalid
**/
InvalidEquivocationProofSession: AugmentedError<ApiType>;
/**
* A fork voting proof provided as part of an equivocation report is invalid.
**/
InvalidForkVotingProof: AugmentedError<ApiType>;
/**
* A future block voting proof provided as part of an equivocation report is invalid.
**/
InvalidFutureBlockVotingProof: AugmentedError<ApiType>;
/**
* A key ownership proof provided as part of an equivocation report is invalid.
**/
@@ -797,6 +813,10 @@ declare module '@polkadot/api-base/types/errors' {
* The executed contract exhausted its gas limit.
**/
OutOfGas: AugmentedError<ApiType>;
/**
* Can not add more data to transient storage.
**/
OutOfTransientStorage: AugmentedError<ApiType>;
/**
* The output buffer supplied to a contract API call was too small.
**/
@@ -2079,6 +2099,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset is not live, and likely being destroyed.
**/
AssetNotLive: AugmentedError<ApiType>;
/**
* The asset ID must be equal to the [`NextAssetId`].
**/
BadAssetId: AugmentedError<ApiType>;
/**
* Invalid metadata given.
**/
@@ -2164,6 +2188,10 @@ declare module '@polkadot/api-base/types/errors' {
* Preimage has already been noted on-chain.
**/
AlreadyNoted: AugmentedError<ApiType>;
/**
* No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
**/
NoCost: AugmentedError<ApiType>;
/**
* The user is not authorized to perform this action.
**/
@@ -2276,6 +2304,10 @@ declare module '@polkadot/api-base/types/errors' {
* The new member to exchange is the same as the old member
**/
SameMember: AugmentedError<ApiType>;
/**
* The max member count for the rank has been reached.
**/
TooManyMembers: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -3182,10 +3214,6 @@ declare module '@polkadot/api-base/types/errors' {
* amount to be spent.
**/
InsufficientPermission: AugmentedError<ApiType>;
/**
* Proposer's balance is too low.
**/
InsufficientProposersBalance: AugmentedError<ApiType>;
/**
* No proposal, bounty or spend at that index.
**/
+6 -10
View File
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -690,7 +690,7 @@ declare module '@polkadot/api-base/types/events' {
/**
* Parameters for the pallet have changed.
**/
ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsType], { params: PalletCoreFellowshipParamsType }>;
ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsTypeU128], { params: PalletCoreFellowshipParamsTypeU128 }>;
/**
* Member has been promoted to the given rank.
**/
@@ -933,6 +933,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
glutton: {
/**
* The block length limit has been updated.
**/
BlockLengthLimitSet: AugmentedEvent<ApiType, [blockLength: u64], { blockLength: u64 }>;
/**
* The computation limit has been updated.
**/
@@ -2422,14 +2426,6 @@ declare module '@polkadot/api-base/types/events' {
* A payment failed and can be retried.
**/
PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: Null], { index: u32, paymentId: Null }>;
/**
* New proposal.
**/
Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], { proposalIndex: u32 }>;
/**
* A proposal was rejected; funds were slashed.
**/
Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], { proposalIndex: u32, slashed: u128 }>;
/**
* Spending has finished; this is the amount that rolls over until next spend.
**/
+39 -4
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, 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 { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerPoolIoRecord, PalletBrokerPotentialRenewalId, PalletBrokerPotentialRenewalRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerOnDemandRevenueRecord, PalletBrokerPoolIoRecord, PalletBrokerPotentialRenewalId, PalletBrokerPotentialRenewalRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -132,6 +132,18 @@ declare module '@polkadot/api-base/types/storage' {
* Metadata of an asset.
**/
metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
* item has no effect.
*
* This can be useful for setting up constraints for IDs of the new assets. For example, by
* providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
* auto-increment model can be applied to all new asset IDs.
*
* The initial next asset ID can be set using the [`GenesisConfig`] or the
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
**/
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -305,11 +317,11 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Freeze locks on account balances.
**/
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Holds on account balances.
**/
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* The total units of outstanding deactivated balance in the system.
**/
@@ -434,6 +446,10 @@ declare module '@polkadot/api-base/types/storage' {
* The Polkadot Core reservations (generally tasked with the maintenance of System Chains).
**/
reservations: AugmentedQuery<ApiType, () => Observable<Vec<Vec<PalletBrokerScheduleItem>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Received revenue info from the relay chain.
**/
revenueInbox: AugmentedQuery<ApiType, () => Observable<Option<PalletBrokerOnDemandRevenueRecord>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The details of the current sale, including its properties and status.
**/
@@ -573,7 +589,7 @@ declare module '@polkadot/api-base/types/storage' {
/**
* The overall status of the system.
**/
params: AugmentedQuery<ApiType, () => Observable<PalletCoreFellowshipParamsType>, []> & QueryableStorageEntry<ApiType, []>;
params: AugmentedQuery<ApiType, () => Observable<PalletCoreFellowshipParamsTypeU128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -844,6 +860,13 @@ declare module '@polkadot/api-base/types/storage' {
* over `1.0` could stall the chain.
**/
compute: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The proportion of the `block length` to consume on each block.
*
* `1.0` is mapped to `100%`. Must be at most [`crate::RESOURCE_HARD_LIMIT`]. Setting this to
* over `1.0` could stall the chain.
**/
length: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The proportion of the remaining `proof_size` to consume during `on_idle`.
*
@@ -1440,6 +1463,18 @@ declare module '@polkadot/api-base/types/storage' {
* Metadata of an asset.
**/
metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
* item has no effect.
*
* This can be useful for setting up constraints for IDs of the new assets. For example, by
* providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
* auto-increment model can be applied to all new asset IDs.
*
* The initial next asset ID can be set using the [`GenesisConfig`] or the
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
**/
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U64, Vec, bool, u128, u32 } from '@po
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { TAssetBalance } from '@polkadot/types/interfaces/assets';
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
import type { BeefyEquivocationProof, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
import type { ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
@@ -29,7 +29,7 @@ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
import type { StatementStoreInvalidStatement, StatementStoreStatementSource, StatementStoreValidStatement } from '@polkadot/types/interfaces/statement';
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
import type { SpStatementStoreStatement, StagingXcmV3MultiLocation } from '@polkadot/types/lookup';
import type { SpConsensusBeefyDoubleVotingProof, SpStatementStoreStatement, StagingXcmV3MultiLocation } from '@polkadot/types/lookup';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -120,7 +120,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x49eaaf1b548a0cb0/3 */
/** 0x49eaaf1b548a0cb0/4 */
beefyApi: {
/**
* Return the block number where BEEFY consensus is enabled/started
@@ -131,9 +131,9 @@ declare module '@polkadot/api-base/types/calls' {
**/
generateKeyOwnershipProof: AugmentedCall<ApiType, (setId: ValidatorSetId | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
/**
* Submits an unsigned extrinsic to report an equivocation.
* Submits an unsigned extrinsic to report a double voting equivocation.
**/
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: BeefyEquivocationProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
submitReportDoubleVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
/**
* Return the current active BEEFY validator set
**/
+75 -66
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, SpConsensusBeefyDoubleVotingProof, 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, PalletBrokerOnDemandRevenueRecord, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeOption, PalletCoreFellowshipParamsTypeU128, 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, SpConsensusBeefyForkVotingProof, SpConsensusBeefyFutureBlockVotingProof, 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>;
@@ -429,7 +429,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Parameters:
* - `id`: The identifier of the new asset. This must not be currently in use to identify
* an existing asset.
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
* - `admin`: The admin of this class of assets. The admin is the initial address of each
* member of the asset class's admin team.
* - `min_balance`: The minimum balance of this new asset that any single account must
@@ -548,7 +548,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Unlike `create`, no funds are reserved.
*
* - `id`: The identifier of the new asset. This must not be currently in use to identify
* an existing asset.
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
* - `owner`: The owner of this class of assets. The owner has full superuser permissions
* over this asset, but may later change and configure the permissions using
* `transfer_ownership` and `set_team`.
@@ -988,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: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
reportDoubleVoting: 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
@@ -1000,7 +1000,41 @@ declare module '@polkadot/api-base/types/submittable' {
* if the block author is defined it will be defined as the equivocation
* reporter.
**/
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
reportDoubleVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
/**
* Report fork voting equivocation. This method will verify the equivocation proof
* and validate the given key ownership proof against the extracted offender.
* If both are valid, the offence will be reported.
**/
reportForkVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProof | { vote?: any; ancestryProof?: any; header?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyForkVotingProof, SpSessionMembershipProof]>;
/**
* Report fork voting equivocation. This method will verify the equivocation proof
* and validate the given key ownership proof against the extracted offender.
* If both are valid, the offence will be reported.
*
* This extrinsic must be called unsigned and it is expected that only
* block authors will call it (validated in `ValidateUnsigned`), as such
* if the block author is defined it will be defined as the equivocation
* reporter.
**/
reportForkVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProof | { vote?: any; ancestryProof?: any; header?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyForkVotingProof, SpSessionMembershipProof]>;
/**
* Report future block voting equivocation. This method will verify the equivocation proof
* and validate the given key ownership proof against the extracted offender.
* If both are valid, the offence will be reported.
**/
reportFutureBlockVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | { vote?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyFutureBlockVotingProof, SpSessionMembershipProof]>;
/**
* Report future block voting equivocation. This method will verify the equivocation proof
* and validate the given key ownership proof against the extracted offender.
* If both are valid, the offence will be reported.
*
* This extrinsic must be called unsigned and it is expected that only
* block authors will call it (validated in `ValidateUnsigned`), as such
* if the block author is defined it will be defined as the equivocation
* reporter.
**/
reportFutureBlockVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | { vote?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyFutureBlockVotingProof, SpSessionMembershipProof]>;
/**
* Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
* future.
@@ -1202,6 +1236,7 @@ declare module '@polkadot/api-base/types/submittable' {
**/
interlace: AugmentedSubmittable<(regionId: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array, pivot: PalletBrokerCoreMask | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, PalletBrokerCoreMask]>;
notifyCoreCount: AugmentedSubmittable<(coreCount: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
notifyRevenue: AugmentedSubmittable<(revenue: PalletBrokerOnDemandRevenueRecord | { until?: any; amount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerOnDemandRevenueRecord]>;
/**
* Split a Bulk Coretime Region into two non-overlapping Regions at a particular time into
* the region.
@@ -1784,6 +1819,14 @@ declare module '@polkadot/api-base/types/submittable' {
* - `to_rank`: One more than the current rank of `who`.
**/
promote: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, toRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u16]>;
/**
* Fast promotions can skip ranks and ignore the `min_promotion_period`.
*
* This is useful for out-of-band promotions, hence it has its own `FastPromoteOrigin` to
* be (possibly) more restrictive than `PromoteOrigin`. Note that the member must already
* be inducted.
**/
promoteFast: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, toRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u16]>;
/**
* Set whether a member is active or not.
*
@@ -1797,7 +1840,17 @@ declare module '@polkadot/api-base/types/submittable' {
* - `origin`: An origin complying with `ParamsOrigin` or root.
* - `params`: The new parameters for the pallet.
**/
setParams: AugmentedSubmittable<(params: PalletCoreFellowshipParamsType | { activeSalary?: any; passiveSalary?: any; demotionPeriod?: any; minPromotionPeriod?: any; offboardTimeout?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCoreFellowshipParamsType]>;
setParams: AugmentedSubmittable<(params: PalletCoreFellowshipParamsTypeU128 | { activeSalary?: any; passiveSalary?: any; demotionPeriod?: any; minPromotionPeriod?: any; offboardTimeout?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCoreFellowshipParamsTypeU128]>;
/**
* Set the parameters partially.
*
* - `origin`: An origin complying with `ParamsOrigin` or root.
* - `partial_params`: The new parameters for the pallet.
*
* This update config with multiple arguments without duplicating
* the fields that does not need to update (set to None).
**/
setPartialParams: AugmentedSubmittable<(partialParams: PalletCoreFellowshipParamsTypeOption | { activeSalary?: any; passiveSalary?: any; demotionPeriod?: any; minPromotionPeriod?: any; offboardTimeout?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCoreFellowshipParamsTypeOption]>;
/**
* Provide evidence that a rank is deserved.
*
@@ -2448,6 +2501,10 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
glutton: {
/**
* Increase the block size by including the specified garbage bytes.
**/
bloat: AugmentedSubmittable<(garbage: Vec<U8aFixed>) => SubmittableExtrinsic<ApiType>, [Vec<U8aFixed>]>;
/**
* Initialize the pallet. Should be called once, if no genesis state was provided.
*
@@ -2457,6 +2514,15 @@ declare module '@polkadot/api-base/types/submittable' {
* Only callable by Root or `AdminOrigin`. A good default for `new_count` is `5_000`.
**/
initializePallet: AugmentedSubmittable<(newCount: u32 | AnyNumber | Uint8Array, witnessCount: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>]>;
/**
* Set how much of the block length should be filled with trash data on each block.
*
* `1.0` means that all block should be filled. If set to `1.0`, storage proof size will
* be close to zero.
*
* Only callable by Root or `AdminOrigin`.
**/
setBlockLength: AugmentedSubmittable<(blockLength: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
/**
* Set how much of the remaining `ref_time` weight should be consumed by `on_idle`.
*
@@ -4254,7 +4320,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Parameters:
* - `id`: The identifier of the new asset. This must not be currently in use to identify
* an existing asset.
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
* - `admin`: The admin of this class of assets. The admin is the initial address of each
* member of the asset class's admin team.
* - `min_balance`: The minimum balance of this new asset that any single account must
@@ -4373,7 +4439,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Unlike `create`, no funds are reserved.
*
* - `id`: The identifier of the new asset. This must not be currently in use to identify
* an existing asset.
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
* - `owner`: The owner of this class of assets. The owner has full superuser permissions
* over this asset, but may later change and configure the permissions using
* `transfer_ownership` and `set_team`.
@@ -6726,26 +6792,6 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
treasury: {
/**
* Approve a proposal.
*
* ## Dispatch Origin
*
* Must be [`Config::ApproveOrigin`].
*
* ## Details
*
* At a later time, the proposal will be allocated to the beneficiary and the original
* deposit will be returned.
*
* ### Complexity
* - O(1).
*
* ## Events
*
* No events are emitted from this dispatch.
**/
approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
* Check the status of the spend and remove it from the storage if processed.
*
@@ -6773,7 +6819,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* ## Dispatch Origin
*
* Must be signed.
* Must be signed
*
* ## Details
*
@@ -6790,43 +6836,6 @@ declare module '@polkadot/api-base/types/submittable' {
* Emits [`Event::Paid`] if successful.
**/
payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Put forward a suggestion for spending.
*
* ## Dispatch Origin
*
* Must be signed.
*
* ## Details
* A deposit proportional to the value is reserved and slashed if the proposal is rejected.
* It is returned once the proposal is awarded.
*
* ### Complexity
* - O(1)
*
* ## Events
*
* Emits [`Event::Proposed`] if successful.
**/
proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
/**
* Reject a proposed spend.
*
* ## Dispatch Origin
*
* Must be [`Config::RejectOrigin`].
*
* ## Details
* The original deposit will be slashed.
*
* ### Complexity
* - O(1)
*
* ## Events
*
* Emits [`Event::Rejected`] if successful.
**/
rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
* Force a previously approved proposal to be removed from the approval queue.
*
+5 -5
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "12.1.1",
"@polkadot/types": "12.1.1",
"@polkadot/util": "^12.6.2",
"@polkadot/rpc-core": "12.4.1",
"@polkadot/types": "12.4.1",
"@polkadot/util": "^13.0.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
"tslib": "^2.6.3"
}
}
+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: '12.1.1' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '12.4.1' };
+12 -12
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/api": "12.1.1",
"@polkadot/api-augment": "12.1.1",
"@polkadot/types": "12.1.1",
"@polkadot/types-codec": "12.1.1",
"@polkadot/types-create": "12.1.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/api": "12.4.1",
"@polkadot/api-augment": "12.4.1",
"@polkadot/types": "12.4.1",
"@polkadot/types-codec": "12.4.1",
"@polkadot/types-create": "12.4.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
"tslib": "^2.6.3"
},
"devDependencies": {
"@polkadot/api-augment": "12.1.1",
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-support": "12.1.1"
"@polkadot/api-augment": "12.4.1",
"@polkadot/keyring": "^13.0.2",
"@polkadot/types-support": "12.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: '12.1.1' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '12.4.1' };
+15 -15
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/api": "12.1.1",
"@polkadot/api-augment": "12.1.1",
"@polkadot/api-base": "12.1.1",
"@polkadot/rpc-core": "12.1.1",
"@polkadot/types": "12.1.1",
"@polkadot/types-codec": "12.1.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/api": "12.4.1",
"@polkadot/api-augment": "12.4.1",
"@polkadot/api-base": "12.4.1",
"@polkadot/rpc-core": "12.4.1",
"@polkadot/types": "12.4.1",
"@polkadot/types-codec": "12.4.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
"tslib": "^2.6.3"
},
"devDependencies": {
"@polkadot/api": "12.1.1",
"@polkadot/api-augment": "12.1.1",
"@polkadot/rpc-augment": "12.1.1",
"@polkadot/rpc-provider": "12.1.1",
"@polkadot/types-support": "12.1.1"
"@polkadot/api": "12.4.1",
"@polkadot/api-augment": "12.4.1",
"@polkadot/rpc-augment": "12.4.1",
"@polkadot/rpc-provider": "12.4.1",
"@polkadot/types-support": "12.4.1"
}
}
+53 -18
View File
@@ -4,6 +4,7 @@
import type { Observable } from 'rxjs';
import type { QueryableStorageEntry } from '@polkadot/api-base/types';
import type { AccountData, AccountId, AccountIndex, AccountInfo, Address, Balance, Index } from '@polkadot/types/interfaces';
import type { FrameSystemAccountInfo, PalletBalancesAccountData } from '@polkadot/types/lookup';
import type { ITuple } from '@polkadot/types/types';
import type { DeriveApi, DeriveBalancesAccount, DeriveBalancesAccountData } from '../types.js';
@@ -15,7 +16,9 @@ import { memo } from '../util/index.js';
type BalanceResult = [Balance, Balance, Balance, Balance];
type Result = [Index, BalanceResult[]];
type Result = [Index, BalanceResult[], AccountType];
interface AccountType { isFrameAccountData: boolean }
type DeriveCustomAccount = DeriveApi['derive'] & Record<string, {
customAccount?: DeriveApi['query']['balances']['account']
@@ -25,24 +28,38 @@ function zeroBalance (api: DeriveApi) {
return api.registry.createType('Balance');
}
function getBalance (api: DeriveApi, [freeBalance, reservedBalance, frozenFee, frozenMisc]: BalanceResult): DeriveBalancesAccountData {
function getBalance (api: DeriveApi, [freeBalance, reservedBalance, frozenFeeOrFrozen, frozenMiscOrFlags]: BalanceResult, accType: AccountType): DeriveBalancesAccountData {
const votingBalance = api.registry.createType('Balance', freeBalance.toBn());
if (accType.isFrameAccountData) {
return {
frameSystemAccountInfo: {
flags: frozenMiscOrFlags,
frozen: frozenFeeOrFrozen
},
freeBalance,
frozenFee: api.registry.createType('Balance', 0),
frozenMisc: api.registry.createType('Balance', 0),
reservedBalance,
votingBalance
};
}
return {
freeBalance,
frozenFee,
frozenMisc,
frozenFee: frozenFeeOrFrozen,
frozenMisc: frozenMiscOrFlags,
reservedBalance,
votingBalance
};
}
function calcBalances (api: DeriveApi, [accountId, [accountNonce, [primary, ...additional]]]: [AccountId, Result]): DeriveBalancesAccount {
function calcBalances (api: DeriveApi, [accountId, [accountNonce, [primary, ...additional], accType]]: [AccountId, Result]): DeriveBalancesAccount {
return objectSpread({
accountId,
accountNonce,
additional: additional.map((b) => getBalance(api, b))
}, getBalance(api, primary));
additional: additional.map((b) => getBalance(api, b, accType))
}, getBalance(api, primary, accType));
}
// old
@@ -54,7 +71,8 @@ function queryBalancesFree (api: DeriveApi, accountId: AccountId): Observable<Re
]).pipe(
map(([freeBalance, reservedBalance, accountNonce]): Result => [
accountNonce,
[[freeBalance, reservedBalance, zeroBalance(api), zeroBalance(api)]]
[[freeBalance, reservedBalance, zeroBalance(api), zeroBalance(api)]],
{ isFrameAccountData: false }
])
);
}
@@ -62,7 +80,8 @@ function queryBalancesFree (api: DeriveApi, accountId: AccountId): Observable<Re
function queryNonceOnly (api: DeriveApi, accountId: AccountId): Observable<Result> {
const fill = (nonce: Index): Result => [
nonce,
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]]
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]],
{ isFrameAccountData: false }
];
return isFunction(api.query.system.account)
@@ -83,7 +102,8 @@ function queryBalancesAccount (api: DeriveApi, accountId: AccountId, modules: st
const extract = (nonce: Index, data: AccountData[]): Result => [
nonce,
data.map(({ feeFrozen, free, miscFrozen, reserved }): BalanceResult => [free, reserved, feeFrozen, miscFrozen])
data.map(({ feeFrozen, free, miscFrozen, reserved }): BalanceResult => [free, reserved, feeFrozen, miscFrozen]),
{ isFrameAccountData: false }
];
// NOTE this is for the first case where we do have instances specified
@@ -106,7 +126,7 @@ function queryBalancesAccount (api: DeriveApi, accountId: AccountId, modules: st
function querySystemAccount (api: DeriveApi, accountId: AccountId): Observable<Result> {
// AccountInfo is current, support old, eg. Edgeware
return api.query.system.account<AccountInfo | ITuple<[Index, AccountData]>>(accountId).pipe(
return api.query.system.account<AccountInfo | FrameSystemAccountInfo | ITuple<[Index, AccountData]>>(accountId).pipe(
map((infoOrTuple): Result => {
const data = (infoOrTuple as AccountInfo).nonce
? (infoOrTuple as AccountInfo).data
@@ -117,16 +137,30 @@ function querySystemAccount (api: DeriveApi, accountId: AccountId): Observable<R
if (!data || data.isEmpty) {
return [
nonce,
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]]
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]],
{ isFrameAccountData: false }
];
}
const { feeFrozen, free, miscFrozen, reserved } = data;
const isFrameType = !!(infoOrTuple as FrameSystemAccountInfo).data.frozen;
return [
nonce,
[[free, reserved, feeFrozen, miscFrozen]]
];
if (isFrameType) {
const { flags, free, frozen, reserved } = (data as unknown as PalletBalancesAccountData);
return [
nonce,
[[free, reserved, frozen, flags]],
{ isFrameAccountData: true }
];
} else {
const { feeFrozen, free, miscFrozen, reserved } = data;
return [
nonce,
[[free, reserved, feeFrozen, miscFrozen]],
{ isFrameAccountData: false }
];
}
})
);
}
@@ -168,7 +202,8 @@ export function account (instanceId: string, api: DeriveApi): (address: AccountI
])
: of([api.registry.createType('AccountId'), [
api.registry.createType('Index'),
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]]
[[zeroBalance(api), zeroBalance(api), zeroBalance(api), zeroBalance(api)]],
{ isFrameAccountData: false }
]])
)
),
+17
View File
@@ -54,11 +54,28 @@ function calcLocked (api: DeriveApi, bestNumber: BlockNumber, locks: (PalletBala
function calcShared (api: DeriveApi, bestNumber: BlockNumber, data: DeriveBalancesAccountData, locks: (PalletBalancesBalanceLock | BalanceLockTo212)[]): DeriveBalancesAllAccountData {
const { allLocked, lockedBalance, lockedBreakdown, vestingLocked } = calcLocked(api, bestNumber, locks);
let transferable = null;
if (data.frameSystemAccountInfo?.frozen) {
const { frameSystemAccountInfo, freeBalance, reservedBalance } = data;
const noFrozenReserved = frameSystemAccountInfo.frozen.isZero() && reservedBalance.isZero();
const ED = api.consts.balances.existentialDeposit;
const maybeED = noFrozenReserved ? new BN(0) : ED;
const frozenReserveDif = frameSystemAccountInfo.frozen.sub(reservedBalance);
transferable = api.registry.createType(
'Balance',
allLocked
? 0
: freeBalance.sub(bnMax(maybeED, frozenReserveDif))
);
}
return objectSpread({}, data, {
availableBalance: api.registry.createType('Balance', allLocked ? 0 : bnMax(new BN(0), data?.freeBalance ? data.freeBalance.sub(lockedBalance) : new BN(0))),
lockedBalance,
lockedBreakdown,
transferable,
vestingLocked
});
}
+29
View File
@@ -6,6 +6,10 @@ import type { PalletBalancesBalanceLock, PalletBalancesReserveData } from '@polk
import type { BN } from '@polkadot/util';
export interface DeriveBalancesAccountData {
frameSystemAccountInfo?: {
frozen: Balance;
flags: Balance;
}
freeBalance: Balance;
frozenFee: Balance;
frozenMisc: Balance;
@@ -20,9 +24,34 @@ export interface DeriveBalancesAccount extends DeriveBalancesAccountData {
}
export interface DeriveBalancesAllAccountData extends DeriveBalancesAccountData {
/**
* Calculated available balance. This uses the formula: max(0, free - locked)
* This is only correct when the return type of `api.query.system.account` is `AccountInfo` which was replaced by `FrameSystemAccountInfo`.
* See `transferable` for the correct balance calculation.
*
* ref: https://github.com/paritytech/substrate/pull/12951
*/
availableBalance: Balance;
/**
* The amount of balance locked away.
*/
lockedBalance: Balance;
/**
* The breakdown of locked balances.
*/
lockedBreakdown: (PalletBalancesBalanceLock | BalanceLockTo212)[];
/**
* Calculated transferable balance. This uses the formula: free - max(maybeEd, frozen - reserve)
* Where `maybeEd` means if there is no frozen and reserves it will be zero, else it will be the existential deposit.
* This is only correct when the return type of `api.query.system.account` is `FrameSystemAccountInfo`.
* Which is the most up to date calulcation for transferrable balances.
*
* ref: https://github.com/paritytech/polkadot-sdk/issues/1833
*/
transferable: Balance | null;
/**
* Amount locked in vesting.
*/
vestingLocked: Balance;
}
@@ -147,7 +147,7 @@ describe('bounties derive', () => {
council: {
proposals: () => of([
{ proposal: createProposal(api.tx.bounties.approveBounty(1)) },
{ proposal: createProposal(api.tx.treasury.approveProposal(1)) }] as DeriveCollectiveProposal[])
{ proposal: api.tx.treasury['approveProposal'] && createProposal(api.tx.treasury['approveProposal'](1)) }] as DeriveCollectiveProposal[])
}
}
} as unknown as DeriveApi;
+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: '12.1.1' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '12.4.1' };
@@ -23,9 +23,11 @@ function parseResult (api: DeriveApi, { allIds, allProposals, approvalIds, counc
const approvals: DeriveTreasuryProposal[] = [];
const proposals: DeriveTreasuryProposal[] = [];
const councilTreasury = councilProposals.filter(({ proposal }) =>
// FIXME `approveProposal` and `rejectProposal` have been removed in substrate and released in 1.14
// in favor of `spend`. See: https://github.com/paritytech/polkadot-sdk/pull/3820
proposal && (
api.tx.treasury.approveProposal.is(proposal) ||
api.tx.treasury.rejectProposal.is(proposal)
(api.tx.treasury['approveProposal'] && api.tx.treasury['approveProposal'].is(proposal)) ||
(api.tx.treasury['rejectProposal'] && api.tx.treasury['rejectProposal'].is(proposal))
)
);
+18 -18
View File
@@ -18,29 +18,29 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "12.1.1",
"@polkadot/api-base": "12.1.1",
"@polkadot/api-derive": "12.1.1",
"@polkadot/keyring": "^12.6.2",
"@polkadot/rpc-augment": "12.1.1",
"@polkadot/rpc-core": "12.1.1",
"@polkadot/rpc-provider": "12.1.1",
"@polkadot/types": "12.1.1",
"@polkadot/types-augment": "12.1.1",
"@polkadot/types-codec": "12.1.1",
"@polkadot/types-create": "12.1.1",
"@polkadot/types-known": "12.1.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/api-augment": "12.4.1",
"@polkadot/api-base": "12.4.1",
"@polkadot/api-derive": "12.4.1",
"@polkadot/keyring": "^13.0.2",
"@polkadot/rpc-augment": "12.4.1",
"@polkadot/rpc-core": "12.4.1",
"@polkadot/rpc-provider": "12.4.1",
"@polkadot/types": "12.4.1",
"@polkadot/types-augment": "12.4.1",
"@polkadot/types-codec": "12.4.1",
"@polkadot/types-create": "12.4.1",
"@polkadot/types-known": "12.4.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"eventemitter3": "^5.0.1",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
"tslib": "^2.6.3"
},
"devDependencies": {
"@polkadot/api-augment": "12.1.1",
"@polkadot/types-support": "12.1.1"
"@polkadot/api-augment": "12.4.1",
"@polkadot/types-support": "12.4.1"
}
}
+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: '12.1.1' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '12.4.1' };
+1 -1
View File
@@ -359,7 +359,7 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHas
nonce: ext.nonce.toHex(),
runtimeVersion: payload.runtimeVersion,
signedExtensions: payload.signedExtensions,
tip: ext.tip.toHex(),
tip: ext.tip ? ext.tip.toHex() : null,
version: payload.version
})]);
+6 -6
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "12.1.1",
"@polkadot/types": "12.1.1",
"@polkadot/types-codec": "12.1.1",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
"@polkadot/rpc-core": "12.4.1",
"@polkadot/types": "12.4.1",
"@polkadot/types-codec": "12.4.1",
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.3"
}
}
+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: '12.1.1' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '12.4.1' };
+8 -8
View File
@@ -18,18 +18,18 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "12.1.1",
"@polkadot/rpc-provider": "12.1.1",
"@polkadot/types": "12.1.1",
"@polkadot/util": "^12.6.2",
"@polkadot/rpc-augment": "12.4.1",
"@polkadot/rpc-provider": "12.4.1",
"@polkadot/types": "12.4.1",
"@polkadot/util": "^13.0.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
"tslib": "^2.6.3"
},
"devDependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/rpc-augment": "12.1.1"
"@polkadot/keyring": "^13.0.2",
"@polkadot/rpc-augment": "12.4.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: '12.1.1' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '12.4.1' };
+13 -13
View File
@@ -18,26 +18,26 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types": "12.1.1",
"@polkadot/types-support": "12.1.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-fetch": "^12.6.2",
"@polkadot/x-global": "^12.6.2",
"@polkadot/x-ws": "^12.6.2",
"@polkadot/keyring": "^13.0.2",
"@polkadot/types": "12.4.1",
"@polkadot/types-support": "12.4.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"@polkadot/x-fetch": "^13.0.2",
"@polkadot/x-global": "^13.0.2",
"@polkadot/x-ws": "^13.0.2",
"eventemitter3": "^5.0.1",
"mock-socket": "^9.3.1",
"nock": "^13.5.0",
"tslib": "^2.6.2"
"nock": "^13.5.4",
"tslib": "^2.6.3"
},
"devDependencies": {
"@substrate/connect": "0.8.10"
"@substrate/connect": "0.8.11"
},
"optionalDependencies": {
"@substrate/connect": "0.8.10"
"@substrate/connect": "0.8.11"
}
}
+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: '12.1.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '12.4.1' };
+15 -15
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
@@ -28,23 +28,23 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
},
"dependencies": {
"@polkadot/api": "12.1.1",
"@polkadot/api-augment": "12.1.1",
"@polkadot/rpc-augment": "12.1.1",
"@polkadot/rpc-provider": "12.1.1",
"@polkadot/types": "12.1.1",
"@polkadot/types-augment": "12.1.1",
"@polkadot/types-codec": "12.1.1",
"@polkadot/types-create": "12.1.1",
"@polkadot/types-support": "12.1.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-ws": "^12.6.2",
"@polkadot/api": "12.4.1",
"@polkadot/api-augment": "12.4.1",
"@polkadot/rpc-augment": "12.4.1",
"@polkadot/rpc-provider": "12.4.1",
"@polkadot/types": "12.4.1",
"@polkadot/types-augment": "12.4.1",
"@polkadot/types-codec": "12.4.1",
"@polkadot/types-create": "12.4.1",
"@polkadot/types-support": "12.4.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"@polkadot/x-ws": "^13.0.2",
"handlebars": "^4.7.8",
"tslib": "^2.6.2",
"tslib": "^2.6.3",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/yargs": "^17.0.32"
"@types/yargs": "^17.0.33"
}
}
+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: '12.1.1' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '12.4.1' };
+5 -5
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/types": "12.1.1",
"@polkadot/types-codec": "12.1.1",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
"@polkadot/types": "12.4.1",
"@polkadot/types-codec": "12.4.1",
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.3"
}
}
@@ -2698,6 +2698,13 @@ export default {
}
}
},
/**
* Lookup578: pallet_balances::types::IdAmount<polkadot_runtime::RuntimeHoldReason, Balance>
**/
PalletBalancesIdAmountRuntimeHoldReason: {
id: 'PolkadotRuntimeRuntimeHoldReason',
amount: 'u128'
},
/**
* Lookup579: polkadot_runtime::RuntimeHoldReason
**/
@@ -2804,6 +2811,13 @@ export default {
StateTrieMigration: 'PalletStateTrieMigrationHoldReason'
}
},
/**
* Lookup584: pallet_balances::types::IdAmount<polkadot_runtime::RuntimeFreezeReason, Balance>
**/
PalletBalancesIdAmountRuntimeFreezeReason: {
id: 'PolkadotRuntimeRuntimeFreezeReason',
amount: 'u128'
},
/**
* Lookup585: polkadot_runtime::RuntimeFreezeReason
**/
File diff suppressed because it is too large Load Diff
@@ -2727,6 +2727,12 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
/** @name PalletBalancesIdAmountRuntimeHoldReason (578) */
interface PalletBalancesIdAmountRuntimeHoldReason extends Struct {
readonly id: PolkadotRuntimeRuntimeHoldReason;
readonly amount: u128;
}
/** @name PolkadotRuntimeRuntimeHoldReason (579) */
interface PolkadotRuntimeRuntimeHoldReason extends Enum {
readonly isPreimage: boolean;
@@ -2736,6 +2742,12 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Preimage' | 'StateTrieMigration';
}
/** @name PalletBalancesIdAmountRuntimeFreezeReason (584) */
interface PalletBalancesIdAmountRuntimeFreezeReason extends Struct {
readonly id: PolkadotRuntimeRuntimeFreezeReason;
readonly amount: u128;
}
/** @name PolkadotRuntimeRuntimeFreezeReason (585) */
interface PolkadotRuntimeRuntimeFreezeReason extends Enum {
readonly isNominationPools: 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: '12.1.1' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '12.4.1' };
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+8 -8
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.6.2",
"@polkadot/x-bigint": "^12.6.2",
"tslib": "^2.6.2"
"@polkadot/util": "^13.0.2",
"@polkadot/x-bigint": "^13.0.2",
"tslib": "^2.6.3"
},
"devDependencies": {
"@polkadot/types": "12.1.1",
"@polkadot/types-augment": "12.1.1",
"@polkadot/types-support": "12.1.1",
"@polkadot/util-crypto": "^12.6.2"
"@polkadot/types": "12.4.1",
"@polkadot/types-augment": "12.4.1",
"@polkadot/types-support": "12.4.1",
"@polkadot/util-crypto": "^13.0.2"
}
}
+1 -1
View File
@@ -9,7 +9,7 @@ import { compactFromU8aLim, identity, isHex, isU8a, logger, stringify, u8aToU8a
import { AbstractArray } from '../abstract/Array.js';
import { decodeU8aVec, typeToConstructor } from '../utils/index.js';
const MAX_LENGTH = 64 * 1024;
const MAX_LENGTH = 512 * 1024;
const l = logger('Vec');
+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: '12.1.1' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '12.4.1' };
+5 -5
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "12.1.1",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
"@polkadot/types-codec": "12.4.1",
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.3"
},
"devDependencies": {
"@polkadot/types": "12.1.1"
"@polkadot/types": "12.4.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: '12.1.1' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '12.4.1' };
+8 -8
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^12.6.2",
"@polkadot/types": "12.1.1",
"@polkadot/types-codec": "12.1.1",
"@polkadot/types-create": "12.1.1",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
"@polkadot/networks": "^13.0.2",
"@polkadot/types": "12.4.1",
"@polkadot/types-codec": "12.4.1",
"@polkadot/types-create": "12.4.1",
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.3"
},
"devDependencies": {
"@polkadot/api": "12.1.1"
"@polkadot/api": "12.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: '12.1.1' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '12.4.1' };
@@ -3544,5 +3544,169 @@ export const upgrades: ChainUpgradesExpanded = [
1
]
]
],
[
21558004,
1002006,
[
[
"0xdf6acb689907609b",
4
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"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
],
[
"0xfbc577b9d747efd6",
1
]
]
],
[
21800141,
1002007,
[
[
"0xdf6acb689907609b",
4
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"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
],
[
"0xfbc577b9d747efd6",
1
]
]
]
];
@@ -5674,5 +5674,283 @@ export const upgrades: ChainUpgradesExpanded = [
1
]
]
],
[
21300429,
1013000,
[
[
"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
],
[
"0x91b1c8b16328eb92",
1
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xfbc577b9d747efd6",
1
]
]
],
[
21460051,
1014000,
[
[
"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
],
[
"0x91b1c8b16328eb92",
1
],
[
"0x9ffb505aa738d69c",
1
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xfbc577b9d747efd6",
1
]
]
],
[
21925427,
1015000,
[
[
"0xdf6acb689907609b",
5
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
11
],
[
"0x49eaaf1b548a0cb0",
4
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0x6ff52ee858e6c5bd",
1
],
[
"0x91b1c8b16328eb92",
1
],
[
"0x9ffb505aa738d69c",
1
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xfbc577b9d747efd6",
1
]
]
]
];
@@ -15,5 +15,5 @@ export const upgrades: ChainUpgradesRaw = [
[11933818, 9270], [12217535, 9280], [12245277, 9281], [12532644, 9291], [12876189, 9300],
[13800015, 9340], [14188833, 9360], [14543918, 9370], [15978362, 9420], [16450000, 9430],
[17840000, 9431], [18407475, 1000001], [19551000, 1001002], [20181758, 1001003],
[20438530, 1002000], [21169168, 1002004], [21455374, 1002005]
[20438530, 1002000], [21169168, 1002004], [21455374, 1002005], [21558004, 1002006], [21800141, 1002007]
];
@@ -21,5 +21,6 @@ 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], [20649086, 1011000], [21217837, 1011001]
[20368318, 1010000], [20649086, 1011000], [21217837, 1011001], [21300429, 1013000], [21460051, 1014000],
[21925427, 1015000]
];
+3 -3
View File
@@ -18,10 +18,10 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.3"
}
}
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
@@ -86,7 +86,7 @@ export default {
],
[
"0x49eaaf1b548a0cb0",
3
4
],
[
"0x91d5df18b0d2cf58",
+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: '12.1.1' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '12.4.1' };
+10 -10
View File
@@ -18,20 +18,20 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.1.1",
"version": "12.4.1",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-augment": "12.1.1",
"@polkadot/types-codec": "12.1.1",
"@polkadot/types-create": "12.1.1",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/keyring": "^13.0.2",
"@polkadot/types-augment": "12.4.1",
"@polkadot/types-codec": "12.4.1",
"@polkadot/types-create": "12.4.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
"tslib": "^2.6.3"
},
"devDependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-support": "12.1.1"
"@polkadot/keyring": "^13.0.2",
"@polkadot/types-support": "12.4.1"
}
}
+1 -1
View File
@@ -341,7 +341,7 @@ export class GenericExtrinsic<A extends AnyTuple = AnyTuple> extends ExtrinsicBa
assetId: this.assetId ? this.assetId.toHuman(isExpanded, disableAscii) : null,
era: this.era.toHuman(isExpanded, disableAscii),
metadataHash: this.metadataHash ? this.metadataHash.toHex() : null,
mode: this.mode.toHuman(),
mode: this.mode ? this.mode.toHuman() : null,
nonce: this.nonce.toHuman(isExpanded, disableAscii),
signature: this.signature.toHex(),
signer: this.signer.toHuman(isExpanded, disableAscii),
+32 -6
View File
@@ -3,7 +3,7 @@
import type { DefinitionCall, DefinitionsCall } from '../../types/index.js';
const BEEFY_V1_V3: Record<string, DefinitionCall> = {
const BEEFY_V3: Record<string, DefinitionCall> = {
beefy_genesis: {
description: 'Return the block number where BEEFY consensus is enabled/started',
params: [],
@@ -23,6 +23,15 @@ const BEEFY_V1_V3: Record<string, DefinitionCall> = {
],
type: 'Option<OpaqueKeyOwnershipProof>'
},
validator_set: {
description: 'Return the current active BEEFY validator set',
params: [],
type: 'Option<ValidatorSet>'
}
};
const BEEFY_V1_V3: Record<string, DefinitionCall> = {
...BEEFY_V3,
submit_report_equivocation_unsigned_extrinsic: {
description: 'Submits an unsigned extrinsic to report an equivocation.',
params: [
@@ -36,11 +45,24 @@ const BEEFY_V1_V3: Record<string, DefinitionCall> = {
}
],
type: 'Option<Null>'
},
validator_set: {
description: 'Return the current active BEEFY validator set',
params: [],
type: 'Option<ValidatorSet>'
}
};
const BEEFY_V4: Record<string, DefinitionCall> = {
...BEEFY_V3,
submit_report_double_voting_unsigned_extrinsic: {
description: 'Submits an unsigned extrinsic to report a double voting equivocation.',
params: [
{
name: 'equivocationProof',
type: 'SpConsensusBeefyDoubleVotingProof'
},
{
name: 'keyOwnerProof',
type: 'OpaqueKeyOwnershipProof'
}
],
type: 'Option<Null>'
}
};
@@ -59,6 +81,10 @@ const BEEFY_MMR_V1: Record<string, DefinitionCall> = {
export const runtime: DefinitionsCall = {
BeefyApi: [
{
methods: BEEFY_V4,
version: 4
},
{
methods: BEEFY_V1_V3,
version: 3
@@ -122,7 +122,7 @@ describe('runtime definitions', (): void => {
for (const { methods, version } of versions) {
describe(`version ${version}`, (): void => {
const methodsEntries = Object.entries<DefinitionCall>(methods);
const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedMultiAssets, FungiblesAccessError>', 'XcmVersionedLocation', 'XcmVersionedAssetId', 'XcmVersionedXcm', 'Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>'];
const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedAssets, FungiblesAccessError>', 'XcmVersionedLocation', 'XcmVersionedAssetId', 'XcmVersionedXcm', 'Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>'];
for (const [key, { params, type }] of methodsEntries) {
describe(`${key}`, (): void => {
@@ -30,7 +30,7 @@ export const runtime: DefinitionsCall = {
type: 'AccountId'
}
],
type: 'Result<XcmVersionedMultiAssets, FungiblesAccessError>'
type: 'Result<XcmVersionedAssets, FungiblesAccessError>'
}
},
version: 2
@@ -83,10 +83,7 @@ const PATHS_ALIAS = splitNamespace([
'ink::env::types::*',
'ink::primitives::types::*',
'ink_env::types::*',
'ink_primitives::types::*',
// noir
'np_runtime::accountname::AccountName',
'np_runtime::universaladdress::UniversalAddress'
'ink_primitives::types::*'
]);
// Mappings for types that should be converted to set via BitVec
+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: '12.1.1' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '12.4.1' };
+283 -280
View File
@@ -380,93 +380,96 @@ __metadata:
languageName: node
linkType: hard
"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1":
version: 0.0.1
resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1"
checksum: 10/6ee0916504ab702ac40eb1f983c21246738c1cd8624b35886a075430271800543d32ba5a7f9e6a0cb078880f9756db1bdc83cb86c42b39d326e780a8cf9bf22a
"@polkadot-api/json-rpc-provider-proxy@npm:^0.1.0":
version: 0.1.0
resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.1.0"
checksum: 10/1a232337a4f6f32f3ec0350d5aaceaab21547ccee3cca63318d4b9238982efa5ff2406b033c320318c72d067b73508c0a1af21eb47acabaff714c1c21477bafa
languageName: node
linkType: hard
"@polkadot-api/json-rpc-provider@npm:0.0.1":
"@polkadot-api/json-rpc-provider@npm:0.0.1, @polkadot-api/json-rpc-provider@npm:^0.0.1":
version: 0.0.1
resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1"
checksum: 10/1f315bdadcba7def7145011132e6127b983c6f91f976be217ad7d555bb96a67f3a270fe4a46e427531822c5d54d353d84a6439d112a99cdfc07013d3b662ee3c
languageName: node
linkType: hard
"@polkadot-api/metadata-builders@npm:0.0.1":
version: 0.0.1
resolution: "@polkadot-api/metadata-builders@npm:0.0.1"
"@polkadot-api/metadata-builders@npm:0.3.2":
version: 0.3.2
resolution: "@polkadot-api/metadata-builders@npm:0.3.2"
dependencies:
"@polkadot-api/substrate-bindings": "npm:0.0.1"
"@polkadot-api/utils": "npm:0.0.1"
checksum: 10/e7bf0ad10cbddf75012eaaa1b30060fb1eb142c02f7dfd8edc5a1d78a40ef078b09c85d36bf9f2ac4ab309970ba01dc648ef46745412b006e62e4ddf4f334339
"@polkadot-api/substrate-bindings": "npm:0.6.0"
"@polkadot-api/utils": "npm:0.1.0"
checksum: 10/874b38e1fb92beea99b98b889143f25671f137e54113767aeabb79ff5cdf7d61cadb0121f08c7a9a40718b924d7c9a1dd700f81e7e287bc55923b0129e2a6160
languageName: node
linkType: hard
"@polkadot-api/observable-client@npm:0.1.0":
version: 0.1.0
resolution: "@polkadot-api/observable-client@npm:0.1.0"
"@polkadot-api/observable-client@npm:^0.3.0":
version: 0.3.2
resolution: "@polkadot-api/observable-client@npm:0.3.2"
dependencies:
"@polkadot-api/metadata-builders": "npm:0.0.1"
"@polkadot-api/substrate-bindings": "npm:0.0.1"
"@polkadot-api/substrate-client": "npm:0.0.1"
"@polkadot-api/utils": "npm:0.0.1"
"@polkadot-api/metadata-builders": "npm:0.3.2"
"@polkadot-api/substrate-bindings": "npm:0.6.0"
"@polkadot-api/utils": "npm:0.1.0"
peerDependencies:
"@polkadot-api/substrate-client": 0.1.4
rxjs: ">=7.8.0"
checksum: 10/822b4b24e8b2522fa2b0d88d68d098862d36e9ef285dba7468a6ac9084a37670ef0782a9b8a00c2c4d5510a0af90b3611ea097f530bdad1b07bef63234341bf5
checksum: 10/91b95a06e3ddd477c2489110d7cffdcfaf87a222054b437013c701dc43eac6a5d30438b1ac8fb130166ba039a67808e6199ccb3b2eaac7dcf8d2ef7a835f047b
languageName: node
linkType: hard
"@polkadot-api/substrate-bindings@npm:0.0.1":
version: 0.0.1
resolution: "@polkadot-api/substrate-bindings@npm:0.0.1"
"@polkadot-api/substrate-bindings@npm:0.6.0":
version: 0.6.0
resolution: "@polkadot-api/substrate-bindings@npm:0.6.0"
dependencies:
"@noble/hashes": "npm:^1.3.1"
"@polkadot-api/utils": "npm:0.0.1"
"@polkadot-api/utils": "npm:0.1.0"
"@scure/base": "npm:^1.1.1"
scale-ts: "npm:^1.6.0"
checksum: 10/9a1a70bd571f1cf262796b445c7a005b425e8e6f855b11757442c6bbe398d4a90575cd3973c9b1918202d3c7ff7162675c349c014677a31cc70cd84f7f973f90
checksum: 10/01926a9083f608514a55c3d23563ebef139e2963d4adbebe7dcd99b65e1a08f1551fc0e147e787a31c749402767333c96eb1399f85a6c71654cfa1cc9d26e445
languageName: node
linkType: hard
"@polkadot-api/substrate-client@npm:0.0.1":
version: 0.0.1
resolution: "@polkadot-api/substrate-client@npm:0.0.1"
checksum: 10/a00521dbda6e87a2d0e860c1608dc164269c62748d60a51326452d3573abfa1d01ed79644f103f1d989c49e8c61169ed04b155d466ec9e6f09f6e424572dea48
"@polkadot-api/substrate-client@npm:^0.1.2":
version: 0.1.4
resolution: "@polkadot-api/substrate-client@npm:0.1.4"
dependencies:
"@polkadot-api/json-rpc-provider": "npm:0.0.1"
"@polkadot-api/utils": "npm:0.1.0"
checksum: 10/e7172696db404676d297cd5661b195de110593769f9ce37f32bdb5576ca00c56d32fcb04172a91102986fdda27a13962d909ad9466869a2991611d658ee6ac92
languageName: node
linkType: hard
"@polkadot-api/utils@npm:0.0.1":
version: 0.0.1
resolution: "@polkadot-api/utils@npm:0.0.1"
checksum: 10/4bf89955ccf4dafb2ef34f007fc0a12bd6d983a10c4219464a6b1c07e7bfe80ff26f156fa201b3f11ad53adca0abb261fc7ee43b86dcdc10fa0f5325788359ae
"@polkadot-api/utils@npm:0.1.0":
version: 0.1.0
resolution: "@polkadot-api/utils@npm:0.1.0"
checksum: 10/c557daea91ddb03e16b93c7c5a75533495c7b77cbbbdc2b4f5e97af0c1e1132a47e434c9c729a08241bd7b3624b6644ac0950f914aa8b29a0f419bf0fd224c7c
languageName: node
linkType: hard
"@polkadot/api-augment@npm:12.1.1, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@npm:12.4.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:12.1.1"
"@polkadot/rpc-augment": "npm:12.1.1"
"@polkadot/types": "npm:12.1.1"
"@polkadot/types-augment": "npm:12.1.1"
"@polkadot/types-codec": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
"@polkadot/api-base": "npm:12.4.1"
"@polkadot/rpc-augment": "npm:12.4.1"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-augment": "npm:12.4.1"
"@polkadot/types-codec": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/api-base@npm:12.1.1, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@npm:12.4.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:12.1.1"
"@polkadot/types": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/rpc-core": "npm:12.4.1"
"@polkadot/types": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
@@ -474,62 +477,62 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@polkadot/api": "npm:12.1.1"
"@polkadot/api-augment": "npm:12.1.1"
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/types": "npm:12.1.1"
"@polkadot/types-codec": "npm:12.1.1"
"@polkadot/types-create": "npm:12.1.1"
"@polkadot/types-support": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/api": "npm:12.4.1"
"@polkadot/api-augment": "npm:12.4.1"
"@polkadot/keyring": "npm:^13.0.2"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-codec": "npm:12.4.1"
"@polkadot/types-create": "npm:12.4.1"
"@polkadot/types-support": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/api-derive@npm:12.1.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@npm:12.4.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:12.1.1"
"@polkadot/api-augment": "npm:12.1.1"
"@polkadot/api-base": "npm:12.1.1"
"@polkadot/rpc-augment": "npm:12.1.1"
"@polkadot/rpc-core": "npm:12.1.1"
"@polkadot/rpc-provider": "npm:12.1.1"
"@polkadot/types": "npm:12.1.1"
"@polkadot/types-codec": "npm:12.1.1"
"@polkadot/types-support": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/api": "npm:12.4.1"
"@polkadot/api-augment": "npm:12.4.1"
"@polkadot/api-base": "npm:12.4.1"
"@polkadot/rpc-augment": "npm:12.4.1"
"@polkadot/rpc-core": "npm:12.4.1"
"@polkadot/rpc-provider": "npm:12.4.1"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-codec": "npm:12.4.1"
"@polkadot/types-support": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/api@npm:12.1.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@npm:12.4.1, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@polkadot/api-augment": "npm:12.1.1"
"@polkadot/api-base": "npm:12.1.1"
"@polkadot/api-derive": "npm:12.1.1"
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/rpc-augment": "npm:12.1.1"
"@polkadot/rpc-core": "npm:12.1.1"
"@polkadot/rpc-provider": "npm:12.1.1"
"@polkadot/types": "npm:12.1.1"
"@polkadot/types-augment": "npm:12.1.1"
"@polkadot/types-codec": "npm:12.1.1"
"@polkadot/types-create": "npm:12.1.1"
"@polkadot/types-known": "npm:12.1.1"
"@polkadot/types-support": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/api-augment": "npm:12.4.1"
"@polkadot/api-base": "npm:12.4.1"
"@polkadot/api-derive": "npm:12.4.1"
"@polkadot/keyring": "npm:^13.0.2"
"@polkadot/rpc-augment": "npm:12.4.1"
"@polkadot/rpc-core": "npm:12.4.1"
"@polkadot/rpc-provider": "npm:12.4.1"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-augment": "npm:12.4.1"
"@polkadot/types-codec": "npm:12.4.1"
"@polkadot/types-create": "npm:12.4.1"
"@polkadot/types-known": "npm:12.4.1"
"@polkadot/types-support": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
eventemitter3: "npm:^5.0.1"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
@@ -629,74 +632,74 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/keyring@npm:^12.6.2":
version: 12.6.2
resolution: "@polkadot/keyring@npm:12.6.2"
"@polkadot/keyring@npm:^13.0.2":
version: 13.0.2
resolution: "@polkadot/keyring@npm:13.0.2"
dependencies:
"@polkadot/util": "npm:12.6.2"
"@polkadot/util-crypto": "npm:12.6.2"
"@polkadot/util": "npm:13.0.2"
"@polkadot/util-crypto": "npm:13.0.2"
tslib: "npm:^2.6.2"
peerDependencies:
"@polkadot/util": 12.6.2
"@polkadot/util-crypto": 12.6.2
checksum: 10/8faf59684ff5d041ba5fa7dd85c3ee4ac3920b2d907f81a485e37aedab64798f9c59b7ec914eb24dfc5271a4ef31e1244aecbd247c66f2b2ec518cfd37dd30fc
"@polkadot/util": 13.0.2
"@polkadot/util-crypto": 13.0.2
checksum: 10/7d94566cf61396a8890abe5d59b8fdd6d763a9eb3f9a42b8e2faab950fa0e13ac043b6898ea467694c098bac72c5bf3d44cc9da1fb1511ba1424c740f638ad48
languageName: node
linkType: hard
"@polkadot/networks@npm:12.6.2, @polkadot/networks@npm:^12.6.2":
version: 12.6.2
resolution: "@polkadot/networks@npm:12.6.2"
"@polkadot/networks@npm:13.0.2, @polkadot/networks@npm:^13.0.2":
version: 13.0.2
resolution: "@polkadot/networks@npm:13.0.2"
dependencies:
"@polkadot/util": "npm:12.6.2"
"@substrate/ss58-registry": "npm:^1.44.0"
"@polkadot/util": "npm:13.0.2"
"@substrate/ss58-registry": "npm:^1.46.0"
tslib: "npm:^2.6.2"
checksum: 10/6c2cd7f631ec40489e8f8260b15a138bd0d276d222e4133847e8915c476aea415498dd8d8ab583bdf76f2e4e5bb1c7a20bca9dac110eae2fb48d5f6cf6798349
checksum: 10/00722e54b9869a6186b1974fad7eb35af6a1fb13ad6bd82d79c972250e874994977ed6fdc1c5f1eb0465974ab628de7251502f162c179d40f872c49b54ab5e7d
languageName: node
linkType: hard
"@polkadot/rpc-augment@npm:12.1.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@npm:12.4.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:12.1.1"
"@polkadot/types": "npm:12.1.1"
"@polkadot/types-codec": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
"@polkadot/rpc-core": "npm:12.4.1"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-codec": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/rpc-core@npm:12.1.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@npm:12.4.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:12.1.1"
"@polkadot/rpc-provider": "npm:12.1.1"
"@polkadot/types": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/keyring": "npm:^13.0.2"
"@polkadot/rpc-augment": "npm:12.4.1"
"@polkadot/rpc-provider": "npm:12.4.1"
"@polkadot/types": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@npm:12.1.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@npm:12.4.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:12.1.1"
"@polkadot/types-support": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/x-fetch": "npm:^12.6.2"
"@polkadot/x-global": "npm:^12.6.2"
"@polkadot/x-ws": "npm:^12.6.2"
"@substrate/connect": "npm:0.8.10"
"@polkadot/keyring": "npm:^13.0.2"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-support": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
"@polkadot/x-fetch": "npm:^13.0.2"
"@polkadot/x-global": "npm:^13.0.2"
"@polkadot/x-ws": "npm:^13.0.2"
"@substrate/connect": "npm:0.8.11"
eventemitter3: "npm:^5.0.1"
mock-socket: "npm:^9.3.1"
nock: "npm:^13.5.0"
tslib: "npm:^2.6.2"
nock: "npm:^13.5.4"
tslib: "npm:^2.6.3"
dependenciesMeta:
"@substrate/connect":
optional: true
@@ -707,21 +710,21 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/typegen@workspace:packages/typegen"
dependencies:
"@polkadot/api": "npm:12.1.1"
"@polkadot/api-augment": "npm:12.1.1"
"@polkadot/rpc-augment": "npm:12.1.1"
"@polkadot/rpc-provider": "npm:12.1.1"
"@polkadot/types": "npm:12.1.1"
"@polkadot/types-augment": "npm:12.1.1"
"@polkadot/types-codec": "npm:12.1.1"
"@polkadot/types-create": "npm:12.1.1"
"@polkadot/types-support": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/x-ws": "npm:^12.6.2"
"@types/yargs": "npm:^17.0.32"
"@polkadot/api": "npm:12.4.1"
"@polkadot/api-augment": "npm:12.4.1"
"@polkadot/rpc-augment": "npm:12.4.1"
"@polkadot/rpc-provider": "npm:12.4.1"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-augment": "npm:12.4.1"
"@polkadot/types-codec": "npm:12.4.1"
"@polkadot/types-create": "npm:12.4.1"
"@polkadot/types-support": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
"@polkadot/x-ws": "npm:^13.0.2"
"@types/yargs": "npm:^17.0.33"
handlebars: "npm:^4.7.8"
tslib: "npm:^2.6.2"
tslib: "npm:^2.6.3"
yargs: "npm:^17.7.2"
bin:
polkadot-types-chain-info: ./scripts/polkadot-types-chain-info.mjs
@@ -732,113 +735,113 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@npm:12.1.1, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@npm:12.4.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:12.1.1"
"@polkadot/types-codec": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-codec": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/types-codec@npm:12.1.1, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@npm:12.4.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:12.1.1"
"@polkadot/types-augment": "npm:12.1.1"
"@polkadot/types-support": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/x-bigint": "npm:^12.6.2"
tslib: "npm:^2.6.2"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-augment": "npm:12.4.1"
"@polkadot/types-support": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
"@polkadot/x-bigint": "npm:^13.0.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/types-create@npm:12.1.1, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@npm:12.4.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:12.1.1"
"@polkadot/types-codec": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-codec": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/types-known@npm:12.1.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@npm:12.4.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:12.1.1"
"@polkadot/networks": "npm:^12.6.2"
"@polkadot/types": "npm:12.1.1"
"@polkadot/types-codec": "npm:12.1.1"
"@polkadot/types-create": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
"@polkadot/api": "npm:12.4.1"
"@polkadot/networks": "npm:^13.0.2"
"@polkadot/types": "npm:12.4.1"
"@polkadot/types-codec": "npm:12.4.1"
"@polkadot/types-create": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/types-support@npm:12.1.1, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@npm:12.4.1, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/types@npm:12.1.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@npm:12.4.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:12.1.1"
"@polkadot/types-codec": "npm:12.1.1"
"@polkadot/types-create": "npm:12.1.1"
"@polkadot/types-support": "npm:12.1.1"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/keyring": "npm:^13.0.2"
"@polkadot/types-augment": "npm:12.4.1"
"@polkadot/types-codec": "npm:12.4.1"
"@polkadot/types-create": "npm:12.4.1"
"@polkadot/types-support": "npm:12.4.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
tslib: "npm:^2.6.3"
languageName: unknown
linkType: soft
"@polkadot/util-crypto@npm:12.6.2, @polkadot/util-crypto@npm:^12.6.2":
version: 12.6.2
resolution: "@polkadot/util-crypto@npm:12.6.2"
"@polkadot/util-crypto@npm:13.0.2, @polkadot/util-crypto@npm:^13.0.2":
version: 13.0.2
resolution: "@polkadot/util-crypto@npm:13.0.2"
dependencies:
"@noble/curves": "npm:^1.3.0"
"@noble/hashes": "npm:^1.3.3"
"@polkadot/networks": "npm:12.6.2"
"@polkadot/util": "npm:12.6.2"
"@polkadot/networks": "npm:13.0.2"
"@polkadot/util": "npm:13.0.2"
"@polkadot/wasm-crypto": "npm:^7.3.2"
"@polkadot/wasm-util": "npm:^7.3.2"
"@polkadot/x-bigint": "npm:12.6.2"
"@polkadot/x-randomvalues": "npm:12.6.2"
"@polkadot/x-bigint": "npm:13.0.2"
"@polkadot/x-randomvalues": "npm:13.0.2"
"@scure/base": "npm:^1.1.5"
tslib: "npm:^2.6.2"
peerDependencies:
"@polkadot/util": 12.6.2
checksum: 10/a587e5e25697f3a928ae8677b82ccdbcc1df95122db2bbde753b0605f44487136fe2f55c502460d931def0007e856db40b1b34b4da3c674638ead459e79f227a
"@polkadot/util": 13.0.2
checksum: 10/333db21d1708158dc83905c32437ba201c97ba4274c2970f0bdfa9384f70f9bedbbe4e3032ce67d6f73bd0b755a4ab4d67b89f483b6bfc76305a67a867230915
languageName: node
linkType: hard
"@polkadot/util@npm:12.6.2, @polkadot/util@npm:^12.6.2":
version: 12.6.2
resolution: "@polkadot/util@npm:12.6.2"
"@polkadot/util@npm:13.0.2, @polkadot/util@npm:^13.0.2":
version: 13.0.2
resolution: "@polkadot/util@npm:13.0.2"
dependencies:
"@polkadot/x-bigint": "npm:12.6.2"
"@polkadot/x-global": "npm:12.6.2"
"@polkadot/x-textdecoder": "npm:12.6.2"
"@polkadot/x-textencoder": "npm:12.6.2"
"@polkadot/x-bigint": "npm:13.0.2"
"@polkadot/x-global": "npm:13.0.2"
"@polkadot/x-textdecoder": "npm:13.0.2"
"@polkadot/x-textencoder": "npm:13.0.2"
"@types/bn.js": "npm:^5.1.5"
bn.js: "npm:^5.2.1"
tslib: "npm:^2.6.2"
checksum: 10/b7a3c2be417d670fc64d0642818cadbf041cbcfae830f2ee45fc2496e86c8e11c385854b733504a7d6a6391066fd0ef544a1748f0f8809215c37a5c0ff64571d
checksum: 10/9e83f0843c3da9ffa7b6bc95a73e96ca4754d45cb9cc4418461e1ca38f00c54cb0e61873bb6f09f40c51e435025cfc282577b906a23b36eb6b0eb5af8668fad8
languageName: node
linkType: hard
@@ -922,77 +925,77 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/x-bigint@npm:12.6.2, @polkadot/x-bigint@npm:^12.6.2":
version: 12.6.2
resolution: "@polkadot/x-bigint@npm:12.6.2"
"@polkadot/x-bigint@npm:13.0.2, @polkadot/x-bigint@npm:^13.0.2":
version: 13.0.2
resolution: "@polkadot/x-bigint@npm:13.0.2"
dependencies:
"@polkadot/x-global": "npm:12.6.2"
"@polkadot/x-global": "npm:13.0.2"
tslib: "npm:^2.6.2"
checksum: 10/8a9533ba955d06213e3810d48e95618186cc832375f82d8b52376a99d7c8f9fdd01ffb9c35495522aec8c28d18ca5ef6c8feeec9770b83ebb64cded4cd3b7e27
checksum: 10/6c8d198f8982ae9de78a301e1beb0d38e627ba3c6aac149a385c5f753f39dc7201761bc02ce45881b50e7cf50a883edc8f179abc50532b2b094538c388bbc146
languageName: node
linkType: hard
"@polkadot/x-fetch@npm:^12.6.2":
version: 12.6.2
resolution: "@polkadot/x-fetch@npm:12.6.2"
"@polkadot/x-fetch@npm:^13.0.2":
version: 13.0.2
resolution: "@polkadot/x-fetch@npm:13.0.2"
dependencies:
"@polkadot/x-global": "npm:12.6.2"
"@polkadot/x-global": "npm:13.0.2"
node-fetch: "npm:^3.3.2"
tslib: "npm:^2.6.2"
checksum: 10/755feee15234b31de9e74bae5eca1a2e9c17e3e76330e5c5cca5e446fc3c350b8f02e3c3853005d1dd4b3da9d4f6a6c3ffd6d2146ae529b0fa6ed3c4206343af
checksum: 10/b4cf06f5219dab2b8b94af7913a3346fa46d1179b47c809f0cabecf07b068f9cd3e6f395c943c59b71341b92d61808df7bc05e23e4a30088349c77ed6b4ec11f
languageName: node
linkType: hard
"@polkadot/x-global@npm:12.6.2, @polkadot/x-global@npm:^12.6.2":
version: 12.6.2
resolution: "@polkadot/x-global@npm:12.6.2"
"@polkadot/x-global@npm:13.0.2, @polkadot/x-global@npm:^13.0.2":
version: 13.0.2
resolution: "@polkadot/x-global@npm:13.0.2"
dependencies:
tslib: "npm:^2.6.2"
checksum: 10/9159bd77e099f734f7c48ba3e37a886ba376c50066b664ee52caf0bf8eb0399b762ca08404ef6470c22e4d20e9fc8c5e0a87026efcbbd0f21ea5504b0e33d587
checksum: 10/e21fa675a0f0e017bcd7e39638b1ddcaf7adc6a457ffcc431aef6c5bc2ae9ad721e97a97f6b1b4b5b4499297be0357887040540085765b31fb837fa91a71055b
languageName: node
linkType: hard
"@polkadot/x-randomvalues@npm:12.6.2":
version: 12.6.2
resolution: "@polkadot/x-randomvalues@npm:12.6.2"
"@polkadot/x-randomvalues@npm:13.0.2":
version: 13.0.2
resolution: "@polkadot/x-randomvalues@npm:13.0.2"
dependencies:
"@polkadot/x-global": "npm:12.6.2"
"@polkadot/x-global": "npm:13.0.2"
tslib: "npm:^2.6.2"
peerDependencies:
"@polkadot/util": 12.6.2
"@polkadot/util": 13.0.2
"@polkadot/wasm-util": "*"
checksum: 10/9ab555931ab81a8834800da35f04cb86df48b0d706d33ea89c51f42b8d340dab7312c462d01ecae04573ba6a01ff1ad6066ea6cf82b1330482ff537eb3c12eeb
checksum: 10/bcfe394658d21f40b1169c063b9123b1d8044bc081785b7532c4851b9161b6192ca30edb502f3ead3d3bfffe7776b2cb091c15b6566c301516f355c70b69d211
languageName: node
linkType: hard
"@polkadot/x-textdecoder@npm:12.6.2":
version: 12.6.2
resolution: "@polkadot/x-textdecoder@npm:12.6.2"
"@polkadot/x-textdecoder@npm:13.0.2":
version: 13.0.2
resolution: "@polkadot/x-textdecoder@npm:13.0.2"
dependencies:
"@polkadot/x-global": "npm:12.6.2"
"@polkadot/x-global": "npm:13.0.2"
tslib: "npm:^2.6.2"
checksum: 10/ba8ebe34cce1445a78d4eb744c8cfcf068cebfaf6c8efca23e1cdb037e8769cb2738b77b7266e3f86cd2459bb3eb87744f9518cba76e76fca609a16e6b84789e
checksum: 10/31f378a8d9b3f3963b94fd87320100a754d1381eaf4687f58d28f9de0df24acc99d80ce707ff0d2d0b4ca3477d12ac8506f7cc502fde2b08fb30867f7a7553c1
languageName: node
linkType: hard
"@polkadot/x-textencoder@npm:12.6.2":
version: 12.6.2
resolution: "@polkadot/x-textencoder@npm:12.6.2"
"@polkadot/x-textencoder@npm:13.0.2":
version: 13.0.2
resolution: "@polkadot/x-textencoder@npm:13.0.2"
dependencies:
"@polkadot/x-global": "npm:12.6.2"
"@polkadot/x-global": "npm:13.0.2"
tslib: "npm:^2.6.2"
checksum: 10/b2e721d19660f7bcf3995d695fac5d78d4bc8c5fd0632ec0735eb20dd9b4b79fad1ce7dfe7ade202c4ace5cd2d6b8ac663bb4dca273afa050f73cf1e99498f82
checksum: 10/f3e2379901b68176398efc5be1e8304ceda28b3f4bf6b0da0b837b13478257967108552eae3250a43d634253bdb46e907146244ff41908a5a39f99852fb5a252
languageName: node
linkType: hard
"@polkadot/x-ws@npm:^12.6.2":
version: 12.6.2
resolution: "@polkadot/x-ws@npm:12.6.2"
"@polkadot/x-ws@npm:^13.0.2":
version: 13.0.2
resolution: "@polkadot/x-ws@npm:13.0.2"
dependencies:
"@polkadot/x-global": "npm:12.6.2"
"@polkadot/x-global": "npm:13.0.2"
tslib: "npm:^2.6.2"
ws: "npm:^8.15.1"
checksum: 10/de987c0a9d5df7d9eb17d96fd47afb2417eb85b7126e4e11bc4fe7dc908b54307390a1e3da61d251cd5f1f6edd054712f018bdc695ce946e0267806d1f050119
ws: "npm:^8.16.0"
checksum: 10/627d7bb8fb115a66fafb11e8f96c2559f793ea936fd88be2aee3f304c5f08c6133073fd762a7a9ae793e2f83ad122c5dace1509831ee1e694b7bf67d5a56e89a
languageName: node
linkType: hard
@@ -1224,46 +1227,46 @@ __metadata:
languageName: node
linkType: hard
"@substrate/connect-known-chains@npm:^1.1.4":
version: 1.1.4
resolution: "@substrate/connect-known-chains@npm:1.1.4"
checksum: 10/17fdce09bf2ba042371910a5e1c701d7db7e40b7c021eb67f36ed2d28175b8846e01eb2438be03827e2cd2654d35be5a1a248c36e9588ccdbe4545da0bee5047
"@substrate/connect-known-chains@npm:^1.1.5":
version: 1.3.0
resolution: "@substrate/connect-known-chains@npm:1.3.0"
checksum: 10/8d3e08fd0fbd411989f13223ee679978de91c41b366541e7fbb0201307314cf776d8255eaf19bd8cb6c678ad06e3e7c488c4f7bc1789098452616aa8e8d67333
languageName: node
linkType: hard
"@substrate/connect@npm:0.8.10":
version: 0.8.10
resolution: "@substrate/connect@npm:0.8.10"
"@substrate/connect@npm:0.8.11":
version: 0.8.11
resolution: "@substrate/connect@npm:0.8.11"
dependencies:
"@substrate/connect-extension-protocol": "npm:^2.0.0"
"@substrate/connect-known-chains": "npm:^1.1.4"
"@substrate/light-client-extension-helpers": "npm:^0.0.6"
smoldot: "npm:2.0.22"
checksum: 10/078c08d12eb12b55b2c8ee0e0c335284db07d13b48cc5329db68a6376173f1fb6b2357fb47f8ec4da7b66f4230d9bc2c3873beb66d755c475969d1cdbbec316f
"@substrate/connect-known-chains": "npm:^1.1.5"
"@substrate/light-client-extension-helpers": "npm:^1.0.0"
smoldot: "npm:2.0.26"
checksum: 10/380ba85aa3aec4439fae2ee42173376615ca60262d9c37e6e43d1d65d0d0f63f38c009bb476e9a612b0b9985c1b5808c4d9a75aff9e1828c77e75c8b7584d824
languageName: node
linkType: hard
"@substrate/light-client-extension-helpers@npm:^0.0.6":
version: 0.0.6
resolution: "@substrate/light-client-extension-helpers@npm:0.0.6"
"@substrate/light-client-extension-helpers@npm:^1.0.0":
version: 1.0.0
resolution: "@substrate/light-client-extension-helpers@npm:1.0.0"
dependencies:
"@polkadot-api/json-rpc-provider": "npm:0.0.1"
"@polkadot-api/json-rpc-provider-proxy": "npm:0.0.1"
"@polkadot-api/observable-client": "npm:0.1.0"
"@polkadot-api/substrate-client": "npm:0.0.1"
"@polkadot-api/json-rpc-provider": "npm:^0.0.1"
"@polkadot-api/json-rpc-provider-proxy": "npm:^0.1.0"
"@polkadot-api/observable-client": "npm:^0.3.0"
"@polkadot-api/substrate-client": "npm:^0.1.2"
"@substrate/connect-extension-protocol": "npm:^2.0.0"
"@substrate/connect-known-chains": "npm:^1.1.4"
"@substrate/connect-known-chains": "npm:^1.1.5"
rxjs: "npm:^7.8.1"
peerDependencies:
smoldot: 2.x
checksum: 10/1a3576019538c8150dd56ddae3ec6ed7b6272af72cd6d17cbb5de76d6ae554af2a0bf72bbb9ffd4b9c64c9eb9ee3f13caaad57e01c5173e35a0cb799fd27574a
checksum: 10/ca0726e8271aa9eb4f1edbb13e7f6986d45c9a4ae9a73a1a14aa9a41552821ca291a33459b7e8fc1ec1bde1ead9336a8bca4fb8781c060d5cbdd7e59ca96cb2d
languageName: node
linkType: hard
"@substrate/ss58-registry@npm:^1.44.0":
version: 1.44.0
resolution: "@substrate/ss58-registry@npm:1.44.0"
checksum: 10/97a05ca6f439f42ea24bd4d3fc1ab9e77e65e6dd0d2d823e438ae9a82ea4d6249012066149a23c1dad8fb27ec5a3913f6639c2e480377fea3ee96fd1bd592bd0
"@substrate/ss58-registry@npm:^1.46.0":
version: 1.49.0
resolution: "@substrate/ss58-registry@npm:1.49.0"
checksum: 10/6214c8f8586aefbb67b70bd2f02a9d133cfb15f360d691f1164c192036b59d1e282495e884b7da80a32e54eed1bd2bcc421f571e548a29410a5a50be7b2daa10
languageName: node
linkType: hard
@@ -1419,12 +1422,12 @@ __metadata:
languageName: node
linkType: hard
"@types/node@npm:*, @types/node@npm:^20.11.6":
version: 20.11.6
resolution: "@types/node@npm:20.11.6"
"@types/node@npm:*, @types/node@npm:^20.15.0":
version: 20.15.0
resolution: "@types/node@npm:20.15.0"
dependencies:
undici-types: "npm:~5.26.4"
checksum: 10/375dfc75f0aa8b7fb99382d84c317e5dab2969dcc3f54d8490b119151060923eae6483839552347bc78262bbcefb2951ee131e15372f4e80b755be2dda9afe80
undici-types: "npm:~6.13.0"
checksum: 10/bec475ee6c54dc575ec4d322753df484af2b96e3afdd3f6f8e594353b3918ca5f420e7c30845225661a14a7522fa421d15294fbf68ed7ae16f4ae7942ca809bd
languageName: node
linkType: hard
@@ -1516,12 +1519,12 @@ __metadata:
languageName: node
linkType: hard
"@types/yargs@npm:^17.0.32":
version: 17.0.32
resolution: "@types/yargs@npm:17.0.32"
"@types/yargs@npm:^17.0.33":
version: 17.0.33
resolution: "@types/yargs@npm:17.0.33"
dependencies:
"@types/yargs-parser": "npm:*"
checksum: 10/1e2b2673847011ce43607df690d392f137d95a2d6ea85aa319403eadda2ef4277365efd4982354d8843f2611ef3846c88599660aaeb537fa9ccddae83c2a89de
checksum: 10/16f6681bf4d99fb671bf56029141ed01db2862e3db9df7fc92d8bea494359ac96a1b4b1c35a836d1e95e665fb18ad753ab2015fc0db663454e8fd4e5d5e2ef91
languageName: node
linkType: hard
@@ -6676,14 +6679,14 @@ __metadata:
languageName: node
linkType: hard
"nock@npm:^13.5.0":
version: 13.5.0
resolution: "nock@npm:13.5.0"
"nock@npm:^13.5.4":
version: 13.5.4
resolution: "nock@npm:13.5.4"
dependencies:
debug: "npm:^4.1.0"
json-stringify-safe: "npm:^5.0.1"
propagate: "npm:^2.0.0"
checksum: 10/347e6804d3eadb2ec81e3a0808b4cf8d826e5a6b52aa91b31db9c78c9afb58f0af0d1c941dff13d78ff99968b025dea9593f341cc515463270cb69d8e293c9cf
checksum: 10/75bad391bae4efb81b742734af5f2d87309cd93d3ca6b78372fd37946d78ccb254d79104676619866915e6734abfc1b00fee2aa42073a4843ca3c746aad35a4d
languageName: node
linkType: hard
@@ -7944,7 +7947,7 @@ __metadata:
dependencies:
"@polkadot/dev": "npm:^0.79.3"
"@polkadot/typegen": "workspace:packages/typegen"
"@types/node": "npm:^20.11.6"
"@types/node": "npm:^20.15.0"
languageName: unknown
linkType: soft
@@ -8329,12 +8332,12 @@ __metadata:
languageName: node
linkType: hard
"smoldot@npm:2.0.22":
version: 2.0.22
resolution: "smoldot@npm:2.0.22"
"smoldot@npm:2.0.26":
version: 2.0.26
resolution: "smoldot@npm:2.0.26"
dependencies:
ws: "npm:^8.8.1"
checksum: 10/8d63720ff7aee9ff4cbfb3d6952c68781aaaecf49fcb20d8b76919e854975b029071778c4c3bd50a18a4c3e0c96857b2b6daa526bbad4a3bee20f2aad8dfe388
checksum: 10/b975c8ef16e2286b2eddc8c19c18080bd528f27e9abc0e2731304823e67ebe1fc71b01bed2c070d00da1f7e2f69e25c159c976d27eb1796de4a978362dae701e
languageName: node
linkType: hard
@@ -8925,10 +8928,10 @@ __metadata:
languageName: node
linkType: hard
"tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.6.2":
version: 2.6.2
resolution: "tslib@npm:2.6.2"
checksum: 10/bd26c22d36736513980091a1e356378e8b662ded04204453d353a7f34a4c21ed0afc59b5f90719d4ba756e581a162ecbf93118dc9c6be5acf70aa309188166ca
"tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.6.2, tslib@npm:^2.6.3":
version: 2.6.3
resolution: "tslib@npm:2.6.3"
checksum: 10/52109bb681f8133a2e58142f11a50e05476de4f075ca906d13b596ae5f7f12d30c482feb0bff167ae01cfc84c5803e575a307d47938999246f5a49d174fc558c
languageName: node
linkType: hard
@@ -9112,10 +9115,10 @@ __metadata:
languageName: node
linkType: hard
"undici-types@npm:~5.26.4":
version: 5.26.5
resolution: "undici-types@npm:5.26.5"
checksum: 10/0097779d94bc0fd26f0418b3a05472410408877279141ded2bd449167be1aed7ea5b76f756562cb3586a07f251b90799bab22d9019ceba49c037c76445f7cddd
"undici-types@npm:~6.13.0":
version: 6.13.0
resolution: "undici-types@npm:6.13.0"
checksum: 10/da52e37cbc6da3a75da86fa08dd795ca8924430deb91005eb884b840e46e19013ccd4c1c289f70018e8cf0c338add24a500e7c3acfcd49b1ffb27ff9f91e38b9
languageName: node
linkType: hard
@@ -9717,7 +9720,7 @@ __metadata:
languageName: node
linkType: hard
"ws@npm:^8.13.0, ws@npm:^8.15.1, ws@npm:^8.16.0, ws@npm:^8.8.1":
"ws@npm:^8.13.0, ws@npm:^8.16.0, ws@npm:^8.8.1":
version: 8.16.0
resolution: "ws@npm:8.16.0"
peerDependencies: