-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Implement client functionality for the community pool #3939
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #3939 +/- ##
===========================================
+ Coverage 60.33% 60.34% +<.01%
===========================================
Files 196 196
Lines 14488 14495 +7
===========================================
+ Hits 8742 8747 +5
- Misses 5165 5166 +1
- Partials 581 582 +1 |
I was proposing something similar, may I push here the tests? |
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
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.
Missing pending log entry, otherwise LGTM 👍
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.
This addition affects the REST API as well. @jackzampolin can you update the REST docs and add an additional changelog entry under both features/gaiarest and features/gaiacli please?
@jackzampolin why'd delete the PR checkboxes ;) |
RunE: func(cmd *cobra.Command, args []string) error { | ||
cliCtx := context.NewCLIContext().WithCodec(cdc) | ||
|
||
res, err := cliCtx.QueryWithData(fmt.Sprintf("custom/%s/community_pool", queryRoute), nil) |
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.
it's weird that in CLI queries we sometimes use routes and sometimes the key (with cliCtx.QueryStore(
)
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
- Add new route to swagger.yaml - Add community pool command to docs - added pending changes Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Fixes: #3937