LAVA
LAVAD and LAVAP UPDATE (PLS NOTE, I am using lavad cosmovisor...)
https://github.com/lavanet/lava/releases
BELOW MANUAL UPDATE IS IF YOU ARE NOT USING COSMOVISOR for LAVAD process, SKIP IF USING COSMOVISOR FOR LAVAD ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Upgrade configurations
temp_folder=$(mktemp -d) && cd $temp_folder required_upgrade_name="v1.2.0" upgrade_binary_url="https://github.com/lavanet/lava/releases/download/$required_upgrade_name/lavad-$required_upgrade_name-linux-amd64" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
root@NVME:~/.lava/cosmovisor/upgrades#
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
source ~/.profile
If using lavad as a service, run
sudo systemctl stop lavad
cd $HOME source .profile lavad version && lavap version
cd $HOME wget -O lavad https://github.com/lavanet/lava/releases/download/v1.2.0/lavad-v1.2.0-linux-amd64 ---> OLD ONE DO NOT USE wget -O lavad https://github.com/lavanet/lava/releases/download/v1.2.3/lavad-v1.2.3-linux-amd64 chmod +x lavad mv $HOME/lavad $(which lavad) lavad version --> must be 1.2.0 sudo journalctl -u cosmovisor -f
cd $HOME wget -O lavap https://github.com/lavanet/lava/releases/download/v1.2.1/lavap-v1.2.1-linux-amd64 ---> OLD ONE DO NOT USE wget -O lavap https://github.com/lavanet/lava/releases/download/v1.2.3/lavap-v1.2.3-linux-amd64 chmod +x lavap mv lavap $(which lavap) lavap version --> must be 1.2.1
lavap rpcprovider lava-provider.yml --from lava@1w39wm9tp6nsy7tsxlkfwy98f7p6wsq54vx4f23 --log_level debug --geolocation 1 --chain-id lava-testnet-2 lavap test rpcprovider --from $MYWALLET --endpoints "lava.donkamote.xyz:443,LAV1"
Upgrade configurations
temp_folder=$(mktemp -d) && cd $temp_folder required_upgrade_name="v1.0.1" upgrade_binary_url="https://github.com/lavanet/lava/releases/download/$required_upgrade_name/lavad-$required_upgrade_name-linux-amd64"
source ~/.profile
If using lavad as a service, run
sudo systemctl stop lavad
Download the binary and replace it with the current one
wget "$upgrade_binary_url" -q -O $temp_folder/lavad chmod +x $temp_folder/lavad
Replace the current lava binary with the upgraded binary
sudo cp $temp_folder/lavad $(which lavad)
Re-start the stopped lavad service
sudo systemctl start lavad
Check if the node is currently in the process of catching up
lavad status | jq .SyncInfo.catching_up
Check the lavad process logs
sudo journalctl -u lavad -f
cd $HOME wget -O lavap https://github.com/lavanet/lava/releases/download/v1.2.1/lavap-v1.2.1-linux-amd64 ---> OLD ONE DO NOT USE wget -O lavap https://github.com/lavanet/lava/releases/download/v1.2.3/lavap-v1.2.3-linux-amd64 chmod +x lavap mv lavap $(which lavap) lavap version --> must be 1.2.1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CORRECT STEPS as of April 20, 2024
LAVAD and LAVAP UPDATE (PLS NOTE, I am using lavad cosmovisor...)
https://github.com/lavanet/lava/releases
cd $HOME source .profile lavad version && lavap version
cd $HOME wget -O lavad https://github.com/lavanet/lava/releases/download/v1.2.0/lavad-v1.2.0-linux-amd64 ---> OLD ONE DO NOT USE wget -O lavad https://github.com/lavanet/lava/releases/download/v1.2.3/lavad-v1.2.3-linux-amd64 chmod +x lavad mv $HOME/lavad $(which lavad) lavad version --> must be 1.2.0 sudo journalctl -u cosmovisor -f
cd $HOME wget -O lavap https://github.com/lavanet/lava/releases/download/v1.2.1/lavap-v1.2.1-linux-amd64 ---> OLD ONE DO NOT USE wget -O lavap https://github.com/lavanet/lava/releases/download/v1.2.3/lavap-v1.2.3-linux-amd64 chmod +x lavap mv lavap $(which lavap) lavap version --> must be 1.2.1
lavap rpcprovider lava-provider.yml --from lava@1w39wm9tp6nsy7tsxlkfwy98f7p6wsq54vx4f23 --log_level debug --geolocation 1 --chain-id lava-testnet-2 lavap test rpcprovider --from $MYWALLET --endpoints "lava.donkamote.xyz:443,LAV1"
Last updated