fix: cp-7.61.0 insufficient native balance in metamask pay#23873
Conversation
cb53840 to
1355f23
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
|
@SocketSecurity ignore npm/@metamask/bridge-controller@64.1.0 |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThe changes involve:
The transaction-pay-controller is heavily used in confirmations flows and trading functionality (bridge, swaps). The changes are mostly additive (new analytics properties, new messenger actions, new transaction type) rather than modifying existing behavior, which lowers the risk. However, package upgrades to core controllers warrant testing the main flows that use them. Selected SmokeTrade because the transaction-pay-controller is integral to trading/bridge flows. SmokeConfirmationsRedesigned covers the confirmation UI that uses transaction pay data. |
|




Description
Ensure Relay deposit transactions created by Perps and Predict deposits have sufficient and consistent gas limits.
Changelog
CHANGELOG entry: Prevent insufficient native balance errors in Perps and Predict deposits
Related issues
Fixes: #23563 #23699
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Enhances MetaMask Pay metrics with fallback chain/token properties, maps
relayDepositto analytics type, enables gas estimate actions in pay messenger, adds tests, and bumps controller dependencies.transactionMeta.metamaskPay(setsmm_pay,mm_pay_chain_selected,mm_pay_token_selectedviaTokensController).polymarket_account_createdforpredictDepositbased on nested tx data.addFallbackProperties,getTokenSymbol.TransactionType.relayDeposittotransaction_typevaluerelay_depositinutils.ts.TransactionPayControllermessenger to callTransactionController:estimateGasand:estimateGasBatch.gasasHexinbeforeSign.@metamask/transaction-controllerto62.6.0,@metamask/transaction-pay-controllerto10.5.0, and bridge-related packages to64.1.0.Written by Cursor Bugbot for commit 2057fc5. This will update automatically on new commits. Configure here.