@exodus/ethereum-api 7.3.0 → 7.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "7.3.0",
3
+ "version": "7.3.1",
4
4
  "description": "Ethereum Api",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -57,5 +57,5 @@
57
57
  "cross-fetch": "^3.1.5",
58
58
  "delay": "4.0.1"
59
59
  },
60
- "gitHead": "fc66c4756ed4022ae0889ca063adc0c3a17cbfd3"
60
+ "gitHead": "c09304326cb0fa6a3acd22d87c38553e05e43569"
61
61
  }
@@ -15,7 +15,7 @@ export async function estimateOptimismL1DataFee({ unsignedTx }) {
15
15
  const server = getServerByName('optimism')
16
16
  const hex = await server.ethCall({ to: GAS_ORACLE_ADDRESS, data }, 'latest')
17
17
  const l1DataFee = fromHexToBigInt(hex)
18
- const padFee = l1DataFee / 4n
18
+ const padFee = l1DataFee / BigInt(4)
19
19
  const maxL1DataFee = l1DataFee + padFee
20
20
  return maxL1DataFee.toString()
21
21
  }