From 84d28a30dd48b6befca02229eb425387729dc522 Mon Sep 17 00:00:00 2001 From: Matthew Walsh Date: Wed, 24 Jun 2026 12:15:34 +0100 Subject: [PATCH] fix(transaction-pay-controller): skip EIP-7702 upgrade check for direct mUSD vault deposits --- packages/transaction-pay-controller/CHANGELOG.md | 1 + .../src/strategy/fiat/fiat-direct-musd.test.ts | 3 +++ .../src/strategy/fiat/fiat-direct-musd.ts | 1 + 3 files changed, 5 insertions(+) diff --git a/packages/transaction-pay-controller/CHANGELOG.md b/packages/transaction-pay-controller/CHANGELOG.md index 90f0a6862e..0078f6fffa 100644 --- a/packages/transaction-pay-controller/CHANGELOG.md +++ b/packages/transaction-pay-controller/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Require EIP-7702 for direct mUSD vault deposits and ensure transaction ID collection always stops after the batch attempt ([#9240](https://github.com/MetaMask/core/pull/9240)) - Inherit `isGasFeeSponsored` from the parent transaction into same-chain Relay source-network fees and submission options ([#9216](https://github.com/MetaMask/core/pull/9216)) +- Skip EIP-7702 upgrade check for direct mUSD vault deposits since the Money Account is always already upgraded on Monad ([#9250](https://github.com/MetaMask/core/pull/9250)) ## [23.14.0] diff --git a/packages/transaction-pay-controller/src/strategy/fiat/fiat-direct-musd.test.ts b/packages/transaction-pay-controller/src/strategy/fiat/fiat-direct-musd.test.ts index 28b1638554..bee80f29e6 100644 --- a/packages/transaction-pay-controller/src/strategy/fiat/fiat-direct-musd.test.ts +++ b/packages/transaction-pay-controller/src/strategy/fiat/fiat-direct-musd.test.ts @@ -384,6 +384,9 @@ describe('fiat-direct-musd', () => { expect(callMock).toHaveBeenCalledWith( 'TransactionController:addTransactionBatch', expect.objectContaining({ + disableHook: true, + disableSequential: true, + disableUpgrade: true, from: MONEY_ACCOUNT_ADDRESS_MOCK, isGasFeeSponsored: true, isInternal: true, diff --git a/packages/transaction-pay-controller/src/strategy/fiat/fiat-direct-musd.ts b/packages/transaction-pay-controller/src/strategy/fiat/fiat-direct-musd.ts index 52937aadaa..d7bf0a6e38 100644 --- a/packages/transaction-pay-controller/src/strategy/fiat/fiat-direct-musd.ts +++ b/packages/transaction-pay-controller/src/strategy/fiat/fiat-direct-musd.ts @@ -288,6 +288,7 @@ export async function submitDirectMusdVaultDeposit({ await messenger.call('TransactionController:addTransactionBatch', { disableHook: true, disableSequential: true, + disableUpgrade: true, from: moneyAccountAddress, isGasFeeSponsored: true, isInternal: true,