Upgrade storage node 1.0.0

Stop the node

sudo systemctl stop zgs

Backup config.toml

cp $HOME/0g-storage-node/run/config.toml $HOME/zgs-config.toml.backup

Build new binary

cd $HOME/0g-storage-node
git stash
git fetch --all --tags
git checkout 347cd3e
git submodule update --init
cargo build --release

Restore config.toml

cp $HOME/zgs-config.toml.backup $HOME/0g-storage-node/run/config.toml

Update boot nodes in config.toml

Set vars for new Contract Adresses

Edit config with new CAs

Restart storage node

Check logs

Check version

Last updated