> For the complete documentation index, see [llms.txt](https://service.block-pro.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://service.block-pro.net/testnet/celestia/useful-commands/validator-operations.md). Agents can also search and read this documentation through its [MCP server](https://service.block-pro.net/~gitbook/mcp).

# Validator Operations

**Mocha Testnet · `mocha-5`**

The complete reference is now on [Useful Commands](https://service.block-pro.net/testnet/celestia/useful-commands.md#validator-operations).

## Validator operations

### Details

Inspect status, stake, commission and jailed state.

```bash
celestia-appd query staking validator YOUR_VALOPER_ADDRESS --node http://127.0.0.1:26657 -o json
```

### Consensus public key

Show the local consensus public key.

```bash
celestia-appd tendermint show-validator
```

### Set gas price

Set an accepted gas price including the utia denomination.

```bash
GAS_PRICE="YOUR_GAS_PRICE_IN_UTIA"
```

### Edit name

Update the public validator name.

```bash
celestia-appd tx staking edit-validator \
  --new-moniker "YOUR_NEW_NAME" \
  --from validator \
  --chain-id mocha-5 \
  --node http://127.0.0.1:26657 \
  --keyring-backend file \
  --gas auto \
  --gas-adjustment 1.5 \
  --gas-prices "$GAS_PRICE"
```

### Commission and rewards

Withdraw your validator commission and rewards.

```bash
celestia-appd tx distribution withdraw-rewards YOUR_OWN_VALOPER_ADDRESS \
  --commission \
  --from validator \
  --chain-id mocha-5 \
  --node http://127.0.0.1:26657 \
  --keyring-backend file \
  --gas auto \
  --gas-adjustment 1.5 \
  --gas-prices "$GAS_PRICE"
```

### Unjail

Use only after fixing the cause of jailing; tombstoned validators cannot unjail.

```bash
celestia-appd tx slashing unjail \
  --from validator \
  --chain-id mocha-5 \
  --node http://127.0.0.1:26657 \
  --keyring-backend file \
  --gas auto \
  --gas-adjustment 1.5 \
  --gas-prices "$GAS_PRICE"
```

## Signal for app v11

Run these commands on the validator host after installing the new consensus binary. Use the operator wallet belonging to your active validator.

The existing BlockPro Mocha validator uses local consensus RPC port `61657`. Set that URL for the following commands.

```bash
CONSENSUS_RPC="http://127.0.0.1:61657"
```

List wallet keys using the existing client and keyring settings for this node.

```bash
/root/go/bin/celestia-appd keys list --home /root/.celestia-app
```

Set the wallet name from that list. The existing BlockPro validator wallet is `wallet`. If your wallet uses a separately selected backend, pass the matching `--keyring-backend` value to key listing and transaction commands.

```bash
VALIDATOR_WALLET="wallet"
```

Signal support for version 11. Review the interactive transaction confirmation. The announced fee is `210000utia`.

```bash
/root/go/bin/celestia-appd tx signal signal 11 --from "$VALIDATOR_WALLET" --home /root/.celestia-app --chain-id mocha-5 --node "$CONSENSUS_RPC" --fees 210000utia
```

<details>

<summary>Confirm that your signal was included in a block</summary>

After broadcasting, query the returned transaction hash. A committed signal has execution code `0` and a height greater than `0`. Replace the placeholder with your hash.

```bash
/root/go/bin/celestia-appd query tx YOUR_SIGNAL_TX_HASH --home /root/.celestia-app --node "$CONSENSUS_RPC" --output json
```

</details>

Check how much voting power has signaled.

```bash
/root/go/bin/celestia-appd query signal tally 11 --node "$CONSENSUS_RPC"
```

Read the scheduled activation height.

```bash
/root/go/bin/celestia-appd query signal upgrade --node "$CONSENSUS_RPC"
```

After at least **5/6 of voting power** signals, a successful `try-upgrade` transaction schedules activation **66,462 blocks later**. That interval is approximately 53 hours at the block time stated in the release notes. Follow the height returned by the chain. [Activation reference](https://github.com/celestiaorg/celestia-app/releases/tag/v11.0.0-mocha)

<details>

<summary>Submit try-upgrade if activation is ready and still unscheduled</summary>

Check the tally and upgrade query first. Any funded account can submit this transaction after the threshold is met. Use your selected wallet and review the confirmation.

```bash
/root/go/bin/celestia-appd tx signal try-upgrade --from "$VALIDATOR_WALLET" --home /root/.celestia-app --chain-id mocha-5 --node "$CONSENSUS_RPC" --fees 210000utia
```

Query the scheduled height again after transaction inclusion.

```bash
/root/go/bin/celestia-appd query signal upgrade --node "$CONSENSUS_RPC"
```

</details>
