flow-core-contracts
flow-core-contracts copied to clipboard
Cadence smart contracts that define core functionality of the Flow protocol
This PR adds a minimal version of a service event to upgrade the protocol state version (see also https://github.com/onflow/flow-go/pull/5428). There is an integration test validating the new service event is...
### Issue To Be Solved Refer to: https://github.com/onflow/flow-core-contracts/pull/382#discussion_r1326283956 ### Suggest A Solution Determine what is the minimal set of entitlements sufficient for the returned `Account` in the above method.
### Problem The current SoR history contract assumes a heartbeat function is called at every block to record the SoR corresponding to that block. This is currently done by a...
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
### Issue To Be Solved As discussed in https://github.com/onflow/flow-core-contracts/pull/382#discussion_r1326255239, The code had to be rewritten using a `while` loop, because references are not allowed in the for-loop. ### Suggest A...
### Issue To Be Solved Currently, a single capability is used by node operators to interact with the Staking contract for all updates, including updating the node's hostname, staking/unstaking, and...
### Issue To Be Solved The rewards payment transaction currently is a very long and costly transaction and should be made more efficient. ### Suggest A Solution And ideal solution...
### Issue To Be Solved The Go tests for the core contracts are not in a good state and need to be refactored to be clearer, more organized, and easier...
### Issue To Be Solved In general, we expect that: the candidate limit exceeds the slot limit by a large margin (probably about an order of magnitude) the number of...
This PR updates the FlowEpoch smart contract to support recovering the network while in Epoch Fallback Mode. It adds a new service event `EpochRecover` which contains the metadata for the...