The contract documentation mentions batch minting capabilities https://docs.raac.io/core/tokens/RAACNFT?id=implementation-details , but the actual implementation doesn't support this feature. Additionally, the currentBatchSize
state variable is maintained but never used, which could lead to confusion and potential issues in future implementations.
The contract has a currentBatchSize
variable that can get updated by the owner. This should allow a user to mint multiple NFTs at once but instead it's not used anywhere.
Gas inefficiency due to unused state variable
Misleading documentation that could cause integration issues
Higher transaction costs for users who need to mint multiple NFTs (need to call mint multiple times)
Manual Code Review
Implement the batch minting functionality as documented
Remove the unused batch-related code if batch minting is not 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.