In LibDibbler.sol rounding directions are opposite of what is mentioned in code comments.
When beanstalk is above peg the scaleSoilUp()
function should round up the soil but the code does not pass in LibPRBMathRoundable.Rounding.Up
variable which results in lesser soil than required & vice versa with scaleSoilDown
& _scaleTemperature
where both should round down but instead roundUp
Less soil than required when above peg
More soil than required when below peg
More temperature than required
Manual review
Pass in the correct rounding variable in correct function.
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.