If first depositor call SPool::deposit with DEAD_SHARES amount it'll receive 0 shares
This is because DEAD_SHARES is substracted from amount to deposit, and if first staker deposits exactly DEAD_SHARES amount then it will receive 0 shares
Because function call flow
Then StakingRewardsPool::_mint will call:
StakingRewardsPool::_mintShares will substract DEAD_SHARES from amount and if amount = DEAD_SHARES:
then shares for recipient will become zero
A first staker depositing DEAD_SHARES will receive 0 shares
Manual Review
Require amount to mint be great than DEAD_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.