From 4c0dcf7bbfd903fb6a08e8bd61520542e8d70135 Mon Sep 17 00:00:00 2001 From: Khalil Claybon Date: Fri, 26 Apr 2024 11:10:37 -0400 Subject: [PATCH] add epoch counter comment --- contracts/epochs/FlowEpoch.cdc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/contracts/epochs/FlowEpoch.cdc b/contracts/epochs/FlowEpoch.cdc index 6b2d01e46..d89571815 100644 --- a/contracts/epochs/FlowEpoch.cdc +++ b/contracts/epochs/FlowEpoch.cdc @@ -590,18 +590,19 @@ access(all) contract FlowEpoch { } if FlowEpoch.currentEpochPhase == EpochPhase.STAKINGAUCTION { - // Since we are resetting the epoch, we do not need to - // start epoch setup also. We only need to end the staking auction + /// Since we are resetting the epoch, we do not need to + /// start epoch setup also. We only need to end the staking auction FlowEpoch.borrowStakingAdmin().endStakingAuction() } else { - // force reset the QC and DKG + /// force reset the QC and DKG FlowEpoch.borrowClusterQCAdmin().forceStopVoting() FlowEpoch.borrowDKGAdmin().forceEndDKG() } - // Create new Epoch metadata for the next epoch - // with the new values + /// Create new Epoch metadata for the next epoch + /// with the new values let newEpochMetadata = EpochMetadata( + // counter: FlowEpoch.proposedEpochCounter(), seed: randomSource, startView: startView,