-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set staking auction length explicitly in resetEpoch
#268
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Would it make sense to try to include this in the same upgrade that we do for the automated rewards calculation and payment?
We can probably just merge this though and I'll integrate the changes into my PR
👍 That makes sense. This should be ready for the next (mid-February) spork cycle. |
1804: Include staking auction length in `resetEpoch` r=jordanschalm a=jordanschalm This PR updates the transaction argument generation tool for `resetEpoch` to include the `stakingEndView` parameter added in onflow/flow-core-contracts#268.⚠️ Before merging, tag a release for `core-contracts` including onflow/flow-core-contracts#267. Co-authored-by: Jordan Schalm <[email protected]>
1804: Include staking auction length in `resetEpoch` r=jordanschalm a=jordanschalm This PR updates the transaction argument generation tool for `resetEpoch` to include the `stakingEndView` parameter added in onflow/flow-core-contracts#268.⚠️ Before merging, tag a release for `core-contracts` including onflow/flow-core-contracts#267. Co-authored-by: Jordan Schalm <[email protected]>
1804: Include staking auction length in `resetEpoch` r=jordanschalm a=jordanschalm This PR updates the transaction argument generation tool for `resetEpoch` to include the `stakingEndView` parameter added in onflow/flow-core-contracts#268.⚠️ Before merging, tag a release for `core-contracts` including onflow/flow-core-contracts#267. Co-authored-by: Jordan Schalm <[email protected]>
resetEpoch
currently sets the staking auction length based on the config in the contract, rather than inputs to the function, which can be unsafe. See https://github.com/dapperlabs/flow-go/issues/6076 for details.This PR adds the
stakingEndView
as an argument toresetEpoch
.FlowEpoch
, and must be rolled out in tandem with theflow-go
tooling changes described in https://github.com/dapperlabs/flow-go/issues/6076 (in-progress)