Update Node 0.4.0

Stop the node

sudo systemctl stop 0gchaind

Get new binary

cd $HOME
rm -rf 0g-chain
wget -O 0gchaind https://github.com/0glabs/0g-chain/releases/download/v0.4.0/0gchaind-linux-v0.4.0
chmod +x $HOME/0gchaind
sudo mv $HOME/0gchaind $(which 0gchaind)

0gchaind version

Restart the node

sudo systemctl daemon-reload && sudo systemctl restart 0gchaind

Check logs

sudo journalctl -u 0gchaind -f

Last updated