Skip to content

Conversation

pxrl
Copy link
Collaborator

@pxrl pxrl commented Oct 2, 2025

RPC errors must also be evaluated at the caching/aggregator layer to avoid rotating to another provider in the event that the first provider fails. Some failures cannot be resolved and need to be aborted immediately.

RPC errors must also be evaluated at the caching/aggregator layer to
avoid rotating to another provider in the event that the first provider
fails. Some failures cannot be resolved and need to be aborted
immediately.

While testing this, it was identified that SolanaError objects can be
mangled somewhere in the call stack, such that isSolanaError() doesn't
resolve true properly. It's unclear why this is the case, but introduce
a secondary option for resolving isSolanaError() via superstruct.
@pxrl pxrl marked this pull request as ready for review October 2, 2025 21:50
@pxrl pxrl requested review from nicholaspai and bmzig October 3, 2025 12:39
@pxrl pxrl requested a review from dijanin-brat October 3, 2025 12:57
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.

3 participants