ThunderLoan__ExhangeRateCanOnlyIncrease| Field | Value |
|---|---|
| Severity | Informational |
| Location | ThunderLoan.sol#L83, ThunderLoanUpgraded.sol#L83 |
The error ThunderLoan__ExhangeRateCanOnlyIncrease() is declared in both contracts but never reverted anywhere. The actual exchange-rate-monotonicity check lives in AssetToken.sol#L91 using a different error: AssetToken__ExhangeRateCanOnlyIncrease.
Dead code ,no security impact.
Suggests incomplete refactor; the check may have been intended at the ThunderLoan layer and never wired up.
Typo ("Exhange" instead of "Exchange") is propagated across files.
Or if the invariant should be enforced at the ThunderLoan layer, add the check. And fix the typo.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.