DaiGoldAuction::setAuctionStarter
function does not follow CEI (Checks, Effects, Interactions) which could cost more gas than necessary when it reverts
The DaiGoldAuction::setAuctionStarter
function effects a state change before checking for the condition
instead of checking for the condition before causing change in the state variable
Because the DaiGoldAuction::setAuctionStarter
function does not follow CEI, the function will cost more gas than necessary when it reverts.
Manual review
The DaiGoldAuction::setAuctionStarter
function can be rearranged as follows
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.