From 8d5ea1f15a57d647923f01be38259370828f854e Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Fri, 11 Oct 2024 17:19:55 +0200 Subject: [PATCH] =?UTF-8?q?added=20support=20to=20`paseo`=20parachains=20?= =?UTF-8?q?=E2=9B=93=EF=B8=8F=20(#456)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves #437 This pull request includes an update to the `Paseo` network data in the `networkData.ts` file to add several new chains. Changes to network data: * [`client/src/lib/utils/networkData.ts`](diffhunk://#diff-18208224988b15c7ed0e5e9f908827fea45f65edd128b85a8e2453b84e11dac2L58-R64): Added new chains `AssetHub`, `BridgeHub`, `People`, and `Coretime` to the `Paseo` network. --- .github/workflows/tag-client-pr.yml | 2 +- client/src/lib/utils/networkData.ts | 8 +++++++- client/tests/paseo.test.ts | 8 +++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tag-client-pr.yml b/.github/workflows/tag-client-pr.yml index 9435c9d4..ca90784b 100644 --- a/.github/workflows/tag-client-pr.yml +++ b/.github/workflows/tag-client-pr.yml @@ -12,7 +12,7 @@ jobs: label-prs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Label PR run: gh pr edit $PR_NUMBER --add-label $LABEL_NAME env: diff --git a/client/src/lib/utils/networkData.ts b/client/src/lib/utils/networkData.ts index dcc3495f..8b7a80fb 100644 --- a/client/src/lib/utils/networkData.ts +++ b/client/src/lib/utils/networkData.ts @@ -55,7 +55,13 @@ export const Westend: NetworkData = { export const Paseo: NetworkData = { networkName: "Paseo", currency: "PAS", - chains: [{ name: "Paseo Relay", id: -1 }], + chains: [ + { name: "Paseo Relay", id: -1 }, + { name: "AssetHub", id: 1000 }, + { name: "BridgeHub", id: 1002 }, + { name: "People", id: 1004 }, + { name: "Coretime", id: 1005 }, + ], endpoint: faucetUrl("https://paseo-faucet.parity-testnet.parity.io/drip/web"), explorer: null, }; diff --git a/client/tests/paseo.test.ts b/client/tests/paseo.test.ts index 568e81a4..d900745b 100644 --- a/client/tests/paseo.test.ts +++ b/client/tests/paseo.test.ts @@ -1,6 +1,12 @@ import { FaucetTests } from "./faucet.js"; -const chains = [{ name: "Paseo Relay", id: -1 }]; +const chains = [ + { name: "Paseo Relay", id: -1 }, + { name: "AssetHub", id: 1000 }, + { name: "BridgeHub", id: 1002 }, + { name: "People", id: 1004 }, + { name: "Coretime", id: 1005 }, +]; const tests = new FaucetTests({ faucetName: "Paseo Faucet", chains, url: "/", expectTransactionLink: false }); tests.runTests();