When users lock tokens, the global boost state which is included in "boost calculations for rewards" is updated incorrectly.
When users lock RAAC for veRAAC tokens, the global stored boost state which is responsible for boost calculations for rewards is updated. During the update, the _boostState.votingPower is overwritten with the calling user's power at the current timestamp:
This is an issue since the _boostState.votingPower varible tracks the current voting power which is a part of the global state. With the current implementation, the current voting power will always be overwritten with the last person to lock their tokens' current voting power. It should instead be incremented by that amount.
The global current voting power is always overwritten with the last person to lock tokens' current voting power, instead of accumulated.
Manual Review
Increment instead of overwrite.
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.