Repository navigation
Hand the chain readers only the RPC endpoints that pass a health probe - #109
Merged
Merged
Conversation
Ocnrb
commented
Oct 6, 2026
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
- 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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.