-
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
R4R: Standardize CLI Exports from Modules #2840
Changes from 9 commits
b9275d4
2910ba1
a99c835
ae8bf3e
dd66ba9
ed86950
8ec70da
a1e55ef
9017e1e
05512c2
1f52a63
f723713
aa0165a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ import ( | |
"github.com/cosmos/cosmos-sdk/client/rpc" | ||
"github.com/cosmos/cosmos-sdk/client/tx" | ||
"github.com/cosmos/cosmos-sdk/docs/examples/basecoin/app" | ||
"github.com/cosmos/cosmos-sdk/docs/examples/basecoin/types" | ||
"github.com/cosmos/cosmos-sdk/version" | ||
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" | ||
bankcmd "github.com/cosmos/cosmos-sdk/x/bank/client/cli" | ||
|
@@ -64,7 +63,7 @@ func main() { | |
stakecmd.GetCmdQueryRedelegation("stake", cdc), | ||
stakecmd.GetCmdQueryRedelegations("stake", cdc), | ||
slashingcmd.GetCmdQuerySigningInfo("slashing", cdc), | ||
authcmd.GetAccountCmd("acc", cdc, types.GetAccountDecoder(cdc)), | ||
authcmd.GetAccountCmd("acc", cdc), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know really. This is how I found the code. I've opened this issue to track. I'll update to make it a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! |
||
)...) | ||
|
||
rootCmd.AddCommand( | ||
|
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.
Why empty string? Do we never query the distribution store?
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 is currently no query functionality in the dist module. Rigel is working on that.
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.
We do already know the name of the store key though