@octaflowlabs/onchain-sdk 1.0.0-test13 → 1.0.0-test14

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.
@@ -11,6 +11,7 @@ export const estimateGasLimitFromProvider = async ({ provider, unsignedTx, walle
11
11
  txForEstimation.maxPriorityFeePerGas = feeData.maxPriorityFeePerGas;
12
12
  if (feeData.gasPrice !== undefined && txForEstimation.maxFeePerGas === undefined)
13
13
  txForEstimation.gasPrice = feeData.gasPrice;
14
+ console.log('Estimating gas with transaction:!!!!!! ', txForEstimation);
14
15
  const gasEstimated = await provider.estimateGas(txForEstimation);
15
16
  lastGasEstimated = gasEstimated;
16
17
  let congestionFactor = 1.5;
@@ -14,6 +14,7 @@ const estimateGasLimitFromProvider = async ({ provider, unsignedTx, walletAddres
14
14
  txForEstimation.maxPriorityFeePerGas = feeData.maxPriorityFeePerGas;
15
15
  if (feeData.gasPrice !== undefined && txForEstimation.maxFeePerGas === undefined)
16
16
  txForEstimation.gasPrice = feeData.gasPrice;
17
+ console.log('Estimating gas with transaction:!!!!!! ', txForEstimation);
17
18
  const gasEstimated = await provider.estimateGas(txForEstimation);
18
19
  lastGasEstimated = gasEstimated;
19
20
  let congestionFactor = 1.5;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octaflowlabs/onchain-sdk",
3
- "version": "1.0.0-test13",
3
+ "version": "1.0.0-test14",
4
4
  "description": "onchain methods for web3",
5
5
  "repository": "https://github.com/crisramb665/onchain-sdk.git",
6
6
  "license": "MIT",