@rabby-wallet/gnosis-sdk 1.4.5-alpha.1 → 1.4.5

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.
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import SafeApiKit from "@safe-global/api-kit";
6
6
  // import { getTransactionServiceUrl } from "@safe-global/api-kit/dist/src/utils/config";
7
7
  import { getSafeSingletonDeployment } from "@safe-global/safe-deployments";
8
8
  import RequestProvider, { getTxServiceUrl } from "./api";
9
- import { estimateGasForTransactionExecution, generatePreValidatedSignature, generateSignature, sameString, standardizeSafeTransactionData, } from "./utils";
9
+ import { generatePreValidatedSignature, generateSignature, sameString, standardizeSafeTransactionData, } from "./utils";
10
10
  class Safe {
11
11
  constructor(safeAddress, version, provider, network = "1") {
12
12
  this.owners = [];
@@ -225,9 +225,13 @@ class Safe {
225
225
  throw new Error("Not enough Ether funds");
226
226
  }
227
227
  }
228
- const gasLimit = await estimateGasForTransactionExecution(contract, signerAddress, safeTransaction);
228
+ // const gasLimit = await estimateGasForTransactionExecution(
229
+ // contract,
230
+ // signerAddress,
231
+ // safeTransaction
232
+ // );
229
233
  const executionOptions = {
230
- gasLimit,
234
+ gasLimit: 0,
231
235
  gasPrice: options?.gasPrice,
232
236
  from: signerAddress,
233
237
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/gnosis-sdk",
3
- "version": "1.4.5-alpha.1",
3
+ "version": "1.4.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -331,13 +331,13 @@ class Safe {
331
331
  }
332
332
  }
333
333
 
334
- const gasLimit = await estimateGasForTransactionExecution(
335
- contract,
336
- signerAddress,
337
- safeTransaction
338
- );
334
+ // const gasLimit = await estimateGasForTransactionExecution(
335
+ // contract,
336
+ // signerAddress,
337
+ // safeTransaction
338
+ // );
339
339
  const executionOptions: TransactionOptions = {
340
- gasLimit,
340
+ gasLimit: 0,
341
341
  gasPrice: options?.gasPrice,
342
342
  from: signerAddress,
343
343
  };