πŸ†™ 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.

βš™οΈ Geth v0.9.4

πŸ”§ Manual Upgrade

# update geth
cd $HOME
wget -O geth https://github.com/piplabs/story-geth/releases/download/v0.9.4/geth-linux-amd64
chmod +x $HOME/geth
sudo mv $HOME/geth $(which geth)
sudo systemctl restart story-geth
sudo systemctl restart story && sudo journalctl -u story -f

βš™οΈ Validator v0.11.0

Version: v0.11.0

Height: 1325860

πŸ”§ Manual Upgrade

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

cd $HOME
rm -rf story
git clone https://github.com/piplabs/story
cd $HOME/story
git checkout v0.11.0
go build -o story ./client
sudo mv $HOME/story/story $(which story)
sudo systemctl restart story
sudo journalctl -u story -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 story-v0-11-0 "bash <(curl -s https://raw.githubusercontent.com/UnityNodes/scripts/main/planned-upgrade.sh) story iliad 1325860 v0.11.0 story"

Last updated