From fc375a766714dbea8b12dd7290569ed2b50d29d8 Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Fri, 11 Oct 2024 13:26:34 +0200 Subject: [PATCH 1/4] =?UTF-8?q?added=20support=20to=20paseo's=20parachains?= =?UTF-8?q?=20=E2=9B=93=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/lib/utils/networkData.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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, }; From 3d9bef3717ba5f4efb45b460a8381f0f875bdeb2 Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Fri, 11 Oct 2024 13:28:53 +0200 Subject: [PATCH 2/4] updated tests --- client/tests/paseo.test.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/tests/paseo.test.ts b/client/tests/paseo.test.ts index 568e81a4..6666a3f8 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: "Collectives", id: 1001 }, + { name: "BridgeHub", id: 1002 }, + { name: "People", id: 1004 }, +]; const tests = new FaucetTests({ faucetName: "Paseo Faucet", chains, url: "/", expectTransactionLink: false }); tests.runTests(); From 3eb38d2e985cbc84baa0b7d6a38a824dd872835a Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Fri, 11 Oct 2024 13:31:28 +0200 Subject: [PATCH 3/4] fixed wrong test Fixed wrong chain set for tests --- client/tests/paseo.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/tests/paseo.test.ts b/client/tests/paseo.test.ts index 6666a3f8..d900745b 100644 --- a/client/tests/paseo.test.ts +++ b/client/tests/paseo.test.ts @@ -3,9 +3,9 @@ import { FaucetTests } from "./faucet.js"; const chains = [ { name: "Paseo Relay", id: -1 }, { name: "AssetHub", id: 1000 }, - { name: "Collectives", id: 1001 }, { name: "BridgeHub", id: 1002 }, { name: "People", id: 1004 }, + { name: "Coretime", id: 1005 }, ]; const tests = new FaucetTests({ faucetName: "Paseo Faucet", chains, url: "/", expectTransactionLink: false }); From a16b7b369f0e12ecfa0e2099563566ef58a9960a Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Fri, 11 Oct 2024 13:34:49 +0200 Subject: [PATCH 4/4] updated old dependency It's throwing warnings --- .github/workflows/tag-client-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: