In the new ThunderLoanUpgraded, the storage layout can become corrupted. 's_feePrecision' has been removed and is now a constant. Constant variables do not occupy storage slots. Therefore, in the new layout, 's_flashLoanFee' will occupy the place of 's_feePrecision,' and 's_currentlyFlashLoaning' will take the place of 's_flashLoanFee.
Consider checking whether there were changes in the storage layout before upgrading a contract by saving the storage layout of the implementation contract’s previous version and comparing it with the storage layout of the new one.
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.