Add Slashing Query Params (#3117)

This commit is contained in:
Alexander Bezobchuk
2018-12-14 11:09:39 -08:00
committed by Jack Zampolin
parent 65beea4430
commit 110fd63e22
12 changed files with 242 additions and 10 deletions
+6 -2
View File
@@ -26,8 +26,12 @@ func (mc ModuleClient) GetQueryCmd() *cobra.Command {
Short: "Querying commands for the slashing module",
}
slashingQueryCmd.AddCommand(client.GetCommands(
cli.GetCmdQuerySigningInfo(mc.storeKey, mc.cdc))...)
slashingQueryCmd.AddCommand(
client.GetCommands(
cli.GetCmdQuerySigningInfo(mc.storeKey, mc.cdc),
cli.GetCmdQueryParams(mc.cdc),
)...,
)
return slashingQueryCmd