feat: Support returning a txHash asap, show a notification for a cancelled smart transaction#12465
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
824e85c to
d9b68b4
Compare
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/smart-transactions-controller@14.0.0, npm/@metamask/transaction-controller@37.3.0 |
4d20370 to
c81cecb
Compare
|
Resolve linting
c81cecb to
563de6a
Compare
|
…er:smartTransaction" event
# Conflicts: # package.json
|
|
Linting
|
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12465 +/- ##
==========================================
+ Coverage 56.41% 57.03% +0.62%
==========================================
Files 1797 1814 +17
Lines 40586 40858 +272
Branches 5097 5162 +65
==========================================
+ Hits 22896 23304 +408
+ Misses 16134 15970 -164
- Partials 1556 1584 +28 ☔ View full report in Codecov by Sentry. |
|
|
Would be very nice to have some recordings in the PR description |



Description
This PR does a few things to support returning a txHash asap after a smart transaction is submitted:
clientId,getFeatureFlagsandupdateTransactionRelated issues
Resolves this JIRA ticket: https://consensyssoftware.atlassian.net/browse/TXL-517
Manual testing steps
Screenshots/Recordings
Success Toast:

Pending smart transaction:

Cancelled smart transaction notification:

Before
After
Pre-merge author checklist
Pre-merge reviewer checklist