From 207a003ab886e2ecceed824e2703b05f1902d899 Mon Sep 17 00:00:00 2001 From: Tom Robiquet Date: Fri, 5 Jul 2024 12:38:05 +0700 Subject: [PATCH 1/2] xcm v3 for relay chains --- lib/constants/chains.ts | 16 +-- package.json | 2 +- yarn.lock | 307 +++++++++++++++++++++++++++++++++++----- 3 files changed, 282 insertions(+), 43 deletions(-) diff --git a/lib/constants/chains.ts b/lib/constants/chains.ts index 596cb53c4..73e6a2912 100644 --- a/lib/constants/chains.ts +++ b/lib/constants/chains.ts @@ -71,7 +71,7 @@ const BATTERY_STATION_CHAINS: Chain[] = [ }; const account = { parents: 0, - interior: { X1: { AccountId32: { id: accountId, network: "Any" } } }, + interior: { X1: { AccountId32: { id: accountId } } }, }; const asset = [ { @@ -81,9 +81,9 @@ const BATTERY_STATION_CHAINS: Chain[] = [ ]; const tx = api.tx.xcmPallet.reserveTransferAssets( - { V2: destination }, - { V2: account }, - { V2: asset }, + { V3: destination }, + { V3: account }, + { V3: asset }, 0, ); @@ -135,7 +135,7 @@ const PROD_CHAINS: Chain[] = [ }; const account = { parents: 0, - interior: { X1: { AccountId32: { id: accountId, network: "Any" } } }, + interior: { X1: { AccountId32: { id: accountId } } }, }; const asset = [ { @@ -145,9 +145,9 @@ const PROD_CHAINS: Chain[] = [ ]; const tx = api.tx.xcmPallet.reserveTransferAssets( - { V2: destination }, - { V2: account }, - { V2: asset }, + { V3: destination }, + { V3: account }, + { V3: asset }, 0, ); diff --git a/package.json b/package.json index 8de939b56..89adf2989 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@headlessui/tailwindcss": "^0.1.2", "@notionhq/client": "^2.2.3", "@plaiceholder/next": "^2.5.0", - "@polkadot/api": "^10.12.6", + "@polkadot/api": "12.1.1", "@polkadot/extension-dapp": "^0.44.6", "@polkadot/keyring": "^12.6.2", "@polkadot/ui-keyring": "^2.4.1", diff --git a/yarn.lock b/yarn.lock index 49537c63b..215692f32 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1792,6 +1792,13 @@ __metadata: languageName: node linkType: hard +"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1" + checksum: cf8daf52ff6d92f26c6027f13ef5fbef9e512626e0225bc8408b79002cfd34fc17c5f2d856beebcb01aa5f84c93ccc8272f9264dc8349b7f6cb63845b30119b5 + languageName: node + linkType: hard + "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" @@ -1799,6 +1806,13 @@ __metadata: languageName: node linkType: hard +"@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-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" @@ -1806,6 +1820,16 @@ __metadata: languageName: node linkType: hard +"@polkadot-api/metadata-builders@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/metadata-builders@npm:0.0.1" + 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-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 resolution: "@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" @@ -1816,6 +1840,32 @@ __metadata: languageName: node linkType: hard +"@polkadot-api/observable-client@npm:0.1.0": + version: 0.1.0 + resolution: "@polkadot-api/observable-client@npm:0.1.0" + dependencies: + "@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": + 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 + "@scure/base": ^1.1.1 + scale-ts: ^1.6.0 + checksum: fc49e49ffe749fc6fab49eee1d10d47fcd1fa3a9b6ca4e7bbde4e9741b9e062cd4e9271fd86a2525095ff36bf33b95d57c51efb88635bb60b2c77fa9e83b2cd6 + languageName: node + linkType: hard + "@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 resolution: "@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" @@ -1828,6 +1878,13 @@ __metadata: languageName: node linkType: hard +"@polkadot-api/substrate-client@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/substrate-client@npm:0.0.1" + checksum: 13dc05f1fce0d00241b48d262d691a740c65b107800cdfdf8d800333e9b3950932ce50a88bf65810892e43103bf57d1541c71538e68aa27b9aba55b389835b91 + languageName: node + linkType: hard + "@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 resolution: "@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" @@ -1835,6 +1892,13 @@ __metadata: languageName: node linkType: hard +"@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/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 resolution: "@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" @@ -1842,7 +1906,22 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:10.13.1, @polkadot/api-augment@npm:^10.11.2": +"@polkadot/api-augment@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/api-augment@npm:12.1.1" + dependencies: + "@polkadot/api-base": 12.1.1 + "@polkadot/rpc-augment": 12.1.1 + "@polkadot/types": 12.1.1 + "@polkadot/types-augment": 12.1.1 + "@polkadot/types-codec": 12.1.1 + "@polkadot/util": ^12.6.2 + tslib: ^2.6.2 + checksum: 9d6fbc8e139a89ece2ea35c3dd90aeea2bf3b44a74e921089bdd00fec982871f2a77e28ff09c8b226dd790aead5dac5e66a0d9572ed25c81b1dec816a2965f68 + languageName: node + linkType: hard + +"@polkadot/api-augment@npm:^10.11.2": version: 10.13.1 resolution: "@polkadot/api-augment@npm:10.13.1" dependencies: @@ -1870,46 +1949,59 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-derive@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/api-derive@npm:10.13.1" +"@polkadot/api-base@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/api-base@npm:12.1.1" dependencies: - "@polkadot/api": 10.13.1 - "@polkadot/api-augment": 10.13.1 - "@polkadot/api-base": 10.13.1 - "@polkadot/rpc-core": 10.13.1 - "@polkadot/types": 10.13.1 - "@polkadot/types-codec": 10.13.1 + "@polkadot/rpc-core": 12.1.1 + "@polkadot/types": 12.1.1 + "@polkadot/util": ^12.6.2 + rxjs: ^7.8.1 + tslib: ^2.6.2 + checksum: 131a90d848e94682396834e1a1d4f3eaa360f4880a87d68b9aded76b788d7162546bfca13e48412fb5c724ab9dbd99c70d53eb6ebb845d4e052dbbf397d7a603 + languageName: node + linkType: hard + +"@polkadot/api-derive@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/api-derive@npm:12.1.1" + dependencies: + "@polkadot/api": 12.1.1 + "@polkadot/api-augment": 12.1.1 + "@polkadot/api-base": 12.1.1 + "@polkadot/rpc-core": 12.1.1 + "@polkadot/types": 12.1.1 + "@polkadot/types-codec": 12.1.1 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: c0e5ed91515a0572e0685623d972327c1affeff4f0b7b49d1ae1ad1dc97594891989a528fe3dde05127bac3119b42ae0303d3fbcdf4c34eef63e859a66055730 + checksum: 37657fed3b5b28550a9018afed8a2d95d19c6d66e28dcf92385e88d9004e5ce7168d5a2d7888e32196f89f03b02ac91c00f3f1e8af47df5d4f9a6f8dd24c40c8 languageName: node linkType: hard -"@polkadot/api@npm:10.13.1, @polkadot/api@npm:^10.12.6": - version: 10.13.1 - resolution: "@polkadot/api@npm:10.13.1" +"@polkadot/api@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/api@npm:12.1.1" dependencies: - "@polkadot/api-augment": 10.13.1 - "@polkadot/api-base": 10.13.1 - "@polkadot/api-derive": 10.13.1 + "@polkadot/api-augment": 12.1.1 + "@polkadot/api-base": 12.1.1 + "@polkadot/api-derive": 12.1.1 "@polkadot/keyring": ^12.6.2 - "@polkadot/rpc-augment": 10.13.1 - "@polkadot/rpc-core": 10.13.1 - "@polkadot/rpc-provider": 10.13.1 - "@polkadot/types": 10.13.1 - "@polkadot/types-augment": 10.13.1 - "@polkadot/types-codec": 10.13.1 - "@polkadot/types-create": 10.13.1 - "@polkadot/types-known": 10.13.1 + "@polkadot/rpc-augment": 12.1.1 + "@polkadot/rpc-core": 12.1.1 + "@polkadot/rpc-provider": 12.1.1 + "@polkadot/types": 12.1.1 + "@polkadot/types-augment": 12.1.1 + "@polkadot/types-codec": 12.1.1 + "@polkadot/types-create": 12.1.1 + "@polkadot/types-known": 12.1.1 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 eventemitter3: ^5.0.1 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 1b2b6bea2ac649e081103bfe221cdb576f084c6e8c88ff8893c63dae81c6f456a4237d0aac6915633c4749dac017490672dade5d76dad151bd79f6966c4291bf + checksum: 02ed01bde28b223d15a77c07e9cb3308633252d3dde24c1f5cdf7d5a34d1b7a95e75c8d96788ed6a04a76e89c6e8c4bd18e487f6dd9f038ec9546faa338ba40b languageName: node linkType: hard @@ -2008,6 +2100,19 @@ __metadata: languageName: node linkType: hard +"@polkadot/rpc-augment@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/rpc-augment@npm:12.1.1" + dependencies: + "@polkadot/rpc-core": 12.1.1 + "@polkadot/types": 12.1.1 + "@polkadot/types-codec": 12.1.1 + "@polkadot/util": ^12.6.2 + tslib: ^2.6.2 + checksum: 148620f739289f34ebacd5bc0d93f2b38dbdf906204aebe02b64a67d1e3bb31de970748bf97c3df2a98034a39518d7e9d5ff00d50e66825859314b7e4444059d + languageName: node + linkType: hard + "@polkadot/rpc-core@npm:10.13.1": version: 10.13.1 resolution: "@polkadot/rpc-core@npm:10.13.1" @@ -2022,6 +2127,20 @@ __metadata: languageName: node linkType: hard +"@polkadot/rpc-core@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/rpc-core@npm:12.1.1" + dependencies: + "@polkadot/rpc-augment": 12.1.1 + "@polkadot/rpc-provider": 12.1.1 + "@polkadot/types": 12.1.1 + "@polkadot/util": ^12.6.2 + rxjs: ^7.8.1 + tslib: ^2.6.2 + checksum: 94605eebfda95e2532f2d73826130ad48559626aba0a916f6c608d3671fa141c33d0795907c42c4e4b5605c3377313b2dea51d140c50cf7feb3c73a6db29486a + languageName: node + linkType: hard + "@polkadot/rpc-provider@npm:10.13.1": version: 10.13.1 resolution: "@polkadot/rpc-provider@npm:10.13.1" @@ -2046,6 +2165,30 @@ __metadata: languageName: node linkType: hard +"@polkadot/rpc-provider@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/rpc-provider@npm:12.1.1" + dependencies: + "@polkadot/keyring": ^12.6.2 + "@polkadot/types": 12.1.1 + "@polkadot/types-support": 12.1.1 + "@polkadot/util": ^12.6.2 + "@polkadot/util-crypto": ^12.6.2 + "@polkadot/x-fetch": ^12.6.2 + "@polkadot/x-global": ^12.6.2 + "@polkadot/x-ws": ^12.6.2 + "@substrate/connect": 0.8.10 + eventemitter3: ^5.0.1 + mock-socket: ^9.3.1 + nock: ^13.5.0 + tslib: ^2.6.2 + dependenciesMeta: + "@substrate/connect": + optional: true + checksum: eabbb2409d61f8bb4502ff0911bb660692236bcbe379fa6a4943ec15c03366046ee1c9827de971a36c256feb7c90ba370e23cf927217eb29b0b7d8e985b1b510 + languageName: node + linkType: hard + "@polkadot/rpc-provider@npm:^9.14.2": version: 9.14.2 resolution: "@polkadot/rpc-provider@npm:9.14.2" @@ -2082,6 +2225,18 @@ __metadata: languageName: node linkType: hard +"@polkadot/types-augment@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/types-augment@npm:12.1.1" + dependencies: + "@polkadot/types": 12.1.1 + "@polkadot/types-codec": 12.1.1 + "@polkadot/util": ^12.6.2 + tslib: ^2.6.2 + checksum: 7d31056cf6d33c8e876638be1705dcdaa3f1e817117d47b166ecc627f185a8eae985b3c6a69a47bdd6f2f80db6356ff09e8d3b00fda24b426debd919b75ef9cb + languageName: node + linkType: hard + "@polkadot/types-augment@npm:9.14.2": version: 9.14.2 resolution: "@polkadot/types-augment@npm:9.14.2" @@ -2105,6 +2260,17 @@ __metadata: languageName: node linkType: hard +"@polkadot/types-codec@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/types-codec@npm:12.1.1" + dependencies: + "@polkadot/util": ^12.6.2 + "@polkadot/x-bigint": ^12.6.2 + tslib: ^2.6.2 + checksum: 25095bb7a38718c531b1799dcf8d2cc9b566d231f43370f5c40e70e8ab07efbc1cc4d2f2285ea3d2bfc47e1924c285d03a3239a71836825b3846d84f8895836f + languageName: node + linkType: hard + "@polkadot/types-codec@npm:9.14.2": version: 9.14.2 resolution: "@polkadot/types-codec@npm:9.14.2" @@ -2127,6 +2293,17 @@ __metadata: languageName: node linkType: hard +"@polkadot/types-create@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/types-create@npm:12.1.1" + dependencies: + "@polkadot/types-codec": 12.1.1 + "@polkadot/util": ^12.6.2 + tslib: ^2.6.2 + checksum: 91ea6607567ca632b1dfa3c36cf1b7fb659e5b74bdb0f323c89d8563b3e0257af6f4b1b94be48bd09acf9c43906718952c0f1e76572f6e51ca50f72fd4a00fab + languageName: node + linkType: hard + "@polkadot/types-create@npm:9.14.2": version: 9.14.2 resolution: "@polkadot/types-create@npm:9.14.2" @@ -2138,17 +2315,17 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-known@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/types-known@npm:10.13.1" +"@polkadot/types-known@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/types-known@npm:12.1.1" dependencies: "@polkadot/networks": ^12.6.2 - "@polkadot/types": 10.13.1 - "@polkadot/types-codec": 10.13.1 - "@polkadot/types-create": 10.13.1 + "@polkadot/types": 12.1.1 + "@polkadot/types-codec": 12.1.1 + "@polkadot/types-create": 12.1.1 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: c443fff703ab864440f626852badd1b6a80920bc9ed2efc104247bd9e98f66e74ee8227bea8a4a43cf442665a16456e4a31afd9e98ad1a9e17b49e1119d103ee + checksum: 505dc8a26a1332f85c7b119880dd3fdbd04ad04b7759065630600f8451cea659ebf79a7ee22266bbfa085eaaef3c47ad54c1040b4ecd1aaa02fef234f0a5c873 languageName: node linkType: hard @@ -2162,6 +2339,16 @@ __metadata: languageName: node linkType: hard +"@polkadot/types-support@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/types-support@npm:12.1.1" + dependencies: + "@polkadot/util": ^12.6.2 + tslib: ^2.6.2 + checksum: 87fdecb7f1bbdbbf9e82420a7577d5f35004ba451074ef35946e359b5395e324a9b2887b0236946e8563f9346c85f72d79e64a32dbaea1d565413b6ccda48ed7 + languageName: node + linkType: hard + "@polkadot/types-support@npm:9.14.2": version: 9.14.2 resolution: "@polkadot/types-support@npm:9.14.2" @@ -2188,6 +2375,22 @@ __metadata: languageName: node linkType: hard +"@polkadot/types@npm:12.1.1": + version: 12.1.1 + resolution: "@polkadot/types@npm:12.1.1" + dependencies: + "@polkadot/keyring": ^12.6.2 + "@polkadot/types-augment": 12.1.1 + "@polkadot/types-codec": 12.1.1 + "@polkadot/types-create": 12.1.1 + "@polkadot/util": ^12.6.2 + "@polkadot/util-crypto": ^12.6.2 + rxjs: ^7.8.1 + tslib: ^2.6.2 + checksum: a84bb90cd7005350df14378d64ea936b23f4d4a6b4c7943436183a23b18bfe133ce18b738fb333a8e4736b7cf86c1ddcce0ea21cfc26014a22c3aadf031a401e + languageName: node + linkType: hard + "@polkadot/types@npm:9.14.2, @polkadot/types@npm:^9.14.2": version: 9.14.2 resolution: "@polkadot/types@npm:9.14.2" @@ -3156,6 +3359,13 @@ __metadata: languageName: node linkType: hard +"@substrate/connect-known-chains@npm:^1.1.4": + version: 1.1.8 + resolution: "@substrate/connect-known-chains@npm:1.1.8" + checksum: 36499b890a6cdf7f7a273e19ff37cdb273a750f80d3cb339d2ac4e7d3e344524c3ed85cfffd5a8322a8ddd202633bc86d19deba9894a7b3a680ec938c91f2f32 + languageName: node + linkType: hard + "@substrate/connect@npm:0.7.19": version: 0.7.19 resolution: "@substrate/connect@npm:0.7.19" @@ -3167,6 +3377,18 @@ __metadata: languageName: node linkType: hard +"@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.1.4 + "@substrate/light-client-extension-helpers": ^0.0.6 + smoldot: 2.0.22 + checksum: 2ed22ff5eefc547f9c3a7547f166b20c844372802cf406e6511844ed2f813b091f515611a720847e1b78848af1156d5cba403c9423c4ad32e4009daf014150bc + languageName: node + linkType: hard + "@substrate/connect@npm:0.8.8": version: 0.8.8 resolution: "@substrate/connect@npm:0.8.8" @@ -3196,6 +3418,23 @@ __metadata: languageName: node linkType: hard +"@substrate/light-client-extension-helpers@npm:^0.0.6": + version: 0.0.6 + resolution: "@substrate/light-client-extension-helpers@npm:0.0.6" + dependencies: + "@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.1.4 + rxjs: ^7.8.1 + peerDependencies: + smoldot: 2.x + checksum: a0cc169e6edf56cdbfd839a32487e31ad0bcb4cc9d4d50bac632c16f95d6ebf54638b268c1f7b8e651482e201f38411139a90071bc91268a2c01e5b50f39f338 + languageName: node + linkType: hard + "@substrate/smoldot-light@npm:0.7.9": version: 0.7.9 resolution: "@substrate/smoldot-light@npm:0.7.9" @@ -4655,7 +4894,7 @@ __metadata: "@notionhq/client": ^2.2.3 "@plaiceholder/next": ^2.5.0 "@playwright/test": ^1.28.1 - "@polkadot/api": ^10.12.6 + "@polkadot/api": 12.1.1 "@polkadot/extension-dapp": ^0.44.6 "@polkadot/keyring": ^12.6.2 "@polkadot/ui-keyring": ^2.4.1 From 30b009ccb2e9dba1926568c6328a34b5d78f659e Mon Sep 17 00:00:00 2001 From: Tom Robiquet Date: Wed, 24 Jul 2024 14:03:23 +0700 Subject: [PATCH 2/2] remove dwellir --- lib/constants/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/constants/index.ts b/lib/constants/index.ts index 10b02d362..6049bd587 100644 --- a/lib/constants/index.ts +++ b/lib/constants/index.ts @@ -40,11 +40,6 @@ export const SUPPORTED_WALLET_NAMES = [ export const ZTG_CHAIN_ID = "polkadot:1bf2a2ecb4a868de66ea8610f2ce7c8c"; export const endpoints: EndpointOption[] = [ - { - value: "wss://zeitgeist-rpc.dwellir.com", - label: "Dwellir", - environment: "production", - }, { value: "wss://zeitgeist.api.onfinality.io/public-ws", label: "OnFinality",