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
Currently, if the user tries to deposit a bigger amount than the limit. The deposit transaction will fail and a really unhelpful will be displayed. In the newer contracts, the limits are set during the deployment.
If we can actually read a TokenNetwork's deposit limit then it would be better to check before calling deposit. This way we can stop a failing onchain transaction and also provide a more user-friendly message.
This should be done after upgrading to the Alderaan contracts.
Acceptance criteria
Fail before calling the deposit function
Show a more meaningful message
Tasks
[ ]
Story Points
The text was updated successfully, but these errors were encountered:
Description
Currently, if the user tries to deposit a bigger amount than the limit. The deposit transaction will fail and a really unhelpful will be displayed. In the newer contracts, the limits are set during the deployment.
If we can actually read a TokenNetwork's deposit limit then it would be better to check before calling deposit. This way we can stop a failing onchain transaction and also provide a more user-friendly message.
This should be done after upgrading to the Alderaan contracts.
Acceptance criteria
Tasks
Story Points
The text was updated successfully, but these errors were encountered: