Switching / Migrating Consensus Client
🛑 1 Stop old consensus and old validator.
sudo systemctl stop consensus validatorsudo systemctl stop consensus💽 2 Export slashing database (Optional)
sudo -u consensus /usr/local/bin/lighthouse account validator slashing-protection export <lighthouse_interchange.json>sudo -u consensus /usr/local/bin/nimbus_beacon_node slashingdb export slashing-protection.json
sudo -u consensus /usr/local/bin/teku/bin/teku slashing-protection export --to=<FILE>sudo -u validator /usr/local/bin/validator slashing-protection export --datadir=/path/to/your/wallet --slashing-protection-export-dir=/path/to/desired/outputdirsudo -u validator /usr/local/bin/lodestar/lodestar validator slashing-protection export --network mainnet --file interchange.json🚧 3 Setup and install new validator / consensus client
📂 4 Import slashing database (Optional)
sudo -u consensus /usr/local/bin/lighthouse account validator slashing-protection import <my_interchange.json>sudo -u consensus /usr/local/bin/nimbus_beacon_node slashingdb import path/to/export_dir/slashing-protection.jsonsudo -u consensus /usr/local/bin/teku/bin/teku slashing-protection import --from=<FILE>sudo -u validator /usr/local/bin/validator slashing-protection import --datadir=/path/to/your/wallet --slashing-protection-json-file=/path/to/desiredimportfilesudo -u validator /usr/local/bin/lodestar/lodestar validator slashing-protection import --network mainnet --file interchange.json🌠 5 Start new validator and new beacon chain
🔥 6 Verify functionality
🧯 7 Update Monitoring with Prometheus and Grafana
PreviousAdding a New Validator to an Existing Setup with Existing Seed WordsNextSwitching / Migrating Execution Client
Last updated