-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
R4R: Staking Querier pt1 #2249
R4R: Staking Querier pt1 #2249
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.
Good stuff, code much cleaner than previous PR. Biggest comment here is we shouldn't allow for retrieve all (besides through the use of special functions for state dumps).
failing lint |
@rigelrozanski @cwgoes Fixed linter errors, but I also pulled from develop and |
@fedekunze yeah |
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.
My old comments are resolved - export bug was introduced here though (see the comment)
@rigelrozanski @cwgoes addressed comments |
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.
Left some general comments, but otherwise utACK 👍
@@ -22,6 +22,7 @@ type SignBody struct { | |||
AppendSig bool `json:"append_sig"` | |||
} | |||
|
|||
// nolint: unparam |
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.
If we do _ context.CLIContext
do we still get a lint error?
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.
Thanks for the hard work!
Split staking querier logic from #2139
Closes #2009 and luniehq/lunie#1133
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added entries in
PENDING.md
with issue #Reviewed
Files changed
in the github PR explorerFor Admin Use: