Geth / Lighthouse / MEV
This page shows the commands to update Geth / Lighthouse / MEV for the upcoming fork on April 12, 2023 (Shanghai).
It's based on a "standard" install using Somer Esat's guide for Geth/Lighthouse
Update Geth
2) Stop Geth:
sudo systemctl stop geth2) Change to Home directory:
cd ~3) Use curl to download latest version:
curl -LO https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.11.5-a38f4108.tar.gz4) Extract, Copy, and Clean up:
tar xvf geth-linux-amd64-1.11.5-a38f4108.tar.gz
cd geth-linux-amd64-1.11.5-a38f4108
sudo cp geth /usr/local/bin
cd ~
rm geth-linux-amd64-1.11.5-a38f4108.tar.gz
rm -r geth-linux-amd64-1.11.5-a38f4108
5) Start Geth:
sudo systemctl start geth6) Use geth --version to confirm v1.11.5 is installed:
geth --versionYou should see v1.11.5 in the response:

Geth is updated and ready for the fork on April 12, 2023
Update Lighthouse
1) Change directory to the Home folder:
cd ~2) Download Lighthouse software:
curl -LO https://github.com/sigp/lighthouse/releases/download/v4.0.2-rc.0/lighthouse-v4.0.2-rc.0-x86_64-unknown-linux-gnu.tar.gz3) Stop Lighthouse services:
sudo systemctl stop lighthousevalidator && sudo systemctl stop lighthousebeacon4) Extract, Copy, and Clean up:
tar xvf lighthouse-v4.0.2-rc.0-x86_64-unknown-linux-gnu.tar.gz
sudo cp lighthouse /usr/local/bin
rm lighthouse-v4.0.2-rc.0-x86_64-unknown-linux-gnu.tar.gz
rm lighthouse
5) Start Lighthouse services:
sudo systemctl start lighthousebeacon && sudo systemctl start lighthousevalidator6) Use lighthouse --version to confirm v4.0.1 is installed:
lighthouse --versionYou should see v4.0.2 in the response:

Lighthouse is updated and ready for the fork on April 12, 2023
Update MEV
1) Compile binary and stop service
CGO_CFLAGS="-O -D__BLST_PORTABLE__" go install github.com/flashbots/mev-boost@latest
sudo systemctl stop mevboost2) Copy binary and start mevboost
sudo cp ~/go/bin/mev-boost /usr/local/bin
sudo chown mevboost:mevboost /usr/local/bin/mev-boost
sudo systemctl start mevboostMEVboost is now updated and ready for the fork
Now that Geth, Lighthouse, and MEV are now updated, you are ready for the Shanghai fork on April 12, 2023
Be sure to check that your validators are attesting after the fork occurs.
Last updated