-
Notifications
You must be signed in to change notification settings - Fork 3
Optimize multisig tx submission #533
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -269,8 +269,10 @@ class _AddMultisigScreenState extends ConsumerState<AddMultisigScreen> { | |
| context.showErrorToaster(message: l10n.multisigCreateInsufficientBalance); | ||
| } | ||
| } catch (e) { | ||
| // The submission service rethrows without surfacing UI; the caller owns | ||
| // user feedback. Show a single error toast for any failure (submission or | ||
| // otherwise) and skip navigation. | ||
| quantusDebugPrint('[AddMultisigScreen] createMultisig error: $e'); | ||
|
|
||
| if (mounted) { | ||
| context.showErrorToaster(message: l10n.multisigCreateErrorCouldNotCreate); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Creation errors lose user toastMedium Severity The generic Reviewed by Cursor Bugbot for commit e428348. Configure here. |
||
| } | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate failure toasts and inline
Low Severity
After submission helpers began
rethrowing on failure, approve/execute/cancel confirm sheets and the propose review screen still set inline error text whensubmitthrows, while the submission service also fires the matchingsubmitFailedtoast. Users see the same failure message twice on the same screen.Reviewed by Cursor Bugbot for commit e428348. Configure here.