When ThunderLoan::updateFlashLoanFee is called, the flash loan fee, s_flashLoanFee, is updated but no event is emitted.
The fee being updated is an important state change. When the owner calls ThunderLoan::updateFlashLoanFee, on line 253-258 the flash loan fee, s_flashLoanFee, is updated but no event is emitted.
When the state is initialized or modified, an event needs to be emitted. This is because the history of the contract state changes can be reconstructed using the events emitted. When protocols perform migrations and upgrades, they use events to reconstruct the history of important state variables. If events are missing, this process might not work as intended. This is a low-impact finding with a high likelihood since the contract is upgradeable, so is therefore being graded as a low severity vulnerability.
Add an event to be emitted when s_flashLoanFee is updated:
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.