Closed c4-judge closed 5 months ago
Judge has assessed an item in Issue #184 as 2 risk. The relevant finding follows:
Check is always true https://github.com/Tapioca-DAO/tap-token/blob/050e666142e61018dbfcba64d295f9c458c69700/contracts/governance/twTAP.sol#L301-L302
if (_timestampToWeek(block.timestamp) > currentWeek()) revert AdvanceEpochFirst(); /// @audit QA for now
Mitigation https://github.com/Tapioca-DAO/tap-token/blob/050e666142e61018dbfcba64d295f9c458c69700/contracts/governance/twTAP.sol#L464-L465
if (lastProcessedWeek != currentWeek()) revert AdvanceWeekFirst();
dmvt marked the issue as duplicate of #119
dmvt marked the issue as partial-50
Judge has assessed an item in Issue #184 as 2 risk. The relevant finding follows:
Check is always true https://github.com/Tapioca-DAO/tap-token/blob/050e666142e61018dbfcba64d295f9c458c69700/contracts/governance/twTAP.sol#L301-L302
Mitigation https://github.com/Tapioca-DAO/tap-token/blob/050e666142e61018dbfcba64d295f9c458c69700/contracts/governance/twTAP.sol#L464-L465