@mainsail/evm 0.0.1-evm.51 → 0.0.1-evm.53
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.lock +5922 -0
- package/Cargo.toml +34 -0
- package/bindings/Cargo.toml +33 -0
- package/bindings/build.rs +6 -0
- package/bindings/src/ctx.rs +667 -0
- package/bindings/src/lib.rs +2231 -0
- package/bindings/src/logger.rs +110 -0
- package/bindings/src/result.rs +542 -0
- package/bindings/src/utils.rs +71 -0
- package/core/Cargo.toml +36 -0
- package/core/src/account.rs +112 -0
- package/core/src/bytecode.rs +39 -0
- package/core/src/compression.rs +158 -0
- package/core/src/db.rs +3311 -0
- package/core/src/events.rs +9 -0
- package/core/src/historical.rs +544 -0
- package/core/src/legacy.rs +153 -0
- package/core/src/lib.rs +14 -0
- package/core/src/logger.rs +98 -0
- package/core/src/logs_bloom.rs +96 -0
- package/core/src/precompiles.rs +450 -0
- package/core/src/receipt.rs +153 -0
- package/core/src/state_changes.rs +122 -0
- package/core/src/state_commit.rs +615 -0
- package/core/src/state_root.rs +266 -0
- package/index.d.ts +1 -0
- package/index.js +52 -52
- package/package.json +5 -4
- package/scripts/postinstall.mjs +73 -0
package/Cargo.toml
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "2"
|
|
3
|
+
members = ["core", "bindings"]
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
version = "0.1.0"
|
|
7
|
+
rust-version = "1.93"
|
|
8
|
+
edition = "2024"
|
|
9
|
+
license = "GPL-3.0-only"
|
|
10
|
+
authors = [""]
|
|
11
|
+
|
|
12
|
+
[workspace.dependencies]
|
|
13
|
+
anyhow = { version = "1.0.99" }
|
|
14
|
+
bincode = { version = "1.3.3" }
|
|
15
|
+
ethers-contract = { version = "2.0.14" }
|
|
16
|
+
ethers-core = { version = "2.0.14" }
|
|
17
|
+
ethers-providers = { version = "2.0.14" }
|
|
18
|
+
revm = { version = "40.0.2", features = ["alloydb", "serde", "serde-json"] }
|
|
19
|
+
alloy-sol-types = { version = "1.5.7", default-features = false, features = [
|
|
20
|
+
"std",
|
|
21
|
+
] }
|
|
22
|
+
alloy-primitives = { version = "1.5.7", default-features = false, features = [
|
|
23
|
+
"rlp",
|
|
24
|
+
"map",
|
|
25
|
+
] }
|
|
26
|
+
alloy-provider = { version = "2.0.0", default-features = false }
|
|
27
|
+
serde = { version = "1.0", features = ["derive"] }
|
|
28
|
+
serde_json = "1.0"
|
|
29
|
+
thiserror = { version = "1.0" }
|
|
30
|
+
tokio = { version = "1.50" }
|
|
31
|
+
|
|
32
|
+
[profile.release]
|
|
33
|
+
lto = true
|
|
34
|
+
strip = "symbols"
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "mainsail_evm_bindings"
|
|
3
|
+
version.workspace = true
|
|
4
|
+
rust-version.workspace = true
|
|
5
|
+
edition.workspace = true
|
|
6
|
+
license.workspace = true
|
|
7
|
+
authors.workspace = true
|
|
8
|
+
|
|
9
|
+
[lib]
|
|
10
|
+
crate-type = ["cdylib"]
|
|
11
|
+
|
|
12
|
+
[dependencies]
|
|
13
|
+
anyhow = { workspace = true }
|
|
14
|
+
ethers-contract = { workspace = true }
|
|
15
|
+
ethers-core = { workspace = true }
|
|
16
|
+
ethers-providers = { workspace = true }
|
|
17
|
+
revm = { workspace = true, features = ["serde"] }
|
|
18
|
+
serde = { workspace = true }
|
|
19
|
+
serde_json = { workspace = true }
|
|
20
|
+
tokio = { workspace = true }
|
|
21
|
+
|
|
22
|
+
napi = { version = "3.4.0", default-features = false, features = [
|
|
23
|
+
"anyhow",
|
|
24
|
+
"napi9",
|
|
25
|
+
"serde-json",
|
|
26
|
+
"tokio_rt",
|
|
27
|
+
] }
|
|
28
|
+
napi-derive = "3.3.0"
|
|
29
|
+
|
|
30
|
+
mainsail_evm_core = { path = "../core", version = "0.1.0" }
|
|
31
|
+
|
|
32
|
+
[build-dependencies]
|
|
33
|
+
napi-build = "2.2.4"
|