Releases: scrtlabs/SecretNetwork
v1.9.0b - Pulsar-2 fix only
Fix for Pulsar-2 storage removal bug
v1.9.0-beta.5
Change secretjs ci branch back to master
v1.9.3
What's changed
- Bump ibc-go from v4.3.0 to v4.3.1 (Huckleberry)
Patch instructions
config.toml
is not located in ~/.secretd/config/config.toml
or if you have made modifications to /etc/systemd/system/secret-node.service
. If you have made changes to /etc/systemd/system/secret-node.service
, you will need to reapply those modifications after the installation and before restarting the service.
# Backup your node's SGX secrets
cp -a /opt/secret/.sgx_secrets ~/sgx_secrets_backup
mkdir 192backup
cp ~/.secretd/.node/* 192backup/
# Stop your v1.9.2 node
sudo systemctl stop secret-node
# Figure out currently used db backend
DB_BACKEND=$(awk -F \" '/^db_backend =/{print $2}' ~/.secretd/config/config.toml)
# Get the v1.9.3 binaries
wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.9.3/secretnetwork_1.9.3_mainnet_${DB_BACKEND}_amd64.deb"
# Verify the v1.9.3 binaries
echo '894857bb414d3b20c48d4fb9126e14ae462bcd8aa21bde9ae3361ed1ad37e5d9 secretnetwork_1.9.3_mainnet_goleveldb_amd64.deb
eabce3e6fccc3ea69b5a9472cd8d889108c9a5f04329ad2b16c3a4b69c6b7133 secretnetwork_1.9.3_mainnet_rocksdb_amd64.deb' |
grep "$DB_BACKEND" |
sha256sum --check
# re-apply any systemd unit file customizations if relevant
# Install the v1.9.3 binaries
sudo apt install -y "./secretnetwork_1.9.3_mainnet_${DB_BACKEND}_amd64.deb"
v1.9.3-rc.0
Fix SGX apt repo pubkey error
v1.9.2
Instructions:
-
If you haven't upgraded yet, do the upgrade instructions then start from part 1.
-
If you're on block 8861810 (halted or stuck) with v1.9.1, start from part 3.
-
Keep pruning on "nothing" for this process, just to be safe
Part 1:
# Stop your v1.9.0 node
sudo systemctl stop secret-node
# Set pruning=nothing
perl -i -pe 's/^pruning =.*$/pruning = "nothing"/' ~/.secretd/config/app.toml
# Set halt-height to 2 blocks from now
perl -i -pe 's/^halt-height =.*$/halt-height = 8861802/' ~/.secretd/config/app.toml
# Restrat your v1.9.0 node
sudo systemctl restart secret-node
Wait for halt-height (might take a while to reach consensus)...
Part 2:
Wait for halt-height (might take a while to reach consensus)...
# Stop your v1.9.0 node
sudo systemctl stop secret-node
# Remove halt-height
perl -i -pe 's/^halt-height =.*$/halt-height = 0/' ~/.secretd/config/app.toml
# Figure out currently used db backend
DB_BACKEND=$(awk -F \" '/^db_backend =/{print $2}' ~/.secretd/config/config.toml)
# Get the v1.9.1 binaries
wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.9.1/secretnetwork_1.9.1_mainnet_${DB_BACKEND}_amd64.deb"
# Verify the v1.9.1 binaries
echo '95b5ccb52abeae8e673445fda2cd08bfff79932f20176bf6229270c51a44c9e8 secretnetwork_1.9.1_mainnet_goleveldb_amd64.deb
632c014c934ea826f7fac563ef4f41fcd644ebe31824239069c141deda318476 secretnetwork_1.9.1_mainnet_rocksdb_amd64.deb' |
grep "$DB_BACKEND" |
sha256sum --check
# Install the v1.9.1 binaries
sudo apt install -y "./secretnetwork_1.9.1_mainnet_${DB_BACKEND}_amd64.deb"
# re-apply any systemd unit file customizations
Continue to step 3
At this point people stopped their nodes and we're on block 8861810 committed.
Part 3:
At this point people stopped their nodes and we're on block 8861810 committed.
# Stop your v1.9.1 node
sudo systemctl stop secret-node
# Set halt-height to 5 blocks from now
perl -i -pe 's/^halt-height =.*$/halt-height = 8861815/' ~/.secretd/config/app.toml
# Restrat your v1.9.1 node
sudo systemctl restart secret-node
Wait for halt-height (might take a while to reach consensus)...
Part 4:
Wait for halt-height (might take a while to reach consensus)...
# Stop your v1.9.1 node
sudo systemctl stop secret-node
# Remove halt-height
perl -i -pe 's/^halt-height =.*$/halt-height = 0/' ~/.secretd/config/app.toml
# Figure out currently used db backend
DB_BACKEND=$(awk -F \" '/^db_backend =/{print $2}' ~/.secretd/config/config.toml)
# Get the v1.9.2 binaries
wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.9.2/secretnetwork_1.9.2_mainnet_${DB_BACKEND}_amd64.deb"
# Verify the v1.9.2 binaries
echo '3c62539e1e5764bc3d5c6929d63627586f5a062afebb34cc9256bf19c5022364 secretnetwork_1.9.2_mainnet_goleveldb_amd64.deb
3f6a08005205d7479b569f8360076f4b5f6f65a6ad4c54460d2ccbc361acc3db secretnetwork_1.9.2_mainnet_rocksdb_amd64.deb' |
grep "$DB_BACKEND" |
sha256sum --check
# Install the v1.9.2 binaries
sudo apt install -y "./secretnetwork_1.9.2_mainnet_${DB_BACKEND}_amd64.deb"
# re-apply any systemd unit file customizations
# Restart the node
sudo systemctl restart secret-node
Note: After 1.9.2 we might apphash - this is because there might be validators that are still on 1.9.1 and have not set their halt height nor upgraded. If this happens we'll use quicksyncs to get a majority back (similar to the 1.3.0/1.3.1 halt a while back)
v1.9.1
Instructions:
Part 1:
# Stop your v1.9.0 node
sudo systemctl stop secret-node
# Set pruning=nothing
perl -i -pe 's/^pruning =.*$/pruning = "nothing"/' ~/.secretd/config/app.toml
# Set halt-height to 2 blocks from now
perl -i -pe 's/^halt-height =.*$/halt-height = 8861802/' ~/.secretd/config/app.toml
# Restrat your v1.9.0 node
sudo systemctl restart secret-node
Wait for halt-height (might take a while to reach consensus)...
Part 2:
# Stop your v1.9.0 node
sudo systemctl stop secret-node
# Remove halt-height
perl -i -pe 's/^halt-height =.*$/halt-height = 0/' ~/.secretd/config/app.toml
# Figure out currently used db backend
DB_BACKEND=$(awk -F \" '/^db_backend =/{print $2}' ~/.secretd/config/config.toml)
# Get the v1.9.1 binaries
wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.9.1/secretnetwork_1.9.1_mainnet_${DB_BACKEND}_amd64.deb"
# Verify the v1.9.1 binaries
echo '95b5ccb52abeae8e673445fda2cd08bfff79932f20176bf6229270c51a44c9e8 secretnetwork_1.9.1_mainnet_goleveldb_amd64.deb
632c014c934ea826f7fac563ef4f41fcd644ebe31824239069c141deda318476 secretnetwork_1.9.1_mainnet_rocksdb_amd64.deb' |
grep "$DB_BACKEND" |
sha256sum --check
# Install the v1.9.1 binaries
sudo apt install -y "./secretnetwork_1.9.1_mainnet_${DB_BACKEND}_amd64.deb"
# re-apply any systemd unit file customizations
# Restart the node
sudo systemctl restart secret-node
v1.9.0
What's Changed
- New Feature: Randomness injection for secret contracts.
- New Feature: FinalizeTx.
- IBC: Updated ibc-go from v3.4.0 to v4.3.0.
- New IBC Feature: Added packet-forward-middleware by Strangelove.
- New IBC Feature: Added IBC fee middleware.
- New IBC Feature: Added IBC panic button.
- New Feature: Evaporate & Check Gas APIs by @darwinzer0 & @blake-regalia
- Bug fix: Fixed an issue where nodes would sometimes stop if failing to enter SGX enclave
- Bug fix: Fixed an issue where deleting a storage key that was stored in the same msg would fail (thanks @baedrik for reporting this)
- Bug fix: Fixed an issue where stopping and starting nodes would often cause them to apphash
Notes
- Ubuntu 18 is no longer supported
- This is the last release which will contain rocksdb binaries. We recommend all node operators that are still using rocksdb migrate to goleveldb
Upgrade instructions available at https://docs.scrt.network/secret-network-documentation/infrastructure/upgrade-instructions/v1.9
v1.9.0-rc.1
Merge pull request #1437 from scrtlabs/fix-lib-check Bump release check to 1.9
v1.9.0-rc.0
Merge pull request #1437 from scrtlabs/fix-lib-check Bump release check to 1.9
v1.9.0-beta.3
Update Makefile