Variable shadowing can lead to unintended behavior by overwriting or masking state variables.
Instances of local variable shadowing:
ERC20ToGenerateNftFraccion.constructor
: Local variables _name
and _symbol
shadow state variables in the ERC20
base contract.
Shadowing increases the risk of errors in logic, especially during contract upgrades or audits.
Slither: Flagged occurrences of shadowing during analysis.
Rename local variables to avoid shadowing (e.g., _localName
or _constructorName
).
Conduct manual code reviews to identify and resolve shadowing instances.
Use tools like Slither regularly during development.
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.