Reth derivative did not check if deposit is enabled in the pool
In the Rocket Pool's RocketDepositPool contract, there's an important check to make sure that a deposit can go through:
This means that if deposits are turned off in Rocket Pool, any attempt to deposit will be stopped.
However, in the DittoETH BridgeReth contract, this check is not in place. So, if deposits are disabled in Rocket Pool, someone could still try to deposit, but it would fail.
Referrence:
https://code4rena.com/reports/2023-03-asymmetry#m-05-missing-derivative-limit-and-deposit-availability-checks-will-revert-the-whole-stake-function
https://github.com/code-423n4/2023-03-asymmetry-findings/issues/592
https://github.com/code-423n4/2023-03-asymmetry-findings/issues/458
Manual analysis
add check getDepositEnabled() to check the Rocket Pool’s deposit availability
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.