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
Last updated