@exodus/ethereum-lib 5.8.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,16 @@
|
|
|
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
|
+
|
|
6
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)
|
|
7
17
|
|
|
8
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-lib",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.1",
|
|
4
4
|
"description": "Ethereum utils, such as for cryptography, address encoding/decoding, transaction building, etc.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"type": "git",
|
|
52
52
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "2a5e9f37cb3694f7fc17f8760c69cbccda13e462"
|
|
55
55
|
}
|
|
@@ -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
|
|
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({
|