@appliedblockchain/silentdatarollup-core 1.0.2 → 1.0.3

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.
@@ -511,6 +511,9 @@ var CustomContractRunner = class {
511
511
  "latest"
512
512
  );
513
513
  tx.nonce = latestNonce;
514
+ if (!tx.gasLimit) {
515
+ tx.gasLimit = await this.provider.estimateGas(tx);
516
+ }
514
517
  return this.signer.sendTransaction(tx);
515
518
  }
516
519
  };
package/dist/index.js CHANGED
@@ -573,6 +573,9 @@ var CustomContractRunner = class {
573
573
  "latest"
574
574
  );
575
575
  tx.nonce = latestNonce;
576
+ if (!tx.gasLimit) {
577
+ tx.gasLimit = await this.provider.estimateGas(tx);
578
+ }
576
579
  return this.signer.sendTransaction(tx);
577
580
  }
578
581
  };
package/dist/index.mjs CHANGED
@@ -30,7 +30,7 @@ import {
30
30
  signAuthHeaderTypedData,
31
31
  signRawDelegateHeader,
32
32
  signTypedDelegateHeader
33
- } from "./chunk-XU34XEI3.mjs";
33
+ } from "./chunk-LTOM4BOX.mjs";
34
34
  export {
35
35
  ChainId,
36
36
  DEBUG_NAMESPACE,
package/dist/tests.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "./chunk-XU34XEI3.mjs";
1
+ import "./chunk-LTOM4BOX.mjs";
2
2
 
3
3
  // tests/utils/mocked-custom-grpc.ts
4
4
  import http from "http";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appliedblockchain/silentdatarollup-core",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Core library for Silent Data [Rollup]",
5
5
  "author": "Applied Blockchain",
6
6
  "homepage": "https://github.com/appliedblockchain/silent-data-rollup-providers#readme",