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

Huff Contract - Failure to increment total supply on mint

Summary

When minting a horse using the Huff contact, the mint function fails to increment the total supply.

Vulnerability Details

Without properly enumerating the total supply the contract will not allow more than one horse to be minted. This also means the functionalities of the contract are only functional for the first minted horse.

Impact

High

Tools Used

Foundry

Recommendations

Ensure that the huff contract increments the total supply on mint.

Updates

Lead Judging Commences

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

Failure to increment total supply on mint

Support

FAQs

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