Skip to content

v1.22

Latest
Compare
Choose a tag to compare
@valdok valdok released this 24 Sep 11:08

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 ..

Note: the script would resolve the SGX secret storage path, and ask you to confirm it.
The standard path is /opt/secret/.sgx_secrets/. In case you use a custom path - set the SCRT_SGX_STORAGE environment variable accordingly.

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