You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.
sherlock-admin opened this issue
Mar 27, 2023
· 0 comments
Labels
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelHighA valid High severity issueRewardA payout will be made for this issue
in mintDepositQueue which is used to queue for the the next epoch there is deposit fee charged. the deposit function deposit fee is charged for every new epoch. so if someone is looking to escape paying any deposit fee they could just enter a queue and wait for it to be minted
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelHighA valid High severity issueRewardA payout will be made for this issue
bulej93
high
mintDepositInQueue doesnt charge deposit fee
Summary
mintDepositInQueue doesnt charge deposit fee
Vulnerability Detail
in mintDepositQueue which is used to queue for the the next epoch there is deposit fee charged. the deposit function deposit fee is charged for every new epoch. so if someone is looking to escape paying any deposit fee they could just enter a queue and wait for it to be minted
Impact
the protocol may lose out on potential fees
Code Snippet
https://github.com/sherlock-audit/2023-03-Y2K/blob/main/Earthquake/src/v2/Carousel/Carousel.sol#L310
Tool used
Manual Review
Recommendation
charge the deposit fee
Duplicate of #75
The text was updated successfully, but these errors were encountered: