Skip to content

Hand the chain readers only the RPC endpoints that pass a health probe - #109

Merged
Ocnrb merged 2 commits into
mainfrom
fix/rpc-health
Oct 6, 2026
Merged

Ocnrb merged 2 commits into
mainfrom
fix/rpc-health

Conversation

@Ocnrb

@Ocnrb Ocnrb commented Oct 6, 2026

Copy link
Copy Markdown
Member
  • With quorum 1 the SDK gives each request to one chosen endpoint at random, so a degraded one failed its share of reads and the user saw errors; the block number alone passed startup while eth_call was shed
  • Each chosen endpoint is now probed with the block number and the SDK's most frequent contract read, 3 s each; the SDK, the gate reads, the access quorum and gas estimation get the ones that pass, in the user's order and never down to none
  • Probed again every 15 minutes and after three RPC read failures; the client is rebuilt only when the healthy set changes, at most every 10 minutes and never with a chain write in flight
  • Settings show which endpoints were left out and why

Ocnrb and others added 2 commits October 5, 2026 23:34
- Each chosen endpoint is probed with the block number and the SDK's most frequent read (getNode of Pombo's node), 3 s each; one failing, or more than 10 blocks behind, is left out, in the user's order and never down to none
- Probed again every 15 minutes and after three RPC read failures; the SDK client is rebuilt only when the healthy set changes, at most every 10 minutes and never with a chain write in flight

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- Test all also probes the health of the chosen endpoints

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
p2p-public-chat Ready Ready Preview Oct 6, 2026 10:27am UTC
pombo Ready Ready Preview Oct 6, 2026 10:27am UTC

@Ocnrb
Ocnrb merged commit 29b157f into main Oct 6, 2026
3 checks passed

This branch was successfully deployed

2 active deployments
Preview – p2p-public-chat — db0279c2 Deployed Oct 6, 2026 by vercel[bot]
Preview – pombo — db0279c2 Deployed Oct 6, 2026 by vercel[bot]
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