_updateBoostStateis called twice in veRAAC contract, inside lockand increase
We can see that _updateBoostState is called before minting in both cases.
We can also see that totalVotingPoweris set to the current totalSupply(). However, this total supply will become outdated once increase and lock functions call mint. This will lead to _boostState.totalVotingPower holding a wrong value of totalSupply.
I recommend calling _updateBoostStateafter calling mintin both lockand increasefunctions.
Wrong/Outdated value for _boostState.totalVotingPower
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.