LevelOne
with LevelTwo
will cause storage clash, leading to incorrect storage variable valuesDescription: After upgrading LevelOne
to LevelTwo
, the storage variables will clash, leading to incorrect values, Making the whole contract unusable. Will cause TEACHERS_WAGE
to be increased to 40% instead of 35%, breaking the invariant.
Impact: Values of storage variables will be incorrect.
Proof of Concepts:
Recommended mitigation: All variables in LevelOne
should match in order in LevelTwo
, so that upgrade could be done safely.
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.