Merge PR #4536: Return account queries with height

This commit is contained in:
colin axner
2019-06-13 15:54:17 +02:00
committed by Alexander Bezobchuk
parent 8c89023e9f
commit 95f3d32250
20 changed files with 125 additions and 104 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ $ <appcli> query slashing signing-info cosmosvalconspub1zcjduepqfhvwcmt7p06fvdge
consAddr := sdk.ConsAddress(pk.Address())
key := types.GetValidatorSigningInfoKey(consAddr)
res, err := cliCtx.QueryStore(key, storeName)
res, _, err := cliCtx.QueryStore(key, storeName)
if err != nil {
return err
}
@@ -88,7 +88,7 @@ $ <appcli> query slashing params
cliCtx := context.NewCLIContext().WithCodec(cdc)
route := fmt.Sprintf("custom/%s/parameters", types.QuerierRoute)
res, err := cliCtx.QueryWithData(route, nil)
res, _, err := cliCtx.QueryWithData(route, nil)
if err != nil {
return err
}