Can't initialize after upgrading to new ThunderLoanUpgraded
If we upgrade ThunderLoan to ThunderLoanUpgraded, the initialize of ThunderLoanUpgraded will fail. According to the documentation of OpenZeppelin, the initialization functions use a version number. Once a version number is used, it is consumed and cannot be reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in case an upgrade adds a module that needs to be initialized.
The ThunderLoanUpgraded can't initialize.
manual
It is recommended to write initialize() function in this way.
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.