From 33fc0dde1dc993d58b7fd272023cb272040a168e Mon Sep 17 00:00:00 2001 From: Wil Wade Date: Thu, 2 May 2024 12:55:32 -0400 Subject: [PATCH] Remove Frequency Rococo Faucet --- .env.example | 2 +- client/src/lib/utils/networkData.ts | 9 +-------- client/tests/frequency.test.ts | 2 +- src/networkData.ts | 13 ------------- 4 files changed, 3 insertions(+), 23 deletions(-) diff --git a/.env.example b/.env.example index 1dab70eb..44c1b653 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -SMF_CONFIG_NETWORK="frequencyRococo" +SMF_CONFIG_NETWORK="frequencyPaseo" SMF_CONFIG_PORT=5555 SMF_CONFIG_DEPLOYED_REF=local diff --git a/client/src/lib/utils/networkData.ts b/client/src/lib/utils/networkData.ts index c96e332e..dca29ab2 100644 --- a/client/src/lib/utils/networkData.ts +++ b/client/src/lib/utils/networkData.ts @@ -25,14 +25,7 @@ export interface NetworkData { export const Frequency: NetworkData = { networkName: "Frequency", currency: "XRQCY", - chains: [ - { name: "Frequency Paseo Testnet", id: -1 }, - { - name: "Frequency Rococo Testnet", - id: 4044, - endpoint: "https://faucet-api-rococo.liberti.social/drip/web" - } - ], + chains: [{ name: "Frequency Paseo Testnet", id: -1 }], endpoint: faucetUrl("https://faucet-api-paseo.liberti.social/drip/web"), explorer: null }; diff --git a/client/tests/frequency.test.ts b/client/tests/frequency.test.ts index 65297463..7d3f2e6c 100644 --- a/client/tests/frequency.test.ts +++ b/client/tests/frequency.test.ts @@ -1,6 +1,6 @@ import { FaucetTests } from "./faucet.js"; -const chains = [{ name: "Frequency Rococo Testnet", id: -1 }]; +const chains = [{ name: "Frequency Paseo Testnet", id: -1 }]; const tests = new FaucetTests({ faucetName: "Frequency Faucet", diff --git a/src/networkData.ts b/src/networkData.ts index 410a011f..a249877c 100644 --- a/src/networkData.ts +++ b/src/networkData.ts @@ -37,18 +37,6 @@ const rococo: NetworkData = { matrixWhitelistPatterns: parityWhitelist, }; -const frequencyRococo: NetworkData = { - balanceCap: 1000, - chains: [{ name: "Frequency Rococo Testnet", id: -1 }], - currency: "XRQCY", - decimals: 8, - dripAmount: "5000", - explorer: null, - networkName: "Frequency Rococo Testnet", - rpcEndpoint: "wss://rpc.rococo.frequency.xyz", - matrixWhitelistPatterns: [], -}; - const frequencyPaseo: NetworkData = { balanceCap: 1000, chains: [{ name: "Frequency Paseo Testnet", id: -1 }], @@ -142,7 +130,6 @@ export const networks: Record = { e2e, trappist, paseo, - frequencyRococo, frequencyPaseo, };