Compare commits

...
38 Commits
Author SHA1 Message Date
github-actions[bot] f45dfc72ec [CI Skip] release/stable 16.4.9
skip-checks: true
2025-10-14 13:54:12 +00:00
Valentin Fernandez 8a2370c677 16.4.9 (#6217) 2025-10-14 10:48:23 -03:00
github-actions[bot] d44ccd6e16 [CI Skip] bump/beta 16.4.9-1-x
skip-checks: true
2025-10-14 12:42:48 +00:00
Valentin Fernandez 284b7df1ed Bump @polkadot/common deps to 13.5.7 (#6216) 2025-10-14 09:37:10 -03:00
github-actions[bot] 2daebb2127 [CI Skip] bump/beta 16.4.9-0-x
skip-checks: true
2025-10-14 12:17:12 +00:00
Martin Rieke 0fe618ec74 If possible, rpc-core should decode results into the lookupId type to avoid issues with multiple types that share the same name (#6089) 2025-10-14 09:11:17 -03:00
github-actions[bot] 1c4c7c72e2 [CI Skip] release/stable 16.4.8
skip-checks: true
2025-09-23 14:44:04 +00:00
Valentin Fernandez f1f163ca4c 16.4.8 (#6212) 2025-09-23 11:38:13 -03:00
github-actions[bot] beaf1a05ba [CI Skip] bump/beta 16.4.8-0-x
skip-checks: true
2025-09-22 12:10:57 +00:00
Alex Bean f9fc2c60b0 refactor: retrieve contract address from Instantiated event (#6210)
* refactor: get smart contract address from Instantiated event

* fix: lint
2025-09-22 09:05:04 -03:00
github-actions[bot] d565283163 [CI Skip] release/stable 16.4.7
skip-checks: true
2025-09-15 15:47:58 +00:00
Tarik Gul eeb7477568 16.4.7 (#6209) 2025-09-15 11:42:15 -04:00
github-actions[bot] 588509200c [CI Skip] bump/beta 16.4.7-1-x
skip-checks: true
2025-09-15 15:20:01 +00:00
Tarik Gul a9c11efecb Set Statemint xcm types to v4 to patch decoding (#6208)
* Set Statemint xcm types to v4 to patch decoding

* Add comment
2025-09-15 11:14:22 -04:00
github-actions[bot] 1234219c5b [CI Skip] bump/beta 16.4.7-0-x
skip-checks: true
2025-09-04 03:50:05 +00:00
Arjun Porwal fa1689ea11 fix: handle optional chaining for claimed rewards in staker rewards functions (#6205) 2025-09-04 09:14:14 +05:30
github-actions[bot] f337998589 [CI Skip] release/stable 16.4.6
skip-checks: true
2025-08-26 17:39:15 +00:00
Valentin Fernandez b5219b7705 16.4.6 (#6203) 2025-08-26 14:33:35 -03:00
github-actions[bot] 80223933af [CI Skip] bump/beta 16.4.6-1-x
skip-checks: true
2025-08-26 17:19:17 +00:00
Valentin Fernandez f734313c20 bump @polkadot/common deps (#6202) 2025-08-26 14:13:28 -03:00
github-actions[bot] 2b667af9e5 [CI Skip] bump/beta 16.4.6-0-x
skip-checks: true
2025-08-21 13:58:48 +00:00
Valentin Fernandez d3fe08efd1 Properly pull metadata from v16 (#6201) 2025-08-21 10:52:47 -03:00
github-actions[bot] 91b5c82960 [CI Skip] release/stable 16.4.5
skip-checks: true
2025-08-20 12:09:48 +00:00
Valentin Fernandez 2312614107 16.4.5 (#6199) 2025-08-20 09:03:59 -03:00
github-actions[bot] 181a3c5519 [CI Skip] bump/beta 16.4.5-0-x
skip-checks: true
2025-08-19 08:30:52 +00:00
Arjun Porwal b848c5cc41 fix: transferable balance calculation (#6197) 2025-08-19 13:55:05 +05:30
github-actions[bot] 3c020c2e1b [CI Skip] release/stable 16.4.4
skip-checks: true
2025-08-13 12:25:12 +00:00
Valentin Fernandez fc69476b85 16.4.4 (#6196) 2025-08-13 09:19:29 -03:00
github-actions[bot] bba524109a [CI Skip] bump/beta 16.4.4-0-x
skip-checks: true
2025-08-12 15:31:06 +00:00
Valentin Fernandez a070d695e3 bump polkadot/common to 13.5.5 (#6195) 2025-08-12 12:25:04 -03:00
github-actions[bot] 29cd5ef00b [CI Skip] release/stable 16.4.3
skip-checks: true
2025-07-29 06:25:52 +00:00
rajk93 7619ffd8cb 16.4.3 (#6194) 2025-07-29 11:50:04 +05:30
github-actions[bot] 3642889921 [CI Skip] bump/beta 16.4.3-2-x
skip-checks: true
2025-07-29 05:33:46 +00:00
rajk93 40cbba1984 chore: update polkadot dependencies (#6193) 2025-07-29 10:57:58 +05:30
github-actions[bot] 5d8c70413b [CI Skip] bump/beta 16.4.3-1-x
skip-checks: true
2025-07-25 02:54:10 +00:00
ZeroX-Toml 6b9e1b4d21 Refactor signing functions to use blake2AsU8a for hashing instead of registry.hash in conditional sign of extrinsic payload (#6183)
* fix: Refactor signing functions to use blake2AsU8a for hashing instead of registry.hash in conditional sign of extrinsic payload

* fix: resolve lint error and discard unused hash

* fix: resolve lint err
2025-07-25 08:18:25 +05:30
github-actions[bot] 3e8d4e0e24 [CI Skip] bump/beta 16.4.3-0-x
skip-checks: true
2025-07-22 16:15:23 +00:00
Manuel Mauro 81e85edc5a Add EIP-7702 transaction type (#6188)
* feat: ✨ add EIP-7702 transaction types

* feat: ✨ update signature types

* feat: ✨ add ReceiptV4
2025-07-22 21:39:33 +05:30
52 changed files with 99469 additions and 418 deletions
+69 -8
View File
@@ -1,24 +1,85 @@
# CHANGELOG
## 16.4.9 Oct 14, 2025
Changes:
- Bump @polkadot/common deps to v13.5.7 ([#6216](https://github.com/polkadot-js/api/pull/6216))
Contributions:
- Ensure rpc-core can correctly decode types, even if multiple types share the same name ([#6089](https://github.com/polkadot-js/api/pull/6089))
## 16.4.8 Sep 23, 2025
Changes:
- refactor: retrieve contract address from Instantiated event ([#6210](https://github.com/polkadot-js/api/pull/6210))
## 16.4.7 Sep 15, 2025
Changes:
- fix: Set Statemint xcm types to v4 to patch decoding ([#6208](https://github.com/polkadot-js/api/pull/6208))
- fix: Handle optional chaining for claimed rewards in staker rewards functions ([#6205](https://github.com/polkadot-js/api/pull/6205))
## 16.4.6 Aug 26, 2025
Changes:
- Upgrade substrate types to stable2506-1 ([#6201](https://github.com/polkadot-js/api/pull/6201))
- Bump @polkadot/common deps ([#6202](https://github.com/polkadot-js/api/pull/6202))
## 16.4.5 Aug 19, 2025
Changes:
- Fix transferable balance calculation ([#6197](http://github.com/polkadot-js/api/pull/6197))
## 16.4.4 Aug 13, 2025
Changes:
- bump polkadot/common to 13.5.5 ([#6195](https://github.com/polkadot-js/api/pull/6195))
## 16.4.3 Jul 29, 2025
Changes:
- Bump @polkadot/common to 13.5.4 ([#6193](https://github.com/polkadot-js/api/pull/6193))
## 16.4.2 Jul 22, 2025
- Add validation for cache capacity and TTL in LRUCache ([#6187](https://github.com/polkadot-js/api/pull/6187))
Changes:
- Add validation for cache capacity and TTL in LRUCache ([#6187](https://github.com/polkadot-js/api/pull/6187))
## 16.4.1 Jul 8, 2025
- Update Kusama types to 1.6.0 ([#6175](https://github.com/polkadot-js/api/pull/6175))
- fix(api-contracts): correctly decode pallet_revive events ([#6181](https://github.com/polkadot-js/api/pull/6181))
Changes:
- Update Kusama types to 1.6.0 ([#6175](https://github.com/polkadot-js/api/pull/6175))
- fix(api-contracts): correctly decode pallet_revive events ([#6181](https://github.com/polkadot-js/api/pull/6181))
## 16.3.1 Jul 1, 2025
- Update Substrate types to Polkadot stable2503-5 ([#6172](https://github.com/polkadot-js/api/pull/6172))
- Update Polkadot types to polkadot-fellows/runtimes release 1.6.0 ([#6173](https://github.com/polkadot-js/api/pull/6173))
- Update AssetHub Polkadot types to 1.6.0 ([#6174](https://github.com/polkadot-js/api/pull/6174))
Changes:
- Update Substrate types to Polkadot stable2503-5 ([#6172](https://github.com/polkadot-js/api/pull/6172))
- Update Polkadot types to polkadot-fellows/runtimes release 1.6.0 ([#6173](https://github.com/polkadot-js/api/pull/6173))
- Update AssetHub Polkadot types to 1.6.0 ([#6174](https://github.com/polkadot-js/api/pull/6174))
- Update AssetHub Kusama types to 1.6.0 ([#6176](https://github.com/polkadot-js/api/pull/6176))
- Fix signature issue in signAsync + send flow [#6177](https://github.com/polkadot-js/api/pull/6177)
- Bump @polkadot/common to 13.5.2 ([#6179](https://github.com/polkadot-js/api/pull/6179))
- Fix signature issue in signAsync + send flow [#6177](https://github.com/polkadot-js/api/pull/6177)
- Bump @polkadot/common to 13.5.2 ([#6179](https://github.com/polkadot-js/api/pull/6179))
## 16.2.2 Jun 17, 2025
+8 -5
View File
@@ -1,7 +1,7 @@
3512 Jaco Bump deps (#5785)
164 Tarik Gul Upgrade polkadot/common to 13.5.1 (#6150)
166 Tarik Gul 16.4.7 (#6209)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
49 Valentin Fernandez 16.4.1 (#6186)
58 Valentin Fernandez 16.4.9 (#6217)
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,10 +10,10 @@
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
11 Ian He HttpProvider support clone() (#3949)
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
8 Arjun Porwal fix: handle optional chaining for claimed rewards in staker rewards functions (#6205)
8 rajk93 16.4.3 (#6194)
6 Andreea Eftene Update check for contract instantiation (#5699)
6 Arjun Porwal Add validation for cache capacity and TTL in LRUCache (#6187)
6 Branislav Kontur Fix for fungiblesApi (#5944)
6 rajk93 16.4.2 (#6190)
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
5 Chevdor Fix metadata package link (#3458)
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
@@ -26,6 +26,7 @@
4 Joshy Orndorff spelling; efect -> effect (#2295)
4 Nantian fix bigint type (#3869)
4 Scott Twiname Add support for historical BlockNumber rpc methods (#4574)
3 Alex Bean refactor: retrieve contract address from `Instantiated` event (#6210)
3 André Silva add support for ValidationCodeHash (#3640)
3 Antoine Estienne Adapted to display moonbeam author (#3108)
3 Arjan Zijderveld Added `Emergency` to `ElectionPhase` (#3707)
@@ -38,7 +39,6 @@
3 Miguel Hervas Adding RT4 Types (#3007)
3 Shawn Tabrizi Add `isReadyOrError` when connecting to API (#2577)
3 YJ feat: Vote interface as U8a (#1061)
2 Alex Bean fix(api-contracts): correctly decode `pallet_revive` events (#6181)
2 Alexander Krupenkin Add [u8; 33] type width for U8aFixed type (#2391)
2 Branan Riley Add proxy type for Centrifuge (#3940)
2 Caio Add `Range` and `RangeInclusive` types (#3791)
@@ -108,10 +108,12 @@
1 Lauro Gripa Fix multi call of `defenderVotes` and `isDefenderVoter` flag in `society.members` derivation (#5834)
1 Lezek123 BTreeSet and BTreeMap - encoding and serialization fixes (#3789)
1 Lovesh Harchandani Fix name of "getBlock" in package "api-derive" and export it in "index.ts" (#2857)
1 Manuel Mauro Add EIP-7702 transaction type (#6188)
1 Marc Fornós add beefy compact signed commitment definition (#5781)
1 Mario Neises fix usage with typescript (#405)
1 Mario Pino Add PolkaStats to API users (#1593)
1 Mark Robert Henderson Update warnings.ts to have the latest URLs (#2720)
1 Martin Rieke If possible, rpc-core should decode results into the lookupId type to avoid issues with multiple types that share the same name (#6089)
1 Matej Nemček added Kodadot to @polkadot/api users section (#2220)
1 Mokhtar Naamani Disable websocket outgoing message fragmentation for w3cwebsocket (#2738)
1 Nazar Mokrynskyi Performance tweaks (#4143)
@@ -149,4 +151,5 @@
1 yjh fix MetadataVersioned.asV12 (#2983)
1 Yuri fixes #3693 Fix uniques return types (#3694)
1 Zeke Mostov fix: Allow sudo for polkadot indexed proxy enum (#3286)
1 ZeroX-Toml Refactor signing functions to use blake2AsU8a for hashing instead of registry.hash in conditional sign of extrinsic payload (#6183)
1 zjb0807 Throws detailed error information (#6116)
+3 -3
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"versions": {
"git": "16.4.2",
"npm": "16.4.2"
"git": "16.4.9",
"npm": "16.4.9"
},
"workspaces": [
"packages/*"
+7 -7
View File
@@ -18,15 +18,15 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "16.4.2",
"@polkadot/rpc-augment": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-augment": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/api-base": "16.4.9",
"@polkadot/rpc-augment": "16.4.9",
"@polkadot/types": "16.4.9",
"@polkadot/types-augment": "16.4.9",
"@polkadot/types-codec": "16.4.9",
"@polkadot/util": "^13.5.7",
"tslib": "^2.8.1"
}
}
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.4.9' };
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/rpc-core": "16.4.9",
"@polkadot/types": "16.4.9",
"@polkadot/util": "^13.5.7",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
}
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.4.9' };
+11 -11
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/api": "16.4.2",
"@polkadot/api-augment": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/types-create": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"@polkadot/api": "16.4.9",
"@polkadot/api-augment": "16.4.9",
"@polkadot/types": "16.4.9",
"@polkadot/types-codec": "16.4.9",
"@polkadot/types-create": "16.4.9",
"@polkadot/util": "^13.5.7",
"@polkadot/util-crypto": "^13.5.7",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/api-augment": "16.4.2",
"@polkadot/keyring": "^13.5.3",
"@polkadot/types-support": "16.4.2"
"@polkadot/api-augment": "16.4.9",
"@polkadot/keyring": "^13.5.7",
"@polkadot/types-support": "16.4.9"
}
}
+3 -16
View File
@@ -71,22 +71,9 @@ export class Blueprint<ApiType extends ApiTypes> extends Base<ApiType> {
this.abi.findConstructor(constructorOrId).toU8a(params),
encodeSalt(salt)
).withResultTransform((result: ISubmittableResult) =>
new BlueprintSubmittableResult(result,
this._isRevive
? (
(result.status.isInBlock || result.status.isFinalized)
? new Contract<ApiType>(
this.api,
this.abi,
// your fixed address for revive deployments
this.registry.createType('AccountId', '0x'),
this._decorateMethod
)
: undefined
)
: applyOnEvent(result, ['Instantiated'], ([record]: EventRecord[]) =>
new Contract<ApiType>(this.api, this.abi, record.event.data[1] as AccountId, this._decorateMethod), this._isRevive
)
new BlueprintSubmittableResult(result, applyOnEvent(result, ['Instantiated'], ([record]: EventRecord[]) =>
new Contract<ApiType>(this.api, this.abi, record.event.data[1] as AccountId, this._decorateMethod), this._isRevive
)
)
);
};
+17 -2
View File
@@ -85,8 +85,23 @@ export class Code<ApiType extends ApiTypes> extends Base<ApiType> {
).withResultTransform((result: ISubmittableResult) =>
new CodeSubmittableResult(
result,
new Blueprint<ApiType>(this.api, this.abi, this.abi.info.source.hash, this._decorateMethod),
new Contract<ApiType>(this.api, this.abi, '0x', this._decorateMethod)
...(applyOnEvent(result, ['Instantiated'], (records: EventRecord[]) =>
records.reduce<[Blueprint<ApiType> | undefined, Contract<ApiType> | undefined]>(
([blueprint, contract], { event }) =>
this.api.events.revive['Instantiated'].is(event)
? [
blueprint,
new Contract<ApiType>(
this.api,
this.abi,
(event as unknown as { data: [Codec, AccountId] }).data[1],
this._decorateMethod
)
]
: [blueprint, contract],
[undefined, undefined]
), this._isRevive
) || [undefined, undefined])
)
);
}
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.4.9' };
+14 -14
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/api": "16.4.2",
"@polkadot/api-augment": "16.4.2",
"@polkadot/api-base": "16.4.2",
"@polkadot/rpc-core": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"@polkadot/api": "16.4.9",
"@polkadot/api-augment": "16.4.9",
"@polkadot/api-base": "16.4.9",
"@polkadot/rpc-core": "16.4.9",
"@polkadot/types": "16.4.9",
"@polkadot/types-codec": "16.4.9",
"@polkadot/util": "^13.5.7",
"@polkadot/util-crypto": "^13.5.7",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/api": "16.4.2",
"@polkadot/api-augment": "16.4.2",
"@polkadot/rpc-augment": "16.4.2",
"@polkadot/rpc-provider": "16.4.2",
"@polkadot/types-support": "16.4.2"
"@polkadot/api": "16.4.9",
"@polkadot/api-augment": "16.4.9",
"@polkadot/rpc-augment": "16.4.9",
"@polkadot/rpc-provider": "16.4.9",
"@polkadot/types-support": "16.4.9"
}
}
+1 -1
View File
@@ -67,7 +67,7 @@ function calcShared (api: DeriveApi, bestNumber: BlockNumber, data: DeriveBalanc
'Balance',
allLocked
? 0
: freeBalance.sub(bnMax(maybeED, frozenReserveDif))
: bnMax(new BN(0), freeBalance.sub(bnMax(maybeED, frozenReserveDif)))
);
}
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.4.9' };
@@ -23,10 +23,10 @@ function extractCompatRewards (claimedRewardsEras: Vec<u32>, ledger?: PalletStak
? (
ledger.legacyClaimedRewards ||
(ledger as PalletStakingStakingLedger & { claimedRewards: Vec<u32> }).claimedRewards
).toArray()
)?.toArray()
: [] as unknown as Vec<u32>;
return claimedRewardsEras.toArray().concat(l);
return (claimedRewardsEras.toArray() || []).concat(l);
}
function parseRewards (api: DeriveApi, stashId: AccountId, [erasPoints, erasPrefs, erasRewards]: ErasResult, exposures: DeriveStakerExposure[], claimedRewardsEras: Vec<u32>): DeriveStakerReward[] {
@@ -125,7 +125,7 @@ function removeClaimed (validators: string[], queryValidators: DeriveStakingQuer
if (index !== -1) {
const valLedger = queryValidators[index].stakingLedger;
if (extractCompatRewards(claimedRewardsEras, valLedger).some((e) => reward.era.eq(e))) {
if (extractCompatRewards(claimedRewardsEras, valLedger).some((e) => reward.era?.eq(e))) {
rm.push(validatorId);
}
}
@@ -137,7 +137,7 @@ function removeClaimed (validators: string[], queryValidators: DeriveStakingQuer
}
function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][], { claimedRewardsEras, rewards, stakingLedger }: { rewards: DeriveStakerReward[]; stakingLedger: PalletStakingStakingLedger, claimedRewardsEras: Vec<u32> }): DeriveStakerReward[] {
const filter = eras.filter((e) => !extractCompatRewards(claimedRewardsEras, stakingLedger).some((s) => s.eq(e)));
const filter = eras.filter((e) => !extractCompatRewards(claimedRewardsEras, stakingLedger).some((s) => s?.eq(e)));
const validators = valInfo.map(([v]) => v);
const queryValidators = valInfo.map(([, q]) => q);
@@ -162,7 +162,7 @@ function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][
const info = queryValidators.find((i) => i.accountId.toString() === key);
if (info) {
isClaimed = info.claimedRewardsEras.toArray().some((era) => era.eq(reward.era));
isClaimed = info.claimedRewardsEras?.toArray().some((era) => era.eq(reward.era));
break;
}
}
+17 -17
View File
@@ -18,29 +18,29 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "16.4.2",
"@polkadot/api-base": "16.4.2",
"@polkadot/api-derive": "16.4.2",
"@polkadot/keyring": "^13.5.3",
"@polkadot/rpc-augment": "16.4.2",
"@polkadot/rpc-core": "16.4.2",
"@polkadot/rpc-provider": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-augment": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/types-create": "16.4.2",
"@polkadot/types-known": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"@polkadot/api-augment": "16.4.9",
"@polkadot/api-base": "16.4.9",
"@polkadot/api-derive": "16.4.9",
"@polkadot/keyring": "^13.5.7",
"@polkadot/rpc-augment": "16.4.9",
"@polkadot/rpc-core": "16.4.9",
"@polkadot/rpc-provider": "16.4.9",
"@polkadot/types": "16.4.9",
"@polkadot/types-augment": "16.4.9",
"@polkadot/types-codec": "16.4.9",
"@polkadot/types-create": "16.4.9",
"@polkadot/types-known": "16.4.9",
"@polkadot/util": "^13.5.7",
"@polkadot/util-crypto": "^13.5.7",
"eventemitter3": "^5.0.1",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/api-augment": "16.4.2",
"@polkadot/types-support": "16.4.2"
"@polkadot/api-augment": "16.4.9",
"@polkadot/types-support": "16.4.9"
}
}
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.4.9' };
+5 -5
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/rpc-core": "16.4.9",
"@polkadot/types": "16.4.9",
"@polkadot/types-codec": "16.4.9",
"@polkadot/util": "^13.5.7",
"tslib": "^2.8.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.4.2' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.4.9' };
+7 -7
View File
@@ -18,18 +18,18 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "16.4.2",
"@polkadot/rpc-provider": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/rpc-augment": "16.4.9",
"@polkadot/rpc-provider": "16.4.9",
"@polkadot/types": "16.4.9",
"@polkadot/util": "^13.5.7",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/keyring": "^13.5.3",
"@polkadot/rpc-augment": "16.4.2"
"@polkadot/keyring": "^13.5.7",
"@polkadot/rpc-augment": "16.4.9"
}
}
+2 -1
View File
@@ -13,6 +13,7 @@ import { Observable, publishReplay, refCount } from 'rxjs';
import { LRUCache } from '@polkadot/rpc-provider';
import { rpcDefinitions } from '@polkadot/types';
import { unwrapStorageSi } from '@polkadot/types/util';
import { hexToU8a, isFunction, isNull, isUndefined, lazyMethod, logger, memoize, objectSpread, u8aConcat, u8aToU8a } from '@polkadot/util';
import { drr, refCountDelay } from './util/index.js';
@@ -508,7 +509,7 @@ export class RpcCore {
private _newType (registry: Registry, blockHash: Uint8Array | string | null | undefined, key: StorageKey, input: string | Uint8Array | null, isEmpty: boolean, entryIndex = -1): Codec {
// single return value (via state.getStorage), decode the value based on the
// outputType that we have specified. Fallback to Raw on nothing
const type = key.outputType || 'Raw';
const type = key.meta ? registry.createLookupType(unwrapStorageSi(key.meta.type)) : (key.outputType || 'Raw');
const meta = key.meta || EMPTY_META;
const entryNum = entryIndex === -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: '16.4.2' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.4.9' };
+9 -9
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^13.5.3",
"@polkadot/types": "16.4.2",
"@polkadot/types-support": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"@polkadot/x-fetch": "^13.5.3",
"@polkadot/x-global": "^13.5.3",
"@polkadot/x-ws": "^13.5.3",
"@polkadot/keyring": "^13.5.7",
"@polkadot/types": "16.4.9",
"@polkadot/types-support": "16.4.9",
"@polkadot/util": "^13.5.7",
"@polkadot/util-crypto": "^13.5.7",
"@polkadot/x-fetch": "^13.5.7",
"@polkadot/x-global": "^13.5.7",
"@polkadot/x-ws": "^13.5.7",
"eventemitter3": "^5.0.1",
"mock-socket": "^9.3.1",
"nock": "^13.5.5",
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.4.9' };
+14 -14
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
@@ -28,19 +28,19 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
},
"dependencies": {
"@polkadot/api": "16.4.2",
"@polkadot/api-augment": "16.4.2",
"@polkadot/api-derive": "16.4.2",
"@polkadot/rpc-augment": "16.4.2",
"@polkadot/rpc-provider": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-augment": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/types-create": "16.4.2",
"@polkadot/types-support": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"@polkadot/x-ws": "^13.5.3",
"@polkadot/api": "16.4.9",
"@polkadot/api-augment": "16.4.9",
"@polkadot/api-derive": "16.4.9",
"@polkadot/rpc-augment": "16.4.9",
"@polkadot/rpc-provider": "16.4.9",
"@polkadot/types": "16.4.9",
"@polkadot/types-augment": "16.4.9",
"@polkadot/types-codec": "16.4.9",
"@polkadot/types-create": "16.4.9",
"@polkadot/types-support": "16.4.9",
"@polkadot/util": "^13.5.7",
"@polkadot/util-crypto": "^13.5.7",
"@polkadot/x-ws": "^13.5.7",
"comment-parser": "^1.4.1",
"handlebars": "^4.7.8",
"tslib": "^2.8.1",
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.4.9' };
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/types": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/types": "16.4.9",
"@polkadot/types-codec": "16.4.9",
"@polkadot/util": "^13.5.7",
"tslib": "^2.8.1"
}
}
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.4.9' };
@@ -33,7 +33,7 @@ import type { BlockStats } from '@polkadot/types/interfaces/dev';
import type { CallDryRunEffects, DispatchResultWithPostInfo, PostDispatchInfo, XcmDryRunApiError, XcmDryRunEffects } from '@polkadot/types/interfaces/dryRunApi';
import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
import type { BlockV0, BlockV1, BlockV2, BlockV3, EIP1559Transaction, EIP2930Transaction, EIP7702Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthAuthorizationList, EthAuthorizationListItem, EthAuthorizationSignature, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLegacyTransactionSignature, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthReceiptV4, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2, TransactionV3 } from '@polkadot/types/interfaces/eth';
import type { EvmAccount, EvmCallInfo, EvmCallInfoV2, EvmCreateInfo, EvmCreateInfoV2, EvmLog, EvmVicinity, EvmWeightInfo, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';
import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicPayloadV5, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicSignatureV5, ExtrinsicUnknown, ExtrinsicV4, ExtrinsicV5, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';
import type { FungiblesAccessError } from '@polkadot/types/interfaces/fungibles';
@@ -204,6 +204,7 @@ declare module '@polkadot/types/types/registry' {
BlockV0: BlockV0;
BlockV1: BlockV1;
BlockV2: BlockV2;
BlockV3: BlockV3;
BlockWeights: BlockWeights;
BodyId: BodyId;
BodyIdV2: BodyIdV2;
@@ -405,6 +406,7 @@ declare module '@polkadot/types/types/registry' {
Ed25519Signature: Ed25519Signature;
EIP1559Transaction: EIP1559Transaction;
EIP2930Transaction: EIP2930Transaction;
EIP7702Transaction: EIP7702Transaction;
ElectionCompute: ElectionCompute;
ElectionPhase: ElectionPhase;
ElectionResult: ElectionResult;
@@ -434,6 +436,9 @@ declare module '@polkadot/types/types/registry' {
EthAccessListItem: EthAccessListItem;
EthAccount: EthAccount;
EthAddress: EthAddress;
EthAuthorizationList: EthAuthorizationList;
EthAuthorizationListItem: EthAuthorizationListItem;
EthAuthorizationSignature: EthAuthorizationSignature;
EthBlock: EthBlock;
EthBloom: EthBloom;
EthCallRequest: EthCallRequest;
@@ -449,10 +454,12 @@ declare module '@polkadot/types/types/registry' {
EthFilterTopicEntry: EthFilterTopicEntry;
EthFilterTopicInner: EthFilterTopicInner;
EthHeader: EthHeader;
EthLegacyTransactionSignature: EthLegacyTransactionSignature;
EthLog: EthLog;
EthReceipt: EthReceipt;
EthReceiptV0: EthReceiptV0;
EthReceiptV3: EthReceiptV3;
EthReceiptV4: EthReceiptV4;
EthRichBlock: EthRichBlock;
EthRichHeader: EthRichHeader;
EthStorageProof: EthStorageProof;
@@ -1226,6 +1233,7 @@ declare module '@polkadot/types/types/registry' {
TransactionV0: TransactionV0;
TransactionV1: TransactionV1;
TransactionV2: TransactionV2;
TransactionV3: TransactionV3;
TransactionValidity: TransactionValidity;
TransactionValidityError: TransactionValidityError;
TransientValidationData: TransientValidationData;
+7 -7
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^13.5.3",
"@polkadot/x-bigint": "^13.5.3",
"@polkadot/util": "^13.5.7",
"@polkadot/x-bigint": "^13.5.7",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/types": "16.4.2",
"@polkadot/types-augment": "16.4.2",
"@polkadot/types-support": "16.4.2",
"@polkadot/util-crypto": "^13.5.3"
"@polkadot/types": "16.4.9",
"@polkadot/types-augment": "16.4.9",
"@polkadot/types-support": "16.4.9",
"@polkadot/util-crypto": "^13.5.7"
}
}
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.4.9' };
+4 -4
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/types-codec": "16.4.9",
"@polkadot/util": "^13.5.7",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/types": "16.4.2"
"@polkadot/types": "16.4.9"
}
}
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.4.9' };
+7 -7
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^13.5.3",
"@polkadot/types": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/types-create": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/networks": "^13.5.7",
"@polkadot/types": "16.4.9",
"@polkadot/types-codec": "16.4.9",
"@polkadot/types-create": "16.4.9",
"@polkadot/util": "^13.5.7",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/api": "16.4.2"
"@polkadot/api": "16.4.9"
}
}
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.4.9' };
+5 -1
View File
@@ -53,10 +53,14 @@ export const versioned: OverrideVersionedType[] = [
TAssetConversion: 'Option<AssetId>'
}
},
// ref: https://github.com/polkadot-js/api/pull/6208
// The following patches an issue where polkadot asset hub block 9686187, can't be decoding using xcm v5
// mappings.
{
minmax: [1002000, undefined],
types: {
Weight: 'WeightV1'
Weight: 'WeightV1',
...mapXcmTypes('V4')
}
}
// ,
+2 -2
View File
@@ -18,10 +18,10 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^13.5.3",
"@polkadot/util": "^13.5.7",
"tslib": "^2.8.1"
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,138 @@
// Copyright 2017-2025 @polkadot/types-support authors & contributors
// SPDX-License-Identifier: Apache-2.0
/* eslint-disable */
// cargo run --release -- purge-chain -y --dev && cargo run --release -- --dev
export default {
"methods": [
"account_nextIndex",
"author_hasKey",
"author_hasSessionKeys",
"author_insertKey",
"author_pendingExtrinsics",
"author_removeExtrinsic",
"author_rotateKeys",
"author_submitAndWatchExtrinsic",
"author_submitExtrinsic",
"author_unwatchExtrinsic",
"babe_epochAuthorship",
"beefy_getFinalizedHead",
"beefy_subscribeJustifications",
"beefy_unsubscribeJustifications",
"chainHead_v1_body",
"chainHead_v1_call",
"chainHead_v1_continue",
"chainHead_v1_follow",
"chainHead_v1_header",
"chainHead_v1_stopOperation",
"chainHead_v1_storage",
"chainHead_v1_unfollow",
"chainHead_v1_unpin",
"chainSpec_v1_chainName",
"chainSpec_v1_genesisHash",
"chainSpec_v1_properties",
"chain_getBlock",
"chain_getBlockHash",
"chain_getFinalisedHead",
"chain_getFinalizedHead",
"chain_getHead",
"chain_getHeader",
"chain_getRuntimeVersion",
"chain_subscribeAllHeads",
"chain_subscribeFinalisedHeads",
"chain_subscribeFinalizedHeads",
"chain_subscribeNewHead",
"chain_subscribeNewHeads",
"chain_subscribeRuntimeVersion",
"chain_unsubscribeAllHeads",
"chain_unsubscribeFinalisedHeads",
"chain_unsubscribeFinalizedHeads",
"chain_unsubscribeNewHead",
"chain_unsubscribeNewHeads",
"chain_unsubscribeRuntimeVersion",
"childstate_getKeys",
"childstate_getKeysPaged",
"childstate_getKeysPagedAt",
"childstate_getStorage",
"childstate_getStorageEntries",
"childstate_getStorageHash",
"childstate_getStorageSize",
"dev_getBlockStats",
"grandpa_proveFinality",
"grandpa_roundState",
"grandpa_subscribeJustifications",
"grandpa_unsubscribeJustifications",
"mmr_generateProof",
"mmr_root",
"mmr_verifyProof",
"mmr_verifyProofStateless",
"offchain_localStorageClear",
"offchain_localStorageGet",
"offchain_localStorageSet",
"payment_queryFeeDetails",
"payment_queryInfo",
"rpc_methods",
"state_call",
"state_callAt",
"state_getChildReadProof",
"state_getKeys",
"state_getKeysPaged",
"state_getKeysPagedAt",
"state_getMetadata",
"state_getPairs",
"state_getReadProof",
"state_getRuntimeVersion",
"state_getStorage",
"state_getStorageAt",
"state_getStorageHash",
"state_getStorageHashAt",
"state_getStorageSize",
"state_getStorageSizeAt",
"state_queryStorage",
"state_queryStorageAt",
"state_subscribeRuntimeVersion",
"state_subscribeStorage",
"state_traceBlock",
"state_trieMigrationStatus",
"state_unsubscribeRuntimeVersion",
"state_unsubscribeStorage",
"statement_broadcasts",
"statement_broadcastsStatement",
"statement_dump",
"statement_posted",
"statement_postedClear",
"statement_postedClearStatement",
"statement_postedStatement",
"statement_remove",
"statement_submit",
"subscribe_newHead",
"sync_state_genSyncSpec",
"system_accountNextIndex",
"system_addLogFilter",
"system_addReservedPeer",
"system_chain",
"system_chainType",
"system_dryRun",
"system_dryRunAt",
"system_health",
"system_localListenAddresses",
"system_localPeerId",
"system_name",
"system_nodeRoles",
"system_peers",
"system_properties",
"system_removeReservedPeer",
"system_reservedPeers",
"system_resetLogFilter",
"system_syncState",
"system_unstable_networkState",
"system_version",
"transactionWatch_v1_submitAndWatch",
"transactionWatch_v1_unwatch",
"transaction_v1_broadcast",
"transaction_v1_stop",
"unsubscribe_newHead"
]
};
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,123 @@
// Copyright 2017-2025 @polkadot/types-support authors & contributors
// SPDX-License-Identifier: Apache-2.0
/* eslint-disable */
// cargo run --release -- purge-chain -y --dev && cargo run --release -- --dev
export default {
"specName": "node",
"implName": "substrate-node",
"authoringVersion": 10,
"specVersion": 268,
"implVersion": 0,
"apis": [
[
"0xdf6acb689907609b",
5
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0xccd9de6396c899ca",
1
],
[
"0x40fe3ad401f8959a",
6
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xbe9fb0c91a8046cf",
1
],
[
"0xf78b278be53f454c",
2
],
[
"0xed99c5acb25eedf5",
3
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x8453b50b22293977",
1
],
[
"0x68b66ba122c93fa7",
2
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0x8a8047a53a8277ec",
1
],
[
"0xf3ff14d5ab527059",
3
],
[
"0x899a250cbe84f250",
1
],
[
"0x49eaaf1b548a0cb0",
5
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x6fd7c327202e4a8d",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0x65f855d6e093c2f1",
1
],
[
"0xfbc577b9d747efd6",
1
],
[
"0x8c403e5c4a9fd442",
1
]
],
"transactionVersion": 2,
"systemVersion": 1,
"stateVersion": 1
};
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '16.4.9' };
+9 -9
View File
@@ -18,20 +18,20 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.4.2",
"version": "16.4.9",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^13.5.3",
"@polkadot/types-augment": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/types-create": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"@polkadot/keyring": "^13.5.7",
"@polkadot/types-augment": "16.4.9",
"@polkadot/types-codec": "16.4.9",
"@polkadot/types-create": "16.4.9",
"@polkadot/util": "^13.5.7",
"@polkadot/util-crypto": "^13.5.7",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/keyring": "^13.5.3",
"@polkadot/types-support": "16.4.2"
"@polkadot/keyring": "^13.5.7",
"@polkadot/types-support": "16.4.9"
}
}
+4 -2
View File
@@ -5,10 +5,12 @@ import type { SignOptions } from '@polkadot/keyring/types';
import type { Registry } from '@polkadot/types-codec/types';
import type { IKeyringPair } from '../types/index.js';
import { blake2AsU8a } from '@polkadot/util-crypto';
// a helper function for both types of payloads, Raw and metadata-known
export function sign (registry: Registry, signerPair: IKeyringPair, u8a: Uint8Array, options?: SignOptions): Uint8Array {
export function sign (_registry: Registry, signerPair: IKeyringPair, u8a: Uint8Array, options?: SignOptions): Uint8Array {
const encoded = u8a.length > 256
? registry.hash(u8a)
? blake2AsU8a(u8a)
: u8a;
return signerPair.sign(encoded, options);
@@ -24,7 +24,7 @@ const V0: DefinitionsTypes = {
action: 'EthTransactionAction',
value: 'U256',
input: 'Bytes',
signature: 'EthTransactionSignature'
signature: 'EthLegacyTransactionSignature'
},
TransactionV0: 'LegacyTransaction'
};
@@ -44,9 +44,7 @@ const V1: DefinitionsTypes = {
value: 'U256',
input: 'Bytes',
accessList: 'EthAccessList',
oddYParity: 'bool',
r: 'H256',
s: 'H256'
signature: 'EthTransactionSignature'
},
TransactionV1: {
_enum: {
@@ -72,9 +70,7 @@ const V2: DefinitionsTypes = {
value: 'U256',
input: 'Bytes',
accessList: 'EthAccessList',
oddYParity: 'bool',
r: 'H256',
s: 'H256'
signature: 'EthTransactionSignature'
},
TransactionV2: {
_enum: {
@@ -85,10 +81,40 @@ const V2: DefinitionsTypes = {
}
};
const V3: DefinitionsTypes = {
BlockV3: {
header: 'EthHeader',
transactions: 'Vec<TransactionV3>',
ommers: 'Vec<EthHeader>'
},
EIP7702Transaction: {
chainId: 'u64',
nonce: 'U256',
maxPriorityFeePerGas: 'U256',
maxFeePerGas: 'U256',
gasLimit: 'U256',
destination: 'EthTransactionAction',
value: 'U256',
data: 'Bytes',
accessList: 'EthAccessList',
authorizationList: 'EthAuthorizationList',
signature: 'EthTransactionSignature'
},
TransactionV3: {
_enum: {
Legacy: 'LegacyTransaction',
EIP2930: 'EIP2930Transaction',
EIP1559: 'EIP1559Transaction',
EIP7702: 'EIP7702Transaction'
}
}
};
const types: DefinitionsTypes = {
...V0,
...V1,
...V2,
...V3,
EthereumAccountId: 'GenericEthereumAccountId',
EthereumAddress: 'GenericEthereumAccountId',
EthereumLookupSource: 'GenericEthereumLookupSource',
@@ -98,6 +124,18 @@ const types: DefinitionsTypes = {
slots: 'Vec<H256>'
},
EthAccessList: 'Vec<EthAccessListItem>',
EthAuthorizationList: 'Vec<EthAuthorizationListItem>',
EthAuthorizationListItem: {
chainId: 'u64',
address: 'H160',
nonce: 'U256',
signature: 'EthAuthorizationSignature'
},
EthAuthorizationSignature: {
oddYParity: 'bool',
r: 'H256',
s: 'H256'
},
EthAccount: {
address: 'EthAddress',
balance: 'U256',
@@ -261,6 +299,7 @@ const types: DefinitionsTypes = {
// not convinced, however the original commit matches, so... (maybe V3 is incorrect?)
EthReceiptV0: 'EthReceipt',
EthReceiptV3: 'EthReceipt',
EthReceiptV4: 'EthReceipt',
EthStorageProof: {
key: 'U256',
value: 'U256',
@@ -321,11 +360,16 @@ const types: DefinitionsTypes = {
accessList: 'Option<Vec<EthAccessListItem>>',
transactionType: 'Option<U256>'
},
EthTransactionSignature: {
EthLegacyTransactionSignature: {
v: 'u64',
r: 'H256',
s: 'H256'
},
EthTransactionSignature: {
oddYParity: 'bool',
r: 'H256',
s: 'H256'
},
EthTransactionAction: {
_enum: {
Call: 'H160',
@@ -285,6 +285,21 @@ export const runtime: DefinitionsCall = {
}
},
version: 2
},
{
methods: {
convert_transaction: {
description: 'Converts an Ethereum-style transaction to Extrinsic',
params: [
{
name: 'transaction',
type: 'TransactionV3'
}
],
type: 'Extrinsic'
}
},
version: 3
}
],
DebugRuntimeApi: [
+67 -8
View File
@@ -26,6 +26,13 @@ export interface BlockV2 extends Struct {
readonly ommers: Vec<EthHeader>;
}
/** @name BlockV3 */
export interface BlockV3 extends Struct {
readonly header: EthHeader;
readonly transactions: Vec<TransactionV3>;
readonly ommers: Vec<EthHeader>;
}
/** @name EIP1559Transaction */
export interface EIP1559Transaction extends Struct {
readonly chainId: u64;
@@ -37,9 +44,7 @@ export interface EIP1559Transaction extends Struct {
readonly value: U256;
readonly input: Bytes;
readonly accessList: EthAccessList;
readonly oddYParity: bool;
readonly r: H256;
readonly s: H256;
readonly signature: EthTransactionSignature;
}
/** @name EIP2930Transaction */
@@ -52,9 +57,22 @@ export interface EIP2930Transaction extends Struct {
readonly value: U256;
readonly input: Bytes;
readonly accessList: EthAccessList;
readonly oddYParity: bool;
readonly r: H256;
readonly s: H256;
readonly signature: EthTransactionSignature;
}
/** @name EIP7702Transaction */
export interface EIP7702Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
readonly maxPriorityFeePerGas: U256;
readonly maxFeePerGas: U256;
readonly gasLimit: U256;
readonly destination: EthTransactionAction;
readonly value: U256;
readonly data: Bytes;
readonly accessList: EthAccessList;
readonly authorizationList: EthAuthorizationList;
readonly signature: EthTransactionSignature;
}
/** @name EthAccessList */
@@ -80,6 +98,24 @@ export interface EthAccount extends Struct {
/** @name EthAddress */
export interface EthAddress extends H160 {}
/** @name EthAuthorizationList */
export interface EthAuthorizationList extends Vec<EthAuthorizationListItem> {}
/** @name EthAuthorizationListItem */
export interface EthAuthorizationListItem extends Struct {
readonly chainId: u64;
readonly address: H160;
readonly nonce: U256;
readonly signature: EthAuthorizationSignature;
}
/** @name EthAuthorizationSignature */
export interface EthAuthorizationSignature extends Struct {
readonly oddYParity: bool;
readonly r: H256;
readonly s: H256;
}
/** @name EthBlock */
export interface EthBlock extends Struct {
readonly header: EthHeader;
@@ -192,6 +228,13 @@ export interface EthHeader extends Struct {
readonly nonce: H64;
}
/** @name EthLegacyTransactionSignature */
export interface EthLegacyTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
/** @name EthLog */
export interface EthLog extends Struct {
readonly address: EthAddress;
@@ -229,6 +272,9 @@ export interface EthReceiptV0 extends EthReceipt {}
/** @name EthReceiptV3 */
export interface EthReceiptV3 extends EthReceipt {}
/** @name EthReceiptV4 */
export interface EthReceiptV4 extends EthReceipt {}
/** @name EthRichBlock */
export interface EthRichBlock extends Struct {
readonly blockHash: Option<H256>;
@@ -385,7 +431,7 @@ export interface EthTransactionRequest extends Struct {
/** @name EthTransactionSignature */
export interface EthTransactionSignature extends Struct {
readonly v: u64;
readonly oddYParity: bool;
readonly r: H256;
readonly s: H256;
}
@@ -417,7 +463,7 @@ export interface LegacyTransaction extends Struct {
readonly action: EthTransactionAction;
readonly value: U256;
readonly input: Bytes;
readonly signature: EthTransactionSignature;
readonly signature: EthLegacyTransactionSignature;
}
/** @name TransactionV0 */
@@ -443,4 +489,17 @@ export interface TransactionV2 extends Enum {
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
/** @name TransactionV3 */
export interface TransactionV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: LegacyTransaction;
readonly isEip2930: boolean;
readonly asEip2930: EIP2930Transaction;
readonly isEip1559: boolean;
readonly asEip1559: EIP1559Transaction;
readonly isEip7702: boolean;
readonly asEip7702: EIP7702Transaction;
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559' | 'Eip7702';
}
export type PHANTOM_ETH = 'eth';
@@ -4,8 +4,8 @@
/* import assetHubKusamaData from '@polkadot/types-support/metadata/v16/asset-hub-kusama-hex';
import assetHubPolkadotData from '@polkadot/types-support/metadata/v16/asset-hub-polkadot-hex';
import kusamaData from '@polkadot/types-support/metadata/v16/kusama-hex';
import polkadotData from '@polkadot/types-support/metadata/v16/polkadot-hex';
import substrateData from '@polkadot/types-support/metadata/v16/substrate-hex';*/
import polkadotData from '@polkadot/types-support/metadata/v16/polkadot-hex';*/
import substrateData from '@polkadot/types-support/metadata/v16/substrate-hex';
import { testMeta } from '../util/testUtil.js';
@@ -23,8 +23,8 @@ testMeta(16, {
},
polkadot: {
data: polkadotData
},
},*/
substrate: {
data: substrateData
}*/
}
});
+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: '16.4.2' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '16.4.9' };
+2 -2
View File
@@ -16,8 +16,8 @@ const CMD = {
};
// V15
const META_VERSION_HEX = '0x0f000000';
const META_VERSION = 15;
const META_VERSION_HEX = '0x10000000';
const META_VERSION = 16;
/**
* Parse the specName given any exceptions.
+215 -215
View File
@@ -447,27 +447,27 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@npm:16.4.2, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@npm:16.4.9, @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:16.4.2"
"@polkadot/rpc-augment": "npm:16.4.2"
"@polkadot/types": "npm:16.4.2"
"@polkadot/types-augment": "npm:16.4.2"
"@polkadot/types-codec": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/api-base": "npm:16.4.9"
"@polkadot/rpc-augment": "npm:16.4.9"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-augment": "npm:16.4.9"
"@polkadot/types-codec": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/api-base@npm:16.4.2, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@npm:16.4.9, @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:16.4.2"
"@polkadot/types": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/rpc-core": "npm:16.4.9"
"@polkadot/types": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.8.1"
languageName: unknown
@@ -477,59 +477,59 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@polkadot/api": "npm:16.4.2"
"@polkadot/api-augment": "npm:16.4.2"
"@polkadot/keyring": "npm:^13.5.3"
"@polkadot/types": "npm:16.4.2"
"@polkadot/types-codec": "npm:16.4.2"
"@polkadot/types-create": "npm:16.4.2"
"@polkadot/types-support": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/util-crypto": "npm:^13.5.3"
"@polkadot/api": "npm:16.4.9"
"@polkadot/api-augment": "npm:16.4.9"
"@polkadot/keyring": "npm:^13.5.7"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-codec": "npm:16.4.9"
"@polkadot/types-create": "npm:16.4.9"
"@polkadot/types-support": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
"@polkadot/util-crypto": "npm:^13.5.7"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/api-derive@npm:16.4.2, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@npm:16.4.9, @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:16.4.2"
"@polkadot/api-augment": "npm:16.4.2"
"@polkadot/api-base": "npm:16.4.2"
"@polkadot/rpc-augment": "npm:16.4.2"
"@polkadot/rpc-core": "npm:16.4.2"
"@polkadot/rpc-provider": "npm:16.4.2"
"@polkadot/types": "npm:16.4.2"
"@polkadot/types-codec": "npm:16.4.2"
"@polkadot/types-support": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/util-crypto": "npm:^13.5.3"
"@polkadot/api": "npm:16.4.9"
"@polkadot/api-augment": "npm:16.4.9"
"@polkadot/api-base": "npm:16.4.9"
"@polkadot/rpc-augment": "npm:16.4.9"
"@polkadot/rpc-core": "npm:16.4.9"
"@polkadot/rpc-provider": "npm:16.4.9"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-codec": "npm:16.4.9"
"@polkadot/types-support": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
"@polkadot/util-crypto": "npm:^13.5.7"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/api@npm:16.4.2, @polkadot/api@workspace:packages/api":
"@polkadot/api@npm:16.4.9, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@polkadot/api-augment": "npm:16.4.2"
"@polkadot/api-base": "npm:16.4.2"
"@polkadot/api-derive": "npm:16.4.2"
"@polkadot/keyring": "npm:^13.5.3"
"@polkadot/rpc-augment": "npm:16.4.2"
"@polkadot/rpc-core": "npm:16.4.2"
"@polkadot/rpc-provider": "npm:16.4.2"
"@polkadot/types": "npm:16.4.2"
"@polkadot/types-augment": "npm:16.4.2"
"@polkadot/types-codec": "npm:16.4.2"
"@polkadot/types-create": "npm:16.4.2"
"@polkadot/types-known": "npm:16.4.2"
"@polkadot/types-support": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/util-crypto": "npm:^13.5.3"
"@polkadot/api-augment": "npm:16.4.9"
"@polkadot/api-base": "npm:16.4.9"
"@polkadot/api-derive": "npm:16.4.9"
"@polkadot/keyring": "npm:^13.5.7"
"@polkadot/rpc-augment": "npm:16.4.9"
"@polkadot/rpc-core": "npm:16.4.9"
"@polkadot/rpc-provider": "npm:16.4.9"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-augment": "npm:16.4.9"
"@polkadot/types-codec": "npm:16.4.9"
"@polkadot/types-create": "npm:16.4.9"
"@polkadot/types-known": "npm:16.4.9"
"@polkadot/types-support": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
"@polkadot/util-crypto": "npm:^13.5.7"
eventemitter3: "npm:^5.0.1"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.8.1"
@@ -632,69 +632,69 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/keyring@npm:^13.5.3":
version: 13.5.3
resolution: "@polkadot/keyring@npm:13.5.3"
"@polkadot/keyring@npm:^13.5.7":
version: 13.5.7
resolution: "@polkadot/keyring@npm:13.5.7"
dependencies:
"@polkadot/util": "npm:13.5.3"
"@polkadot/util-crypto": "npm:13.5.3"
"@polkadot/util": "npm:13.5.7"
"@polkadot/util-crypto": "npm:13.5.7"
tslib: "npm:^2.8.0"
peerDependencies:
"@polkadot/util": 13.5.3
"@polkadot/util-crypto": 13.5.3
checksum: 10/3963e3f41a3ec0c46db506af8e821d4fb908f0b8c0c20acbc8eff9ba432a847e105a28376526c94b7d9b17f5374e35dee7c141a375c63aaae7928a1616b2065a
"@polkadot/util": 13.5.7
"@polkadot/util-crypto": 13.5.7
checksum: 10/c19aaef9facb2e7af8b1e677767bab22c98cffaab07869f76563dedc658f0c5315c0f8d7cc063179611cfed33181639b4728f76b71092d9d170a860677c673af
languageName: node
linkType: hard
"@polkadot/networks@npm:13.5.3, @polkadot/networks@npm:^13.5.3":
version: 13.5.3
resolution: "@polkadot/networks@npm:13.5.3"
"@polkadot/networks@npm:13.5.7, @polkadot/networks@npm:^13.5.7":
version: 13.5.7
resolution: "@polkadot/networks@npm:13.5.7"
dependencies:
"@polkadot/util": "npm:13.5.3"
"@polkadot/util": "npm:13.5.7"
"@substrate/ss58-registry": "npm:^1.51.0"
tslib: "npm:^2.8.0"
checksum: 10/2b669b98d02767bb59bd849928bce05ae8e2fad783b912e7bb7b9e252223bc6fa7f198173aaeaedd9c5aa966b06a54136c0a011f74e1aa2f236466d217f0f256
checksum: 10/3a9cf6ae053b81ede50d2a1c6bf6d65bd6de712316784a1b7a2f51cc4afc26b14e1b9d1c4a6904425655edf7f6de0e7e6b6936e42ec7fc19d983cefc44b05291
languageName: node
linkType: hard
"@polkadot/rpc-augment@npm:16.4.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@npm:16.4.9, @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:16.4.2"
"@polkadot/types": "npm:16.4.2"
"@polkadot/types-codec": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/rpc-core": "npm:16.4.9"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-codec": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/rpc-core@npm:16.4.2, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@npm:16.4.9, @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:^13.5.3"
"@polkadot/rpc-augment": "npm:16.4.2"
"@polkadot/rpc-provider": "npm:16.4.2"
"@polkadot/types": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/keyring": "npm:^13.5.7"
"@polkadot/rpc-augment": "npm:16.4.9"
"@polkadot/rpc-provider": "npm:16.4.9"
"@polkadot/types": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@npm:16.4.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@npm:16.4.9, @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:^13.5.3"
"@polkadot/types": "npm:16.4.2"
"@polkadot/types-support": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/util-crypto": "npm:^13.5.3"
"@polkadot/x-fetch": "npm:^13.5.3"
"@polkadot/x-global": "npm:^13.5.3"
"@polkadot/x-ws": "npm:^13.5.3"
"@polkadot/keyring": "npm:^13.5.7"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-support": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
"@polkadot/util-crypto": "npm:^13.5.7"
"@polkadot/x-fetch": "npm:^13.5.7"
"@polkadot/x-global": "npm:^13.5.7"
"@polkadot/x-ws": "npm:^13.5.7"
"@substrate/connect": "npm:0.8.11"
eventemitter3: "npm:^5.0.1"
mock-socket: "npm:^9.3.1"
@@ -710,19 +710,19 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/typegen@workspace:packages/typegen"
dependencies:
"@polkadot/api": "npm:16.4.2"
"@polkadot/api-augment": "npm:16.4.2"
"@polkadot/api-derive": "npm:16.4.2"
"@polkadot/rpc-augment": "npm:16.4.2"
"@polkadot/rpc-provider": "npm:16.4.2"
"@polkadot/types": "npm:16.4.2"
"@polkadot/types-augment": "npm:16.4.2"
"@polkadot/types-codec": "npm:16.4.2"
"@polkadot/types-create": "npm:16.4.2"
"@polkadot/types-support": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/util-crypto": "npm:^13.5.3"
"@polkadot/x-ws": "npm:^13.5.3"
"@polkadot/api": "npm:16.4.9"
"@polkadot/api-augment": "npm:16.4.9"
"@polkadot/api-derive": "npm:16.4.9"
"@polkadot/rpc-augment": "npm:16.4.9"
"@polkadot/rpc-provider": "npm:16.4.9"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-augment": "npm:16.4.9"
"@polkadot/types-codec": "npm:16.4.9"
"@polkadot/types-create": "npm:16.4.9"
"@polkadot/types-support": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
"@polkadot/util-crypto": "npm:^13.5.7"
"@polkadot/x-ws": "npm:^13.5.7"
"@types/yargs": "npm:^17.0.33"
comment-parser: "npm:^1.4.1"
handlebars: "npm:^4.7.8"
@@ -737,267 +737,267 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@npm:16.4.2, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@npm:16.4.9, @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:16.4.2"
"@polkadot/types-codec": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-codec": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/types-codec@npm:16.4.2, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@npm:16.4.9, @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:16.4.2"
"@polkadot/types-augment": "npm:16.4.2"
"@polkadot/types-support": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/util-crypto": "npm:^13.5.3"
"@polkadot/x-bigint": "npm:^13.5.3"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-augment": "npm:16.4.9"
"@polkadot/types-support": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
"@polkadot/util-crypto": "npm:^13.5.7"
"@polkadot/x-bigint": "npm:^13.5.7"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/types-create@npm:16.4.2, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@npm:16.4.9, @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:16.4.2"
"@polkadot/types-codec": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-codec": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/types-known@npm:16.4.2, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@npm:16.4.9, @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:16.4.2"
"@polkadot/networks": "npm:^13.5.3"
"@polkadot/types": "npm:16.4.2"
"@polkadot/types-codec": "npm:16.4.2"
"@polkadot/types-create": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/api": "npm:16.4.9"
"@polkadot/networks": "npm:^13.5.7"
"@polkadot/types": "npm:16.4.9"
"@polkadot/types-codec": "npm:16.4.9"
"@polkadot/types-create": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/types-support@npm:16.4.2, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@npm:16.4.9, @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:^13.5.3"
"@polkadot/util": "npm:^13.5.7"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/types@npm:16.4.2, @polkadot/types@workspace:packages/types":
"@polkadot/types@npm:16.4.9, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@polkadot/keyring": "npm:^13.5.3"
"@polkadot/types-augment": "npm:16.4.2"
"@polkadot/types-codec": "npm:16.4.2"
"@polkadot/types-create": "npm:16.4.2"
"@polkadot/types-support": "npm:16.4.2"
"@polkadot/util": "npm:^13.5.3"
"@polkadot/util-crypto": "npm:^13.5.3"
"@polkadot/keyring": "npm:^13.5.7"
"@polkadot/types-augment": "npm:16.4.9"
"@polkadot/types-codec": "npm:16.4.9"
"@polkadot/types-create": "npm:16.4.9"
"@polkadot/types-support": "npm:16.4.9"
"@polkadot/util": "npm:^13.5.7"
"@polkadot/util-crypto": "npm:^13.5.7"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.8.1"
languageName: unknown
linkType: soft
"@polkadot/util-crypto@npm:13.5.3, @polkadot/util-crypto@npm:^13.5.3":
version: 13.5.3
resolution: "@polkadot/util-crypto@npm:13.5.3"
"@polkadot/util-crypto@npm:13.5.7, @polkadot/util-crypto@npm:^13.5.7":
version: 13.5.7
resolution: "@polkadot/util-crypto@npm:13.5.7"
dependencies:
"@noble/curves": "npm:^1.3.0"
"@noble/hashes": "npm:^1.3.3"
"@polkadot/networks": "npm:13.5.3"
"@polkadot/util": "npm:13.5.3"
"@polkadot/wasm-crypto": "npm:^7.4.1"
"@polkadot/wasm-util": "npm:^7.4.1"
"@polkadot/x-bigint": "npm:13.5.3"
"@polkadot/x-randomvalues": "npm:13.5.3"
"@polkadot/networks": "npm:13.5.7"
"@polkadot/util": "npm:13.5.7"
"@polkadot/wasm-crypto": "npm:^7.5.1"
"@polkadot/wasm-util": "npm:^7.5.1"
"@polkadot/x-bigint": "npm:13.5.7"
"@polkadot/x-randomvalues": "npm:13.5.7"
"@scure/base": "npm:^1.1.7"
tslib: "npm:^2.8.0"
peerDependencies:
"@polkadot/util": 13.5.3
checksum: 10/0313fc285e769520b135ebb7031ab1a694a96d88191977af0519847be7a0f50f8cf32aafc13132481eb3c40b1160e991b7535400ed18a9cd9a6d40d47cf7f1a7
"@polkadot/util": 13.5.7
checksum: 10/5a924916b4ed613cca2f2576c2dab872544f975906cc536b9980ebdf9a48d3c4b5959f006c660020c658394559ab6fa33d94c193b22479a1953dde8c76576231
languageName: node
linkType: hard
"@polkadot/util@npm:13.5.3, @polkadot/util@npm:^13.5.3":
version: 13.5.3
resolution: "@polkadot/util@npm:13.5.3"
"@polkadot/util@npm:13.5.7, @polkadot/util@npm:^13.5.7":
version: 13.5.7
resolution: "@polkadot/util@npm:13.5.7"
dependencies:
"@polkadot/x-bigint": "npm:13.5.3"
"@polkadot/x-global": "npm:13.5.3"
"@polkadot/x-textdecoder": "npm:13.5.3"
"@polkadot/x-textencoder": "npm:13.5.3"
"@polkadot/x-bigint": "npm:13.5.7"
"@polkadot/x-global": "npm:13.5.7"
"@polkadot/x-textdecoder": "npm:13.5.7"
"@polkadot/x-textencoder": "npm:13.5.7"
"@types/bn.js": "npm:^5.1.6"
bn.js: "npm:^5.2.1"
tslib: "npm:^2.8.0"
checksum: 10/5274dacf09df4b43155f20d0e709bf86c8a95995cf46f62ab23947b9a745e0c9c0a31d504e9984b07903f31f741f0cfa5b7e25bd7bcd7cbeb686be06ca48bd35
checksum: 10/66a03ec05aaf8642809a46f6adf0c9b4b843b2f8fce6520dc4db9da607af96a25baf166e09595b26d3d419cf55f55494d51985d5a90f55bc66d061b1fbaf9e99
languageName: node
linkType: hard
"@polkadot/wasm-bridge@npm:7.4.1":
version: 7.4.1
resolution: "@polkadot/wasm-bridge@npm:7.4.1"
"@polkadot/wasm-bridge@npm:7.5.1":
version: 7.5.1
resolution: "@polkadot/wasm-bridge@npm:7.5.1"
dependencies:
"@polkadot/wasm-util": "npm:7.4.1"
"@polkadot/wasm-util": "npm:7.5.1"
tslib: "npm:^2.7.0"
peerDependencies:
"@polkadot/util": "*"
"@polkadot/x-randomvalues": "*"
checksum: 10/b1d687ff433974cb34e54539b69209b569c4faf818e3cf376601d76acacc946bd56e5c06b18f0720dd1f63454f8e74f65bc37f259c7fca35d58623d27154b033
checksum: 10/70094b6e9727a902a922709326022e22c2a9bc7e27de541d646cb25d3cbee56df5eddd4a0046269ef34092562bc7f746e5d3347ac3f8aff01990eae837d078b8
languageName: node
linkType: hard
"@polkadot/wasm-crypto-asmjs@npm:7.4.1":
version: 7.4.1
resolution: "@polkadot/wasm-crypto-asmjs@npm:7.4.1"
"@polkadot/wasm-crypto-asmjs@npm:7.5.1":
version: 7.5.1
resolution: "@polkadot/wasm-crypto-asmjs@npm:7.5.1"
dependencies:
tslib: "npm:^2.7.0"
peerDependencies:
"@polkadot/util": "*"
checksum: 10/68df2338bff14c0331d62871b66e31cea1005eac8f136c294074f7350d4c342bba17a7edd3cc9aecb2ae63dad4e927422e7be562c446bb2b7ff1a6af17bb8eee
checksum: 10/6849a96bf9191f22e238fa847ebc8cbbb13d9d2569007dde6055769144c3c6cf8398e81f3ab93b3fad458bf69f3833a77f197ff36b015fb61690ee15ba9ec45b
languageName: node
linkType: hard
"@polkadot/wasm-crypto-init@npm:7.4.1":
version: 7.4.1
resolution: "@polkadot/wasm-crypto-init@npm:7.4.1"
"@polkadot/wasm-crypto-init@npm:7.5.1":
version: 7.5.1
resolution: "@polkadot/wasm-crypto-init@npm:7.5.1"
dependencies:
"@polkadot/wasm-bridge": "npm:7.4.1"
"@polkadot/wasm-crypto-asmjs": "npm:7.4.1"
"@polkadot/wasm-crypto-wasm": "npm:7.4.1"
"@polkadot/wasm-util": "npm:7.4.1"
"@polkadot/wasm-bridge": "npm:7.5.1"
"@polkadot/wasm-crypto-asmjs": "npm:7.5.1"
"@polkadot/wasm-crypto-wasm": "npm:7.5.1"
"@polkadot/wasm-util": "npm:7.5.1"
tslib: "npm:^2.7.0"
peerDependencies:
"@polkadot/util": "*"
"@polkadot/x-randomvalues": "*"
checksum: 10/d12c791214301419d94f5b374b443addc59c45e155f67b9503db4fe72866fa92e040ce8764f6dd8b4ce95005d4508a83efe832c6df4c946b7f14c18d28e8f0c1
checksum: 10/ca429d97bdfe637d1b3672015d16bc0a160af37bf647ccb52597b40f929fc7af16096c1af5603fb5b838e04140db91904c774fb3e59cd34debf026e45c77ac5b
languageName: node
linkType: hard
"@polkadot/wasm-crypto-wasm@npm:7.4.1":
version: 7.4.1
resolution: "@polkadot/wasm-crypto-wasm@npm:7.4.1"
"@polkadot/wasm-crypto-wasm@npm:7.5.1":
version: 7.5.1
resolution: "@polkadot/wasm-crypto-wasm@npm:7.5.1"
dependencies:
"@polkadot/wasm-util": "npm:7.4.1"
"@polkadot/wasm-util": "npm:7.5.1"
tslib: "npm:^2.7.0"
peerDependencies:
"@polkadot/util": "*"
checksum: 10/22cd4e5d734bc08f6707d25cf43c9b75af335ee39284bf43dced0c72abd1300c7ebc3e956c3ce175db59655ed4fd1c37fc652c7851ee308de0bdf65331f7ba67
checksum: 10/c652b38edbb07d7b7546ecdb44ea370244e3f1ff37c9733ee2db4d7e7483e7c7496ce220ec5c621a26fdb49d0475390fc84d51cec5ddb110fa0fc3373d06dd43
languageName: node
linkType: hard
"@polkadot/wasm-crypto@npm:^7.4.1":
version: 7.4.1
resolution: "@polkadot/wasm-crypto@npm:7.4.1"
"@polkadot/wasm-crypto@npm:^7.5.1":
version: 7.5.1
resolution: "@polkadot/wasm-crypto@npm:7.5.1"
dependencies:
"@polkadot/wasm-bridge": "npm:7.4.1"
"@polkadot/wasm-crypto-asmjs": "npm:7.4.1"
"@polkadot/wasm-crypto-init": "npm:7.4.1"
"@polkadot/wasm-crypto-wasm": "npm:7.4.1"
"@polkadot/wasm-util": "npm:7.4.1"
"@polkadot/wasm-bridge": "npm:7.5.1"
"@polkadot/wasm-crypto-asmjs": "npm:7.5.1"
"@polkadot/wasm-crypto-init": "npm:7.5.1"
"@polkadot/wasm-crypto-wasm": "npm:7.5.1"
"@polkadot/wasm-util": "npm:7.5.1"
tslib: "npm:^2.7.0"
peerDependencies:
"@polkadot/util": "*"
"@polkadot/x-randomvalues": "*"
checksum: 10/7fbb38c15217965066904dfa007dafc835ed828c0a33ef6621f772fdd50b634aa0862118713e5bf564dc17891f3e3a6f09a589b447ba4e39f2e9847a0f5383be
checksum: 10/d304959e67dab123f9ba9e9d400358156478f633ef3e2f760530fc556d79fcebc155be809ec73dc54c247c4e5185e118fe23c191167a9ad77ec575adb32979e3
languageName: node
linkType: hard
"@polkadot/wasm-util@npm:7.4.1, @polkadot/wasm-util@npm:^7.4.1":
version: 7.4.1
resolution: "@polkadot/wasm-util@npm:7.4.1"
"@polkadot/wasm-util@npm:7.5.1, @polkadot/wasm-util@npm:^7.5.1":
version: 7.5.1
resolution: "@polkadot/wasm-util@npm:7.5.1"
dependencies:
tslib: "npm:^2.7.0"
peerDependencies:
"@polkadot/util": "*"
checksum: 10/08effda106378716954267cb268035a37d2c0a8c1db2e6f617ccd7b4f1e410342b4ff1c26db95b828aeb23e2b5512ca72f389055d717c54fda00e97fba89462a
checksum: 10/7e96be99a275f6e4a68b92b6439b70aa7d80f1209031d4f7e7f7c00dee65272aabaaee43ec153c969a72a02792c2bf271e266bccd60e83e9a1450c5c5e7b06ee
languageName: node
linkType: hard
"@polkadot/x-bigint@npm:13.5.3, @polkadot/x-bigint@npm:^13.5.3":
version: 13.5.3
resolution: "@polkadot/x-bigint@npm:13.5.3"
"@polkadot/x-bigint@npm:13.5.7, @polkadot/x-bigint@npm:^13.5.7":
version: 13.5.7
resolution: "@polkadot/x-bigint@npm:13.5.7"
dependencies:
"@polkadot/x-global": "npm:13.5.3"
"@polkadot/x-global": "npm:13.5.7"
tslib: "npm:^2.8.0"
checksum: 10/f70d898a83ba8dc476c5164e2466dbfb9ab3722ec205a3dd448e96c2d764b9f30c532cf21d422005574e27b48e22c3cf3e7d2b0fb9b7b67e416941209875bd09
checksum: 10/a890310186d457e234f03e05e5ade4a591d210002691c6c52f9eb75b3624d8e5c11c333817cdd8b3f627dc6eee685fa6a44d666c3d24ed5d5d545936b870e230
languageName: node
linkType: hard
"@polkadot/x-fetch@npm:^13.5.3":
version: 13.5.3
resolution: "@polkadot/x-fetch@npm:13.5.3"
"@polkadot/x-fetch@npm:^13.5.7":
version: 13.5.7
resolution: "@polkadot/x-fetch@npm:13.5.7"
dependencies:
"@polkadot/x-global": "npm:13.5.3"
"@polkadot/x-global": "npm:13.5.7"
node-fetch: "npm:^3.3.2"
tslib: "npm:^2.8.0"
checksum: 10/8c2a5579f3af62803a0b945709b7dca88bce958a232e2749218ef30d0e70aede7193c5b330d16e058d9bfca199d3b5e02efcb80051f982c114505d784558dd23
checksum: 10/8c3ba3ce3b229c7106d3e3c77daba8676d857d39889ecbd1646dbc36d6d528c4d77e951785067fbc4efb7a6e94fc7a1346e90f7fac332b1e35d17ea4b01e4a93
languageName: node
linkType: hard
"@polkadot/x-global@npm:13.5.3, @polkadot/x-global@npm:^13.5.3":
version: 13.5.3
resolution: "@polkadot/x-global@npm:13.5.3"
"@polkadot/x-global@npm:13.5.7, @polkadot/x-global@npm:^13.5.7":
version: 13.5.7
resolution: "@polkadot/x-global@npm:13.5.7"
dependencies:
tslib: "npm:^2.8.0"
checksum: 10/3976491290df8f7a5929c85c1f5f962ac968594666a60488060511c41dcf878089caeb41ae662dde70deae6c875abd0a46533c2f0448f5da1831eed1dda53c7d
checksum: 10/756532b29565c0c72e6e911a8dc36b7256b55771119e9ee8fe8979a8cc0b09726b12d7708ea9459f72ae2843e0cdaca724d484b8faefcd43b3d24e5fa222ba6d
languageName: node
linkType: hard
"@polkadot/x-randomvalues@npm:13.5.3":
version: 13.5.3
resolution: "@polkadot/x-randomvalues@npm:13.5.3"
"@polkadot/x-randomvalues@npm:13.5.7":
version: 13.5.7
resolution: "@polkadot/x-randomvalues@npm:13.5.7"
dependencies:
"@polkadot/x-global": "npm:13.5.3"
"@polkadot/x-global": "npm:13.5.7"
tslib: "npm:^2.8.0"
peerDependencies:
"@polkadot/util": 13.5.3
"@polkadot/util": 13.5.7
"@polkadot/wasm-util": "*"
checksum: 10/dff71cbaa046e3ef3103dfa72ffea32fd89c94bb3396f1882cb28697aee1c4a10b7bd0f7a2a64fbdeaff725c79d6164e9ebb9f3b1c50dbaef51ecd75569f4045
checksum: 10/49bd20e2140fa1905374e730726d9882ce4f651d3a10e7c705b1a7d6530190ea913b05165c6d19355e24284f872b2afd0a54042c3d33479e983016c30f1ccd11
languageName: node
linkType: hard
"@polkadot/x-textdecoder@npm:13.5.3":
version: 13.5.3
resolution: "@polkadot/x-textdecoder@npm:13.5.3"
"@polkadot/x-textdecoder@npm:13.5.7":
version: 13.5.7
resolution: "@polkadot/x-textdecoder@npm:13.5.7"
dependencies:
"@polkadot/x-global": "npm:13.5.3"
"@polkadot/x-global": "npm:13.5.7"
tslib: "npm:^2.8.0"
checksum: 10/5914ce2bad6f858ba2d509a6cecde61c9d547c83791697f79a3d4bf7675782ac470c60d62d39974b246ee74d07c58b006ddae22823945ca1e474a6040ab058ce
checksum: 10/4a53a3cef1e978a9a86ab08850dd45f11971b56f6735b310f63900722cdb9cb605fadf2e9dc4bb15959e96778a47842257f363b02779bb65cc3156999ced82a3
languageName: node
linkType: hard
"@polkadot/x-textencoder@npm:13.5.3":
version: 13.5.3
resolution: "@polkadot/x-textencoder@npm:13.5.3"
"@polkadot/x-textencoder@npm:13.5.7":
version: 13.5.7
resolution: "@polkadot/x-textencoder@npm:13.5.7"
dependencies:
"@polkadot/x-global": "npm:13.5.3"
"@polkadot/x-global": "npm:13.5.7"
tslib: "npm:^2.8.0"
checksum: 10/bf3219c4a37dcc4b3de42e291b7fa137147b9497268699b9f35184967114a80da3de3785e2bf628bb02172f963fb7dc5ba150edb6cd2e28a0a6f7d142d55309f
checksum: 10/b88e13db070c94fe20aed8c739d1740ecd6545921316efe0e4dbea6f0c489c849bbcf7ce6e1a81405885a90b359af812b78a5d06cfbdb555fb0ae9602b2357e9
languageName: node
linkType: hard
"@polkadot/x-ws@npm:^13.5.3":
version: 13.5.3
resolution: "@polkadot/x-ws@npm:13.5.3"
"@polkadot/x-ws@npm:^13.5.7":
version: 13.5.7
resolution: "@polkadot/x-ws@npm:13.5.7"
dependencies:
"@polkadot/x-global": "npm:13.5.3"
"@polkadot/x-global": "npm:13.5.7"
tslib: "npm:^2.8.0"
ws: "npm:^8.18.0"
checksum: 10/d44448acf166aa9d9b7d6b49877b01c571718219a832c9335af540b790d73bb24f6686aacdc60578eee2012a98c2232f0e7cc7c4e4b70e46e841ae5ce735b98f
checksum: 10/1c8da2d1dd0e08dd08a77badf4a89d8d4b7e6de45669feeb75bf718725c40d03ffabfb60a9ea35ca6d230f31f6874e62e30b343f4f3000d62e0ba5945a38c073
languageName: node
linkType: hard