Updating your consensus client
Scenario: In discord, you see an alert that your consensus client just announced a new release. How best to update?
The following steps align with our mainnet guide. You may need to adjust file names and directory locations where appropriate. The core concepts remain the same.
When a new release is cut, you will want to update to the latest stable release. The following shows you how to update your beacon chain and validator.
Always review the git logs with command git log
or release notes before updating. There may be changes requiring your attention.
Select your consensus client.
Review release notes and check for breaking changes/features.
https://github.com/sigp/lighthouse/releases
Option 1: Download binaries
Option 2: Build from source
Pull the latest source and build it.
Improve some Lighthouse benchmarks by around 20% at the expense of increased compile time? Use maxperf
profile.
To compile with maxperf, replace the above make
command with
PROFILE=maxperf make
In case of compilation errors, update Rust with the following sequence.
Verify the build completed by checking the new version number.
Restart beacon chain and validator as per normal operating procedures.
2. Check the logs to verify the services are working properly and ensure there are no errors.
3. Finally, verify your validator's attestations are working with public block explorer such as
https://beaconcha.in/ or https://beaconscan.com/
Enter your validator's pubkey to view its status.
Last updated