DaiGoldAuction.sol: 116
The syntax in the function provided is not valid Solidity. In Solidity, you cannot assign multiple values in a single statement like that. If you try to use this:uint256 epochId = _currentEpochId = _currentEpochId + 1;
, the code will not compile.
The reverting of this function will lead to failure to start auction. Functions that depend on the epoch ID might behave unpredictably, causing logic errors that could be exploited.
If the epoch ID is not updated correctly, it could lead to the wrong epoch being referenced throughout the contract.
Manual Review
uint256 epochId = _currentEpochId + 1;
_currentEpochId = epochId;
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.