Skip to content

Commit

Permalink
fix: pass signerDetails to fix estimateFeeBulk (#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkelawala authored Jan 23, 2025
1 parent 6984619 commit f09f20d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/account/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,7 @@ export class Account extends Provider implements AccountInterface {
return {
...common,
...payload,
...signerDetails,
};
}
if (transaction.type === TransactionType.DEPLOY) {
Expand All @@ -1003,6 +1004,7 @@ export class Account extends Provider implements AccountInterface {
return {
...common,
...payload,
...signerDetails,
type: TransactionType.INVOKE,
};
}
Expand All @@ -1016,6 +1018,7 @@ export class Account extends Provider implements AccountInterface {
return {
...common,
...payload,
...signerDetails,
};
}
if (transaction.type === TransactionType.DEPLOY_ACCOUNT) {
Expand All @@ -1028,6 +1031,7 @@ export class Account extends Provider implements AccountInterface {
return {
...common,
...payload,
...signerDetails,
};
}
throw Error(`accountInvocationsFactory: unsupported transaction type: ${transaction}`);
Expand Down

0 comments on commit f09f20d

Please sign in to comment.