Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qena #3084

Closed
wants to merge 3 commits into from
Closed

Qena #3084

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
- testnet: parisnet
testnet_uppercase: PARISNET
rpc_url: https://parisnet.ecadinfra.com
- testnet: qenanet
testnet_uppercase: QENANET
rpc_url: https://rpc.qenanet.teztnets.com/
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -64,19 +67,19 @@ jobs:
env:
# Ternary operator workaround
TEZOS_RPC_${{ matrix.testnet_uppercase }}: ${{ github.event.pull_request.head.repo.fork && matrix.rpc_url || null }}
integration-tests-testnet-quebecA-secret-key:
integration-tests-qena-secret-key:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
include:
- testnet: betanet
testnet_uppercase: BETANET
- testnet: qenanet
testnet_uppercase: QENANET
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/hydrogen
node-version: lts/iron
- run: npm ci
- run: npm run build
- if: ${{ !github.event.pull_request.head.repo.fork }}
Expand All @@ -85,6 +88,7 @@ jobs:
with:
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
version: 1.32.2
- run: npm -w integration-tests run test:betanet-secret-key
- run: npm -w integration-tests run test:qenanet-secret-key
env:
TEZOS_RPC_${{ matrix.testnet_uppercase }}: ${{ github.event.pull_request.head.repo.fork && matrix.rpc_url || null }}
RUN_${{ matrix.testnet_uppercase }}_WITH_SECRET_KEY: true
4 changes: 4 additions & 0 deletions apps/taquito-test-dapp/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
let availableNetworks = [
{ value: "ghostnet", label: "Ghostnet", group: "current testnets" },
{ value: "parisnet", label: "Parisnet", group: "current testnets" },
// { value: "qenanet", label: "Qenanet", group: "current testnets" },
{ value: "mainnet", label: "Mainnet", group: "mainnet" },
{ value: "dailynet", label: "Dailynet", group: "other testnets" },
{ value: "weeklynet", label: "Weeklynet", group: "other testnets" },
Expand Down Expand Up @@ -42,6 +43,9 @@
case "parisnet":
store.updateNetworkType(NetworkType.PARISNET);
break;
// case "qenanet":
// store.updateNetworkType(NetworkType.QENANET);
// break;
case "custom":
//TODO: input custom RPC URL
showCustomNetworkInput = true;
Expand Down
7 changes: 6 additions & 1 deletion apps/taquito-test-dapp/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { NetworkType as NetworkTypeBeacon } from "@airgap/beacon-sdk";
import { NetworkType as NetworkTypeWc } from "@taquito/wallet-connect";

export type SupportedNetworks = NetworkTypeBeacon.MAINNET | NetworkTypeBeacon.GHOSTNET | NetworkTypeBeacon.PARISNET | NetworkTypeWc.MAINNET | NetworkTypeWc.GHOSTNET | NetworkTypeWc.PARISNET | NetworkTypeBeacon.CUSTOM;
export type SupportedNetworks = NetworkTypeBeacon.MAINNET | NetworkTypeBeacon.GHOSTNET | NetworkTypeBeacon.PARISNET | NetworkTypeWc.MAINNET | NetworkTypeWc.GHOSTNET | NetworkTypeWc.PARISNET | NetworkTypeBeacon.CUSTOM // | NetworkTypeBeacon.QENANET | NetworkTypeWc.QENANET;

const rpcUrls: Record<SupportedNetworks, string> = {
[NetworkTypeBeacon.MAINNET]: "https://mainnet.ecadinfra.com",
[NetworkTypeBeacon.GHOSTNET]: "https://ghostnet.ecadinfra.com/",
[NetworkTypeBeacon.PARISNET]: "https://rpc.pariscnet.teztnets.com/",
// [NetworkTypeBeacon.QENANET]: "https://rpc.qenacnet.teztnets.com/",
[NetworkTypeBeacon.CUSTOM]: "https://ghostnet.ecadinfra.com/",
};

Expand All @@ -25,6 +26,9 @@ export const getTzKtUrl = (networkType: SupportedNetworks): string | undefined =
case NetworkTypeBeacon.PARISNET:
case NetworkTypeWc.PARISNET:
return "https://parisnet.tzkt.io";
// case NetworkTypeBeacon.QENANET:
// case NetworkTypeWc.QENANET:
// return "https://qenanet.tzkt.io";
case NetworkTypeBeacon.CUSTOM:
return undefined;
}
Expand All @@ -40,4 +44,5 @@ export const contractAddress = {
ghostnet: "KT1QKmcNBcfzVTXG2kBcE6XqXtEuYYUzMcT5",
oxfordnet: "KT1GYx1KDhMQt2GJEztRh8EyYxJUPM6fnAMM",
parisnet: "KT1E43cQefjM8fq7B5pEJFJoGbRmuNibDoBC",
qenanet: "KT194ZbWtaJgVpCmAq2E62s5aRKKuEXGPxVy",
};
4 changes: 3 additions & 1 deletion docs/rpc_nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ values={[
| SmartPy | Ghostnet | https://ghostnet.smartpy.io | [Check](https://ghostnet.smartpy.io/chains/main/blocks/head/header) |
| Tezos Foundation | Mainnet | https://rpc.tzbeta.net/ | [Check](https://rpc.tzbeta.net/chains/main/blocks/head/header) |
| Tezos Foundation | Ghostnet | https://rpc.ghostnet.teztnets.com/ | [Check](https://rpc.ghostnet.teztnets.com/chains/main/blocks/head/header) |
| Tezos Foundation | Parisnet | https://rpc.pariscnet.teztnets.com/ | [Check](https://rpc.pariscnet.teztnets.com/chains/main/blocks/head/header) |
| Tezos Foundation | Parisnet | https://rpc.pariscnet.teztnets.com/ | [Check](https://rpc.pariscnet.teztnets.com/chains/main/blocks/head/header) |
| Tezos Foundation | Qenanet | https://rpc.qenanet.teztnets.com/ | [Check](https://rpc.qenanet.teztnets.com/chains/main/blocks/head/header) |


*If you are aware of a public node missing from our list or our information is inaccurate, please help us by submitting an issue or pull request on our GitHub page.*
</TabItem>
Expand Down
Loading
Loading