totalmembers has to be less than maxMembers doesn't seem to be right
totalmembers has to be less than maxMembers doesn't seem to be right. maxMembers is the maximum members for the dao membership. totalMembers Calculates total possible members across all tiers and it validates against maximum allowed members (daoConfig.maxMembers).
totalMembers sums up tier amounts and compares against daoConfig.maxMembers. It ensures sum doesn't exceed maxMembers. The issue is that this is not enforced in joinDAO.
totalMembers will always exceed daoConfig.maxMembers in joinDAO
the invariant totalMembers must be less than daoConfig.maxMembers will be broken in joinDAO function
Manual Review
//enforce maxMembers in joinDAO function as well
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.