From f09f20da47396456350d26610dabd2e2641a5a98 Mon Sep 17 00:00:00 2001 From: Dhruv Kelawala Date: Thu, 23 Jan 2025 14:09:02 +0000 Subject: [PATCH] fix: pass signerDetails to fix estimateFeeBulk (#1299) --- src/account/default.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/account/default.ts b/src/account/default.ts index ad15db5e8..09d945c41 100644 --- a/src/account/default.ts +++ b/src/account/default.ts @@ -990,6 +990,7 @@ export class Account extends Provider implements AccountInterface { return { ...common, ...payload, + ...signerDetails, }; } if (transaction.type === TransactionType.DEPLOY) { @@ -1003,6 +1004,7 @@ export class Account extends Provider implements AccountInterface { return { ...common, ...payload, + ...signerDetails, type: TransactionType.INVOKE, }; } @@ -1016,6 +1018,7 @@ export class Account extends Provider implements AccountInterface { return { ...common, ...payload, + ...signerDetails, }; } if (transaction.type === TransactionType.DEPLOY_ACCOUNT) { @@ -1028,6 +1031,7 @@ export class Account extends Provider implements AccountInterface { return { ...common, ...payload, + ...signerDetails, }; } throw Error(`accountInvocationsFactory: unsupported transaction type: ${transaction}`);