Root: The _snowmanSvgUri
parameter is passed to the constructor but is assigned to s_SnowmanSvgUri
without subsequent use;
Impact: Wastes gas and confuses intent without functional effect.
The constructor initializes the Snowman Airdrop ERC721 contract, sets the owner, and assigns a token counter, while also storing _snowmanSvgUri
in s_SnowmanSvgUri
, but this value is never utilized.
This results in an unused variable, increasing deployment costs and potentially misleading developers about its purpose.
Likelihood:
During contract deployment when _snowmanSvgUri is provided.
When code is reviewed or modified, assuming s_SnowmanSvgUri has a role.
Impact:
Increases gas costs unnecessarily.
May lead to confusion or incomplete implementation if intended for future use.
Remove the unused _snowmanSvgUri parameter and assignment if not needed, or define its usage (e.g., in token URI) if intended.
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.