Skip to content

Commit

Permalink
added support to paseo parachains ⛓️ (#456)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Bullrich authored Oct 11, 2024
1 parent e7dc602 commit 8d5ea1f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tag-client-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 7 additions & 1 deletion client/src/lib/utils/networkData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
8 changes: 7 additions & 1 deletion client/tests/paseo.test.ts
Original file line number Diff line number Diff line change
@@ -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();

0 comments on commit 8d5ea1f

Please sign in to comment.