gokite-aa-sdk 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -428,9 +428,9 @@ class GokiteAASDK {
428
428
  gasEstimate.callGasLimit = gasEstimate.callGasLimit + 5000000n;
429
429
  gasEstimate.verificationGasLimit = gasEstimate.verificationGasLimit + 1000000n;
430
430
  gasEstimate.preVerificationGas = gasEstimate.preVerificationGas + 1000000n;
431
- const maxFeePerGas = BigInt(10000000); // 0.001 gwei
432
- const maxPriorityFeePerGas = BigInt(1); // 1 wei
433
- userOp.gasFees = (0, utils_1.packAccountGasLimits)(maxPriorityFeePerGas, maxFeePerGas);
431
+ gasEstimate.maxFeePerGas = BigInt(100000000);
432
+ gasEstimate.maxPriorityFeePerGas = BigInt(1);
433
+ userOp.gasFees = (0, utils_1.packAccountGasLimits)(gasEstimate.maxPriorityFeePerGas, gasEstimate.maxFeePerGas);
434
434
  // Pack gas limits and fees (note: verificationGasLimit first, callGasLimit second)
435
435
  userOp.accountGasLimits = (0, utils_1.packAccountGasLimits)(gasEstimate.verificationGasLimit, gasEstimate.callGasLimit);
436
436
  userOp.preVerificationGas = gasEstimate.preVerificationGas;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gokite-aa-sdk",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Simple and clean Account Abstraction SDK for Gokite",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",