https://github.com/Cyfrin/2024-11-one-world/blob/main/contracts/dao/MembershipFactory.sol#L114-L133
In case tierConfigs.length < dao.tiers.length
using MembershipFactory::updateDAOMembership
tokens of the tiers that exceed are not preserved, and lost forever.
Minted tokens are deleted, and not preserved updating the memerbership of the DAO
Minted tokens that represent share of the DAO profit for the user are not preserved.
Manual review
Add a require
statement that new number of tiers should be >= old one.
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.