Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: low
Valid

Incomplete functionality

Summary

battlesWon function is not perfect

Vulnerability Details

Define uint256 battlesWon to record the number of NFT wins. However, battlesWon cannot be modified in the RapBattle contract, resulting in the inability to record the number of NFT wins.

Impact

Unable to implement battlesWon function.

Tools Used

manual audit.

Recommendations

Implement a function that can only be called by the RapBattle contract to modify battlesWon.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

`battlesWon` is never updated

Support

FAQs

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