Location: BoostController.sol
Description:
The constant EMERGENCY_ADMIN
is declared within the BoostController
contract but is never actually referenced or used within the code. This indicates unnecessary code that could potentially confuse future developers and increases the contract's size, albeit negligibly.
Impact:
Code Clarity: The presence of an unused constant can lead to confusion for developers reading or maintaining the code. They might assume there's some intended functionality related to an emergency admin role that doesn't exist.
Contract Size: While the impact is minimal, the constant does contribute slightly to the contract's size, which can affect deployment costs.
Recommendation:
Remove the unused constant from the code. This will improve code clarity and reduce unnecessary code.
Rationale:
Removing the unused constant eliminates a potential source of confusion and makes the code more concise, without impacting any existing functionality.
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.