Gravity-Bridge/Gravity-Docs

"Confirm you are validating" section inconclusive

Opened this issue · 1 comments

adamb commented

https://github.com/Gravity-Bridge/Gravity-Docs/blob/main/docs/setting-up-a-validator.md#confirm-that-you-are-validating

Says If you see one line in the response you are validating. If you don't see any output from this command you are not validating. Check that the last command ran successfully.

But what if you see multiple lines? Like this:

$ gravity query staking validator $(gravity keys show gravity1kppuvmyff24ey4hu7mct0kzskmrttsk8payzzl --bech val --address)
Enter keyring passphrase:
commission:
  commission_rates:
    max_change_rate: "0.010000000000000000"
    max_rate: "0.200000000000000000"
    rate: "0.100000000000000000"
  update_time: "2022-01-13T15:31:53.017127196Z"
consensus_pubkey:
  '@type': /cosmos.crypto.ed25519.PubKey
  key: 4dk12mGin1oh19f1xErDfn19g+W/pmzGqrVy5uDku1I=
delegator_shares: "1.000000000000000000"
description:
  details: ""
  identity: ""
  moniker: mymoniker
  security_contact: ""
  website: ""
jailed: false
min_self_delegation: "1"
operator_address: gravityvaloper1kppuvmyff24ey4hu7mct0kzskmrttsk8skaugt
status: BOND_STATUS_UNBONDED
tokens: "1"
unbonding_height: "0"
unbonding_time: "1970-01-01T00:00:00Z"

You need to check the status field. In this case you are not validating as status is unbonded
status: BOND_STATUS_UNBONDED