πŸ†™ Upgrade

πŸ’‘ How it works?

Manual Upgrade - simply copy and paste the code into the terminal.

Planned Upgrade - set up tmux with the provided code, copy the planned upgrade code, paste it into the terminal, after which a tmux session will automatically start counting down to the required block for the upgrade, after which the session will end. At this point, you can detach the session or log out of your server, everything will continue to work in the background. Upon running the script, you will receive all the necessary prompts for exiting, attaching, and viewing active tmux sessions. Useful commands TMUX:

tmux ls - view tmux sessions tmux attach -t "session_name" - connect to an existing session tmux kill-session -t "session_name" - close the tmux session Press Ctrl + b, release and press D to collapse the session you are in.

βš™οΈ v0.4.2

Version: v0.4.2

Height: 1965400

πŸ”§ Manual Upgrade

Update manually only if your node has reached the specified block above.

cd $HOME
rm -rf download
mkdir download
cd download
wget https://github.com/warden-protocol/wardenprotocol/releases/download/v0.4.2/wardend_Linux_x86_64.zip
unzip wardend_Linux_x86_64.zip
rm wardend_Linux_x86_64.zip
chmod +x $HOME/download/wardend
sudo mv $HOME/download/wardend $(which wardend)
sudo systemctl restart wardend && sudo journalctl -u wardend -f -o cat

⏱️ Planned upgrade

  1. Install dependecies(only 1 time)

sudo apt update
sudo apt install -y tmux
  1. Run autoupgrade script

tmux new -s warden-testnet-v042 "bash <(curl -s https://raw.githubusercontent.com/UnityNodes/scripts/main/planned-upgrade.sh) warden buenavista-1 1965400 v0.4.2 wardend"

βš™οΈ v0.4.1

Version: v0.4.1

Height: 1675700

πŸ”§ Manual Upgrade

Update manually only if your node has reached the specified block above.

cd $HOME
rm -rf download
mkdir download
cd download
wget https://github.com/warden-protocol/wardenprotocol/releases/download/v0.4.1/wardend_Linux_x86_64.zip
unzip wardend_Linux_x86_64.zip
rm wardend_Linux_x86_64.zip
chmod +x $HOME/download/wardend
sudo mv $HOME/download/wardend $(which wardend)
sudo systemctl restart wardend && sudo journalctl -u wardend -f -o cat

⏱️ Planned upgrade

  1. Install dependecies(only 1 time)

sudo apt update
sudo apt install -y tmux
  1. Run autoupgrade script

tmux new -s warden-testnet-v041 "bash <(curl -s https://raw.githubusercontent.com/UnityNodes/scripts/main/planned-upgrade.sh) warden buenavista-1 1675700 v0.4.1 wardend"
  1. Wait for the update block and check the node after that. You can also check the approximate time of the update at this link: https://explorer.unitynodes.com/Warden-Testnet/block/1675700

βš™οΈ v0.3.2

Version: v0.3.2

Height: 1535602

πŸ”§ Manual Upgrade

Update manually only if your node has reached the specified block above.

sudo systemctl stop wardend

# New binary
cd $HOME
rm -rf wardenprotocol
git clone https://github.com/warden-protocol/wardenprotocol
cd wardenprotocol
git checkout v0.3.2

# New genesis,addrbook
curl -L https://snapshots-testnet.unitynodes.com/warden-testnet/genesis.json > $HOME/.warden/config/genesis.json
curl -L https://snapshots-testnet.unitynodes.com/warden-testnet/addrbook.json > $HOME/.warden/config/addrbook.json

# New snapshot
curl https://snapshots-testnet.unitynodes.com/warden-testnet/warden-testnet-latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.warden

sudo systemctl start wardend
sudo journalctl -u wardend -f -o cat

βš™οΈ v0.4.0

Version: v0.4.0

Height: 1534500

πŸ”§ Manual Upgrade

Update manually only if your node has reached the specified block above.

sudo systemctl stop wardend

cd $HOME
rm -rf wardenprotocol
git clone https://github.com/warden-protocol/wardenprotocol
cd wardenprotocol
git checkout v0.4.0

sudo systemctl start wardend
sudo journalctl -u wardend -f -o cat

⏱️ Planned upgrade

  1. Install dependecies(only 1 time)

sudo apt update
sudo apt install -y tmux
  1. Run autoupgrade script

tmux new -s warden-testnet-v040 "bash <(curl -s https://raw.githubusercontent.com/UnityNodes/scripts/main/planned-upgrade.sh) warden buenavista-1 1534500 v0.4.0 wardend"

Last updated