DatingDapp

AI First Flight #6
Beginner FriendlyFoundrySolidityNFT
EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

The structure is not used in `LikeRegistry::Like`.

Structure not used in LikeRegistry::Like. Expends gas for deployment, but is not used anywhere

Description

  • When a contract is deployed, gas is consumed, but the structure itself is not involved in any contract.

@> struct Like {
address liker;
address liked;
uint256 timestamp;
}

Recommended Mitigation

It's easier to remove lines of code that don't need to be removed.

- struct Like {
- address liker;
- address liked;
- uint256 timestamp;
- }
Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge about 7 hours ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!