From afb904aa8fd6c1d147d1d48427d8d5a1706fda27 Mon Sep 17 00:00:00 2001 From: eightrice Date: Mon, 6 Jul 2026 09:41:11 +0300 Subject: [PATCH] fix: replace deprecated mainnet RPC endpoint with tcinfra The default mainnet RPC (mainnet.api.tez.ie) was deprecated, causing treasury balances and other mainnet RPC reads to fail. Point the default at https://tcinfra.net/rpc/tezos/mainnet. rpcNodes.mainnet is the single source of truth (createTezos, beacon wallet, baking-bad network map, ACI endpoint), so this restores all affected reads. --- src/services/beacon/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/beacon/utils.ts b/src/services/beacon/utils.ts index 0178e39c..e64103ec 100644 --- a/src/services/beacon/utils.ts +++ b/src/services/beacon/utils.ts @@ -8,7 +8,7 @@ import { EnvKey, getEnv } from "services/config" export type Network = "mainnet" | "shadownet" | "etherlink_shadownet" | "etherlink_mainnet" export const rpcNodes: Record = { - mainnet: getEnv(EnvKey.REACT_APP_RPC_NETWORK_MAINNET) || "https://mainnet.api.tez.ie", + mainnet: getEnv(EnvKey.REACT_APP_RPC_NETWORK_MAINNET) || "https://tcinfra.net/rpc/tezos/mainnet", shadownet: getEnv(EnvKey.REACT_APP_RPC_NETWORK_SHADOWNET) || "https://rpc.shadownet.teztnets.com", etherlink_shadownet: "https://node.shadownet.etherlink.com", etherlink_mainnet: "https://node.mainnet.etherlink.com"