The batch management mechanism in the contract is incomplete. The function to add a new batch only allows increasing the batch size without any option to reduce it, and the contract lacks a batch minting function. This limits flexibility in managing NFT collections and can cause confusion regarding the intended functionality.
The function:
simply increments the public variable currentBatchSize without providing a way to reduce or reset it. Furthermore, despite the variable name hinting at batch management and the docs saying that it should exist, no function exists to mint multiple NFTs in one call. This design oversight can restrict the owner’s control if an adjustment to the batch size is needed or when batch minting is desired.
The inability to reduce the batch size might lead to operational challenges if the initial or current batch configuration is found to be excessive. Furthermore batch minting will be impossible for users because it has not been implemented.
Manual Review
Enhance batch management by adding a function to adjust (reduce) the batch size and implement batch minting. For example:
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.