Changes in the LinearBoostController will break accounting.
LinearBoostController has ability to change maxBoost
and maxLockingDuration
. Both of these params have significant impact on boost calculation.
Once boost is calculated, then it will not be recalculated until user would like to change something. This means that when maxBoost
or maxLockingDuration
will be changed, then new locks will start using new values, while old locks will still use their boost calculated before.
It is possible that after some changes pool will stop working at all as his accounting of effective balance will be broken.
Effective balance calculation is broken.
VsCode
Do not allow modify maxBoost
and maxLockingDuration
.
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.