Skip to content

Commit

Permalink
default pnd 0x
Browse files Browse the repository at this point in the history
  • Loading branch information
livingrockrises committed Nov 15, 2023
1 parent b62c506 commit 950e4d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/account/src/BiconomySmartAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ export class BiconomySmartAccount extends SmartAccount implements IBiconomySmart

// Note: Can change the default behaviour of calling estimations using bundler/local
userOp = await this.estimateUserOpGas({ userOp, overrides, skipBundlerGasEstimation, paymasterServiceData });
userOp.paymasterAndData = userOp.paymasterAndData ?? "0x";
Logger.log("UserOp after estimation ", userOp);

return userOp;
Expand Down
1 change: 1 addition & 0 deletions packages/account/src/BiconomySmartAccountV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ export class BiconomySmartAccountV2 extends BaseSmartAccount {
skipBundlerGasEstimation: buildUseropDto?.skipBundlerGasEstimation,
paymasterServiceData: buildUseropDto?.paymasterServiceData,
});
userOp.paymasterAndData = userOp.paymasterAndData ?? "0x";
Logger.log("UserOp after estimation ", userOp);

return userOp;
Expand Down

0 comments on commit 950e4d6

Please sign in to comment.