-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fix: revert nonce logic in transaction controller [HOTFIX] #7653
fix: revert nonce logic in transaction controller [HOTFIX] #7653
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/7.9.1 #7653 +/- ##
================================================
Coverage ? 34.58%
================================================
Files ? 1017
Lines ? 27161
Branches ? 2211
================================================
Hits ? 9394
Misses ? 17278
Partials ? 489 ☔ View full report in Codecov by Sentry. |
Kudos, SonarCloud Quality Gate passed! |
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.
LGTM
Description
This PR is identical to #7651 but targeting a hotfix branch.
The
TransactionController
was recently upgraded to a version using theNonceTracker
package.This looks at local transactions for the same address and chain to determine the best
nonce
value.Since the mobile client monitors incoming token transfers, this was resulting in incorrect
nonce
values due to the associated transactions having thefrom
address of the account sending the balance, rather than the address of the account creating the transaction.The temporary fix is to revert the nonce logic in the
TransactionController
by removing usage of theNonceTracker
.Related issues
Fixes: #7646
Manual testing steps
transferFrom
transaction from account Y (ideally from a different wallet), that transfers the token from account X.Pre-merge author checklist
Pre-merge reviewer checklist