@exodus/ethereum-lib 5.7.0 → 5.8.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/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.8.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.8.0...@exodus/ethereum-lib@5.8.1) (2024-12-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: remove gasPriceEconomicalRate (#4659)
13
+
14
+
15
+
16
+ ## [5.8.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.7.0...@exodus/ethereum-lib@5.8.0) (2024-12-09)
17
+
18
+
19
+ ### Features
20
+
21
+
22
+ * feat: migrate ethereum arbnova to be indexless (#4642)
23
+
24
+
25
+
6
26
  ## [5.7.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.6.0...@exodus/ethereum-lib@5.7.0) (2024-10-29)
7
27
 
8
28
 
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @exodus/ethereum-lib
2
+
3
+ Ethereum utils, such as for cryptography, address encoding/decoding, transaction building, etc. See [Asset Packages](../../docs/asset-packages.md) for more detail on this package's role.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-lib",
3
- "version": "5.7.0",
4
- "description": "Ethereum Library",
3
+ "version": "5.8.1",
4
+ "description": "Ethereum utils, such as for cryptography, address encoding/decoding, transaction building, etc.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "files": [
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@exodus/basic-utils": "^3.0.1",
25
- "@exodus/currency": "^5.0.2",
25
+ "@exodus/currency": "^6.0.1",
26
26
  "@exodus/ethereumjs": "^1.2.0",
27
27
  "@exodus/key-utils": "^3.7.0",
28
28
  "@exodus/models": "^12.0.1",
@@ -51,5 +51,5 @@
51
51
  "type": "git",
52
52
  "url": "git+https://github.com/ExodusMovement/assets.git"
53
53
  },
54
- "gitHead": "24fdca197cb82cfb999348146080364ff9b78c34"
54
+ "gitHead": "2a5e9f37cb3694f7fc17f8760c69cbccda13e462"
55
55
  }
package/src/constants.js CHANGED
@@ -58,9 +58,9 @@ const CHAIN_DATA = {
58
58
  },
59
59
  ethereumarbnova: {
60
60
  chainId: 42_170,
61
- serverUrl: 'https://arbitrum-nova-clarity.a.exodus.io',
61
+ serverUrl: 'https://nova.arbitrum.io/rpc',
62
62
  confirmationsNumber: 3,
63
- monitorType: 'clarity',
63
+ monitorType: 'no-history',
64
64
  },
65
65
  ethereumarbone: {
66
66
  chainId: 42_161,
@@ -130,13 +130,9 @@ export const canAccelerateTx = ({
130
130
  if (isQueuedPendingTx(tx, baseAssetName, activeWalletAccount, getTxLog))
131
131
  return wrapResponseToObject({ errorMessage: 'there is a stuck TX with lower nonce' })
132
132
 
133
- const {
134
- gasPrice: currentGasPrice,
135
- gasPriceEconomicalRate,
136
- eip1559Enabled,
137
- } = getFeeData(assetName)
133
+ const { gasPrice: currentGasPrice, eip1559Enabled } = getFeeData(assetName)
138
134
 
139
- if (calculateTxGasPrice(tx).gte(currentGasPrice.mul(gasPriceEconomicalRate)))
135
+ if (calculateTxGasPrice(tx).gte(currentGasPrice))
140
136
  return wrapResponseToObject({ errorMessage: 'the used gas price is still high enough' })
141
137
 
142
138
  const { bumpedGasPrice: gasPriceToUse } = calculateBumpedGasPrice({