@nomicfoundation/edr 0.12.0-alpha.0 → 0.12.0-next.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/Cargo.toml CHANGED
@@ -1,38 +1,71 @@
1
1
  [package]
2
2
  name = "edr_napi"
3
- version = "0.3.5"
3
+ version.workspace = true
4
4
  edition.workspace = true
5
5
 
6
6
  [lib]
7
7
  crate-type = ["cdylib"]
8
8
 
9
9
  [dependencies]
10
- alloy-dyn-abi = { version = "0.8.22", default-features = false, features = ["eip712", "std"] }
11
- alloy-json-abi = { version = "0.8.22", default-features = false }
12
- alloy-sol-types = { version = "0.8.22", default-features = false, features = ["std"] }
13
- derive-where = { version = "1.2.7", default-features = false }
10
+ alloy-dyn-abi.workspace = true
11
+ alloy-json-abi.workspace = true
12
+ alloy-sol-types.workspace = true
13
+ derive_more.workspace = true
14
+ derive-where.workspace = true
15
+ edr_coverage.workspace = true
16
+ edr_defaults = { path = "../edr_defaults" }
14
17
  edr_eth = { path = "../edr_eth" }
15
18
  edr_evm = { path = "../edr_evm" }
16
19
  edr_generic = { path = "../edr_generic" }
20
+ edr_instrument = { path = "../edr_instrument" }
17
21
  edr_napi_core = { path = "../edr_napi_core" }
18
22
  edr_op = { path = "../edr_op", optional = true }
19
23
  edr_provider = { path = "../edr_provider" }
20
24
  edr_rpc_client = { path = "../edr_rpc_client" }
21
25
  edr_scenarios = { version = "0.3.5", path = "../edr_scenarios", optional = true }
22
- edr_solidity ={ version = "0.3.5", path = "../edr_solidity" }
23
- k256 = { version = "0.13.1", default-features = false, features = ["arithmetic", "ecdsa", "pkcs8" ] }
24
- mimalloc = { version = "0.1.39", default-features = false, features = ["local_dynamic_tls"] }
26
+ edr_solidity = { version = "0.3.5", path = "../edr_solidity" }
27
+ k256 = { version = "0.13.1", default-features = false, features = [
28
+ "arithmetic",
29
+ "ecdsa",
30
+ "pkcs8",
31
+ ] }
32
+ mimalloc = { version = "0.1.39", default-features = false, features = [
33
+ "local_dynamic_tls",
34
+ ] }
25
35
  # The `async` feature ensures that a tokio runtime is available
26
- napi = { version = "2.16.17", default-features = false, features = ["async", "error_anyhow", "napi8", "serde-json"] }
36
+ napi = { version = "2.16.17", default-features = false, features = [
37
+ "async",
38
+ "error_anyhow",
39
+ "napi8",
40
+ "serde-json",
41
+ ] }
27
42
  napi-derive = "2.16.13"
28
43
  rand = { version = "0.8.4", optional = true }
29
- serde = { version = "1.0.209", features = ["derive"] }
30
- serde_json = { version = "1.0.127" }
44
+ semver = "1.0.22"
45
+ serde.workspace = true
46
+ serde_json.workspace = true
31
47
  static_assertions = "1.1.0"
32
48
  strum = { version = "0.26.0", features = ["derive"] }
49
+ thiserror = { version = "1.0.37", default-features = false }
33
50
  tracing = { version = "0.1.37", default-features = false, features = ["std"] }
34
- tracing-flame = { version = "0.2.0", default-features = false, features = ["smallvec"] }
35
- tracing-subscriber = { version = "0.3.18", default-features = false, features = ["ansi", "env-filter", "fmt", "parking_lot", "smallvec", "std"] }
51
+ tracing-flame = { version = "0.2.0", default-features = false, features = [
52
+ "smallvec",
53
+ ] }
54
+ tracing-subscriber = { version = "0.3.18", default-features = false, features = [
55
+ "ansi",
56
+ "env-filter",
57
+ "fmt",
58
+ "parking_lot",
59
+ "smallvec",
60
+ "std",
61
+ ] }
62
+
63
+ # Solidity tests
64
+ edr_solidity_tests.workspace = true
65
+ foundry-cheatcodes.workspace = true
66
+ foundry-compilers.workspace = true
67
+ edr_common.workspace = true
68
+ tempfile = "3.10.1"
36
69
 
37
70
  [target.x86_64-unknown-linux-gnu.dependencies]
38
71
  openssl-sys = { version = "0.9.93", features = ["vendored"] }
@@ -53,9 +86,7 @@ napi-build = "2.0.1"
53
86
  op = ["dep:edr_op"]
54
87
  scenarios = ["dep:edr_scenarios", "dep:rand"]
55
88
  tracing = ["edr_evm/tracing", "edr_napi_core/tracing", "edr_provider/tracing"]
56
-
57
- [profile.release]
58
- lto = true
89
+ test-mock = []
59
90
 
60
91
  [lints]
61
92
  workspace = true
package/LICENSE CHANGED
@@ -1,6 +1,10 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Nomic Foundation
3
+ Copyright (c) 2021 Nomic Foundation. The solidity tests feature of this work
4
+ is based on and modifies Foundry, which is licensed under the MIT license,
5
+ copyright (c) 2021 Georgios Konstantopoulos. Documentation for the solidity
6
+ tests feature is based on Foundry Book which is copyright (c) 2021 Oliver
7
+ Nordbjerg.
4
8
 
5
9
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
10
  of this software and associated documentation files (the "Software"), to deal