-
Notifications
You must be signed in to change notification settings - Fork 971
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
feat(rpc): implementing staking reads and replace sdk.Address #1060
feat(rpc): implementing staking reads and replace sdk.Address #1060
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebase on main 🙏🏻
4f514eb
to
fc8d794
Compare
Codecov Report
@@ Coverage Diff @@
## main #1060 +/- ##
==========================================
- Coverage 56.56% 56.02% -0.54%
==========================================
Files 135 135
Lines 8965 9071 +106
==========================================
+ Hits 5071 5082 +11
- Misses 3359 3454 +95
Partials 535 535
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The RPC part is LGTM to me. I am a bit concerned about types change here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation looks clean, thank you @distractedm1nd
Let's please test every endpoint against arabica
before we merge. 🙏🏻
All endpoints including queries have been tested on arabica, BUT:
|
…stiaorg#1060) * feat: staking reads + linting errors * feat: rewriting to not take delAddr as a parameter * refactor(rpc): renaming local variables * refactor(rpc): using AccAddress and ValAddress instead of the generic Address type
…stiaorg#1060) * feat: staking reads + linting errors * feat: rewriting to not take delAddr as a parameter * refactor(rpc): renaming local variables * refactor(rpc): using AccAddress and ValAddress instead of the generic Address type
Closes #986.
Also removes the abstraction of
sdk.Address
to make it explicit that our queries only support their corresponding address type,AccAddress
orValAddress