docs: adding wormchain useful commands

This commit is contained in:
Jeff Schroeder 2024-04-16 16:17:27 -04:00
parent 6ec22a0e00
commit fccb1848b8
No known key found for this signature in database
GPG Key ID: C05253F844F9013E
1 changed files with 58 additions and 1 deletions

View File

@ -100,7 +100,7 @@ Refer to the [Terra documentation](https://docs.terra.money/full-node/run-a-full
Refer to the [Terra Classic documentation](https://classic-docs.terra.money/docs/full-node/run-a-full-terra-node/README.html) on how to run a full node.
### Wormchain requirements
### Wormchain
All guardians must run validators for wormchain, the codename of [Wormhole Gateway](https://wormhole.com/gateway/).
@ -140,6 +140,63 @@ For signing, consider setting up a remote threshold signer such as
[horcrux](https://github.com/strangelove-ventures/horcrux) and adopting the sentry node architecture with sentry nodes
in front of your wormchain validator.
#### Wormchain Useful Commands
Check latest guardian set:
<!-- cspell:disable -->
```shell
$ wormchaind query wormhole latest-guardian-set-index
latestGuardianSetIndex: 4
```
<!-- cspell:enable -->
Upgrade the guardian set (with a valid governance vaa):
<!-- cspell:disable -->
```shell
wormchaind tx wormhole execute-governance-vaa <guardian_set_upgrade_VAA_in_hex_format>
```
<!-- cspell:disable -->
View Validator Information:
<!-- cspell:disable -->
```shell
$ wormchaind q staking validators
... snip ...
- commission:
commission_rates:
max_change_rate: "0.020000000000000000"
max_rate: "0.200000000000000000"
rate: "0.000000000000000000"
update_time: "2024-04-16T19:13:45.210176030Z"
consensus_pubkey:
'@type': /cosmos.crypto.ed25519.PubKey
key: T+hsVX52EarrsL+mOwv3mL0byWa2EctsG6XmikUMFiQ=
delegator_shares: "0.000000000000000000"
description:
details: ""
identity: 11A4103C4BCBD2B4
moniker: RockawayX
security_contact: ""
website: https://rockawayx.com/infrastructure
jailed: false
min_self_delegation: "0"
operator_address: wormholevaloper1thl5syhmscgnj7whdyrydw3w6vy80044278fxp
status: BOND_STATUS_BONDED
tokens: "0"
unbonding_height: "0"
unbonding_time: "1970-01-01T00:00:00Z"
```
<!-- cspell:enable -->
### EVM node requirements
Some non-ethereum EVM compatible blockchains need to run in archive mode for [queries](https://wormhole.com/queries)