@exodus/ethereum-api 8.53.1 → 8.53.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/CHANGELOG.md +18 -0
- package/package.json +4 -4
- package/src/staking/matic/service.js +1 -1
- package/src/tx-send/tx-send.js +7 -5
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.53.3](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.53.2...@exodus/ethereum-api@8.53.3) (2025-10-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @exodus/ethereum-api
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [8.53.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.53.1...@exodus/ethereum-api@8.53.2) (2025-10-01)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
* fix: change Polygon staking delegate default to not wait for confirmation (#6595)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [8.53.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.53.0...@exodus/ethereum-api@8.53.1) (2025-09-30)
|
|
7
25
|
|
|
8
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "8.53.
|
|
3
|
+
"version": "8.53.3",
|
|
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",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@exodus/bip44-constants": "^195.0.0",
|
|
29
29
|
"@exodus/crypto": "^1.0.0-rc.26",
|
|
30
30
|
"@exodus/currency": "^6.0.1",
|
|
31
|
-
"@exodus/ethereum-lib": "^5.18.
|
|
31
|
+
"@exodus/ethereum-lib": "^5.18.1",
|
|
32
32
|
"@exodus/ethereum-meta": "^2.9.1",
|
|
33
33
|
"@exodus/ethereumholesky-meta": "^2.0.5",
|
|
34
34
|
"@exodus/ethereumjs": "^1.8.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@exodus/safe-string": "^1.2.0",
|
|
38
38
|
"@exodus/simple-retry": "^0.0.6",
|
|
39
39
|
"@exodus/solidity-contract": "^1.3.0",
|
|
40
|
-
"@exodus/web3-ethereum-utils": "^4.
|
|
40
|
+
"@exodus/web3-ethereum-utils": "^4.5.1",
|
|
41
41
|
"bn.js": "^5.2.1",
|
|
42
42
|
"delay": "^4.0.1",
|
|
43
43
|
"eventemitter3": "^4.0.7",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"type": "git",
|
|
67
67
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "f6ea2714c95f2e7ec71ffecdc589726b7974511e"
|
|
70
70
|
}
|
|
@@ -68,7 +68,7 @@ export function createPolygonStakingService({
|
|
|
68
68
|
return address.toLowerCase()
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
async function delegate({ walletAccount, amount, feeData, waitForConfirmation =
|
|
71
|
+
async function delegate({ walletAccount, amount, feeData, waitForConfirmation = false } = {}) {
|
|
72
72
|
const [delegatorAddress, { asset, stakingApi }] = await Promise.all([
|
|
73
73
|
getDelegatorAddress({ walletAccount }),
|
|
74
74
|
createStakingApi(),
|
package/src/tx-send/tx-send.js
CHANGED
|
@@ -108,7 +108,7 @@ const txSendFactory = ({ assetClientInterface, createTx }) => {
|
|
|
108
108
|
} else if (nonceTooLowErr && !unsignedTx.txMeta.isHardware) {
|
|
109
109
|
console.info('trying to send again...') // inject logger factory from platform
|
|
110
110
|
// let's try to fix the nonce issue
|
|
111
|
-
const newNonce = await
|
|
111
|
+
const newNonce = await baseAsset.getNonce({
|
|
112
112
|
asset,
|
|
113
113
|
fromAddress,
|
|
114
114
|
walletAccount,
|
|
@@ -116,10 +116,12 @@ const txSendFactory = ({ assetClientInterface, createTx }) => {
|
|
|
116
116
|
forceFromNode: true,
|
|
117
117
|
})
|
|
118
118
|
|
|
119
|
-
unsignedTx.txData.transactionBuffer = updateNonce(
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
119
|
+
unsignedTx.txData.transactionBuffer = updateNonce({
|
|
120
|
+
chainId: baseAsset.chainId,
|
|
121
|
+
transactionBuffer: unsignedTx.txData.transactionBuffer,
|
|
122
|
+
newNonce,
|
|
123
|
+
})
|
|
124
|
+
|
|
123
125
|
nonce = newNonce
|
|
124
126
|
;({ txId, rawTx } = await signTx({ asset, unsignedTx, walletAccount }))
|
|
125
127
|
|