Skip to content
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

cli validator-outstanding-rewards help is showing wrong address prefix #7055

Closed
4 tasks
njmurarka opened this issue Aug 14, 2020 · 2 comments · Fixed by #7056
Closed
4 tasks

cli validator-outstanding-rewards help is showing wrong address prefix #7055

njmurarka opened this issue Aug 14, 2020 · 2 comments · Fixed by #7056
Labels

Comments

@njmurarka
Copy link
Contributor

Summary of Bug

Ran the help command, but the example refers to a cosmos-prefixed address instead of the custom one set for the chain.

Version

0.39.1 tag

Steps to Reproduce

Run:

blzcli q distribution validator-outstanding-rewards --help

You will see the following output:

Query distribution outstanding (un-withdrawn) rewards
for a validator and all their delegations.

Example:
$ blzcli query distribution validator-outstanding-rewards cosmosvaloper1lwjmdnks33xwnmfayc64ycprww49n33mtm92ne

Usage:
  blzcli query distribution validator-outstanding-rewards [validator] [flags]

Flags:
      --height int    Use a specific height to query state at (this can error if the node is pruning state)
  -h, --help          help for validator-outstanding-rewards
      --indent        Add indent to JSON response
      --ledger        Use a connected Ledger device
      --node string   <host>:<port> to Tendermint RPC interface for this chain (default "tcp://localhost:26657")
      --trust-node    Trust connected full node (don't verify proofs for responses)

Global Flags:
      --chain-id string   Chain ID of tendermint node
  -e, --encoding string   Binary encoding (hex|b64|btc) (default "hex")
      --home string       directory for config and data (default "/Users/loquitus/.blzcli")
  -o, --output string     Output format (text|json) (default "text")
      --trace             print out full stack trace on errors

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@njmurarka
Copy link
Contributor Author

njmurarka commented Aug 14, 2020

The following command has a similar issue:

blzcli q distribution rewards --help

Just guessing but there might be other commands in the distribution module that have this issue.

@alessio
Copy link
Contributor

alessio commented Aug 16, 2020

Thanks @njmurarka. We'll fix this in 0.39 series too.

@alessio alessio added the T:Bug label Aug 16, 2020
@mergify mergify bot closed this as completed in #7056 Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants