Releases: scrtlabs/SecretNetwork
Releases Β· scrtlabs/SecretNetwork
v1.11.0-beta.14
β οΈ TESTNET β οΈ
Upgrade instructions
# Backup your node's SGX secrets
cp -a /opt/secret/.sgx_secrets ~/sgx_secrets_backup
mkdir 111-beta.13backup
cp ~/.secretd/.node/* 111-beta.13backup/
# Get the v1.11.0-beta.14 binaries
wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.11.0-beta.14/secretnetwork_1.11.0-beta.14_testnet_goleveldb_amd64.deb"
# Verify the v1.11.0-beta.14 binaries
echo '6919f6ff544c6bfc8e408dcc3ce53cec2d42f30abd7c775f6872a1edf75258a7 secretnetwork_1.11.0-beta.14_testnet_goleveldb_amd64.deb' | sha256sum --check
# Stop the v1.11.0-beta.13 node
sudo systemctl stop secret-node
# Install the v1.11.0-beta.14 binaries
sudo apt install -y "./secretnetwork_1.11.0-beta.14_testnet_goleveldb_amd64.deb"
# re-apply any systemd unit file customizations
# Restart the node
sudo systemctl restart secret-node
What's Changed
- Fix wiring of upgrade handler
Full Changelog: v1.11.0-beta.13...v1.11.0-beta.14
v1.11.0-beta.6
β οΈ TESTNET β οΈ
Upgrade instructions
# Backup your node's SGX secrets
cp -a /opt/secret/.sgx_secrets ~/sgx_secrets_backup
mkdir 111-beta.6backup
cp ~/.secretd/.node/* 111-beta.6backup/
# Get the v1.11.0-beta.6 binaries
wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.11.0-beta.6/secretnetwork_1.11.0-beta.6_testnet_goleveldb_amd64.deb"
# Verify the v1.11.0-beta.6 binaries
echo '08f41eec329cab77e415330ed134e1a43f0008e925d9290a669553869e08b04b secretnetwork_1.11.0-beta.6_testnet_goleveldb_amd64.deb' | sha256sum --check
# Stop the v1.11.0-beta.2 node
sudo systemctl stop secret-node
# Install the v1.11.0-beta.6 binaries
sudo apt install -y "./secretnetwork_1.11.0-beta.6_testnet_goleveldb_amd64.deb"
# re-apply any systemd unit file customizations
# Restart the node
sudo systemctl restart secret-node
What's Changed
- Added hardcoded admins for Shade to test
Full Changelog: v1.11.0-beta.2...v1.11.0-beta.6
v1.11.0
Upgrade Instructions
See docs.scrt.network.
What's Changed
- Added ibc-hooks middleware by Osmosis.
- WASM hooks: allows ICS-20 token transfers to initiate contract calls, serving various use cases.
- Example: Sending tokens to Secret and immediately wrapping them as SNIP-20 token. For example,
ATOM on Hub -> ATOM on Secret -> sATOMS on Secret
(2 transactions on 2 chains) now becomesATOM on Hub -> sATOM on Secret
(1 transaction). - Example: Cross-chain swaps. Using IBC Hooks, an AMM on Secret can atomically swap tokens that originated on a different chain and are headed to Secret. The AMM can also send those tokens back to the originating chain.
- Axelar GMP: Using IBC Hooks, a contract on Ethereum can call a contract on Secret and get a response back.
- Example: Sending tokens to Secret and immediately wrapping them as SNIP-20 token. For example,
- Ack callbacks: allow non-IBC contracts that send an
IbcMsg::Transfer
to listen for the ack/timeout of the token transfer. This allows these contracts to definitively know whether the transfer was successful or not and act accordingly (refund if failed, continue if succeeded). See usage example here.
- WASM hooks: allows ICS-20 token transfers to initiate contract calls, serving various use cases.
- Added an optional
memo
field toIbcMsg::Transfer
, to ease to use of the IBC Hooks ack callbacks feature. See usage example here. - Added contract upgrade feature.
- On init, the creator can specify an admin address.
- The admin can migrate the contract to a new code ID.
- The admin can update or clear the admin address.
- The admins of contracts that were instantiated before v1.10 are hardcoded according to proposal 262.
- Hardcoded admins can only be updated/cleared with a future gov proposal.
- When the new
MsgMigrateContract
is invoked, themigrate()
function is being called on the new contract code, where the new contract can optionally perform state migrations. See usage example here.
- Fixed a scenario where the enclave's light client might fail a valid node registration transaction.
- Add support for uploading contracts that were compiled with Rust v1.70+.
- Update Cosmos SDK to v0.45.16
- Update Tendermint to CometBFT v0.34.29
- Update IBC to v4.4.2
- Update IAVL to v0.19.6
- Update Packet Forward Middleware to v4.1.0
- Fix initialization of x/vesting module
- Add
env.transaction.hash
to support SNIP-52- SNIP-52: https://github.com/SolarRepublic/SNIPs/blob/3cc16b7/SNIP-52.md#notification-data-algorithms
- See usage example here.
- Flush the enclave's cache in a random order
Full Changelog: v1.10.0...v1.11.0
Notes
- Binaries for rocksdb are no longer supported. We recommend all node operators that are still using rocksdb migrate to goleveldb.
- Due to last-minute bug findings, some contract upgrade features won't work (full update).
v1.11.0-beta.2
β οΈ TESTNET β οΈ
Upgrade instructions
# Backup your node's SGX secrets
cp -a /opt/secret/.sgx_secrets ~/sgx_secrets_backup
mkdir 110backup
cp ~/.secretd/.node/* 110backup/
# Get the v1.11 binaries
wget "https://github.com/scrtlabs/SecretNetwork/releases/download/v1.11.0-beta.2/secretnetwork_1.11.0-beta.2_testnet_goleveldb_amd64.deb"
# Verify the v1.11 binaries
echo '723a2d03ec51deadf4675f8363e79ae85c2965ea94fe9cc8d6063eb58062e40f secretnetwork_1.11.0-beta.2_testnet_goleveldb_amd64.deb' | sha256sum --check
# Stop the v1.10 node
sudo systemctl stop secret-node
# Install the v1.11 binaries
sudo apt install -y "./secretnetwork_1.11.0-beta.2_testnet_goleveldb_amd64.deb"
# re-apply any systemd unit file customizations
# Restart the node
sudo systemctl restart secret-node
What's Changed
- quick patch test-v1.9-upgrade-handler.md by @eshelB in #1435
- Change base docker by @Cashmaney in #1456
- Verify new message type2 by @Cashmaney in #1452
- V1.9.x by @Cashmaney in #1453
- IBC Hooks by @assafmo in #1408
- Light client input validation (IBC Hooks + IBC contracts) by @assafmo in #1441
- Fix vesting module initialization by @assafmo in #1460
- Bump log from 0.4.14 to 0.4.19 in /cosmwasm by @dependabot in #1461
- Bump golang.org/x/crypto from 0.8.0 to 0.10.0 by @dependabot in #1462
- Bump sha2 from 0.9.9 to 0.10.7 in /cosmwasm by @dependabot in #1463
- Bump serde_json from 1.0.95 to 1.0.97 in /cosmwasm by @dependabot in #1464
- Bump serde_json from 1.0.97 to 1.0.99 in /cosmwasm by @dependabot in #1469
- Bump num_cpus from 1.14.0 to 1.16.0 in /cosmwasm by @dependabot in #1472
- Bump serde from 1.0.159 to 1.0.166 in /cosmwasm by @dependabot in #1473
- secret-contract-optimizer: support multiple contracts by @luca992 in #1471
- Bump serde_json from 1.0.99 to 1.0.100 in /cosmwasm by @dependabot in #1474
- Bump golang.org/x/crypto from 0.10.0 to 0.11.0 by @dependabot in #1475
- Bump serde from 1.0.166 to 1.0.167 in /cosmwasm by @dependabot in #1476
- Bump serde from 1.0.167 to 1.0.171 in /cosmwasm by @dependabot in #1477
- Bump serde_json from 1.0.100 to 1.0.102 in /cosmwasm by @dependabot in #1479
- Bump serde_json from 1.0.102 to 1.0.103 in /cosmwasm by @dependabot in #1480
- Bump serde from 1.0.171 to 1.0.179 in /cosmwasm by @dependabot in #1491
- Bump github.com/rs/zerolog from 1.29.1 to 1.30.0 by @dependabot in #1492
- Bump tempfile from 3.5.0 to 3.7.0 in /cosmwasm by @dependabot in #1482
- Bump serde_json from 1.0.103 to 1.0.104 in /cosmwasm by @dependabot in #1488
- IBC Hooks: send acks & timeouts to
sudo()
instead ofexecute()
by @assafmo in #1493 - Contract Upgrade by @Cashmaney in #1449
- Bump serde from 1.0.179 to 1.0.181 in /cosmwasm by @dependabot in #1499
- secret-contract-optimizer: only build libraries by @kent-3 in #1484
- Bump tempfile from 3.7.0 to 3.7.1 in /cosmwasm by @dependabot in #1502
- Bump serde from 1.0.181 to 1.0.182 in /cosmwasm by @dependabot in #1501
- Bump golang.org/x/crypto from 0.11.0 to 0.12.0 by @dependabot in #1503
- SNIP-52: Add
env.transaction.hash
by @assafmo in #1498 - Stop the compiler from complaining that
sig_info
is not used by @assafmo in #1506 - Bump serde from 1.0.182 to 1.0.183 in /cosmwasm by @dependabot in #1504
- Support compiling contracts with Rust v1.70+ by @assafmo in #1500
- Bump tendermint, cosmos sdk & rust & sgx-sdk to latest versions by @Cashmaney in #1497
- Check hw separate flow by @Cashmaney in #1509
- Flush the cache in a random order by @liorbond in #1410
- bumped iavl by @eshelB in #1520
- Bump serde from 1.0.183 to 1.0.185 in /cosmwasm by @dependabot in #1514
- Bump log from 0.4.19 to 0.4.20 in /cosmwasm by @dependabot in #1508
- Bump serde_json from 1.0.104 to 1.0.105 in /cosmwasm by @dependabot in #1510
- Bump tempfile from 3.7.1 to 3.8.0 in /cosmwasm by @dependabot in #1511
- Bump ibc v4.4.2 + sdk by @eshelB in #1517
- Bump gonum.org/v1/gonum from 0.12.0 to 0.14.0 by @dependabot in #1512
- Bump serde from 1.0.185 to 1.0.186 in /cosmwasm by @dependabot in #1521
- Hardcoded upgrade admins by @eshelB in #1522
- Hmac all the things by @Cashmaney in #1523
- Fix release ci by @Cashmaney in #1526
- V1.11 fixes by @Cashmaney in #1529
- Fix storage folder by @Cashmaney in #1530
- Bump base64 from 0.12.3 to 0.21.3 in /cosmwasm by @dependabot in #1525
- Bump serde from 1.0.186 to 1.0.188 in /cosmwasm by @dependabot in #1524
- Bump actions/checkout from 3 to 4 by @dependabot in #1531
- Add cli for migration by @liorbond in #1527
Full Changelog: v1.10.0...v1.11.0-beta.2
v1.11.0-beta.1
Added 1.11 upgrade handler
v1.10.0
v1.10 Upgrade
Changelog
- Updated Intel attestation API to v5 & enforce update=early parameters to enforce TCB attestation before official enforcement
- Added grace period for restarting unpatched nodes ending Aug 21st, 2:00 PM UTC
Upgrade Instructions
See docs.scrt.network for upgrade instructions*.
Notes
This will be the last upgrade supporting Rocksdb. If you are still using Rocksdb, we recommend migrating to goleveldb.
v1.10.0-beta.2
Fixed more clippy stuff
v1.10.0-beta.1
Added v1.10 empty upgrade handler
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