@exodus/ethereum-api 8.31.0 → 8.31.2
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
|
+
## [8.31.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.31.1...@exodus/ethereum-api@8.31.2) (2025-02-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix: ensure this is honored (#5125)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [8.31.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.31.0...@exodus/ethereum-api@8.31.1) (2025-02-26)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* fix: add assetId to evm metas (#5120)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [8.31.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.30.0...@exodus/ethereum-api@8.31.0) (2025-02-21)
|
|
7
27
|
|
|
8
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "8.31.
|
|
3
|
+
"version": "8.31.2",
|
|
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",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"@exodus/crypto": "^1.0.0-rc.13",
|
|
30
30
|
"@exodus/currency": "^6.0.1",
|
|
31
31
|
"@exodus/ethereum-lib": "^5.9.0",
|
|
32
|
-
"@exodus/ethereum-meta": "^2.
|
|
33
|
-
"@exodus/ethereumholesky-meta": "^2.0.
|
|
32
|
+
"@exodus/ethereum-meta": "^2.2.2",
|
|
33
|
+
"@exodus/ethereumholesky-meta": "^2.0.2",
|
|
34
34
|
"@exodus/ethereumjs": "^1.0.0",
|
|
35
35
|
"@exodus/fetch": "^1.3.0",
|
|
36
36
|
"@exodus/models": "^12.0.1",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@exodus/assets-testing": "^1.0.0",
|
|
53
|
-
"@exodus/bsc-meta": "^2.1.
|
|
54
|
-
"@exodus/ethereumarbone-meta": "^2.0.
|
|
55
|
-
"@exodus/ethereumgoerli-meta": "^2.0.
|
|
56
|
-
"@exodus/ethereumsepolia-meta": "^2.0.
|
|
57
|
-
"@exodus/fantommainnet-meta": "^2.0.
|
|
58
|
-
"@exodus/rootstock-meta": "^2.0.
|
|
53
|
+
"@exodus/bsc-meta": "^2.1.2",
|
|
54
|
+
"@exodus/ethereumarbone-meta": "^2.0.3",
|
|
55
|
+
"@exodus/ethereumgoerli-meta": "^2.0.1",
|
|
56
|
+
"@exodus/ethereumsepolia-meta": "^2.0.1",
|
|
57
|
+
"@exodus/fantommainnet-meta": "^2.0.2",
|
|
58
|
+
"@exodus/rootstock-meta": "^2.0.3"
|
|
59
59
|
},
|
|
60
60
|
"bugs": {
|
|
61
61
|
"url": "https://github.com/ExodusMovement/assets/issues?q=is%3Aissue+is%3Aopen+label%3Aethereum-api"
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"type": "git",
|
|
65
65
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "d6e4676a7a54f1f2a7a19b6d26d4a42bf433d320"
|
|
68
68
|
}
|
|
@@ -28,6 +28,7 @@ export const createAssetPluginFactory = (config) => {
|
|
|
28
28
|
// adds lots of validation in config
|
|
29
29
|
const tokenOverrides = (token) => ({
|
|
30
30
|
...token,
|
|
31
|
+
assetId: token.addresses.current.toLowerCase(),
|
|
31
32
|
assetType: tokenType,
|
|
32
33
|
contract: token.addresses,
|
|
33
34
|
gasLimit: meta.gasLimit || 120e3,
|
|
@@ -61,7 +61,7 @@ export class EthereumStaking {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
const eth = this.server || getServerByName(this.asset.name)
|
|
64
|
-
return retry(eth.ethCall, { delayTimesMs: RETRY_DELAYS })(data)
|
|
64
|
+
return retry((...args) => eth.ethCall(...args), { delayTimesMs: RETRY_DELAYS })(data)
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
// === ACCOUNTING ===
|
package/src/staking/matic/api.js
CHANGED
|
@@ -41,7 +41,7 @@ export class MaticStakingApi {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
const eth = this.server || getServerByName('ethereum')
|
|
44
|
-
return retry(eth.ethCall, { delayTimesMs: RETRY_DELAYS })(data)
|
|
44
|
+
return retry((...args) => eth.ethCall(...args), { delayTimesMs: RETRY_DELAYS })(data)
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
getWithdrawalDelay = async () => {
|