Open spannercode opened 3 days ago
Is this a bug in the code, or an error that could happen from time to time due to network issues, etc? If it's the latter, then we need to test for it and handle it in a way to let the user know and recover from it.
Area
Wrapper
Domain
preview.gov.tools
Which wallet were you using?
Eternl
Context
As an Ada holder, if I try to submit a governance action while my stake key is not registered, I get a wallet pop up to sign the transaction to pay 100K Ada but nothing happens afterwards and I'm stuck on this screen without any feedback.
Steps to reproduce
Actual behavior
An error is logged in the console preventing further processing.
Expected behavior
Since the stake key is not registered, it is expected to fail. However, the user has no idea what went wrong. User should be informed about what went wrong and how he/she can recover from the error.
In this case, it might be better to check if the stake key already registered or not before the user tries to submit a governance action so user is already aware of the situation.