From 8b7189efbe6bb79549f28c804d2ac2c6f4617c4d Mon Sep 17 00:00:00 2001 From: Michael Absolon Date: Sat, 30 Nov 2024 13:19:44 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20Perform=20November=20monthly=20check?= =?UTF-8?q?=20=F0=9F=94=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/lightspell-site/package.json | 16 +- apps/playground/e2e/sdk-transfer.spec.ts | 7 +- apps/playground/e2e/xcm-router.spec.ts | 7 - apps/playground/package.json | 38 +- apps/site/package.json | 24 +- apps/site/src/components/XcmApi/XcmApi.tsx | 1 + .../src/components/XcmRouter/XcmRouter.tsx | 1 + apps/site/src/components/XcmSdk/XcmSdk.tsx | 1 + apps/visualizator-be/package.json | 14 +- apps/visualizator-fe/package.json | 50 +- apps/xcm-api/package.json | 42 +- .../src/analytics/analytics.service.test.ts | 8 +- .../src/analytics/analytics.service.ts | 12 +- apps/xcm-api/test/app.e2e-spec.ts | 2 +- package.json | 26 +- packages/sdk/e2e/xcm-papi.test.ts | 4 - packages/sdk/e2e/xcm.test.ts | 3 - packages/sdk/package.json | 34 +- packages/sdk/scripts/assets/fetchAssets.ts | 25 - packages/sdk/scripts/assets/nodeToQueryMap.ts | 3 - packages/sdk/src/maps/assets.json | 220 +- packages/sdk/src/maps/configs.json | 44 +- packages/sdk/src/maps/consts.ts | 9 - .../sdk/src/maps/existential-deposits.json | 5 +- packages/sdk/src/maps/pallets.json | 24 +- .../src/nodes/supported/Integritee.test.ts | 54 - .../sdk/src/nodes/supported/Integritee.ts | 30 - .../sdk/src/nodes/supported/PeoplePolkadot.ts | 6 + .../sdk/src/nodes/supported/Pioneer.test.ts | 42 - packages/sdk/src/nodes/supported/Pioneer.ts | 25 - .../sdk/src/nodes/supported/Polkadex.test.ts | 47 - packages/sdk/src/nodes/supported/Polkadex.ts | 29 - packages/sdk/src/pallets/assets/assets.ts | 2 +- .../keepAlive/checkKeepAlive.test.ts | 14 - .../xcmPallet/keepAlive/checkKeepAlive.ts | 4 - .../transfer/validationUtils.test.ts | 15 - packages/sdk/src/papi/PapiApi.ts | 2 - packages/sdk/src/types/TAssets.ts | 6 +- packages/xcm-analyser/package.json | 6 +- packages/xcm-router/package.json | 26 +- packages/xcm-router/src/consts/assets.json | 82 +- packages/xcm-router/src/consts/consts.ts | 1 - .../xcm-router/src/dexNodes/DexNodeFactory.ts | 1 - .../dexNodes/Hydration/HydrationDex.test.ts | 13 - ...uildTransferExtrinsics.integration.test.ts | 2 +- .../src/transfer/transfer.integration.test.ts | 2 +- pnpm-lock.yaml | 6139 ++++++++--------- reviewpad.yml | 5 - 48 files changed, 3335 insertions(+), 3838 deletions(-) delete mode 100644 packages/sdk/src/nodes/supported/Integritee.test.ts delete mode 100644 packages/sdk/src/nodes/supported/Integritee.ts delete mode 100644 packages/sdk/src/nodes/supported/Pioneer.test.ts delete mode 100644 packages/sdk/src/nodes/supported/Pioneer.ts delete mode 100644 packages/sdk/src/nodes/supported/Polkadex.test.ts delete mode 100644 packages/sdk/src/nodes/supported/Polkadex.ts delete mode 100644 reviewpad.yml diff --git a/apps/lightspell-site/package.json b/apps/lightspell-site/package.json index 611d964d..f6f8048b 100644 --- a/apps/lightspell-site/package.json +++ b/apps/lightspell-site/package.json @@ -13,22 +13,22 @@ "format:write": "prettier --write src" }, "dependencies": { - "@mantine/core": "^7.13.4", - "@mantine/form": "^7.13.4", - "@mantine/hooks": "^7.13.4", + "@mantine/core": "^7.14.3", + "@mantine/form": "^7.14.3", + "@mantine/hooks": "^7.14.3", "@mantinex/dev-icons": "^1.0.2", - "@tabler/icons-react": "^3.21.0", + "@tabler/icons-react": "^3.23.0", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-router-dom": "^6.27.0" + "react-router-dom": "^7.0.1" }, "devDependencies": { "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", - "@vitejs/plugin-react": "^4.3.3", - "postcss": "^8.4.47", + "@vitejs/plugin-react": "^4.3.4", + "postcss": "^8.4.49", "postcss-preset-mantine": "^1.17.0", "postcss-simple-vars": "^7.0.1", - "vite": "^5.4.10" + "vite": "^6.0.1" } } diff --git a/apps/playground/e2e/sdk-transfer.spec.ts b/apps/playground/e2e/sdk-transfer.spec.ts index 7e6da208..54c9f855 100644 --- a/apps/playground/e2e/sdk-transfer.spec.ts +++ b/apps/playground/e2e/sdk-transfer.spec.ts @@ -15,7 +15,6 @@ const excludedNodes = new Set([ "Bitgreen", "Bajun", "CoretimeKusama", - "Polkadex", ]); const nodes = NODES_WITH_RELAY_CHAINS.filter( @@ -34,8 +33,6 @@ const getAssetsForNode = (node: TNodeWithRelayChains): string[] => { if (node === "Khala") return ["PHA"]; if (node === "Phala") return ["PHA"]; if (node === "Mythos") return ["MYTH"]; - if (node === "Integritee") - return getAllAssetsSymbols(node).filter((asset) => asset !== "KSM"); return getAllAssetsSymbols(node); }; @@ -105,9 +102,7 @@ nodes.forEach((node) => { } ); - if ( - !["Integritee", "Crust", "CrustShadow", "Phala", "Khala"].includes(node) - ) { + if (!["Crust", "CrustShadow", "Phala", "Khala"].includes(node)) { basePjsTest( `Should succeed for ParaToRelay transfer ${node} -> ${relayChain}`, async () => { diff --git a/apps/playground/e2e/xcm-router.spec.ts b/apps/playground/e2e/xcm-router.spec.ts index 989caf9f..6e81c83d 100644 --- a/apps/playground/e2e/xcm-router.spec.ts +++ b/apps/playground/e2e/xcm-router.spec.ts @@ -10,13 +10,6 @@ const exchanges = [ fromCurrency: "ASTR - 1333", toCurrency: "DOT - Native", }, - { - exchange: "BasiliskDex", - fromNode: "Karura", - toNode: "AssetHubKusama", - fromCurrency: "TEER - 8", - toCurrency: "KSM - Native", - }, { exchange: "KaruraDex", fromNode: "AssetHubKusama", diff --git a/apps/playground/package.json b/apps/playground/package.json index d868fa36..6882107d 100644 --- a/apps/playground/package.json +++ b/apps/playground/package.json @@ -18,41 +18,41 @@ "init-e2e": "pnpm init-polkadot-ext && pnpm init-metamask-ext" }, "dependencies": { - "@mantine/core": "^7.13.4", - "@mantine/form": "^7.13.4", - "@mantine/hooks": "^7.13.4", + "@mantine/core": "^7.14.3", + "@mantine/form": "^7.14.3", + "@mantine/hooks": "^7.14.3", "@paraspell/sdk": "workspace:*", "@paraspell/xcm-analyser": "workspace:*", "@paraspell/xcm-router": "workspace:*", - "@polkadot/api": "^12.4.2", - "@polkadot/extension-dapp": "^0.56.1", - "@polkadot/extension-inject": "^0.56.1", - "@polkadot/keyring": "^13.2.2", - "@polkadot/util": "^13.2.2", - "@snowbridge/contract-types": "^0.1.23", - "@tabler/icons-react": "^3.21.0", - "axios": "^1.7.7", + "@polkadot/api": "^15.0.1", + "@polkadot/extension-dapp": "^0.56.2", + "@polkadot/extension-inject": "^0.56.2", + "@polkadot/keyring": "^13.2.3", + "@polkadot/util": "^13.2.3", + "@snowbridge/contract-types": "^0.1.25", + "@tabler/icons-react": "^3.23.0", + "axios": "^1.7.8", "ethers": "^6.13.4", - "polkadot-api": "^1.7.3", + "polkadot-api": "^1.7.7", "react": "^18.3.1", "react-confetti": "^6.1.0", "react-dom": "^18.3.1", - "react-router-dom": "^6.27.0", - "web3": "^4.14.0", + "react-router-dom": "^7.0.1", + "web3": "^4.15.0", "web3-validator": "^2.0.6" }, "devDependencies": { - "@metamask/providers": "^18.1.1", - "@playwright/test": "^1.48.2", + "@metamask/providers": "^18.2.0", + "@playwright/test": "^1.49.0", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", - "@vitejs/plugin-react": "^4.3.3", + "@vitejs/plugin-react": "^4.3.4", "path": "^0.12.7", - "postcss": "^8.4.47", + "postcss": "^8.4.49", "postcss-preset-mantine": "^1.17.0", "postcss-simple-vars": "^7.0.1", "url": "^0.11.4", - "vite": "^5.4.10", + "vite": "^6.0.1", "vite-plugin-node-polyfills": "^0.22.0", "vite-plugin-wasm": "^3.3.0" } diff --git a/apps/site/package.json b/apps/site/package.json index 6c7e07c3..16039823 100644 --- a/apps/site/package.json +++ b/apps/site/package.json @@ -13,27 +13,27 @@ "format:write": "prettier --write src" }, "dependencies": { - "@mantine/code-highlight": "^7.13.4", - "@mantine/core": "^7.13.4", - "@mantine/form": "^7.13.4", - "@mantine/hooks": "^7.13.4", + "@mantine/code-highlight": "^7.14.3", + "@mantine/core": "^7.14.3", + "@mantine/form": "^7.14.3", + "@mantine/hooks": "^7.14.3", "@mantinex/dev-icons": "^1.0.2", - "@tabler/icons-react": "^3.21.0", - "@tsparticles/engine": "^3.5.0", - "@tsparticles/preset-links": "^3.1.0", + "@tabler/icons-react": "^3.23.0", + "@tsparticles/engine": "^3.7.1", + "@tsparticles/preset-links": "^3.2.0", "@tsparticles/react": "^3.0.0", - "@tsparticles/slim": "^3.5.0", + "@tsparticles/slim": "^3.7.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-router-dom": "^6.27.0" + "react-router-dom": "^7.0.1" }, "devDependencies": { "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", - "@vitejs/plugin-react": "^4.3.3", - "postcss": "^8.4.47", + "@vitejs/plugin-react": "^4.3.4", + "postcss": "^8.4.49", "postcss-preset-mantine": "^1.17.0", "postcss-simple-vars": "^7.0.1", - "vite": "^5.4.10" + "vite": "^6.0.1" } } diff --git a/apps/site/src/components/XcmApi/XcmApi.tsx b/apps/site/src/components/XcmApi/XcmApi.tsx index 569f82ac..353afb1b 100644 --- a/apps/site/src/components/XcmApi/XcmApi.tsx +++ b/apps/site/src/components/XcmApi/XcmApi.tsx @@ -118,6 +118,7 @@ const XcmApi = () => { Read more