From 62e1e643da6f58d2be6def9e5222dc75a2bf6a19 Mon Sep 17 00:00:00 2001 From: molecula451 Date: Thu, 20 Jun 2024 15:10:34 -0400 Subject: [PATCH 1/3] chore: add initial jest tests for UI --- packages/dapp/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/dapp/package.json b/packages/dapp/package.json index e3542a928..a7279641b 100644 --- a/packages/dapp/package.json +++ b/packages/dapp/package.json @@ -21,6 +21,7 @@ "@next/eslint-plugin-next": "^13.2.4", "@types/react": "^18.0.15", "dotenv": "^16.3.1", + "jest": "^29.7.0", "lint-staged": "^13.0.3", "nodemon": "^2.0.19", "postcss": "^8.4.21", From 59e059cc8dae4af00944cf33b75f106ed34d7832 Mon Sep 17 00:00:00 2001 From: molecula451 Date: Tue, 25 Jun 2024 20:00:05 -0400 Subject: [PATCH 2/3] chore: update RPC --- README.md | 2 +- packages/contracts/foundry.toml | 2 +- packages/contracts/scripts/runner/conf.ts | 1 - packages/contracts/scripts/shared/constants/networks.ts | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e8392caa4..23864f1a3 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ yarn workspace @ubiquity/dapp start # Run the web application at http://localhos ### Network Settings | Network | Chain ID | RPC Endpoint | Comment | |---------|----------|-------------------------------|---------| -| `mainnet` | `1` | `https://eth.ubq.fi/v1/mainnet` | Our dedicated mainnet gateway | +| `mainnet` | `1` | `https://rpc.ankr.com/eth` | Public Mainnet Gateway | | `anvil` | `31337` | `http://127.0.0.1:8545` | Used for local development | | `sepolia` | `11155111` | `https://ethereum-sepolia.publicnode.com` |Use any public available RPC for Sepolia testing | diff --git a/packages/contracts/foundry.toml b/packages/contracts/foundry.toml index 5084fd151..8b516b440 100644 --- a/packages/contracts/foundry.toml +++ b/packages/contracts/foundry.toml @@ -18,7 +18,7 @@ force = false # See more config options https://github.com/foundry-rs/foundry/tree/master/config [rpc_endpoints] -mainnet = "https://eth.ubq.fi/v1/mainnet" +mainnet = "https://rpc.ankr.com/eth" [profile.SMT.model_checker] contracts = { } diff --git a/packages/contracts/scripts/runner/conf.ts b/packages/contracts/scripts/runner/conf.ts index 7a8003ab8..c2df4995c 100644 --- a/packages/contracts/scripts/runner/conf.ts +++ b/packages/contracts/scripts/runner/conf.ts @@ -1,5 +1,4 @@ export const RPC_LIST: string[] = [ - "https://eth.ubq.fi/v1/mainnet", "https://rpc.flashbots.net", "https://nodes.mewapi.io/rpc/eth", "https://cloudflare-eth.com", diff --git a/packages/contracts/scripts/shared/constants/networks.ts b/packages/contracts/scripts/shared/constants/networks.ts index f6cdbf9d9..100e8bfa9 100644 --- a/packages/contracts/scripts/shared/constants/networks.ts +++ b/packages/contracts/scripts/shared/constants/networks.ts @@ -4,4 +4,4 @@ export const Networks: Record = { sepolia: 11155111, }; -export const FALLBACK_RPC = "https://eth.ubq.fi/v1/mainnet"; +export const FALLBACK_RPC = "https://rpc.ankr.com/eth"; From 9ff5ddc374bcd14b483afe3a3665cc38d61eac72 Mon Sep 17 00:00:00 2001 From: molecula451 Date: Tue, 25 Jun 2024 20:03:32 -0400 Subject: [PATCH 3/3] chore: clean branch --- packages/dapp/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/dapp/package.json b/packages/dapp/package.json index a7279641b..e3542a928 100644 --- a/packages/dapp/package.json +++ b/packages/dapp/package.json @@ -21,7 +21,6 @@ "@next/eslint-plugin-next": "^13.2.4", "@types/react": "^18.0.15", "dotenv": "^16.3.1", - "jest": "^29.7.0", "lint-staged": "^13.0.3", "nodemon": "^2.0.19", "postcss": "^8.4.21",