Incorrect message in the updateTier()
function
The following require
statement in the updateTier()
function includes an incorrect message:
From the documentation and previous audit we know:
Tier 0 (Tier 1 in website) is at the highest level.
Tier 6 (Tier 7 in website) is lowest.
The message "No higher tier available." is misleading, as Tier 0 is the highest tier rather than Tier 6.
When a user attempts to upgrade from a fromTierIndex greater than 6, they will receive an incorrect error message.
Manual Review
VsCode
Update the error message to "Invalid tier index." to better reflect the actual issue.
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.