@exodus/ethereum-api 8.76.0 → 8.76.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 +10 -0
- package/package.json +2 -2
- package/src/error-wrapper.js +8 -2
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
|
+
## [8.76.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.76.0...@exodus/ethereum-api@8.76.1) (2026-05-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix(ethereum-api): classify Cosmos-EVM AnteHandler nonce errors as nonceTooLow (#8130)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
## [8.76.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.75.1...@exodus/ethereum-api@8.76.0) (2026-05-25)
|
|
7
17
|
|
|
8
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "8.76.
|
|
3
|
+
"version": "8.76.1",
|
|
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",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"type": "git",
|
|
71
71
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "50c5568a3fb1663b61344b18a044ebc69bfd45f0"
|
|
74
74
|
}
|
package/src/error-wrapper.js
CHANGED
|
@@ -146,9 +146,15 @@ const EVM_NORMALIZATION_PATTERNS = [
|
|
|
146
146
|
pattern: /(insufficient funds for gas \* price \+ value|insufficient funds(?!.*balance))/i,
|
|
147
147
|
errorInfo: EVM_ERROR_REASONS.insufficientFundsForGas,
|
|
148
148
|
},
|
|
149
|
-
//
|
|
149
|
+
// Nonce already used. Two flavors:
|
|
150
|
+
// - geth: "nonce too low" / "nonce is too low"
|
|
151
|
+
// - Cosmos-EVM / Ethermint AnteHandler (e.g. Cronos):
|
|
152
|
+
// "invalid nonce; got X, expected Y: invalid sequence: invalid sequence"
|
|
153
|
+
// surfaces from load-balancer node drift (chain ahead of read node).
|
|
154
|
+
// The retry path in tx-send.js bumps to max(nodeNonce, triedNonce + 1)
|
|
155
|
+
// and re-broadcasts. See exodus-desktop#19535.
|
|
150
156
|
{
|
|
151
|
-
pattern:
|
|
157
|
+
pattern: /(\bnonce\b.*\btoo low\b|invalid nonce.*invalid sequence)/i,
|
|
152
158
|
errorInfo: EVM_ERROR_REASONS.nonceTooLow,
|
|
153
159
|
},
|
|
154
160
|
// Comprehensive insufficient balance / transfer exceeds balance pattern (TOKEN balance issues)
|