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

gaiacli query staking validator emits an error if --height flag is specified #3987

Closed
4 tasks
davepuchyr opened this issue Mar 28, 2019 · 1 comment
Closed
4 tasks

Comments

@davepuchyr
Copy link

Summary of Bug

Using the "--height" flag on gaiacli query staking validator returns ERROR: {"codespace":"sdk","code":1,"message":"substore proof was nil/empty when it should never be"}.

Steps to Reproduce

gaiacli query staking validator cosmosvaloper1rcp29q3hpd246n6qak7jluqep4v006cdsc2kkl --chain-id cosmoshub-1 --output json --height 181463

When --height is not specified the command works.

[root@validator ~]# gaiacli query staking validator cosmosvaloper1rcp29q3hpd246n6qak7jluqep4v006cdsc2kkl --chain-id cosmoshub-1 --output json | jq
{
  "operator_address": "cosmosvaloper1rcp29q3hpd246n6qak7jluqep4v006cdsc2kkl",
  "consensus_pubkey": "cosmosvalconspub1zcjduepq7mft6gfls57a0a42d7uhx656cckhfvtrlmw744jv4q0mvlv0dypskehfk8",
  "jailed": false,
  "status": 2,
  "tokens": "195747893497",
  "delegator_shares": "195747893497.000000000000000000",
  "description": {
    "moniker": "2nd only to Certus One in GoS: in3s.com",
    "identity": "0CE19EE3E4BA48E5",
    "website": "https://in3s.com/Services#CosmosValidator",
    "details": "https://in3s.com/Delegate#Delegate"
  },
  "unbonding_height": "0",
  "unbonding_time": "1970-01-01T00:00:00Z",
  "commission": {
    "rate": "1.000000000000000000",
    "max_rate": "1.000000000000000000",
    "max_change_rate": "1.000000000000000000",
    "update_time": "2019-03-18T20:31:50.23335594Z"
  },
  "min_self_delegation": "1"
}
[root@validator ~]# 

For Admin Use

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

Thanks @davepuchyr. Height flag should be removed, see: #3883

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants