-
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
Add proto compatible community spend cli tx #6215
Conversation
👋 Thanks for creating a PR! Before we can merge this PR, please make sure that all the following items have been For contributor use:
For admin use:
Thank you for your contribution to the Cosmos-SDK! 🚀 |
Codecov Report
@@ Coverage Diff @@
## master #6215 +/- ##
==========================================
+ Coverage 55.54% 55.57% +0.03%
==========================================
Files 452 452
Lines 27340 27322 -18
==========================================
Hits 15185 15185
+ Misses 11064 11046 -18
Partials 1091 1091 |
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 address one comment
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. Too what degree do the recent CLI changes need to be revised @aaronc ?
@alexanderbez a little bit but I think not too much. I think #5989 will likely still be relevant |
…-sdk into sahith/add-community-spend
This pull request introduces 2 alerts when merging 3d97cc4 into 8bc645a - view on LGTM.com new alerts:
|
The scope of this PR changed after recent migrations, updated the description accordingly cc\ @aaronc @alexanderbez |
@@ -195,25 +197,14 @@ $ %s tx distribution set-withdraw-addr cosmos1gghjut3ccd8ay0zduzj64hwre2fxs9ld75 | |||
|
|||
func NewFundCommunityPoolCmd(clientCtx client.Context) *cobra.Command { | |||
cmd := &cobra.Command{ | |||
Use: "community-pool-spend [proposal-file]", | |||
Use: "fund-community-pool [amount]", |
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.
is there a test case for this CLI cmd?
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.
There's an existing WIP PR for adding more cli_tests(#6349). Will ensure to add a test for this
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.
ACK
Description
Ref: #5941
This PR fixes the example for FundCommunityProposal and eliminates splitAndApply which was replaced by newSplitAndApply as part of recent migration.