@exodus/ethereum-api 8.58.0 → 8.59.0

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,24 @@
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
+ ## [8.59.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.57.0...@exodus/ethereum-api@8.59.0) (2025-11-10)
7
+
8
+
9
+ ### Features
10
+
11
+
12
+ * feat: enable implicit transaction bumps (#6798)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+
18
+ * fix: correct response to insufficient evm nonce during txSend (#6901)
19
+
20
+ * fix: enable replacement transaction underpriced errors to satisfy evm transaction existence checks (#6900)
21
+
22
+
23
+
6
24
  ## [8.58.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.57.0...@exodus/ethereum-api@8.58.0) (2025-11-10)
7
25
 
8
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "8.58.0",
3
+ "version": "8.59.0",
4
4
  "description": "Transaction monitors, fee monitors, RPC with the blockchain node, and other networking code for Ethereum and EVM-based blockchains",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -67,5 +67,5 @@
67
67
  "type": "git",
68
68
  "url": "git+https://github.com/ExodusMovement/assets.git"
69
69
  },
70
- "gitHead": "e56c423be0eaf19f1396830fbafd13ab64efa465"
70
+ "gitHead": "94c7625c1fb029ef261d0ef61e32c7c66d359812"
71
71
  }
@@ -59,11 +59,19 @@ const txSendFactory = ({ assetClientInterface, createTx }) => {
59
59
  try {
60
60
  await baseAsset.api.broadcastTx(rawTx.toString('hex'))
61
61
  } catch (err) {
62
+ const transactionUnderpricedErr = err.message.match(/transaction underpriced/i)
62
63
  const nonceTooLowErr = err.message.match(/nonce (is |)too low/i)
63
64
  const insufficientFundsErr = err.message.match(/insufficient funds/i)
64
- const txAlreadyExists = nonceTooLowErr
65
- ? await transactionExists({ asset, txId })
66
- : err.message.match(/already known/i) || err.message.match(/transaction already imported/i)
65
+
66
+ // NOTE: We've found that `geth` can return the following errors
67
+ // for transactions which may be already known. In this
68
+ // case, we validate that the transaction is known to the
69
+ // network.
70
+ const txAlreadyExists =
71
+ nonceTooLowErr || transactionUnderpricedErr
72
+ ? await transactionExists({ asset, txId })
73
+ : err.message.match(/already known/i) ||
74
+ err.message.match(/transaction already imported/i)
67
75
 
68
76
  if (txAlreadyExists) {
69
77
  console.info('tx already broadcast') // inject logger factory from platform