Users lose their accumulated rewards when staking additional shares without claiming existing rewards first.
The issue occurs in the stake() function where accumulateActor()
is called before updating the actor's shares.
When a user with existing staked shares stakes additional shares, accumulateActor()
updates lastValuePerShare
to the current valuePerShare
, effectively resetting any accumulated but unclaimed rewards for their existing stake.
Users permanently lose their accumulated rewards when staking additional shares before claiming existing rewards.
stake()
should accumulate rewards before updating the actor's shares.
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.