v1.9.0-beta.2
Pre-release
Pre-release
github-actions
released this
01 May 15:27
·
796 commits
to master
since this release
⚠️ TESTNET ⚠️
Upgrade instructions
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 the v1.7.0 node
sudo systemctl stop secret-node
# Get & verify secretd v1.8.0
## goleveldb
# wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.9.0-beta.2/secretnetwork_1.9.0-beta.2_testnet_goleveldb_amd64.deb"
# echo "b53f90819264ce0c44b46be696fc9b0fa4fcd694f660387e34aa023366996a38 secretnetwork_1.9.0-beta.2_testnet_goleveldb_amd64.deb" | sha256sum --check
## rocksdb
# wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.9.0-beta.2/secretnetwork_1.9.0-beta.2_testnet_rocksdb_amd64.deb"
# echo "ea54e3f732c0c00515ad303e9a677ba27fdcb4d79b218aee608e2af77b3ab03f secretnetwork_1.9.0-beta.2_testnet_rocksdb_amd64.deb" | sha256sum --check
# Install 1.9.0 binaries
sudo apt install -y ./secretnetwork_1.9.0-beta.2_testnet_*_amd64.deb
# Restart the node
sudo systemctl restart secret-node
Update
Ubuntu 18.04 is no longer supported
What's Changed
- New Feature: Randomness injection for secret contracts.
- Eliminates the need for contracts to bootstrap their own entropy pool.
- Unique for every contract call.
- Useful in lotteries, gaming, secure authentication protocols, protocols where unpredictable outcomes are essential for fairness and security, and much more.
For more infomation on how to use this feature, see the documentation
- New Feature: FinalizeTx.
- Contracts can force the transaction to finalize at a certain point, otherwise revert.
- Example: protect against sandwich attacks and potential transaction rollbacks.
- Example: protect against cheating in gaming applications, where a malicious player could try to rollback a transaction in which they lost.
- IBC: Updated ibc-go from v3.4.0 to v4.3.0.
- New IBC Feature: Added packet-forward-middleware by Strangelove.
- Other chains would be able to more easily route SCRT in the interchain. For example, sending SCRT from Osmosis to Hub now becomes a single transaction from
Osmosis -> Secret
rather than a transaction fromOsmosis -> Secret
, then a transaction fromSecret -> Hub
.
- Other chains would be able to more easily route SCRT in the interchain. For example, sending SCRT from Osmosis to Hub now becomes a single transaction from
- New IBC Feature: Added IBC fee middleware.
- Creates a fee market for relaying IBC packets.
- New IBC Feature: Added IBC panic button.
- Quickly shut down IBC in case of an emergency.
- New Feature: Evaporate & Check Gas APIs
The new Check Gas and Evaporate APIs allow contract developers to create contracts that consume a constant amount of gas, independently of their code path. This helps harden contracts against information leakage from the amount of gas consumed by a contract. - Bug Fix: Fixed an issue where nodes would sometimes stop if failing to enter SGX enclave