Unsettled stake() lets a fresh account claim the whole reward reserve
- input-1/src/TesseraStaking.sol:87-94
- Observed
function stake(uint256 amount) external { if (amount == 0) revert ZeroAmount(); _updateGlobal(); balanceOf[msg.sender] += amount; totalStaked += amount;- Counterargument
The exit() revert is known issue N-1
Resolvedinput-4/docs/known-issues.md:13 covers only the exit() revert, and no entry there covers the reward theft.
- Next
Rewrite the report as Medium, select "Medium: Theft of unclaimed rewards", and inline the full test file.