Description\
The checkpoint() function will call the internal _checkpoint() function which ultimately fills the
point history and potentially updates the epoch state variable.
Attack Scenario\
Describe how the vulnerability can be exploited.
Recommendation:
Add the nonReentrant modifier to the external checkpoint() function.
Github username: -- Twitter username: -- Submission hash (on-chain): 0x243bf1f52ff9d94b3717d6277db4422264c51c5f64b4f7c2252ae483e3d4544e Severity: low
Description: Context: VotingEscrowUpgradeable.sol#L722-L724
Description\ The
checkpoint()
function will call the internal_checkpoint()
function which ultimately fills the point history and potentially updates the epoch state variable.Attack Scenario\ Describe how the vulnerability can be exploited.
Recommendation: Add the
nonReentrant
modifier to the externalcheckpoint()
function.