Skip to content

Hand the bridge only the RPC endpoints that pass a health probe - #86

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; the block number alone passed startup while eth_call was shed
  • Before the client is built the page probes each chosen endpoint with the block number and the SDK's most frequent contract read, 3 s each; the SDK, the gate reads, the quorum and the estimator get the ones that pass, in the user's order and never down to none
  • Probed again every 15 minutes and after three RPC failures; the bridge is reloaded only when the healthy set changes, at most every 10 minutes and never inside a ChainGuard window
  • Settings show which endpoints were left out and why

Ocnrb and others added 2 commits October 6, 2026 00:09
- Before the client is built the page probes each chosen endpoint with the block number and the SDK's most frequent read (getNode of Pombo's node), 3 s each; the SDK, the gate and the quorum get the ones that pass, in the user's order and never down to none
- Probed again every 15 minutes and after three RPC failures; the bridge is reloaded only when the healthy set changes, at most every 10 minutes and never inside a ChainGuard window, and the estimator uses the healthy set too

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>
@Ocnrb
Ocnrb merged commit c76714f into main Oct 6, 2026
1 check passed
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