From b0791215a7bd81b920bee4f7c8624f69a764b234 Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Thu, 10 Sep 2026 07:36:18 -0600 Subject: [PATCH] Ignore TS2589 error in MultichainTransactionController For some reason, we are getting a "Type instantiation is excessively deep and possibly infinite" error in `MultichainTransactionController` when we attempt to update state. This is a common error we've received in other controllers, and we have yet to determine the cause. In the meantime we use `@ts-ignore` to bypass it so that it doesn't cause build issues. --- .../src/MultichainTransactionsController.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/multichain-transactions-controller/src/MultichainTransactionsController.ts b/packages/multichain-transactions-controller/src/MultichainTransactionsController.ts index 92fd043768b..9792b7a9946 100644 --- a/packages/multichain-transactions-controller/src/MultichainTransactionsController.ts +++ b/packages/multichain-transactions-controller/src/MultichainTransactionsController.ts @@ -313,6 +313,10 @@ export class MultichainTransactionsController extends BaseController< } chainUpdates.forEach(({ chain, entry }) => { + // Using `@ts-ignore` instead of `@ts-expect-error` since this error + // comes and goes after unrelated changes. + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore: TS2589: Type instantiation is excessively deep and possibly infinite. state.nonEvmTransactions[account.id][chain as CaipChainId] = entry; }); });