-
Notifications
You must be signed in to change notification settings - Fork 252
EVM send max error on HD #3357
Copy link
Copy link
Open
Labels
P1Major issue needs to be fixedMajor issue needs to be fixedUXCosmetic or flow efficiency enhancements for improved User ExperienceCosmetic or flow efficiency enhancements for improved User ExperiencebugSomething isn't workingSomething isn't workingraw-error-messagesWhere raw error is displayed rather than in human words with optional json detail.Where raw error is displayed rather than in human words with optional json detail.
Milestone
Metadata
Metadata
Assignees
Labels
P1Major issue needs to be fixedMajor issue needs to be fixedUXCosmetic or flow efficiency enhancements for improved User ExperienceCosmetic or flow efficiency enhancements for improved User ExperiencebugSomething isn't workingSomething isn't workingraw-error-messagesWhere raw error is displayed rather than in human words with optional json detail.Where raw error is displayed rather than in human words with optional json detail.
Type
Fields
Give feedbackNo fields configured for issues without a type.
To Reproduce
Screenshots

Expected behavior
The numbers in the error are confusing, and do not match the input.
This is most likely an "insufficient gas" error (see
additional context).In the withdraw form, source address list contains only funded coins, but for tokens, though they may be funded, the parent might not be. Given the app is tracking balances for each address of each coin, we should be able to detect when a token address has an impoverished parent. When this happens, it should be indicated in the withdraw form, so user has awareness earlier in the flow.
This way the user knows not to select these addresses as source, and armed with this knowledge they can rectify before attempting a doomed transaction, destined to return an error.
Found in
0.9.3 RC
eb2b0b8Additional context
Send max attempt was from third address (2nd empty)
The error persisted when inputting
2and1as the amount manually.Switching to the first address was successful.
Third MATIC address was empty - which suggests the transaction error was due to insufficient gas.