Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Cant swap all the amount with NO sufficient assets, trade fail #810

Closed
joseJRJR opened this issue Apr 22, 2024 · 0 comments · Fixed by #812
Closed

Bug: Cant swap all the amount with NO sufficient assets, trade fail #810

joseJRJR opened this issue Apr 22, 2024 · 0 comments · Fixed by #812

Comments

@joseJRJR
Copy link

joseJRJR commented Apr 22, 2024

User cant swap all the amount of non sufficient assets ( ded, pink) or will fail, need to leave 1 token, and work

Expected Behavior

should be possible to sell all the tokens, like any other asset

Actual Behavior

need to leave 1 token on the account to the trade be successful, and the user dont know why failed the tx if he tried to swap all

Videos showing with DED and with PINK
https://hydradx.subscan.io/extrinsic/0xd6f139d4e61063ca16ea63add94ce485ae08d8b7f11f86b5f0a7faa3f7cf2fa6

Screen_Recording_20240421_235339_Nova_480x1030.mp4

https://hydradx.subscan.io/extrinsic/0x4fe5d0472aae51af4dc7d873b44c7b8d27e8c6bf5eb50aa362689708d20ec22b

Screen_Recording_20240421_235633_Nova_480x1030.mp4
@joseJRJR joseJRJR changed the title Bug: Cant use max buttom on swap with NO sufficient assets, trade fail Bug: Cant swap all the amount with NO sufficient assets, trade fail Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant