-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathCargo.toml
More file actions
181 lines (173 loc) · 9.75 KB
/
Copy pathCargo.toml
File metadata and controls
181 lines (173 loc) · 9.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
[workspace]
default-members = ["crates/relay"]
members = ["crates/admin", "crates/builder", "crates/common", "crates/data-api", "crates/database", "crates/relay", "crates/simulator", "crates/tcp-types", "crates/types", "crates/test-harness", "crates/website", "crates/operator"]
resolver = "2"
[workspace.package]
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/gattaca-com/helix"
rust-version = "1.96.0"
version = "0.0.1"
[workspace.dependencies]
alloy-consensus = { version = "2.1.1", default-features = false, features = ["k256"] }
alloy-eips = { version = "2.1.1", default-features = false, features = ["kzg"] }
alloy-primitives = { version = "1.6.1", features = ["getrandom", "k256"] }
alloy-rlp = { version = "0.3.16", default-features = false, features = ["core-net"] }
alloy-rpc-types = { version = "2.1.1", default-features = false, features = ["beacon", "engine", "ssz"] }
alloy-serde = "2.1.1"
alloy-signer = { version = "2.1.1" }
alloy-signer-local = { version = "2.1.1" }
alloy-sol-types = { version = "1.6.1", default-features = false }
askama = "0.12.0"
async-channel = "2.5.0"
async-trait = "0.1"
axum = { version = "0.8", features = ["matched-path", "ws"] }
backtrace = "0.3.69"
bitflags = { version = "2.10.0", features = ["serde"] }
blst = { version = "0.3.16", features = ["no-threads"] }
bytes = "1.10"
chrono = { features = ["serde"], version = "0.4.38" }
clap = { version = "4.5", features = ["derive"] }
core_affinity = "0.8.3"
criterion = "0.7.0"
crossbeam-channel = "0.5.15"
dashmap = { version = "5.5.3", features = [] }
deadpool-postgres = "0.11.0"
derive_more = { version = "2", default-features = false, features = ["full"] }
ethereum_serde_utils = "0.8"
ethereum_ssz = "0.10"
ethereum_ssz_derive = "0.10"
ethers = "2.0.14"
# ethrex embedded node (helix-builder), pinned by rev.
# NOTE: the `ethrex` cmd-lib is deliberately NOT a dependency: it force-enables
# ethrex-crypto's `aws-lc-rs` feature, whose cc >=1.2.26 requirement conflicts with
# reth-mdbx-sys's exact `cc = 1.2.15` pin (via helix-simulator). The node is
# assembled from the library crates instead.
ethrex-blockchain = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", default-features = false, features = ["secp256k1", "c-kzg", "metrics"] }
ethrex-common = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", default-features = false, features = ["secp256k1", "c-kzg"] }
ethrex-config = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a" }
# default features minus `aws-lc-rs` (see note above); P-256 verify uses the portable fallback
ethrex-crypto = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", default-features = false, features = ["std", "kzg-rs", "secp256k1", "blst", "c-kzg"] }
ethrex-metrics = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a" }
ethrex-p2p = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", features = ["c-kzg", "rocksdb", "metrics"] }
ethrex-rlp = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a" }
ethrex-rpc = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a" }
ethrex-storage = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", features = ["rocksdb"] }
ethrex-vm = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", default-features = false, features = ["secp256k1", "c-kzg"] }
eyre = "0.6.12"
aws-sdk-s3 = "=1.35.0"
clickhouse = "0.14.2"
flate2 = "1.0"
flux = { git = "https://github.com/gattaca-com/flux", rev = "ce40087" }
flux-network = { package = "flux-network", git = "https://github.com/gattaca-com/flux", rev = "ce40087" }
flux-profiler = { package = "flux-profiler", git = "https://github.com/gattaca-com/flux", rev = "ce40087" }
flux-utils = { package = "flux-utils", git = "https://github.com/gattaca-com/flux", rev = "ce40087" }
type-hash = { git = "https://github.com/gattaca-com/flux", rev = "ce40087" }
type-hash-derive = { git = "https://github.com/gattaca-com/flux", rev = "ce40087" }
futures = "0.3"
futures-util = { version = "0.3", features = ["compat"] }
helix-admin = { path = "crates/admin" }
helix-builder = { path = "crates/builder" }
helix-common = { path = "crates/common" }
helix-data-api = { path = "crates/data-api" }
helix-database = { path = "crates/database" }
helix-operator = { path = "crates/operator" }
helix-tcp-types = { path = "./crates/tcp-types" }
helix-types = { path = "./crates/types" }
helix-website = { path = "crates/website" }
hex = "0.4.3"
http = "1.0"
http-body = "1.0"
http-body-util = "0.1.3"
httpmock = "0.7.0"
hyper = "1.1.0"
hyper-util = { version = "0.1", features = ["tokio"] }
jsonrpsee = { version = "0.26.0", features = ["macros", "server"] }
lazy_static = "1.5.0"
lh-bls = { package = "bls", git = "https://github.com/sigp/lighthouse", rev = "f064e9e061997c41658c3544da47627c6db92bc9" }
lh-eth2 = { package = "eth2", git = "https://github.com/sigp/lighthouse", rev = "f064e9e061997c41658c3544da47627c6db92bc9" }
lh-kzg = { package = "kzg", git = "https://github.com/sigp/lighthouse", rev = "f064e9e061997c41658c3544da47627c6db92bc9" }
lh-slot-clock = { package = "slot_clock", git = "https://github.com/sigp/lighthouse", rev = "f064e9e061997c41658c3544da47627c6db92bc9" }
lh-types = { package = "types", git = "https://github.com/sigp/lighthouse", rev = "f064e9e061997c41658c3544da47627c6db92bc9" }
libp2p = { version = "0.56", features = ["macros", "ping", "quic", "gossipsub", "secp256k1", "tokio"] }
metrics = "0.24.0"
mime_guess = "2"
mockito = "1.1.1"
moka = { version = "0.12.10", features = ["sync"] }
num-format = "0.4.4"
num_cpus = "1.17.0"
opentelemetry = { version = "0.29", features = ["trace"] }
opentelemetry-otlp = { version = "0.29", features = ["grpc-tonic", "trace"] }
opentelemetry_sdk = { version = "0.29", features = ["rt-tokio", "trace"] }
parking_lot = "0.12"
pin-project-lite = "0.2.16"
prometheus = "0.13.4"
prost = "0.12"
rand = "0.9.2"
rand_xorshift = "0.4"
rayon = "1.10"
refinery = { version = "0.8", features = ["tokio-postgres"] }
reqwest = { version = "0.13.2", default-features = false, features = ["blocking", "json", "rustls", "stream"] }
reqwest-eventsource = "0.5"
eventsource-stream = "0.2.3"
reth-chain-state = { git = "https://github.com/paradigmxyz/reth", tag = "v2.4.1" }
reth-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v2.4.1", features = ["cli", "full"] }
reth-ethereum-engine-primitives = { git = "https://github.com/paradigmxyz/reth", tag = "v2.4.1" }
reth-metrics = { git = "https://github.com/paradigmxyz/reth", tag = "v2.4.1" }
reth-node-builder = { git = "https://github.com/paradigmxyz/reth", tag = "v2.4.1" }
reth-tasks = { git = "https://github.com/paradigmxyz/reth", tag = "v2.4.1" }
revm = { version = "41.0.0", default-features = false }
rust-embed = { version = "8", features = ["interpolate-folder-path"] }
rustc-hash = "2.1.1"
# matches ethrex's pin; used to construct the embedded node's p2p signing key
secp256k1 = "0.30"
bincode = "1"
serde = { version = "1.0.191", features = ["derive"] }
serde_json = "1.0.106"
serde_with = "1.14"
serde_yaml = "0.9.25"
serial_test = "1.0.0"
sha2 = "0.10.8"
smallvec = { version = "1.15", features = ["serde"] }
ssz_types = "0.14"
strum = "0.27"
strum_macros = "0.27"
teloxide = { version = "0.13", features = ["macros"] }
thiserror = "1.0.49"
tikv-jemallocator = { version = "0.6", features = ["profiling"] }
tokio = { version = "1.43", features = ["full"] }
tokio-postgres = { version = "0.7.10", features = ["with-serde_json-1"]}
tokio-util = { version = "0.7", features = ["rt"] }
tokio-tungstenite = "0.27.0"
tonic = { version = "0.10", features = ["gzip"] }
tonic-build = "0.10"
tower = { version = "0.4.13", features = ["full"] }
tower-http = { version = "0.5.1", features = ["full"] }
tower_governor = { version = "0.6.0", features = ["axum"] }
tracing = "0.1.37"
tracing-appender = "0.2.2"
tracing-opentelemetry = "0.30"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
tree_hash = "0.12"
tree_hash_derive = "0.12"
url = { version = "2.4", features = ["serde"] }
uuid = { version = "1.5", features = ["fast-rng", "v4"] }
zstd = "0.13.3"
# Vendored with namespaced keccak asm symbols; upstream's collide with the
# vendored OpenSSL that lighthouse's eth2 forces into every build. See
# crates/vendored/ethrex-crypto/VENDORED.md.
[patch."https://github.com/lambdaclass/ethrex"]
ethrex-crypto = { path = "crates/vendored/ethrex-crypto" }
# Lighthouse's own Cargo.toml patches these crates.io deps to forked git revs (see its
# [patch.crates-io] table) -- that patch only applies within lighthouse's own workspace
# resolution, not ours, so without mirroring it here we resolve the plain crates.io versions
# of ssz_types/tree_hash/ethereum_ssz/milhouse and get type mismatches against lighthouse's
# `types` crate (which is compiled against its patched forks). Keep these revs in sync with
# whatever lh-* rev/tag helix pins above.
[patch.crates-io]
ssz_types = { git = "https://github.com/sigp/ssz_types", rev = "9203d56ad2d7bc5f12133d043e085843f81edcd6" }
milhouse = { git = "https://github.com/sigp/milhouse", rev = "c70f128976ac0d60ea65a978dabd117a921c36ee" }
ethereum_ssz = { git = "https://github.com/sigp/ethereum_ssz", rev = "2059c21ba52cd3a7e39a8ad537012b761812a393" }
ethereum_ssz_derive = { git = "https://github.com/sigp/ethereum_ssz", rev = "2059c21ba52cd3a7e39a8ad537012b761812a393" }
tree_hash = { git = "https://github.com/sigp/tree_hash", rev = "03d9fa474586c125f306dd7a00cf46284575a01f" }
tree_hash_derive = { git = "https://github.com/sigp/tree_hash", rev = "03d9fa474586c125f306dd7a00cf46284575a01f" }