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

Refactor rpc client #59

Merged
merged 4 commits into from
Sep 20, 2024
Merged

Refactor rpc client #59

merged 4 commits into from
Sep 20, 2024

Conversation

boqiu
Copy link
Contributor

@boqiu boqiu commented Sep 19, 2024

Some enhancements:

  1. Hook middleware to wrap rpc error.
  2. Extract common rpc client for zgs node and indexer.
  3. Use generic rpc call to simplify code.
  4. Add generic rpc batch call utility.

This change is Reviewable

@boqiu boqiu merged commit f4a4882 into main Sep 20, 2024
2 checks passed
@boqiu boqiu deleted the opt-rpc-client branch September 20, 2024 06:56
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.

2 participants