The upgradeTier function is making this check
But the purpose of upgradingTier is to reduce the index because lower index represents higher tier
A creator creates a DAO with Tier 0, 1, 2, 3, 4
A user joins the DAO at Tier 3
The User then calls upgradeTier function to upgrade to Tier 2
This check
Checks for 5 total number of tiers is greater than or equal to 3+1, which has no impact since the aim of the function is to reduce the index number of the token to user owns.
Could to the contract not acting as intended
Manual code Review
Check should check for users at Index 0 trying to go to higher index
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.