60210 sc high during a validator exit users will be unable to unstake due to underflow
Description
Brief / Intro
Vulnerability Details
1
User requests delegation exit
function requestDelegationExit(
uint256 _tokenId
) external whenNotPaused onlyTokenOwner(_tokenId) nonReentrant {
...
// decrease the effective stake
_updatePeriodEffectiveStake($, delegation.validator, _tokenId, completedPeriods + 2, false);
emit DelegationExitRequested(_tokenId, delegation.validator, delegationId, exitBlock);
}Impact Details
References
Proof of Concept
Previous60192 sc high users can claim delegation rewards after exit endperiod has passedNext60241 sc medium permanent freezing of staked funds caused by accumulation with zero rewards
Was this helpful?