From a7469726cad916fa737e1925759fd523739c7413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Crist=C3=B3v=C3=A3o=20Honorato?= Date: Mon, 16 Dec 2024 16:18:25 +0100 Subject: [PATCH] fix: ensure addresse fields on txService request are checksummed --- src/execute/execute.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/execute/execute.ts b/src/execute/execute.ts index 305fa60..9981463 100644 --- a/src/execute/execute.ts +++ b/src/execute/execute.ts @@ -124,7 +124,7 @@ export const execute = async ( const apiKit = initApiKit(chain) await apiKit.proposeTransaction({ - safeAddress: safe, + safeAddress: getAddress(safe), safeTransactionData: { ...safeTransaction, // The Safe tx service requires checksummed addresses @@ -136,7 +136,7 @@ export const execute = async ( gasPrice: String(safeTransaction.gasPrice), }, safeTxHash, - senderAddress: proposer, + senderAddress: getAddress(proposer), senderSignature: signature, origin, })