Submitted by ADM, also found by rvierdiiev, twicek, and HChang26
BondingVotes may have stale data due to missing checkpoint in BondingManager#withdrawFees().
The withdrawFee function has the autoClaimEarnings modifier:
which calls _autoClaimEarnings:
which calls updateDelegatorWithEarnings:
During updateDelegatorWithEarnings, both delegator.lastClaimRound and delegator.bondedAmount can be assigned new values.
However, during the lifecycle of all these functions, _checkpointBondingState is never called either directly or through the autoCheckpoint modifier resulting in lastClaimRound & bondedAmounts values being stale in BondingVotes.sol.
Add autoCheckpoint modifier to the withdrawFees function.
victorges (Livepeer) confirmed
victorges (Livepeer) mitigated:
For this audit, 7 reports were submitted by wardens detailing low risk and non-critical issues. The report highlighted below by Proxy received the top score from the judge.
The following wardens also submitted reports: rvierdiiev, ladboy233, favelanky, nadin, Banditx0x, and DavidGiladi.
