This release contains updates to many of the core contracts to support Epochs.
FlowIDTableStaking.cdc
- Verifies staking and networking keys with the cadence crypto API
- Changes reward payment to calculate rewards separately from paying them
FlowClusterQC
- Adds the clusterQC contract, which facilitates cluster quorum certificate generation.
- See FLIP here: https://github.com/onflow/flow/blob/josh/epochflip/flips/20210113-quorum-certificate.md
FlowDKG
- Adds the DKG contract, which initializes the random beacon for the new epoch.
- See FLIP here: https://github.com/onflow/flow/blob/josh/epochflip/flips/20210322-dkg.md
FlowEpoch
- Adds the epoch contract, which acts as state machine to manage the epoch phases, including the staking auction, clusterQC, and DKG.
- See FLIP here: https://github.com/onflow/flow/blob/josh/epochflip/flips/20210607-epoch.md
FlowStakingCollection
- Updates the staking collection to support epochs
- Adds machine account creation to node registration
- See staking collection docs here: https://flow-docs-git-feature-epochs-onflow.vercel.app/staking/staking-collection/
LockedTokens
- Adds a
borrowNode
function to the LockedTokenManager resource to better facilitate the staking collection functionality
StakingProxy
- Adds a pre-condition to check nodeID length