DittoETH

Ditto
DeFiFoundryOracle
55,000 USDC
View results
Submission Details
Severity: low
Invalid

unstakeETH for stETH doesn't check if the `WithdrawalQueue` is paused

Summary

unstake function from BridgeSteth.sol should check the paused state of the WithdrawalQueue.

Vulnerability Details

A paused WithdrawalQueue will cause transactions to fail, unnecessarily wasting the gas of the users who attempt to unstake their tokens.

Impact

Wasted gas + bad user experience.

Tools Used

Manual review

Recommendations

Create a modifier that reverts the unstake function from BridgeSteth.sol if the WithdrawalQueue is paused.

Updates

Lead Judging Commences

0xnevi Lead Judge
almost 2 years ago
0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.