Skip to content

chore: remove preference to enable incoming transaction polling for networks #31269

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

Merged
merged 29 commits into from
Apr 3, 2025

Conversation

jpuri
Copy link
Contributor

@jpuri jpuri commented Mar 25, 2025

Description

Remove preference to enable incoming transaction polling for networks. Use Basic Functionality toggle to enable transaction polling.

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/4500

Manual testing steps

  1. Go to extension security and privacy settings
  2. Ensure that there is no option to enable incoming transaction for networks

Screenshots/Recordings

Before

Screenshot 2025-03-25 at 6 26 09 PM

After

Screenshot 2025-03-25 at 6 26 09 PM

Pre-merge author checklist

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.

Copy link
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.

@metamaskbot metamaskbot added the team-confirmations Push issues to confirmations team label Mar 25, 2025
@jpuri jpuri marked this pull request as ready for review March 25, 2025 13:53
@jpuri jpuri requested review from a team as code owners March 25, 2025 13:53
@jpuri jpuri changed the title chore: Remove preference to enable incoming transaction polling for networks chore: change preference to enable incoming transaction polling for networks Mar 25, 2025
@metamaskbot
Copy link
Collaborator

✨ Files requiring CODEOWNER review ✨

✅ @MetaMask/confirmations

  • app/scripts/controller-init/confirmations/transaction-controller-init.test.ts
  • app/scripts/controller-init/confirmations/transaction-controller-init.ts

jpuri added 2 commits March 28, 2025 18:42
…MetaMask/metamask-extension into cleanup_incoming_txn_network_preference
@jpuri jpuri changed the title chore: change preference to enable incoming transaction polling for networks chore: remove preference to enable incoming transaction polling for networks Mar 28, 2025
@metamaskbot
Copy link
Collaborator

❌ API Spec Test Failed. View the report here.

@metamaskbot
Copy link
Collaborator

Builds ready [5bc7b26]
UI Startup Metrics (1189 ± 67 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1189107316526712251264
load1034908141560938988
domContentLoaded1028902140459944986
domInteractive16133341626
firstPaint7991691120367256989
backgroundConnect97263910
firstReactRender19153741932
getState11428768
initialActions001000
loadScripts814696112855840884
setupStore7517279
WebpackHomeuiStartup936812117074942978
load79659989761830879
domContentLoaded78958089362825868
domInteractive15124261432
firstPaint46569897328813866
backgroundConnect16115281535
firstReactRender14123241328
getState6315278
initialActions001000
loadScripts78757089161824865
setupStore7516279
FirefoxBrowserifyHomeuiStartup13831206198417114051812
load12441051181215912751626
domContentLoaded12441051181215912751626
domInteractive9937175288697
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect23167162532
firstReactRender23185252430
getState6320278
initialActions001001
loadScripts12231034178615812571596
setupStore6430467
WebpackHomeuiStartup10038341531175898954
load8747231340152809916
domContentLoaded8747231339152808916
domInteractive114312242615194
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2314102162572
firstReactRender19163841926
getState114741489
initialActions001001
loadScripts8567091320149795965
setupStore7452589
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -456 Bytes (-0.01%)
  • ui: -7.27 KiB (-0.11%)
  • common: -858 Bytes (-0.01%)

@jpuri jpuri added this pull request to the merge queue Apr 3, 2025
Merged via the queue into main with commit fd46286 Apr 3, 2025
147 checks passed
@jpuri jpuri deleted the cleanup_incoming_txn_network_preference branch April 3, 2025 11:51
@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2025
@metamaskbot metamaskbot added the release-12.17.0 Issue or pull request that will be included in release 12.17.0 label Apr 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.17.0 Issue or pull request that will be included in release 12.17.0 team-confirmations Push issues to confirmations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants