From 9ba6cac287c80e9541de1235279d3b0e1e868f90 Mon Sep 17 00:00:00 2001 From: Gerhard Steenkamp Date: Thu, 2 Jan 2025 14:39:24 +0200 Subject: [PATCH] add methodName --- api/swap/auth/_utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/swap/auth/_utils.ts b/api/swap/auth/_utils.ts index 410a7db35..d1473ef4a 100644 --- a/api/swap/auth/_utils.ts +++ b/api/swap/auth/_utils.ts @@ -154,11 +154,11 @@ export async function buildAuthTxPayload({ transferWithAuthorization: authTypedData.eip712, deposit: depositTypedData.eip712, }, + swapTx: { chainId: originChainId, to: entryPointContract.address, - argsWithoutSignatures: - methodNameAndArgsWithoutSignatures.argsWithoutSignatures, + ...methodNameAndArgsWithoutSignatures, }, }; }