Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify supported methods for a provider + chain #702

Open
chris13524 opened this issue Jul 9, 2024 · 1 comment
Open

Ability to specify supported methods for a provider + chain #702

chris13524 opened this issue Jul 9, 2024 · 1 comment
Labels
accepted The issue has been accepted into the project

Comments

@chris13524
Copy link
Member

Problem

Seems like different RPC providers support different methods, which results in flaky behavior where a method doesn't work sometimes.

Furthermore, a provider might support the method, but only on certain chains.

Proposed solution

Proposal is for each chain on a provider, to be able to specify what methods it supports. This would be factored into the load balancing algorithm to only include providers that support the user's requested method.

To make it more complex, we should include the method into the supported chains file. For example, if provider #1 supports the method but we do not have special rate limits with them, while provider #2 doesn't support the method but we do have a special rate limit, we should consider the method not highly available and disclose this.

Related to #698

@arein arein added the accepted The issue has been accepted into the project label Jul 9, 2024
Copy link

linear bot commented Jul 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted The issue has been accepted into the project
Projects
None yet
Development

No branches or pull requests

2 participants