-
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
Rename memo to note inside CLI #9134
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9134 +/- ##
==========================================
- Coverage 60.13% 60.06% -0.08%
==========================================
Files 595 595
Lines 37192 37355 +163
==========================================
+ Hits 22367 22437 +70
- Misses 12846 12929 +83
- Partials 1979 1989 +10
|
@anilcse what is the status with this pr? |
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
Co-authored-by: Amaury <[email protected]>
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 this only a cli issue or also a rest issue?
should it be modified for baseReq?
Line 66 in 7f59723
Memo string `json:"memo"` |
EDIT: should be fine. REST will be protected via client apps
@@ -59,6 +59,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ | |||
* CLI: removed `--text` flag from `show-node-id` command; the text format for public keys is not used any more - instead we use ProtoJSON. | |||
* (types) [\#9079](https://github.com/cosmos/cosmos-sdk/issues/9079) Add `AddAmount`/`SubAmount` methods to `sdk.Coin`. | |||
* [\#8628](https://github.com/cosmos/cosmos-sdk/issues/8628) Commands no longer print outputs using `stderr` by default | |||
* [\#9134](https://github.com/cosmos/cosmos-sdk/pull/9134) Renamed the CLI flag `--memo` to `--note`. |
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 this the only reference we have/need to change? I found many other references for Memo on the code other than the flag
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 not it's ok but I'm just confused by the title of the PR
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.
see #9122 (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.
I can't believe we need this PR... 🤦 Why anyone would put their mnemonic in the memo field is beyond me and clearly demonstrates they should not be using CLI tools targeted for power users.
@atheeshp Could you fix the conflicts, and we merge this! |
Description
ref: #9122
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