-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of displayed transaction status (#584)
Closes #553 ### What Currently, we are not displaying transaction statuses correctly. After completing the `ensureAllowance` transaction, we display the status `Signed` instead of `Waiting for signature`. Additionally, when the `ensureAllowance` transaction is rejected, we do not stop the stake transaction, let's fix it. ### Testing Check stake and unstake transaction statuses. Please don't merge without tests.⚠️ - [x] `Approving` - only for the ensure allowance transaction - [x] `Waiting for signature` - While waiting for the signature of the main transaction - [x] `Signed`- for signed transactions - [x] Reject transactions. We shouldn't display the status of the transaction but close the action.
- Loading branch information
Showing
4 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters