Submitted by 0xsomeone
AuraLocker.sol#L594-L609
AuraLocker.sol#L611-L618
The balance checkpointing system exposed by the contract for governance purposes is flawed as it does not maintain voting balances properly. In detail, the total supply of votes is tracked as the sum of all locked balances, however, the total voting power of an individual only tracks delegated balances. As a result, governance percentage thresholds will be significantly affected and potentially unmet.
The governance module may be unusable due to the significant discrepancy between circulating voting power supply and the actual voting power of each individual summed up.
We advise the total voting supply to properly track the delegated balances only as otherwise, any system relying on proportionate checkpointed balances will fail to function properly.
Issue is deducible by inspecting the relevant lines referenced in the issue and making note of the calculations within the getPastVotes individual voting power function as well as the getPastTotalSupply cumulative voting power function.
0xMaharishi (Aura Finance) disputed and commented:
LSDan (judge) decreased severity to Medium and commented:
