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
When depositing 10 WETH and trying to withdraw 10 WETH after tome time on kovan where available liquidity is very thin and WETH is so to say insolvent quite often, the error message for a failing withdrawal is "Subtraction overflow". This is very confusing and shouldn't be the case. Aave front end validates the max amount able to withdraw. However when interacting from a smart contract this validation would have to be explicitly made in order to avoid a confusing error message. Why is the error message not more explicit here? What view methods can be used in the aave protocol to read the max withdrawable amount before submitting it to a withdraw?
Thanks
The text was updated successfully, but these errors were encountered:
When depositing 10 WETH and trying to withdraw 10 WETH after tome time on kovan where available liquidity is very thin and WETH is so to say insolvent quite often, the error message for a failing withdrawal is "Subtraction overflow". This is very confusing and shouldn't be the case. Aave front end validates the max amount able to withdraw. However when interacting from a smart contract this validation would have to be explicitly made in order to avoid a confusing error message. Why is the error message not more explicit here? What view methods can be used in the aave protocol to read the max withdrawable amount before submitting it to a withdraw?
Thanks
The text was updated successfully, but these errors were encountered: