minAnswer and maxAnswer are the minimum and maximum price that can be returned by the oracle. If the answer is either of these two values then the function should not revert because when we say min/max we mean the lowest/higest price that can be returned by the oracle and are accpetable.
Github:- https://github.com/Cyfrin/2024-07-zaros/blob/d687fe96bb7ace8652778797052a38763fbcbb1b/src/external/chainlink/ChainlinkUtil.sol#L68
Here we are reverting if answer <= minAnswer
or answer >= maxAnswer
This will revert the transaction if the answer is either of the min/max values.
Manual Review
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.