Upgrade

Upgrade to v3.2.0 at height: 2037600

Manual upgrade

cd $HOME
wget -O lavad https://github.com/lavanet/lava/releases/download/v3.2.0/lavad-v3.2.0-linux-amd64
chmod +x $HOME/lavad
sudo mv $HOME/lavad $(which lavad)
sudo systemctl restart lavad && sudo journalctl -u lavad -f

Auto upgrade

cd $HOME && \
wget -O lavad https://github.com/lavanet/lava/releases/download/v3.2.0/lavad-v3.2.0-linux-amd64 && \
chmod +x $HOME/lavad && \
old_bin_path=$(which lavad) && \
home_path=$HOME && \
rpc_port=$(grep -m 1 -oP '^laddr = "\K[^"]+' "$HOME/.lava/config/config.toml" | cut -d ':' -f 3) && \
tmux new -s lava-upgrade "sudo bash -c 'curl -s https://raw.githubusercontent.com/appieasahbie/testnet-guides/main/utils/autoupgrade/upgrade.sh | bash -s -- -u \"2037600\" -b lavad -n \"$HOME/lavad\" -o \"$old_bin_path\" -h \"$home_path\" -p \"https://api.lava.aknodes.net//cosmos/gov/v1/proposals/252\" -r \"$rpc_port\"'"

Upgrade Lavap to v3.1.0

wget -O lavap https://github.com/lavanet/lava/releases/download/v3.1.0/lavap-v3.1.0-linux-amd64
chmod +x lavap
mv lavap $(which lavap)
sudo systemctl restart lavap && sudo journalctl -u lavap -f -o cat

Last updated