harmonixfi / core-smart-contract

Core smart contracts of Harmonix Finance
https://harmonix.fi/
0 stars 1 forks source link

User complete withdrawal got error "EXCEED_WITHDRAW_POOL_CAPACITY" #89

Closed baonguyen1904 closed 1 month ago

baonguyen1904 commented 2 months ago

Describe the bug When user deposit 10u to vault. Then they init withdraw 10 shares with pps = 1.

To Reproduce Steps to reproduce the behavior:

  1. Deposit 10u
  2. init withdraw 10 shares
  3. acquire fund
  4. complete withdraw 10 shares.

Screenshots Vault address: Delta neutral: 0xdf34e08e30763E1347dBF755f64Ed56A82181883 Vault assets: image

image

Note: I had deposit, withdraw, complete withdraw to test multiple times.