In Market::getRealizedDebtUsd lastCreditDepositsValueRehydration is only set if the calculation is done through rehydrateCreditDepositsValueCache which is not the case here, so this reevaluation may not be needed. This makes the caching logic unused.
Unused caching logic leading to constant recalculations.
Manual Review
Update the lastCreditDepositsValueRehydration in getRealizedDebtUsd.
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.