Skip to content

fix: replace deprecated mainnet RPC endpoint with tcinfra - #954

Merged
EightRice merged 1 commit into
masterfrom
fix/mainnet-rpc-tcinfra
Jul 6, 2026
Merged

fix: replace deprecated mainnet RPC endpoint with tcinfra#954
EightRice merged 1 commit into
masterfrom
fix/mainnet-rpc-tcinfra

Conversation

@EightRice

Copy link
Copy Markdown
Collaborator

Problem

The default Tezos mainnet RPC (https://mainnet.api.tez.ie) was deprecated. Treasury balances stopped loading, and any other view that reads mainnet RPC is affected.

No REACT_APP_RPC_NETWORK_MAINNET override exists in the shipped env, so this dead endpoint is what production actually uses.

Fix

Point the mainnet default at https://tcinfra.net/rpc/tezos/mainnet in src/services/beacon/utils.ts.

rpcNodes.mainnet is the single source of truth — consumed by createTezos, the beacon wallet, the baking-bad network map, and the ACI endpoint — so this one change restores treasury balances and every other mainnet RPC read.

Verification

New endpoint confirmed live (HTTP 200, current mainnet head):

GET https://tcinfra.net/rpc/tezos/mainnet/chains/main/blocks/head/header
-> {"chain_id":"NetXdQprcVkpaWU", "level":13940533, ...}

Review on deploy preview

  • Connect a mainnet wallet, open a DAO treasury — balances should render.
  • Spot-check other mainnet reads (DAO list, proposals) still load.

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.
@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploy Preview for tezos-homebase ready!

Name Link
🔨 Latest commit afb904a
🔍 Latest deploy log https://app.netlify.com/projects/tezos-homebase/deploys/6a4b4e2491903100082bc37e
😎 Deploy Preview https://deploy-preview-954--tezos-homebase.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 26 (🔴 down 1 from production)
Accessibility: 91 (no change from production)
Best Practices: 83 (no change from production)
SEO: 92 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@EightRice
EightRice merged commit b257638 into master Jul 6, 2026
6 checks passed
@EightRice
EightRice deleted the fix/mainnet-rpc-tcinfra branch July 6, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant