-
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: x/slashing Query Params #3117
Conversation
return err | ||
} | ||
|
||
fmt.Println(string(res)) |
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.
Indent?
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.
Que?
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.
Does this respect the viper.GetString(client.FlagIndent)
?
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.
No. The querier returns JSON marshalled indented bytes, so there is no "option" to pick 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.
I'd have deserialized and then re-serialize to support this.
@fedekunze @faboweb @jackzampolin what documentation do I need to update (swagger, CLI, etc...)? There is one new endpoint and one new command. |
Codecov Report
@@ Coverage Diff @@
## develop #3117 +/- ##
===========================================
+ Coverage 54.32% 54.35% +0.03%
===========================================
Files 136 137 +1
Lines 10215 10232 +17
===========================================
+ Hits 5549 5562 +13
- Misses 4328 4331 +3
- Partials 338 339 +1 |
@alexanderbez Yup, the |
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.
LGTM. Just missing tests (LCD, cli) and docs update. Then it should be good to go
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.
Looks good to me
@fedekunze @jackzampolin updated docs + added integration tests |
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.
Nice! Thanks for adding the tests! This looks good!
TODO: Docs???closes: #2399
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 #rereviewed
Files changed
in the github PR explorerFor Admin Use: