-
Notifications
You must be signed in to change notification settings - Fork 1
warRoom - Inablility to withdraw for users enlisted in depositQueue() #220
Comments
Escalate for 10 USDC We think this is wrongly classified as a duplicate of #68. In #68, Watson implies that once a deposit has been made, the depositor won't be able to cancel it. Whereas we here want to point out a situation where if the deposit of the user is not processed due to any reason(DOS, relayer calls There is a possibility that the deposit will be processed in any upcoming epoch if not the next one, but User may not want to deposit in that Epoch but he has no choice. |
You've created a valid escalation for 10 USDC! To remove the escalation from consideration: Delete your comment. You may delete or edit your escalation comment anytime before the 48-hour escalation window closes. After that, the escalation becomes final. |
Escalation accepted Not a duplicate of #68 |
This issue's escalations have been accepted! Contestants' payouts and scores will be updated according to the changes made on this issue. |
warRoom
high
Inablility to withdraw for users enlisted in depositQueue()
Summary
Carousel users who are enlisted in depositQueue have no way to withdraw funds if their deposits are not processed.
Vulnerability Detail
Where: In Carousel.sol- function _deposit()
When: When carousel users deposit with Epoch 0.
Description :
Consider a scenario :
mintDepositInQueue()
mintDepositInQueue()
but for limited operationsImpact
Code Snippet
https://github.com/sherlock-audit/2023-03-Y2K/blob/main/Earthquake/src/v2/Carousel/Carousel.sol#L494-L500
Tool used
Manual Review
Recommendation
The text was updated successfully, but these errors were encountered: