@nomicfoundation/edr 0.2.1 → 0.3.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/package.json +10 -10
- package/src/provider/config.rs +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomicfoundation/edr",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"node": ">= 18"
|
|
44
44
|
},
|
|
45
45
|
"optionalDependencies": {
|
|
46
|
-
"@nomicfoundation/edr-win32-x64-msvc": "0.
|
|
47
|
-
"@nomicfoundation/edr-darwin-x64": "0.
|
|
48
|
-
"@nomicfoundation/edr-linux-x64-gnu": "0.
|
|
49
|
-
"@nomicfoundation/edr-darwin-arm64": "0.
|
|
50
|
-
"@nomicfoundation/edr-win32-arm64-msvc": "0.
|
|
51
|
-
"@nomicfoundation/edr-linux-arm64-gnu": "0.
|
|
52
|
-
"@nomicfoundation/edr-linux-arm64-musl": "0.
|
|
53
|
-
"@nomicfoundation/edr-linux-x64-musl": "0.
|
|
54
|
-
"@nomicfoundation/edr-win32-ia32-msvc": "0.
|
|
46
|
+
"@nomicfoundation/edr-win32-x64-msvc": "0.3.1",
|
|
47
|
+
"@nomicfoundation/edr-darwin-x64": "0.3.1",
|
|
48
|
+
"@nomicfoundation/edr-linux-x64-gnu": "0.3.1",
|
|
49
|
+
"@nomicfoundation/edr-darwin-arm64": "0.3.1",
|
|
50
|
+
"@nomicfoundation/edr-win32-arm64-msvc": "0.3.1",
|
|
51
|
+
"@nomicfoundation/edr-linux-arm64-gnu": "0.3.1",
|
|
52
|
+
"@nomicfoundation/edr-linux-arm64-musl": "0.3.1",
|
|
53
|
+
"@nomicfoundation/edr-linux-x64-musl": "0.3.1",
|
|
54
|
+
"@nomicfoundation/edr-win32-ia32-msvc": "0.3.1"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"artifacts": "napi artifacts",
|
package/src/provider/config.rs
CHANGED
|
@@ -212,7 +212,7 @@ impl TryFrom<ProviderConfig> for edr_provider::ProviderConfig {
|
|
|
212
212
|
spec_id,
|
|
213
213
|
}| {
|
|
214
214
|
let block_number = block_number.try_cast()?;
|
|
215
|
-
let spec_id = spec_id.
|
|
215
|
+
let spec_id = spec_id.into();
|
|
216
216
|
|
|
217
217
|
Ok((block_number, spec_id))
|
|
218
218
|
},
|
|
@@ -246,7 +246,7 @@ impl TryFrom<ProviderConfig> for edr_provider::ProviderConfig {
|
|
|
246
246
|
coinbase: value.coinbase.try_cast()?,
|
|
247
247
|
fork: value.fork.map(TryInto::try_into).transpose()?,
|
|
248
248
|
genesis_accounts: HashMap::new(),
|
|
249
|
-
hardfork: value.hardfork.
|
|
249
|
+
hardfork: value.hardfork.into(),
|
|
250
250
|
initial_base_fee_per_gas: value
|
|
251
251
|
.initial_base_fee_per_gas
|
|
252
252
|
.map(TryCast::try_cast)
|