Releases: onflow/flow-core-contracts
Releases · onflow/flow-core-contracts
DKG Safety Threshold & Non-Operational Withholding
What's Changed
- update dependencies by @joshuahannan in #245
- Use borrow instead of load/copy by @joshuahannan in #250
- Transaction for registering multiple nodes with the staking collection by @joshuahannan in #251
- Adds non-operational rewards withholding by @joshuahannan in #249
- Multi unlock by @Kay-Zee in #252
- add script to get Approved nodes list by @kc1116 in #254
- add configurable DKG success threshold and tests by @joshuahannan in #261
- Add new transactions for interacting with staking allow-list by @jordanschalm in #262
Full Changelog: lib/go/contracts/v0.7.9...lib/go/templates/v0.8.0
Reward Payment From Fees & Machine Account Improvements
Reward Payment From Fees & Machine Account Improvements
Update to Get Machine Account Address Script
*#230 Changes return type of get_machine_account_address.cdc
to an optional.
Store Approved Node IDs in contract
Store Approved Node IDs in contract
Add config check to FlowEpoch constructor
Add config check to FlowEpoch constructor
Epoch Transactions
Updates old transactions and adds new transactions to support Flow Epochs.
FlowIDTableStaking
- breaking change:: Updates the
end_epoch.cdc
andpay_rewards.cdc
transactions to use the new calculate and pay methods.
FlowClusterQC
- Adds transactions and scripts to test, interact with, and query the clusterQC
- See FLIP here: https://github.com/onflow/flow/blob/josh/epochflip/flips/20210113-quorum-certificate.md
FlowDKG
- Adds transactions and scripts to test, interact with, and query the DKG
- See FLIP here: https://github.com/onflow/flow/blob/josh/epochflip/flips/20210322-dkg.md
FlowEpoch
- Adds transactions and scripts to test, interact with, and query the epoch smart contract
- See FLIP here: https://github.com/onflow/flow/blob/josh/epochflip/flips/20210607-epoch.md
FlowStakingCollection
Breaking Changes
- Adds machine account creation to node registration transaction
- Updates setup staking collection transaction to include machine account field.
- Adds machine account info to transfer node transaction.
- See staking collection docs here: https://flow-docs-git-feature-epochs-onflow.vercel.app/staking/staking-collection/
LockedTokens
- No changes for locked tokens transactions
StakingProxy
- No changes for staking proxy transactions
Epoch Smart Contracts
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