-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
feat(x/distribution): add autocli config query #16218
feat(x/distribution): add autocli config query #16218
Conversation
This comment has been minimized.
This comment has been minimized.
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.
the app builds but does not run.
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, let's fix the cl and get this merged 👌
There are still some tests failing if I look at CI. |
fixed! |
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 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.
tACK. Two nits.
x/distribution/autocli.go
Outdated
if err != nil { | ||
panic(err) | ||
} | ||
valAddress, err := types.ValAddressFromHex("A58856F0FD53BF058B4909A21AEC019107BA6A58856F0FD53BF058B4909A21AEC019107BA6") |
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 does not give me a good address in an example
simd query distribution slashes cosmosvaloper15ky9du8a2wlstz6fpx3p4mqpjyrm56jcs4hsl4fm7pvtfyy6yxhvqxgs0wnqmanre8 0 100
Maybe let's just simplify the ux and in the example just say [validator address]. That will clean-up some dependency as well.
CHANGELOG.md
Outdated
@@ -37,6 +37,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ | |||
# Changelog | |||
|
|||
## [Unreleased] | |||
* (x/distriubtion) [#16218](https://github.com/cosmos/cosmos-sdk/pull/16218) Add Autocli config to distribution module. |
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.
nit, can it be under the improvement category?
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.
ok ok!!
(cherry picked from commit 6f32a94)
Description
Closes: #16214
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change