The Flow team has a tentative plan to upgrade the epoch smart contracts on mainnet on April 22nd. This is an upgrade that will not break any smart contracts or node software, and will fix an issue where past randomness sources rarely fail to get recorded. More details in the Github issue.
This upgrade is not a security fix, it improves the way to query the randomness history:
- it makes sure the source of randomness generated at a block
h
is available at queries with the same block heighth
. - it fills any occasional gaps in the history with sources derived from a future entropy.
Expected dates to get the changes in effect is as follows:
- Testnet: Wednesday, April 17th
And assuming that the upgrade on testnet goes well,
- Mainnet: Wednesday, April
22nd24th
The change to RandomBeaconHistory
contract that will be used for the upgrade can be found in this pull request . The fix is documented in the PR.
Note - We are open to changing the timeline if feedback is provided on the suggested change.
If you have any questions regarding these changes, please ask in the PR comments, on Discord in the #protocol-builders
channel, or reply here.