Skip to content

Restore Node

A validator can be completely restored on a new Berachain node with the following set of keys:

  • The Consensus key, stored in $HOME_PATH/config/priv_validator_key.json
  • The consensus state, $HOME_PATH/data/priv_validator_state.json (It is not mandatory, but if you lose your validator state you have a small risk of double sign.)
  • The private key or mnemonic words of your wallet which sent the create-validator transaction

WARNING

Before proceeding, ensure that the existing validator is not active. Double voting has severe slashing consequences.

How to Restore a Validator:

  1. Setup a full Berachain node synced up to the latest block.
  2. Replace the $HOME_PATH/config/priv_validator_key.json file and the $HOME_PATH/data/priv_validator_state.json file of the new node with the associated file from the old node, then restart your node.