Skip to content

chore: update @metamask/transaction-pay-controller to version 22.1.0#29907

Merged
jpuri merged 2 commits into
mainfrom
trxn_pay_ctrl_update
May 8, 2026
Merged

chore: update @metamask/transaction-pay-controller to version 22.1.0#29907
jpuri merged 2 commits into
mainfrom
trxn_pay_ctrl_update

Conversation

@jpuri

@jpuri jpuri commented May 8, 2026

Copy link
Copy Markdown
Contributor

Description

Update package @metamask/transaction-pay-controller

Changelog

CHANGELOG entry:

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/CONF-1324

Manual testing steps

Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]

Screenshots/Recordings

NA

Pre-merge author checklist

Performance checks (if applicable)

  • I've tested on Android
    • Ideally on a mid-range device; emulator is acceptable
  • I've tested with a power user scenario
    • Use these power-user SRPs to import wallets with many accounts and tokens
  • I've instrumented key operations with Sentry traces for production performance metrics

For performance guidelines and tooling, see the Performance Guide.

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.

Note

Medium Risk
Updates payment/transaction-related controller dependencies, which can subtly change fee calculation, bridging, and transaction submission behavior despite being a version bump. Risk is mainly from upstream behavior changes rather than local code modifications.

Overview
Upgrades @metamask/transaction-pay-controller from ^21.0.0 to ^22.1.0.

Regenerates yarn.lock, pulling in newer linked MetaMask controller packages (notably transaction-controller, gas-fee-controller, bridge-controller/bridge-status-controller, assets-controller/assets-controllers, and related account/keyring services) to satisfy the updated dependency graph.

Reviewed by Cursor Bugbot for commit 66cc4cc. Bugbot is set up for automated code reviews on this repo. Configure here.

@jpuri jpuri added the team-confirmations Push issues to confirmations team label May 8, 2026
@github-actions

github-actions Bot commented May 8, 2026

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.

@jpuri jpuri enabled auto-merge May 8, 2026 10:52
@socket-security

socket-security Bot commented May 8, 2026

Copy link
Copy Markdown

@jpuri jpuri added no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed and removed size-XS labels May 8, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d3a2a23. Configure here.

Comment thread package.json
Comment thread yarn.lock
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

  • Selected E2E tags: SmokeAccounts, SmokeConfirmations, SmokeIdentity, SmokeNetworkAbstractions, SmokeNetworkExpansion, SmokeSwap, SmokeStake, SmokeWalletPlatform, SmokeMoney, SmokePerps, SmokeMultiChainAPI, SmokePredictions, SmokeSeedlessOnboarding, SmokeBrowser, SmokeSnaps
  • Selected Performance tags: @PerformanceAccountList, @PerformanceOnboarding, @PerformanceLogin, @PerformanceSwaps, @PerformanceLaunch, @PerformanceAssetLoading, @PerformancePredict, @PerformancePreps
  • Risk Level: high
  • AI Confidence: 100%
click to see 🤖 AI reasoning details

E2E Test Selection:
Hard rule (controller-version-update): @MetaMask controller package version updated in package.json: @metamask/transaction-pay-controller. Running all tests.

Performance Test Selection:
Hard rule (controller-version-update): @MetaMask controller package version updated in package.json: @metamask/transaction-pay-controller. Running all tests.

View GitHub Actions results

@sonarqubecloud

sonarqubecloud Bot commented May 8, 2026

Copy link
Copy Markdown

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.50%. Comparing base (4797726) to head (66cc4cc).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #29907   +/-   ##
=======================================
  Coverage   81.50%   81.50%           
=======================================
  Files        5328     5328           
  Lines      141146   141146           
  Branches    32157    32157           
=======================================
+ Hits       115046   115047    +1     
+ Misses      18239    18238    -1     
  Partials     7861     7861           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jpuri jpuri added this pull request to the merge queue May 8, 2026
Merged via the queue into main with commit a9008e3 May 8, 2026
114 checks passed
@jpuri jpuri deleted the trxn_pay_ctrl_update branch May 8, 2026 13:48
@github-actions github-actions Bot locked and limited conversation to collaborators May 8, 2026
@metamaskbotv2 metamaskbotv2 Bot added the release-7.78.0 Issue or pull request that will be included in release 7.78.0 label May 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed release-7.78.0 Issue or pull request that will be included in release 7.78.0 size-XS team-confirmations Push issues to confirmations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants