-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
Description
Whenever a user deposit liquidity to a Soroswap Pool and doesn't interact in a while with it, the balance of shares of the pool for the user may expire, leading to DoS for the user.
Describe the solution you'd like
Just before removing liquidity, we would like to simulate the transaction and check if the ledger entry for the balance of the user has expired. If it fails due to ledger entry expiration, we should propose a new transaction that restores that ledger entry. If not, we should continue the current flow
Additional context
Acceptance Critera
- Modular code, make a function specifically for this
- Propose a way to test it
Reactions are currently unavailable