-
Notifications
You must be signed in to change notification settings - Fork 3
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
UI hangs following attempt to close vault when it's really failing due to insufficient funds (no error given to user) #57
Comments
I'm seeing similar behavior sometimes in the PSM when doing a successful swap (toast keeps spinning after wallet balances update), but difficult to repro reliably |
I'm seeing an error when casting tries to unserialize a wallet update value here And got the following console output:
And this is the copied json output of the data:
|
It seems like casting is hitting this error, and then fails to keep yielding more updates, so we never see the updated offer statuses. I tried removing the serializer arg here to use the default, and see the same error. It seems like this is just not valid capdata being emitted? If so, it needs to be fixed on the contract side. In the meantime, perhaps we can modify |
Describe the bug
During smoke-testing of upgrade 12 I was able to succeed in adjusting a vault but then unable to close a vault. The UI would sit spinning with 'Submitting' with no outcome. When I refresh - nothing happened.
Following investigation of logs - the txn was failing due to insufficient IST to repay debt. No error is given to user in UI to know this.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Error should be shown so clear a) txn failed and b) due to insufficient IST
The text was updated successfully, but these errors were encountered: