Skip to main content

Validator Status and Confirmation

Check the Transaction Status

Check the log of the transaction hash that created your validator and make sure there are no errors. If there are errors, your validator creation failed and you will need to troubleshoot it.

hedged query tx <your transaction hash>

Check Validator Status

hedged query staking validator $(hedged keys show <key_name> --bech val -a)

This command will return bonding status of the validator:

commission:
commission_rates:
max_change_rate: "0.010000000000000000"
max_rate: "0.200000000000000000"
rate: "0.100000000000000000"
update_time: "2024-01-09T13:29:59.264071032Z"
consensus_pubkey:
'@type': /cosmos.crypto.ed25519.PubKey
key: ghjWS2G3csB0W7Bj83uAsRUVBUuey328nUY9430YhYg=
delegator_shares: "999990000.000000000000000000"
description:
details: ""
identity: ""
moniker: new_validator
security_contact: validator_mail@yourdomain.com
website: ""
jailed: false
min_self_delegation: "1"
operator_address: hedgevaloper14ryuk7c3ul894cqfekfzawlm928cvh4ehsxq7d
status: BOND_STATUS_BONDED
tokens: "999990000"
unbonding_height: "0"
unbonding_ids: []
unbonding_on_hold_ref_count: "0"
unbonding_time: "1970-01-01T00:00:00Z"

It's possible that you don’t have enough HDE tokens to be part of the active set of validators in the beginning. If the status is unbonded status: BOND_STATUS_UNBONDED, you didn’t stake enough tokens amount when you created your validator.

In this case, your validator is not in the active set. It cannot sign blocks and it does not earn rewards. It can however, receive delegations.

To delegate additional tokens to your validator use the following command. Adjust the amount of tokens accordingly to reach the minimum required bonded tokens.

hedged tx staking delegate $(hedged keys show <key_name> --bech val -a) <amount_to_delegate>uhedge --from <key_name> --gas-prices 0.025uhedge --gas auto --gas-adjustment 1.5 --chain-id <chain_id>

Once your validator receives sufficient bonded tokens it automatically join the active set and its status is updated to status: BOND_STATUS_BONDED.

Ensure Validator Activation

If running the following command returns something, your validator is active:

hedged query tendermint-validator-set | grep $(hedged tendermint show-address --home ./hedge/berberis-1)

You are looking for the bech32 encoded address in the ~/.hedge/config/priv_validator.json file.

You can also check the validator signing information using the following command and verify that missed_blocks_counter: "0” and index_offset: is increasing.

hedged query slashing signing-info $(hedged tendermint show-validator --home ./hedge/berberis-1) --chain-id <chain_id>

The validator signing information is illustrated below:

address: hedgevalcons1e4yhz9p0lk57458uhpms998dh2a83v44p5mjvh
index_offset: "346"
jailed_until: "1970-01-01T00:00:00Z"
missed_blocks_counter: "0"
start_height: "18489"
tombstoned: false