Open code423n4 opened 2 years ago
rfa
expensive gas
https://github.com/code-423n4/2022-01-trader-joe/blob/main/contracts/RocketJoeStaking.sol#L169-L172
accRJoePerShare += (rJoeReward * PRECISION) / joeSupply;
Fix: https://github.com/traderjoe-xyz/rocket-joe/pull/136
Handle
rfa
Vulnerability details
Impact
expensive gas
Proof of Concept
https://github.com/code-423n4/2022-01-trader-joe/blob/main/contracts/RocketJoeStaking.sol#L169-L172
Tools Used
Recommended Mitigation Steps