FertilizerFacet::totalUnfertilizedBeans returns the difference s.unfertilizedIndex - s.fertilizedIndex instead of s.unfertilizedIndex.
While the intentions behind the implementation are not 100% clear due to missing NatSpec, the implementation of FertilizerFacet::totalFertilizedBeans suggests that FertilizerFacet::totalUnfertilizedBeans should follow the same pattern. In other words, since FertilizerFacet::totalFertilizedBeans returns s.fertilizedIndex, FertilizerFacet::totalUnfertilizedBeans should return s.unfertilizedIndex. However, the actual implementation returns the difference s.unfertilizedIndex - s.fertilizedIndex instead.
The FertilizerFacet::totalUnfertilizedBeans view function returns an unexpected value.
Manual review.
Change FertilizerFacet::totalUnfertilizedBeans to only return s.unfertilizedIndex.
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.