Potential mismatch between minted values and the new tier limits in the updateDAOMembership() function.
In the updateDAOMembership() function, the following line could lead to issues if the minted value from a previous tier configuration exceeds the new maximum amount defined for that tier:
If minted is greater than the new amount for a tier, it could result in an inconsistency where the number of already minted tokens exceeds the tier’s capacity.
Manual Review
Visual Studio Code (VSCode)
Add a check to ensure that minted does not exceed amount for each new tier configuration. If minted is greater, it should be capped at the new amount limit, or an error should be thrown to alert the discrepancy.
Variant 1
Variant 2
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.