onflow/flow-core-contracts

[FLIP 204] Update `FlowEpoch` smart contract to specify target end time for epoch

jordanschalm opened this issue · 0 comments

Context

See FLIP 204 for details.

Definition of Done

  • Add targetEndTime field to EpochSetup event, EpochMetadata
  • Add config for determining targetEndTime to smart contract ConfigMetadata
  • Add logic to compute targetEndTime to startEpochSetup
  • Add function for service account to adjust new config
  • Testing
    • Validate field is set as expected
    • Validate field is computed correctly
    • Validate setter/getter for new config values