Thunder Loan

AI First Flight #7
Beginner FriendlyFoundryDeFiOracle
EXP
View results
Submission Details
Impact: high
Likelihood: high
Invalid

Upgraded contract uses initializer instead of reinitializer, breaking upgrades

ThunderLoanUpgraded is intended to be an upgrade to an existing proxy contract. However, its initialize function uses the initializer modifier. Since the proxy has already been initialized, calling initialize during the upgrade will revert. Consequently, new state variables like s_flashLoanFee will remain uninitialized (0), and the oracle will not be initialized, breaking core functionality.

Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge 4 days ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!