Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: low
Invalid

Missing Implementation of Batch Minting Functionality in RAACNFT.sol

Summary

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.

Vulnerability Details

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.

Impact

  • 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)

Tools Used

  • Manual Code Review

Recommendations

  1. Implement the batch minting functionality as documented

  2. Remove the unused batch-related code if batch minting is not intended

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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