We are glad to announce that earlier this week Testnet was upgraded to version 1.21.6.
The release is available on Github here and includes the following main features:
-
Integration of CRON module
-
Changing the Network Seed
-
Governance-based Contract Migration
-
Minor fixes
The changes touch multiple parts of the system, including the encryption of blockchain data.
Therefore, it is important that developers test both their existing dAPPs and try out the new functionality.
SCRT Labs will also be performing additional testing routines.
We expect the Mainnet upgrade to happen in the first half of September.
More details about the features introduced in 1.21 is below:
Cron Module Integration
The Cron module implements a mechanism to add cron schedules through governance proposals to execute arbitrary CosmWasm messages with a given period. This implementation extends Neutron’s cron functionality with SecretNetwork’s architecture through an implicit hash consensus mechanism.
The full documentation for Cron Module in Secret Network is available here.
Governance-based Contract Migration
The changes introduce a new governance model that allows contracts to require on-chain governance approval for migrations while maintaining backward compatibility.
Prior to this change, contracts could be upgraded by the contract admin at will without any governance oversight, and now developers can move their contracts to governance-based upgradeability, meaning that any new upgrade to a contract will require Governance approval.
The schematic of the flows is shown above.
The full developer documentation is available here.
Seed Rotation
This release introduces support for Seed Rotation and actual change of the Network Key.
In this version, we implemented lazy seed rotation, i.e. the new seed is applied to new contract states after the upgrade, without reencrypting the whole blockchain history.
We will revisit the full re-encryption in the future releases.
Minor fixes
The version also includes minor fixes, such as additional hard-coded admins for some contracts and a fix in IBC hooks.
We thank our Developer Community for the continued support!
