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

Use alternative RPC providers on error #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AwaitFuture
Copy link
Contributor

problem:

  • given some set of rules to handle rpc connections, fail over to other rpc connections

solution:

  • implement RpcAgent, State interface for underlying rpc strategies
  • implement RpcStrategyAdapter, behavior for rpc strategies to implement
  • create example round robin strategy and tests

#10

@AwaitFuture AwaitFuture force-pushed the round_robin branch 2 times, most recently from 08a3182 to aaa9c4f Compare September 23, 2021 05:12
problem:
* given some set of rules to handle rpc connections, fail over to other rpc connections

solution:
* implement RpcAgent, State interface for underlying rpc strategies
* implement RpcStrategyAdapter, behavior for rpc strategies to implement
* create example round robin strategy and tests
@AwaitFuture
Copy link
Contributor Author

It is not clear to me what causes these other tests to fail by adding new blockchains / blockchain stores / tests. if you have any idea what it could be, please let me know.

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