Skip to content

fix: @metamask/transaction-controller@^29.1.0->^30.0.0#24861

Merged
legobeat merged 5 commits intoMetaMask:developfrom
legobeat:fix-block-tracker-multiple-polling-loops
Jun 4, 2024
Merged

fix: @metamask/transaction-controller@^29.1.0->^30.0.0#24861
legobeat merged 5 commits intoMetaMask:developfrom
legobeat:fix-block-tracker-multiple-polling-loops

Conversation

@legobeat
Copy link
Copy Markdown
Contributor

@legobeat legobeat commented May 29, 2024

Description

Updates @metamask/transaction-controller and @metamask/network-controller to use latest version of @metamask/eth-block-tracker containing fix for multiple polling loops.
Updates @metamask/network-controller for the same and ensuring block tracker is in sync.

The nonce-tracker patch is removed as the changes have been incorporated in the new version, which is now used consistently.

Open in GitHub Codespaces

Related issues

Manual testing steps

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@legobeat legobeat requested a review from matthewwalsh0 May 29, 2024 12:08
@github-actions
Copy link
Copy Markdown
Contributor

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.

@legobeat legobeat changed the title deps: @metamask/transaction-controller@^29.1.0->^30.0.0 fix: @metamask/transaction-controller@^29.1.0->^30.0.0 May 29, 2024
@legobeat legobeat added dependencies Pull requests that update a dependency file team-application-security Application security team labels May 29, 2024
@legobeat legobeat requested a review from dbrans May 29, 2024 12:12
@legobeat legobeat marked this pull request as ready for review May 29, 2024 12:13
@legobeat legobeat requested review from a team as code owners May 29, 2024 12:13
@legobeat legobeat force-pushed the fix-block-tracker-multiple-polling-loops branch from a885388 to 4da3ec0 Compare May 29, 2024 12:19
@socket-security
Copy link
Copy Markdown

socket-security bot commented May 29, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask/network-controller@18.1.2 environment +6 792 kB metamaskbot
npm/@metamask/nonce-tracker@5.0.0 None +1 64.5 kB
npm/@metamask/transaction-controller@30.0.0 None +1 129 kB

🚮 Removed packages: npm/@metamask/network-controller@18.1.0

View full report↗︎

@legobeat legobeat force-pushed the fix-block-tracker-multiple-polling-loops branch 2 times, most recently from dff2780 to cf6187c Compare May 29, 2024 13:56
@legobeat legobeat requested review from mcmire and naugtur May 29, 2024 13:58
@legobeat legobeat force-pushed the fix-block-tracker-multiple-polling-loops branch 3 times, most recently from 7b44c5a to 36b6c33 Compare May 29, 2024 16:25
@codecov
Copy link
Copy Markdown

codecov bot commented May 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.71%. Comparing base (63851c9) to head (d06eb7c).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #24861      +/-   ##
===========================================
- Coverage    65.71%   65.71%   -0.00%     
===========================================
  Files         1368     1368              
  Lines        54388    54388              
  Branches     14150    14150              
===========================================
- Hits         35739    35737       -2     
- Misses       18649    18651       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@legobeat legobeat force-pushed the fix-block-tracker-multiple-polling-loops branch 9 times, most recently from d288c19 to 6bb8cee Compare May 29, 2024 23:26
@legobeat legobeat force-pushed the fix-block-tracker-multiple-polling-loops branch 5 times, most recently from 15ba5ec to cda63c9 Compare May 31, 2024 14:25
@salimtb
Copy link
Copy Markdown
Contributor

salimtb commented May 31, 2024

hey @legobeat ,
what is the best scenario you suggest for testing/QA the changes of this PR ? maybe i should trigger a transaction using the extension and check the nonce ?

@legobeat legobeat force-pushed the fix-block-tracker-multiple-polling-loops branch from cda63c9 to 2cc97aa Compare May 31, 2024 17:44
@dbrans
Copy link
Copy Markdown
Contributor

dbrans commented May 31, 2024

@legobeat fyi: I've got a PR to upgrade transaction-controller to 31.0.0 fix mmi

@legobeat
Copy link
Copy Markdown
Contributor Author

legobeat commented May 31, 2024

@legobeat fyi: I've got a PR to upgrade transaction-controller to 31.0.0 fix mmi

👍 Makes sense to bump to 30, and then to 32? One step at a time.

@dbrans Do you see any blockers for this one (v30)?

@legobeat legobeat requested review from dbrans and removed request for dbrans May 31, 2024 20:15
@legobeat legobeat force-pushed the fix-block-tracker-multiple-polling-loops branch 2 times, most recently from 90bf936 to 63dba58 Compare May 31, 2024 20:41
@legobeat legobeat requested review from dan437, jiexi and mcmire and removed request for mcmire May 31, 2024 20:42
@legobeat legobeat force-pushed the fix-block-tracker-multiple-polling-loops branch from 63dba58 to cf0b9f5 Compare May 31, 2024 23:09
dbrans
dbrans previously approved these changes Jun 3, 2024
@dbrans
Copy link
Copy Markdown
Contributor

dbrans commented Jun 3, 2024

Does this PR need a newer STX v10.1.1?

@legobeat
Copy link
Copy Markdown
Contributor Author

legobeat commented Jun 3, 2024

Does this PR need a newer STX v10.1.1?

@dbrans No, we do want to merge those changes in separately since pulling it in here would be two potentially subtle block-tracking changes in one commit, which will make it hard to analyze results.

zone-live
zone-live previously approved these changes Jun 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file release-12.0.0 Issue or pull request that will be included in release 12.0.0 team-application-security Application security team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants