-
Notifications
You must be signed in to change notification settings - Fork 98
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
Dust amounts cannot be undelegated, range shown from 0.000001 to scientific notation #3009
Comments
Awesome find. Thanks we will take care quickly. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
let's resolve this! it's annoying. @faboweb what is the proposed solution? |
The proposed approach is to filter dust amount delegations in API (don't return them if the amount is smaller than Additionally we should validate that entered amounts have 6 max decimal places to be able to calculate transaction fee and total in a safe way. |
Describe the bug
When you try to unstake from a validator, where there are dust amount of atoms, the transaction dialog fails to proceed, and will either
To Reproduce
Try to unstake from a validator, where you have some dust amount lingering, potentially due to slashing.
Expected behavior
To be able to click "Set Max" on undelegation, and have it undelegate everything from the delegator, so the delegator no longer shows up in the active portfolio list.
Screenshots
If "Set Max" is clicked with dust
If what should be a valid numeral is entered
Desktop (please complete the following information):
Relevant issues: #2968 #1442
This PR had seen something similar: #912 (comment) and there was mention of a new issue being created to fix some of the bugs within that PR, but I do not see any mention within that PR of any subsequent issues being filed pertaining to it.
The text was updated successfully, but these errors were encountered: