diff --git a/apps/1kv-backend/templates/kusama-otv-backend.yaml b/apps/1kv-backend/templates/kusama-otv-backend.yaml index 4db10f5a5..2c628af74 100644 --- a/apps/1kv-backend/templates/kusama-otv-backend.yaml +++ b/apps/1kv-backend/templates/kusama-otv-backend.yaml @@ -17,7 +17,7 @@ spec: source: repoURL: https://w3f.github.io/helm-charts/ chart: otv-backend - targetRevision: v3.2.0 + targetRevision: v3.2.1 plugin: env: - name: HELM_VALUES diff --git a/apps/1kv-backend/templates/polkadot-otv-backend.yaml b/apps/1kv-backend/templates/polkadot-otv-backend.yaml index 6d898a7d0..c2ffd0032 100644 --- a/apps/1kv-backend/templates/polkadot-otv-backend.yaml +++ b/apps/1kv-backend/templates/polkadot-otv-backend.yaml @@ -17,7 +17,7 @@ spec: source: repoURL: https://w3f.github.io/helm-charts/ chart: otv-backend - targetRevision: v3.2.0 + targetRevision: v3.2.1 plugin: env: - name: HELM_VALUES diff --git a/charts/otv-backend/Chart.yaml b/charts/otv-backend/Chart.yaml index 7de1cb298..da86495f6 100644 --- a/charts/otv-backend/Chart.yaml +++ b/charts/otv-backend/Chart.yaml @@ -1,5 +1,5 @@ description: 1K Validators Backend name: otv-backend -version: v3.2.0 -appVersion: v3.2.0 +version: v3.2.1 +appVersion: v3.2.1 apiVersion: v2 diff --git a/package.json b/package.json index 3fe20f4ba..ddb822553 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "@bull-board/koa": "^5.15.0", "@koa/router": "^12.0.1", "@octokit/rest": "^20.0.2", - "@polkadot/api": "^10.12.2", + "@polkadot/api": "^11.0.2", "@polkadot/keyring": "^12.6.2", "@types/cron": "^2.4.0", "@types/jest": "^29.5.12", diff --git a/packages/common/package.json b/packages/common/package.json index 7d7156b6d..09a336bf1 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@1kv/common", - "version": "3.2.0", + "version": "3.2.1", "description": "Services for running the Thousand Validator Program.", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/packages/common/src/db/queries/Validators.ts b/packages/common/src/db/queries/Validators.ts index 856488963..853b30a9a 100644 --- a/packages/common/src/db/queries/Validators.ts +++ b/packages/common/src/db/queries/Validators.ts @@ -187,10 +187,10 @@ export const getValidatorActiveEras = async ( // return the number of eras export const getIdentityValidatorActiveEras = async ( address: string, + validatorSets: ValidatorSet[], ): Promise => { const identityAddresses = await getIdentityAddresses(address); let count = 0; - const validatorSets = await getAllValidatorSets(); for (const era of validatorSets) { if ( era.validators.some((validator) => identityAddresses.includes(validator)) diff --git a/packages/common/src/scorekeeper/NumNominations.ts b/packages/common/src/scorekeeper/NumNominations.ts index 9401bd2d8..193ad009f 100644 --- a/packages/common/src/scorekeeper/NumNominations.ts +++ b/packages/common/src/scorekeeper/NumNominations.ts @@ -65,15 +65,17 @@ export const autoNumNominations = async ( ); // Query the staking info of the validator set - const query = await api?.derive.staking.electedInfo(); - const { info } = query; + const { info } = await api?.derive.staking.electedInfo({ + withExposureMeta: true, + }); const totalStakeAmounts = []; // add formatted totals to list for (const validator of info) { - const { exposure } = validator; - const { total, own, others } = exposure; + const { exposureMeta } = validator; + if (!exposureMeta?.isSome) continue; + const { total } = exposureMeta.value; const totalValue = total.unwrap(); diff --git a/packages/common/src/scorekeeper/jobs/specificJobs/EraStatsJob.ts b/packages/common/src/scorekeeper/jobs/specificJobs/EraStatsJob.ts index c26172775..9a8cd5780 100644 --- a/packages/common/src/scorekeeper/jobs/specificJobs/EraStatsJob.ts +++ b/packages/common/src/scorekeeper/jobs/specificJobs/EraStatsJob.ts @@ -76,7 +76,7 @@ export const eraStatsJob = async ( updated: Date.now(), }); - for (let i = currentEra; i > 20; i--) { + for (let i = currentEra; i > currentEra - 20; i--) { if (await queries.validatorSetExistsForEra(i)) { continue; } diff --git a/packages/common/src/utils/Validators.ts b/packages/common/src/utils/Validators.ts index b296e6b59..e30f0b9eb 100644 --- a/packages/common/src/utils/Validators.ts +++ b/packages/common/src/utils/Validators.ts @@ -1,12 +1,14 @@ -import { allCandidates, setRank } from "../db/queries"; +import { allCandidates, getAllValidatorSets, setRank } from "../db/queries"; import { queries } from "../index"; // Sets all validators ranks export const setValidatorRanks = async () => { const candidates = await allCandidates(); + const validatorSets = await getAllValidatorSets(); for (const candidate of candidates) { const identityRank = await queries.getIdentityValidatorActiveEras( candidate.stash, + validatorSets, ); await setRank(candidate.stash, identityRank); } diff --git a/packages/common/test/utils/Validators.unit.test.ts b/packages/common/test/utils/Validators.unit.test.ts index d1d3f3e49..e5726d5ee 100644 --- a/packages/common/test/utils/Validators.unit.test.ts +++ b/packages/common/test/utils/Validators.unit.test.ts @@ -120,6 +120,7 @@ describe("setValidatorRanks", () => { const subNumEras = await getIdentityValidatorActiveEras( "HkJjBkX8fPBFJvTtAbUDKWZSsMrNFuMc7TrT8BqVS5YhZXg", + validatorSets, ); expect(subNumEras).toBe(5); diff --git a/packages/core/package.json b/packages/core/package.json index ac41fec11..52b9bd2fb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@1kv/core", - "version": "3.2.0", + "version": "3.2.1", "description": "Services for running the Thousand Validator Program.", "main": "index.js", "scripts": { diff --git a/packages/gateway/package.json b/packages/gateway/package.json index 5e5b2795e..24e1c58c6 100644 --- a/packages/gateway/package.json +++ b/packages/gateway/package.json @@ -1,6 +1,6 @@ { "name": "@1kv/gateway", - "version": "3.2.0", + "version": "3.2.1", "description": "Services for running the Thousand Validator Program.", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/packages/gateway/src/services/Validator.ts b/packages/gateway/src/services/Validator.ts index ebf8bd029..203339719 100644 --- a/packages/gateway/src/services/Validator.ts +++ b/packages/gateway/src/services/Validator.ts @@ -31,10 +31,3 @@ export const getValidatorsNumActiveEras = async ( const eras = await queries.getValidatorActiveEras(stash); return eras; }; - -export const getIdentityValidatorNumActiveEras = async ( - stash: string, -): Promise => { - const eras = await queries.getIdentityValidatorActiveEras(stash); - return eras; -}; diff --git a/packages/scorekeeper-status-ui/package.json b/packages/scorekeeper-status-ui/package.json index eac6502d3..4d0fff943 100644 --- a/packages/scorekeeper-status-ui/package.json +++ b/packages/scorekeeper-status-ui/package.json @@ -1,7 +1,7 @@ { "name": "@1kv/scorekeeper-status-ui", "private": true, - "version": "3.2.0", + "version": "3.2.1", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index 42173a63b..a12aab6ee 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@1kv/telemetry", - "version": "3.2.0", + "version": "3.2.1", "description": "Services for running the Thousand Validator Program.", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/packages/worker/package.json b/packages/worker/package.json index 77ad78ac3..6998a9a36 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,6 +1,6 @@ { "name": "@1kv/worker", - "version": "3.2.0", + "version": "3.2.1", "description": "Services for running the Thousand Validator Program.", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/yarn.lock b/yarn.lock index 5ebe73407..f001f688b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,7 +19,7 @@ __metadata: "@bull-board/koa": ^5.15.0 "@koa/router": ^12.0.1 "@octokit/rest": ^20.0.2 - "@polkadot/api": ^10.12.2 + "@polkadot/api": ^11.0.2 "@polkadot/keyring": ^12.6.2 "@types/cron": ^2.4.0 "@types/jest": ^29.5.12 @@ -2137,138 +2137,138 @@ __metadata: languageName: node linkType: hard -"@polkadot-api/client@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0": - version: 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - resolution: "@polkadot-api/client@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0" - dependencies: - "@polkadot-api/metadata-builders": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - "@polkadot-api/substrate-bindings": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - "@polkadot-api/substrate-client": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - "@polkadot-api/utils": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - peerDependencies: - rxjs: ">=7.8.0" - checksum: 572a5538013131321722924a8ec4c4a3f18dfe76fc4897d77a65b2aa7e3162c5d11adab30111fd8489ab6952b7bd875f544e863b8cc0e54948233c6d736335e5 +"@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: cf8daf52ff6d92f26c6027f13ef5fbef9e512626e0225bc8408b79002cfd34fc17c5f2d856beebcb01aa5f84c93ccc8272f9264dc8349b7f6cb63845b30119b5 languageName: node linkType: hard -"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0": - version: 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0" - checksum: d30789f6171fce9887139b88e832d121489fbe1694aa6919fb1c4a37e6ac39ba1f8e19caa76c0007fd815820f1c1b1de6e12169c6b638c580eb74eb0137b4b34 +"@polkadot-api/json-rpc-provider@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1" + checksum: 1f315bdadcba7def7145011132e6127b983c6f91f976be217ad7d555bb96a67f3a270fe4a46e427531822c5d54d353d84a6439d112a99cdfc07013d3b662ee3c languageName: node linkType: hard -"@polkadot-api/json-rpc-provider@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0": - version: 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0" - checksum: fb028b1d16e2c39e5130f90e340691afcd1c45f08f39f56e3a46aa5a87f2bdfd2f71ad81f348d7fe78aceae483c50be4eb55e572f5fdf273beab5ac7b253a59c +"@polkadot-api/metadata-builders@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/metadata-builders@npm:0.0.1" + dependencies: + "@polkadot-api/substrate-bindings": 0.0.1 + "@polkadot-api/utils": 0.0.1 + checksum: 7cf69e583e64f0ea1b90b141d9f61c4b0ba445daf87d4eba25bfcaa629c95cf4bbe6d89f5263dc495189fae0795c45810a004a2a8fbf59ece01ae71e1e049f17 languageName: node linkType: hard -"@polkadot-api/metadata-builders@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0": - version: 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - resolution: "@polkadot-api/metadata-builders@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0" +"@polkadot-api/observable-client@npm:0.1.0": + version: 0.1.0 + resolution: "@polkadot-api/observable-client@npm:0.1.0" dependencies: - "@polkadot-api/substrate-bindings": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - "@polkadot-api/utils": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - checksum: 64705f32b9f7d43af759db28161e244f1ea45d5a4214a2a7592b1a4b3922378f1bfe50ad659defe93f23a63da306e50df9602a757656200cf1e50387b1a11842 + "@polkadot-api/metadata-builders": 0.0.1 + "@polkadot-api/substrate-bindings": 0.0.1 + "@polkadot-api/substrate-client": 0.0.1 + "@polkadot-api/utils": 0.0.1 + peerDependencies: + rxjs: ">=7.8.0" + checksum: 694ee405f40ce47eb8d23dd2fc68359a5016c54ac530893a76e772a2d6a1a7c09c3a11d772b7c196af4faa29e98a443849334b97c6bf91af616990b4c7834caa languageName: node linkType: hard -"@polkadot-api/substrate-bindings@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0": - version: 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - resolution: "@polkadot-api/substrate-bindings@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0" +"@polkadot-api/substrate-bindings@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/substrate-bindings@npm:0.0.1" dependencies: "@noble/hashes": ^1.3.1 - "@polkadot-api/utils": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 + "@polkadot-api/utils": 0.0.1 "@scure/base": ^1.1.1 - scale-ts: ^1.4.3 - checksum: c17caa73feaee67edff6e106453f4ef54fe2e14fc921e1fa5e1bd4e8e3f4af8e01802ce3959df072f5997d843c9ad4916b0b52103fdf58c7bf006911be326585 + scale-ts: ^1.6.0 + checksum: fc49e49ffe749fc6fab49eee1d10d47fcd1fa3a9b6ca4e7bbde4e9741b9e062cd4e9271fd86a2525095ff36bf33b95d57c51efb88635bb60b2c77fa9e83b2cd6 languageName: node linkType: hard -"@polkadot-api/substrate-client@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0": - version: 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - resolution: "@polkadot-api/substrate-client@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0" - checksum: 655272b98490e084b948e2c798e0f7d4ba7d90d33b9f24b4d01dd2a5ef6e7e31bf523dd6de602354a3911e897c55bdc32dc24f3b504ce22f27a8e40063296bb4 +"@polkadot-api/substrate-client@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/substrate-client@npm:0.0.1" + checksum: 13dc05f1fce0d00241b48d262d691a740c65b107800cdfdf8d800333e9b3950932ce50a88bf65810892e43103bf57d1541c71538e68aa27b9aba55b389835b91 languageName: node linkType: hard -"@polkadot-api/utils@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0": - version: 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - resolution: "@polkadot-api/utils@npm:0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0" - checksum: 48ff709170ee7abad50f784f1123532b6b39725ab709da59fc9ddd859568753456b46c9c42d5aa56cad3d9fa0af27e46ed0650697df840f0ef2c023bd3a512f1 +"@polkadot-api/utils@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/utils@npm:0.0.1" + checksum: 11e67019cbf6dd39997d772edf14296c1b156d7a59c7726ce117b438ee85a5e50e305514a2a93cba87fdce1380fcf045931f2fb959df3a43bb327e77ac876148 languageName: node linkType: hard -"@polkadot/api-augment@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/api-augment@npm:10.12.2" +"@polkadot/api-augment@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/api-augment@npm:11.0.2" dependencies: - "@polkadot/api-base": 10.12.2 - "@polkadot/rpc-augment": 10.12.2 - "@polkadot/types": 10.12.2 - "@polkadot/types-augment": 10.12.2 - "@polkadot/types-codec": 10.12.2 + "@polkadot/api-base": 11.0.2 + "@polkadot/rpc-augment": 11.0.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-augment": 11.0.2 + "@polkadot/types-codec": 11.0.2 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: 71c3079e15a590f3b939eb9a799e984d8613719c4e630824486e7b72cdf86732b9ba39af5c2230e82b912fec1406ba2975626aae1d65a5f65c1ab447aae2a489 + checksum: 5da64a991f5eb81eba12afc412a4b7b7d324fe76f2ad5610e7bfab60276c2750fe4c0e27c1e321cdcb9aa4f0fea480c80dff217a5178e5b9fde113bd29e97f49 languageName: node linkType: hard -"@polkadot/api-base@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/api-base@npm:10.12.2" +"@polkadot/api-base@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/api-base@npm:11.0.2" dependencies: - "@polkadot/rpc-core": 10.12.2 - "@polkadot/types": 10.12.2 + "@polkadot/rpc-core": 11.0.2 + "@polkadot/types": 11.0.2 "@polkadot/util": ^12.6.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 516766f3efe6ef14e64250cc705742f5d5beb7155135d8909e4bbcee312873c607bb1dfd28af891b7c2a435cf22b3a08bff5276600285447cf353b10fe6335c8 + checksum: 7a7f30031be9261262413bba1765f40f60c0f0890475b1ff7789c0b628d8531808588091b46f9420e82aee4935045ddf359fd39280a7530a5550ac588fefe6bc languageName: node linkType: hard -"@polkadot/api-derive@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/api-derive@npm:10.12.2" +"@polkadot/api-derive@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/api-derive@npm:11.0.2" dependencies: - "@polkadot/api": 10.12.2 - "@polkadot/api-augment": 10.12.2 - "@polkadot/api-base": 10.12.2 - "@polkadot/rpc-core": 10.12.2 - "@polkadot/types": 10.12.2 - "@polkadot/types-codec": 10.12.2 + "@polkadot/api": 11.0.2 + "@polkadot/api-augment": 11.0.2 + "@polkadot/api-base": 11.0.2 + "@polkadot/rpc-core": 11.0.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-codec": 11.0.2 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 0ae8c8e79cd4f8bd2cf4900b273812f4ff609e93bfa6cf077ae1542fc2a22009cb099c01dbe0e2453c5218043f988ef0f7e0f4a9020e8141cb28868a2022f0ee + checksum: 80fd722cca61c774ff0ebc315ae960626b24ae7085e02b8f25715fb177f3c812a6bd2978dcff272aa6f2c191885e358108577af86e852c3abf0c1b8f9c18509d languageName: node linkType: hard -"@polkadot/api@npm:10.12.2, @polkadot/api@npm:^10.12.2": - version: 10.12.2 - resolution: "@polkadot/api@npm:10.12.2" +"@polkadot/api@npm:11.0.2, @polkadot/api@npm:^11.0.2": + version: 11.0.2 + resolution: "@polkadot/api@npm:11.0.2" dependencies: - "@polkadot/api-augment": 10.12.2 - "@polkadot/api-base": 10.12.2 - "@polkadot/api-derive": 10.12.2 + "@polkadot/api-augment": 11.0.2 + "@polkadot/api-base": 11.0.2 + "@polkadot/api-derive": 11.0.2 "@polkadot/keyring": ^12.6.2 - "@polkadot/rpc-augment": 10.12.2 - "@polkadot/rpc-core": 10.12.2 - "@polkadot/rpc-provider": 10.12.2 - "@polkadot/types": 10.12.2 - "@polkadot/types-augment": 10.12.2 - "@polkadot/types-codec": 10.12.2 - "@polkadot/types-create": 10.12.2 - "@polkadot/types-known": 10.12.2 + "@polkadot/rpc-augment": 11.0.2 + "@polkadot/rpc-core": 11.0.2 + "@polkadot/rpc-provider": 11.0.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-augment": 11.0.2 + "@polkadot/types-codec": 11.0.2 + "@polkadot/types-create": 11.0.2 + "@polkadot/types-known": 11.0.2 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 eventemitter3: ^5.0.1 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 6bb40db83975a9b3447b60c0fe4518eb47eb7e725ff293ef4c8743c25ce663a5468b1e390e569adbe5097160e8a499f53e4ac8d68b5eb3f08972fc215907c86b + checksum: 32d230f2e02bfacb9a81b7928e5d483d5ad7073cb5698269928c20f79e001a17b38e8563eaf34ec4f43095b20a34d1ca7bcb6f91782d32a80906ab5509f4a420 languageName: node linkType: hard @@ -2322,46 +2322,46 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-augment@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/rpc-augment@npm:10.12.2" +"@polkadot/rpc-augment@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/rpc-augment@npm:11.0.2" dependencies: - "@polkadot/rpc-core": 10.12.2 - "@polkadot/types": 10.12.2 - "@polkadot/types-codec": 10.12.2 + "@polkadot/rpc-core": 11.0.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-codec": 11.0.2 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: 38515905dd7a70fc2eb85232f29131c10659bd38d9ffa60f2ba01ba3135593fdd0955c7710da315652f3681417459082fc98d8293b534e6ce9c0bb5e7bb604e4 + checksum: ab5b8c6faaeafc7bedc973820e717a93ed5715aeae4412ff7d6359391961bbd7d2d24e7b46f6926617a135a5659c352f4c3a7fd3cff70a11269be26bcf9ab255 languageName: node linkType: hard -"@polkadot/rpc-core@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/rpc-core@npm:10.12.2" +"@polkadot/rpc-core@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/rpc-core@npm:11.0.2" dependencies: - "@polkadot/rpc-augment": 10.12.2 - "@polkadot/rpc-provider": 10.12.2 - "@polkadot/types": 10.12.2 + "@polkadot/rpc-augment": 11.0.2 + "@polkadot/rpc-provider": 11.0.2 + "@polkadot/types": 11.0.2 "@polkadot/util": ^12.6.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: b0454dc4f76633477b9b1ee61a4faacfdc8af4157bf62101fd1f1e105d18cfb51172c97770cf6daba52a32d447453d30842ebbcaafd2e28b3a42f0bd7c38318d + checksum: 100cfbd87b4088f4bd56fb1927c475038855158742b211faf210a722390f1721a7fcf15697f7af9c6c3a92b96bec35d48d9c52c6d8a9db6f367f5a1a665e4b0c languageName: node linkType: hard -"@polkadot/rpc-provider@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/rpc-provider@npm:10.12.2" +"@polkadot/rpc-provider@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/rpc-provider@npm:11.0.2" dependencies: "@polkadot/keyring": ^12.6.2 - "@polkadot/types": 10.12.2 - "@polkadot/types-support": 10.12.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-support": 11.0.2 "@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 - "@substrate/connect": 0.8.7 + "@substrate/connect": 0.8.10 eventemitter3: ^5.0.1 mock-socket: ^9.3.1 nock: ^13.5.0 @@ -2369,81 +2369,81 @@ __metadata: dependenciesMeta: "@substrate/connect": optional: true - checksum: ed99c66c1a5ec4ae3d6ce6a4edec9bc5a8b9304190067adeb4e0a9c2270a13726360a7f9e4fc4ca947961e593e605823a51aef2f2d6e3bd0c8444cfe51b1efb1 + checksum: e6354d7e34e51ec551e9de10a3450d7498ceb6a067d714d1cfaedce5586d03d3e7c6ea0ecd0bd1b1cf8090fa20379987fd67e31975cda62b0d0b7dd248a9e5dd languageName: node linkType: hard -"@polkadot/types-augment@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/types-augment@npm:10.12.2" +"@polkadot/types-augment@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types-augment@npm:11.0.2" dependencies: - "@polkadot/types": 10.12.2 - "@polkadot/types-codec": 10.12.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-codec": 11.0.2 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: ede0e7e8339728484b6fefba268e95a8e5df45c131da2bed26f28072469cdcb31d271a7893019c351c2c3ff106d47131ec18456660f6d5a07012d70e81d16bde + checksum: fe8ddf90ca9d4438a0e7012500ce6acb0de17decb77b23f91c30644decc2694c1ae04dcac10ec3d934df597de014f63583e31c7a847f9431a217a19f3c0ec9de languageName: node linkType: hard -"@polkadot/types-codec@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/types-codec@npm:10.12.2" +"@polkadot/types-codec@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types-codec@npm:11.0.2" dependencies: "@polkadot/util": ^12.6.2 "@polkadot/x-bigint": ^12.6.2 tslib: ^2.6.2 - checksum: ac10bfcb8bf05eef2e752e503216eb914a2178022dc2e591f684478d227541be280a6ebf5bea60c1ab367976aa59b906683037410f9556c1429603e9e5790f13 + checksum: ff991126a092a012f800b83ba82b9d1560b4fe74781ca1fc3c74f4b4ff0b98819fa6af909eabb753781eae8c897b83fd7e01efc699a96148aed765b60e70ef37 languageName: node linkType: hard -"@polkadot/types-create@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/types-create@npm:10.12.2" +"@polkadot/types-create@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types-create@npm:11.0.2" dependencies: - "@polkadot/types-codec": 10.12.2 + "@polkadot/types-codec": 11.0.2 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: 27984f1cde8c1f1aa9f7cbc70ce3fa538c9e2971d42ab81ded8d635849850c5c47fdaf291ea8f2feb0fa3e4433fd7d83ca699c977a588fa5193cd7eac28c1348 + checksum: b1c22b5270b0e7e63ddcf9c9bef7ca56db862f4f31dfd039b78ba7d5c249c068b58c84419bbe2315eabf48454db612a668557fed630e9c386656b9658eeff5ab languageName: node linkType: hard -"@polkadot/types-known@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/types-known@npm:10.12.2" +"@polkadot/types-known@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types-known@npm:11.0.2" dependencies: "@polkadot/networks": ^12.6.2 - "@polkadot/types": 10.12.2 - "@polkadot/types-codec": 10.12.2 - "@polkadot/types-create": 10.12.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-codec": 11.0.2 + "@polkadot/types-create": 11.0.2 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: 3d3eb805e15dfd328be28e0ec80dd85b33e177f584a66cdec877d5058f721c481fd404321fe7ffd3923a9f19cfc7df0d8122e49db0fd3acdd7d248f41edb49ec + checksum: 4b087c69c1103625ad170905da7bdfa51be754e3127aaf70c6c6ed5edae8c91d99fd4a046c956f0598c13f595bfc1b7942932a89b8c61a566bb01fd953631ba6 languageName: node linkType: hard -"@polkadot/types-support@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/types-support@npm:10.12.2" +"@polkadot/types-support@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types-support@npm:11.0.2" dependencies: "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: 20e668e6e9f0d4e006c238de9932c69365e7c796f3f4b35c992c4dee6c96f4952eb45f2679351038a0214e2a632ab96099e871bc5a714d8b1a5cd5ca149b4322 + checksum: cb453682888e553e1fe10a72acde66182121b025a52f9096f2a1ca7233fc61213a532c5baf755cf6bfb25e7e4354fb1ec6244f19974a29e0a083e4268da05021 languageName: node linkType: hard -"@polkadot/types@npm:10.12.2": - version: 10.12.2 - resolution: "@polkadot/types@npm:10.12.2" +"@polkadot/types@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types@npm:11.0.2" dependencies: "@polkadot/keyring": ^12.6.2 - "@polkadot/types-augment": 10.12.2 - "@polkadot/types-codec": 10.12.2 - "@polkadot/types-create": 10.12.2 + "@polkadot/types-augment": 11.0.2 + "@polkadot/types-codec": 11.0.2 + "@polkadot/types-create": 11.0.2 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 931a6b5d2d0ba407a49fb5307f518b0d78cf1ec68dfa5312f515960594117ad9933f43716544ffc4d6819bdb52e910a0ab3af879812dbbcae6e5f6035879bd31 + checksum: 5debd49b5509eee97ae7a8146cb6b1af5849eff6506a160882fca01aec73116fb221870d086ce2532692253c1b3fd27bfbaf3d99c6cdccbbe1cdb9f2f99997ad languageName: node linkType: hard @@ -2870,39 +2870,39 @@ __metadata: languageName: node linkType: hard -"@substrate/connect-known-chains@npm:^1.0.7": - version: 1.0.9 - resolution: "@substrate/connect-known-chains@npm:1.0.9" - checksum: 58a25df8dd8e7836e7ff932c3834e6cee67b820c0ee4832eb08d3ef25e6523c9560edd6ddecc96cb816fcbbb1ed01a3e0df50d1cf58a4bf9cc820180f21269e8 +"@substrate/connect-known-chains@npm:^1.1.4": + version: 1.1.4 + resolution: "@substrate/connect-known-chains@npm:1.1.4" + checksum: 235c732509391f12525ec740dbb8b8d4c5f56b7c7e71216c933e12974e0ad4f9664f7248a6d6db8b687c1c9fca9105398113ac7fd39515163ab6a9d5f7eba737 languageName: node linkType: hard -"@substrate/connect@npm:0.8.7": - version: 0.8.7 - resolution: "@substrate/connect@npm:0.8.7" +"@substrate/connect@npm:0.8.10": + version: 0.8.10 + resolution: "@substrate/connect@npm:0.8.10" dependencies: "@substrate/connect-extension-protocol": ^2.0.0 - "@substrate/connect-known-chains": ^1.0.7 - "@substrate/light-client-extension-helpers": ^0.0.3 - smoldot: 2.0.21 - checksum: 8390d03f463690b63193363024c4c9edafebebe1722acd95d07a8177630d85039d7115cf1c502d1d8254adbea97e5b3cf49ec36841cebefeb0408201e39e8fc5 + "@substrate/connect-known-chains": ^1.1.4 + "@substrate/light-client-extension-helpers": ^0.0.6 + smoldot: 2.0.22 + checksum: 2ed22ff5eefc547f9c3a7547f166b20c844372802cf406e6511844ed2f813b091f515611a720847e1b78848af1156d5cba403c9423c4ad32e4009daf014150bc languageName: node linkType: hard -"@substrate/light-client-extension-helpers@npm:^0.0.3": - version: 0.0.3 - resolution: "@substrate/light-client-extension-helpers@npm:0.0.3" +"@substrate/light-client-extension-helpers@npm:^0.0.6": + version: 0.0.6 + resolution: "@substrate/light-client-extension-helpers@npm:0.0.6" dependencies: - "@polkadot-api/client": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - "@polkadot-api/json-rpc-provider": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - "@polkadot-api/json-rpc-provider-proxy": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 - "@polkadot-api/substrate-client": 0.0.1-12c4b0432a814086c3c1a3b8052b31c72c2c9ad3.1.0 + "@polkadot-api/json-rpc-provider": 0.0.1 + "@polkadot-api/json-rpc-provider-proxy": 0.0.1 + "@polkadot-api/observable-client": 0.1.0 + "@polkadot-api/substrate-client": 0.0.1 "@substrate/connect-extension-protocol": ^2.0.0 - "@substrate/connect-known-chains": ^1.0.7 + "@substrate/connect-known-chains": ^1.1.4 rxjs: ^7.8.1 peerDependencies: smoldot: 2.x - checksum: a2e4a1df8f76c10c7ef3193cd4c7633beaea59e840afa71b74a5d90bdd8b335f1ec7b847b3c30e84be6e59bd25a8240549860d3016e3851a14aced45eac339a7 + checksum: a0cc169e6edf56cdbfd839a32487e31ad0bcb4cc9d4d50bac632c16f95d6ebf54638b268c1f7b8e651482e201f38411139a90071bc91268a2c01e5b50f39f338 languageName: node linkType: hard @@ -12133,7 +12133,7 @@ __metadata: languageName: node linkType: hard -"scale-ts@npm:^1.4.3": +"scale-ts@npm:^1.6.0": version: 1.6.0 resolution: "scale-ts@npm:1.6.0" checksum: 2cd6d3e31ea78621fe2e068eedc3beb6a3cfc338c9033f04ec3e355b4b08e134febad655c54a80272a50737136a27436f9d14d6525b126e621a3b77524111056 @@ -12422,12 +12422,12 @@ __metadata: languageName: node linkType: hard -"smoldot@npm:2.0.21": - version: 2.0.21 - resolution: "smoldot@npm:2.0.21" +"smoldot@npm:2.0.22": + version: 2.0.22 + resolution: "smoldot@npm:2.0.22" dependencies: ws: ^8.8.1 - checksum: 464f23dd20e8156ab63dfdccf719da9a9e245b4c1581844c3d76ab64384154f578261810d9f3d1957739577a1bccbf51b6a7467f7862f092c45b47f8e1e7b9a4 + checksum: 383bc6a5481190d64302fad56e9e4120a484885aee5543b268887de425708f04e8b3b3b69893333dfd9fd0e596f006afaa7c7ee5ff260c5d2be929c60302d385 languageName: node linkType: hard