updateDAOMembership allows removal of tier levels while existing tokens of those tiers remain active, creating inconsistent state and broken functionality.
In MembershipFactory.sol, updateDAOMembership can reduce number of tiers:
This creates orphaned tokens when:
Existing tokens belong to removed tiers
Their minted values are lost but tokens remain active
shareOf() still counts weights for removed tiers
Users can't upgrade from removed tier levels
Broken profit distribution due to counting non-existent tier weights
Users stuck with tokens of removed tiers
Inconsistent state between tiers and existing tokens
Manual code review
Add validation to prevent tier removal when tokens exist for those tiers.
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.