Upgrade instructions
1. Download check-hw tool, extract and run the upgrade script
wget https://github.com/scrtlabs/SecretNetwork/releases/download/v1.22/check_hw_1.22_ubuntu-22.04.tar.gz
tar -xzvf check_hw_1.22_ubuntu-22.04.tar.gz
cd check-hw
./upgrade_script_1.22_mainnet.sh
cd ..
Make sure the upgrade script runs successfully. At the end you should see this message:
Upgrade script completed successfully
2. Download and install the new node
wget https://github.com/scrtlabs/SecretNetwork/releases/download/v1.22/secretnetwork_1.22_mainnet_goleveldb_amd64_ubuntu-22.04.deb
sudo apt install -y "./secretnetwork_1.22_mainnet_goleveldb_amd64_ubuntu-22.04.deb"
3. Start the new node
# re-apply any systemd unit file customizations
# Restart the node
sudo systemctl restart secret-node
journalctl -fu secret-node