Patch instructions
⚠️ If you want the upgrade to use iavl-fastnode (will improve performance) add iavl-disable-fastnode = false
in app.toml
under [base]
before re-starting the node (it'll take several hours if you don't resync the node).
⚠️ If you have already installed a previous 1.4.1 version be sure to set iavl-disable-fastnode = false
or you will apphash
Note: if you have modified your systemd unit file (/etc/systemd/system/secret-node.service
) you will need to re-apply those changes post installation and pre-service restart.
Check what database type you're currently using:
awk -F \" '/^db_backend =/{print $2}' ~/.secretd/config/config.toml
Uncomment and download the right binary based on your database type:
# Stop node
sudo systemctl stop secret-node
# Get & verify secretd v1.4.1-patch.2
## goleveldb
# wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.4.1-patch.2/secretnetwork_1.4.1-patch.2_mainnet_goleveldb_amd64.deb"
# echo "9f9fac947083abcb90dbe9ffa0ad0e8f491d44654599b8768c068f49cbfc3a5d secretnetwork_1.4.1-patch.2_mainnet_goleveldb_amd64.deb" | sha256sum --check
## rocksdb
# wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.4.1-patch.2/secretnetwork_1.4.1-patch.2_mainnet_rocksdb_amd64.deb"
# echo "ef17a78fea1aa48a39044f61196fa492b4ca2cd786209d894f21312370f3aab7 secretnetwork_1.4.1-patch.2_mainnet_rocksdb_amd64.deb" | sha256sum --check
# Install new binaries
sudo apt install -y ./secretnetwork_1.4.1-patch.2_mainnet_*_amd64.deb
# re-apply any systemd unit file customizations
# Restart the node
sudo systemctl restart secret-node