-
Notifications
You must be signed in to change notification settings - Fork 655
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 cli for MsgRegisterAccount #2136
Conversation
modules/apps/27-interchain-accounts/controller/client/cli/tx.go
Outdated
Show resolved
Hide resolved
modules/apps/27-interchain-accounts/controller/client/cli/tx.go
Outdated
Show resolved
Hide resolved
modules/apps/27-interchain-accounts/controller/client/cli/tx.go
Outdated
Show resolved
Hide resolved
Co-authored-by: Puneet <[email protected]>
Co-authored-by: Puneet <[email protected]>
…-go into anmol/register-account-cli
Codecov Report
@@ Coverage Diff @@
## main #2136 +/- ##
=======================================
Coverage 79.28% 79.28%
=======================================
Files 170 170
Lines 11855 11855
=======================================
Hits 9399 9399
Misses 2040 2040
Partials 416 416
|
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, nice work!
modules/apps/27-interchain-accounts/controller/client/cli/tx.go
Outdated
Show resolved
Hide resolved
modules/apps/27-interchain-accounts/controller/client/cli/tx.go
Outdated
Show resolved
Hide resolved
cmd.Flags().String(flagVersion, "", "Controller chain channel version") | ||
flags.AddTxFlagsToCmd(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.
It might be nice if we added documentation on how to create versions with ics29 enabled. Maybe in the long section
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 would be fine with doing this in a later PR when we can test everything out e2e
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.
Can create an issue for this and add it later too.
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.
Great ideas y'all. Lets open an issue
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.
Fantastic work! Thank you
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.
followup ACK. Thank you :)
modules/apps/27-interchain-accounts/controller/client/cli/tx.go
Outdated
Show resolved
Hide resolved
cmd.Flags().String(flagVersion, "", "Controller chain channel version") | ||
flags.AddTxFlagsToCmd(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.
Great ideas y'all. Lets open an issue
## Description Add client cmd for `MsgRegisterAccount`, similar to [inter-tx](https://github.com/cosmos/interchain-accounts-demo/blob/master/x/inter-tx/client/cli/tx.go#L36), but making appropriate changes to make it consistent with other ibc modules. ### Improvements Maybe we can better have description for the flags as well as client help/usage statements. Do let me know if we can add more clarity here. closes: #2061 --- Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why. - [ ] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/ibc-go/blob/master/CONTRIBUTING.md#pr-targeting)) - [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work. - [ ] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules/structure.md). - [ ] Wrote unit and integration [tests](https://github.com/cosmos/ibc-go/blob/master/CONTRIBUTING.md#testing) - [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`) - [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code). - [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md` - [ ] Re-reviewed `Files changed` in the Github PR explorer - [ ] Review `Codecov Report` in the comment section below once CI passes (cherry picked from commit 5e78a23)
## Description Add client cmd for `MsgRegisterAccount`, similar to [inter-tx](https://github.com/cosmos/interchain-accounts-demo/blob/master/x/inter-tx/client/cli/tx.go#L36), but making appropriate changes to make it consistent with other ibc modules. ### Improvements Maybe we can better have description for the flags as well as client help/usage statements. Do let me know if we can add more clarity here. closes: #2061 --- Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why. - [ ] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/ibc-go/blob/master/CONTRIBUTING.md#pr-targeting)) - [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work. - [ ] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules/structure.md). - [ ] Wrote unit and integration [tests](https://github.com/cosmos/ibc-go/blob/master/CONTRIBUTING.md#testing) - [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`) - [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code). - [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md` - [ ] Re-reviewed `Files changed` in the Github PR explorer - [ ] Review `Codecov Report` in the comment section below once CI passes (cherry picked from commit 5e78a23) Co-authored-by: Anmol <[email protected]>
Description
Add client cmd for
MsgRegisterAccount
, similar to inter-tx, but making appropriate changes to make it consistent with other ibc modules.Improvements
Maybe we can better have description for the flags as well as client help/usage statements. Do let me know if we can add more clarity here.
closes: #2061
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes