We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ gaiacli query distr validator-outstanding-rewards ERROR: {"codespace":"sdk","code":6,"message":"incorrectly formatted request data; UnmarshalJSON cannot decode empty bytes"}
The command isn't implemented correctly at all. The command should take as input a validator address and properly create the query params.
Current:
route := fmt.Sprintf("custom/%s/validator_outstanding_rewards", queryRoute) res, err := cliCtx.QueryWithData(route, []byte{}) if err != nil { return err }
Should be:
route := fmt.Sprintf("custom/%s/validator_outstanding_rewards", queryRoute) res, err := cliCtx.QueryWithData(route, paramBytes) if err != nil { return err }
We really need to improve our CLI testing....
5f9c3fdf88952ea43316f1a18de572e7ae3c13f6
The text was updated successfully, but these errors were encountered:
alexanderbez
Successfully merging a pull request may close this issue.
Summary of Bug
The command isn't implemented correctly at all. The command should take as input a validator address and properly create the query params.
Current:
Should be:
We really need to improve our CLI testing....
Version
5f9c3fdf88952ea43316f1a18de572e7ae3c13f6
For Admin Use
The text was updated successfully, but these errors were encountered: