@exodus/ethereum-lib 2.10.2 → 2.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-lib",
3
- "version": "2.10.2",
3
+ "version": "2.10.3",
4
4
  "description": "Ethereum Library",
5
5
  "main": "src/index.js",
6
6
  "author": "Exodus Movement, Inc.",
@@ -24,5 +24,5 @@
24
24
  "peerDependencies": {
25
25
  "@exodus/assets": "8.0.x"
26
26
  },
27
- "gitHead": "a352b5ebc98ee831c4c8c8a5d055d70e15801401"
27
+ "gitHead": "6fbbd59fd2187c76327edd2bd29af04717f2eb72"
28
28
  }
@@ -3,6 +3,7 @@ import { FeeData } from '@exodus/asset-lib'
3
3
  export default new FeeData(
4
4
  {
5
5
  gasPrice: '75 Gwei',
6
+ baseFee: '45 Gwei',
6
7
  max: '250 Gwei',
7
8
  min: '1 Gwei',
8
9
  erc20FuelThreshold: '0.025 ETH',
@@ -17,9 +17,10 @@ export default class EthereumLikeFeeMonitor extends FeeMonitor {
17
17
  this.eip1559Enabled = true
18
18
  }
19
19
 
20
- setEip1559Enabled(bool = true) {
21
- // bool set by remote-config
22
- this.eip1559Enabled = bool
20
+ setEip1559Enabled(eip1559Enabled = true) {
21
+ if (typeof eip1559Enabled === 'boolean') {
22
+ this.eip1559Enabled = eip1559Enabled
23
+ }
23
24
  }
24
25
 
25
26
  async fetchFee() {