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.7.3 [Storage node]
You can also upload a snapshot for quick synchronization
โ๏ธ v0.4.0 [Validator node]
Version: v0.4.0
Upgrade height: 1510000
๐ง Manual Upgrade
๐ 1. Update manually only if your node has reached the specified block above.
๐ก Usefull commands
๐Check sync:
Your node height - the current block of your node
Network height - the last block of the network
Blocks left - how many blocks your node has left to sync. If - 0-1 = node sync.
cd $HOME/0g-storage-nodegitfetch--all--tagsgitcheckoutv0.7.3gitsubmoduleupdate--initcargobuild--releasemv $HOME/config-testnet-turbo_backup.toml $HOME/0g-storage-node/run/config-testnet-turbo.tomlsudosystemctlrestartzgs&&sudosystemctlstatuszgs