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
For result === -1 or result === 0, the user should be able to read a proper description of the failure of the transaction dry-run, and be able to react with clear actions over it.
Actual behavior
Our current implementation renders a global error screen, and also calculates de error message concatenating the data.events from the results, which is cryptic for the user.
Steps to reproduce
Login to an account.
Click on "Send Token" button on the home tab screen.
Fill the form and make sure to select an account already created and with no balance as recipient address (so the dry-run fails).
Enter password and submit the send token form.
Which version(s) does this affect? (Environment, OS, etc...)
Uh oh!
There was an error while loading. Please reload this page.
Expected behavior
According to https://github.com/LiskHQ/discussions/discussions/72, the
POST /transactions/dryrun
endpoint can result in 3 possible scenarios:For
result === -1
orresult === 0
, the user should be able to read a proper description of the failure of the transaction dry-run, and be able to react with clear actions over it.Actual behavior
Our current implementation renders a global error screen, and also calculates de error message concatenating the
data.events
from the results, which is cryptic for the user.Steps to reproduce
Which version(s) does this affect? (Environment, OS, etc...)
All.
Additional information
None
The text was updated successfully, but these errors were encountered: