Wrong input of continue in FjordStaking::unstakeAll instead of break.
FjordStaking::unstakeAll above is allowing user to unstake even though currentEpoch - epoch <= lockCycle will results to user staked for only below or equal with 6 epochs.
This allows for user to stake for 1 epoch then unstake to claim the reward.
User is able to unstake even before the lock cycle ends which is 6 days. This breaks the invariant where staked tokens should be locked for 6 weeks(6 epochs) and can be unstaked after that.
Manual Review
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.