Skip to main content

Rejoin as a Validator after the Fork

In order for Lava Validators from lava-testnet-1 to join lava-testnet-2, it is necessary to make some slight adjustments. This page is a guide for Validators who were participating in the network before the hard fork.

πŸ“‹ Prerequisites​

  • πŸ”Ί Upgrade to Go version v1.20.5

πŸ“ Written Guide (~20m)​

πŸ—οΈ Backup keys​


Backing up keys is not strictly mandatory to rejoin, but it is recommended to prevent any loss.

πŸ”‘ Steps:

  • Backup the private validator key file under ~/.lava/config (priv_validator_key.json)
  • Backup the node key under ~/.lava/config (node_key.json)
  • Backup account keys using the following commands:
lavad keys export $ACCOUNT_NAME --keyring-backend test <<< "$STRONG_PASSWORD" > $ACCOUNT_NAME.key

♻️ Reset your node​

Reset the data folder by running the following command:

lavad tendermint unsafe-reset-all

πŸ“₯ Get new Genesis file​

Download the new genesis file into ~/.lava/config. The file can be downloaded from or by using wget


⬇️ Download the new Binary Version​

lavad Binary version v0.21.1.2 Input the following commands:

cd ~/.lava/
sudo rm -rf ~/.lava/cosmovisor
mkdir -p cosmovisor/genesis/bin
mv lavad-v0.21.1.2-linux-amd64 cosmovisor/genesis/bin/lavad

πŸ”Ό Update node configuration files​


It's recommended to run the following command: lavad config chain-id lava-testnet-2

Check the following variables are set as follows:

πŸ—Ž config.toml
timeout_commit = "30s"
timeout_propose = "1s"
timeout_precommit = "1s"
timeout_precommit_delta = "500ms"
timeout_prevote = "1s"
timeout_prevote_delta = "500ms"
timeout_propose_delta = "500ms"
skip_timeout_commit = false seeds=","
πŸ—Ž client.toml
broadcast-mode = "sync" chain-id = β€œlava-testnet-2”

πŸš€ Start the node​

Use the systemctl command to start the node:

sudo systemctl start cosmovisor

πŸ—’οΈ Check the logs​

Check the logs with journalctl:

sudo journalctl -u cosmovisor -f

Watch closely! Make sure that blocks are advancing as expected!

βœ”οΈ Verify the Chain​

To verify you're running on the correct chain, input the following:

lavad status | jq -r ' == "lava-testnet-2"'

βœ… You should get the true value! This is the final step. You are now running a validator on lava-testnet-2