Use scientific notation (e.g. 1e18
) rather than exponentiation (e.g. 10**18
)
While the compiler knows to optimize away the exponentiation, it's still better coding practice to use idioms that do not require compiler optimization, if they exist.
Link to code - https://github.com/Cyfrin/2023-07-beedle/tree/main/src/Lender.sol
Manual Code Review by SolSaver
Use scientific notation (e.g. 1e18
) rather than exponentiation (e.g. 10**18
)
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.