Skip to content

Commit 42aa863

Browse files
committed
Merge remote-tracking branch 'origin/unstable' into handle-getBlobsV2
# Conflicts: # beacon_node/beacon_chain/Cargo.toml
2 parents 6967ce5 + a2797d4 commit 42aa863

File tree

38 files changed

+420
-349
lines changed

38 files changed

+420
-349
lines changed

.github/workflows/test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ jobs:
196196
- name: Run network tests for all known forks
197197
run: make test-network
198198
env:
199-
TEST_FEATURES: portable,ci_logger
199+
TEST_FEATURES: portable
200200
CI_LOGGER_DIR: ${{ runner.temp }}/network_test_logs
201201
- name: Upload logs
202202
uses: actions/upload-artifact@v4

Cargo.toml

Lines changed: 71 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[workspace]
22
members = [
33
"account_manager",
4-
54
"beacon_node",
65
"beacon_node/beacon_chain",
76
"beacon_node/beacon_processor",
@@ -17,9 +16,7 @@ members = [
1716
"beacon_node/operation_pool",
1817
"beacon_node/store",
1918
"beacon_node/timer",
20-
2119
"boot_node",
22-
2320
"common/account_utils",
2421
"common/clap_utils",
2522
"common/compare_fields",
@@ -52,7 +49,6 @@ members = [
5249
"common/validator_dir",
5350
"common/warp_utils",
5451
"common/workspace_members",
55-
5652
"consensus/context_deserialize",
5753
"consensus/context_deserialize_derive",
5854
"consensus/fixed_bytes",
@@ -64,23 +60,17 @@ members = [
6460
"consensus/state_processing",
6561
"consensus/swap_or_not_shuffle",
6662
"consensus/types",
67-
6863
"crypto/bls",
6964
"crypto/eth2_key_derivation",
7065
"crypto/eth2_keystore",
7166
"crypto/eth2_wallet",
7267
"crypto/kzg",
73-
7468
"database_manager",
75-
7669
"lcli",
77-
7870
"lighthouse",
7971
"lighthouse/environment",
80-
8172
"slasher",
8273
"slasher/service",
83-
8474
"testing/ef_tests",
8575
"testing/eth1_test_rig",
8676
"testing/execution_engine_integration",
@@ -89,8 +79,6 @@ members = [
8979
"testing/state_transition_vectors",
9080
"testing/validator_test_rig",
9181
"testing/web3signer_tests",
92-
93-
9482
"validator_client",
9583
"validator_client/beacon_node_fallback",
9684
"validator_client/doppelganger_service",
@@ -103,7 +91,6 @@ members = [
10391
"validator_client/slashing_protection",
10492
"validator_client/validator_metrics",
10593
"validator_client/validator_services",
106-
10794
"validator_manager",
10895
]
10996
resolver = "2"
@@ -112,65 +99,109 @@ resolver = "2"
11299
edition = "2021"
113100

114101
[workspace.dependencies]
102+
account_utils = { path = "common/account_utils" }
103+
alloy-consensus = "0.3.0"
115104
alloy-primitives = { version = "0.8", features = ["rlp", "getrandom"] }
116105
alloy-rlp = "0.3.4"
117-
alloy-consensus = "0.3.0"
118106
anyhow = "1"
119107
arbitrary = { version = "1", features = ["derive"] }
120108
async-channel = "1.9.0"
121109
axum = "0.7.7"
110+
beacon_chain = { path = "beacon_node/beacon_chain" }
111+
beacon_node = { path = "beacon_node" }
112+
beacon_node_fallback = { path = "validator_client/beacon_node_fallback" }
113+
beacon_processor = { path = "beacon_node/beacon_processor" }
122114
bincode = "1"
123115
bitvec = "1"
116+
bls = { path = "crypto/bls" }
124117
byteorder = "1"
125118
bytes = "1"
126-
cargo_metadata = "0.19"
127-
clap = { version = "4.5.4", features = ["derive", "cargo", "wrap_help"] }
128119
# Turn off c-kzg's default features which include `blst/portable`. We can turn on blst's portable
129120
# feature ourselves when desired.
130121
c-kzg = { version = "1", default-features = false }
122+
cargo_metadata = "0.19"
123+
clap = { version = "4.5.4", features = ["derive", "cargo", "wrap_help"] }
124+
clap_utils = { path = "common/clap_utils" }
125+
compare_fields = { path = "common/compare_fields" }
131126
compare_fields_derive = { path = "common/compare_fields_derive" }
132127
context_deserialize = { path = "consensus/context_deserialize" }
133128
context_deserialize_derive = { path = "consensus/context_deserialize_derive" }
134129
criterion = "0.5"
135130
delay_map = "0.4"
131+
deposit_contract = { path = "common/deposit_contract" }
136132
derivative = "2"
133+
directory = { path = "common/directory" }
137134
dirs = "3"
138-
either = "1.9"
139-
rust_eth_kzg = "0.5.4"
140135
discv5 = { version = "0.9", features = ["libp2p"] }
136+
doppelganger_service = { path = "validator_client/doppelganger_service" }
137+
either = "1.9"
141138
env_logger = "0.9"
139+
environment = { path = "lighthouse/environment" }
140+
eth1 = { path = "beacon_node/eth1" }
141+
eth1_test_rig = { path = "testing/eth1_test_rig" }
142+
eth2 = { path = "common/eth2" }
143+
eth2_config = { path = "common/eth2_config" }
144+
eth2_key_derivation = { path = "crypto/eth2_key_derivation" }
145+
eth2_keystore = { path = "crypto/eth2_keystore" }
146+
eth2_network_config = { path = "common/eth2_network_config" }
147+
eth2_wallet = { path = "crypto/eth2_wallet" }
142148
ethereum_hashing = "0.7.0"
143149
ethereum_serde_utils = "0.7"
144150
ethereum_ssz = "0.8.2"
145151
ethereum_ssz_derive = "0.8.2"
146152
ethers-core = "1"
153+
ethers-middleware = { version = "1", default-features = false }
147154
ethers-providers = { version = "1", default-features = false }
148155
ethers-signers = { version = "1", default-features = false }
149-
ethers-middleware = { version = "1", default-features = false }
156+
execution_layer = { path = "beacon_node/execution_layer" }
150157
exit-future = "0.2"
158+
filesystem = { path = "common/filesystem" }
159+
fixed_bytes = { path = "consensus/fixed_bytes" }
151160
fnv = "1"
161+
fork_choice = { path = "consensus/fork_choice" }
152162
fs2 = "0.4"
153163
futures = "0.3"
154-
graffiti_file = { path = "validator_client/graffiti_file" }
164+
genesis = { path = "beacon_node/genesis" }
155165
gossipsub = { package = "libp2p-gossipsub", git = "https://github.com/sigp/rust-libp2p.git", rev = "61b2820" }
156-
hex = "0.4"
166+
graffiti_file = { path = "validator_client/graffiti_file" }
157167
hashlink = "0.9.0"
168+
health_metrics = { path = "common/health_metrics" }
169+
hex = "0.4"
170+
http_api = { path = "beacon_node/http_api" }
158171
hyper = "1"
172+
initialized_validators = { path = "validator_client/initialized_validators" }
173+
int_to_bytes = { path = "consensus/int_to_bytes" }
159174
itertools = "0.10"
175+
kzg = { path = "crypto/kzg" }
160176
libsecp256k1 = "0.7"
177+
lighthouse_network = { path = "beacon_node/lighthouse_network" }
178+
lighthouse_validator_store = { path = "validator_client/lighthouse_validator_store" }
179+
lighthouse_version = { path = "common/lighthouse_version" }
180+
lockfile = { path = "common/lockfile" }
161181
log = "0.4"
162-
logroller = "0.1.4"
182+
logging = { path = "common/logging" }
183+
logroller = "0.1.8"
163184
lru = "0.12"
185+
lru_cache = { path = "common/lru_cache" }
186+
malloc_utils = { path = "common/malloc_utils" }
164187
maplit = "1"
188+
merkle_proof = { path = "consensus/merkle_proof" }
189+
metrics = { path = "common/metrics" }
165190
milhouse = "0.5"
166191
mockall = "0.13"
167192
mockall_double = "0.3"
168193
mockito = "1.5.0"
194+
monitoring_api = { path = "common/monitoring_api" }
195+
network = { path = "beacon_node/network" }
196+
node_test_rig = { path = "testing/node_test_rig" }
169197
num_cpus = "1"
170198
once_cell = "1.17.1"
199+
operation_pool = { path = "beacon_node/operation_pool" }
171200
parking_lot = "0.12"
172201
paste = "1"
202+
pretty_reqwest_error = { path = "common/pretty_reqwest_error" }
173203
prometheus = { version = "0.13", default-features = false }
204+
proto_array = { path = "consensus/proto_array" }
174205
quickcheck = "1"
175206
quickcheck_macros = "1"
176207
quote = "1"
@@ -188,18 +219,30 @@ reqwest = { version = "0.11", default-features = false, features = [
188219
ring = "0.17"
189220
rpds = "0.11"
190221
rusqlite = { version = "0.28", features = ["bundled"] }
222+
rust_eth_kzg = "0.5.4"
223+
safe_arith = { path = "consensus/safe_arith" }
224+
sensitive_url = { path = "common/sensitive_url" }
191225
serde = { version = "1", features = ["derive"] }
192226
serde_json = "1"
193227
serde_repr = "0.1"
194228
serde_yaml = "0.9"
195229
sha2 = "0.9"
230+
signing_method = { path = "validator_client/signing_method" }
231+
slasher = { path = "slasher", default-features = false }
232+
slashing_protection = { path = "validator_client/slashing_protection" }
233+
slot_clock = { path = "common/slot_clock" }
196234
smallvec = { version = "1.11.2", features = ["arbitrary"] }
197235
snap = "1"
198236
ssz_types = "0.10"
237+
state_processing = { path = "consensus/state_processing" }
238+
store = { path = "beacon_node/store" }
199239
strum = { version = "0.24", features = ["derive"] }
200240
superstruct = "0.8"
241+
swap_or_not_shuffle = { path = "consensus/swap_or_not_shuffle" }
201242
syn = "1"
202243
sysinfo = "0.26"
244+
system_health = { path = "common/system_health" }
245+
task_executor = { path = "common/task_executor" }
203246
tempfile = "3"
204247
tokio = { version = "1", features = [
205248
"rt-multi-thread",
@@ -216,72 +259,10 @@ tracing-log = "0.2"
216259
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
217260
tree_hash = "0.9"
218261
tree_hash_derive = "0.9"
219-
url = "2"
220-
uuid = { version = "0.8", features = ["serde", "v4"] }
221-
warp = { version = "0.3.7", default-features = false, features = ["tls"] }
222-
zeroize = { version = "1", features = ["zeroize_derive", "serde"] }
223-
zip = "0.6"
224-
225-
# Local crates.
226-
account_utils = { path = "common/account_utils" }
227-
beacon_chain = { path = "beacon_node/beacon_chain" }
228-
beacon_node = { path = "beacon_node" }
229-
beacon_node_fallback = { path = "validator_client/beacon_node_fallback" }
230-
beacon_processor = { path = "beacon_node/beacon_processor" }
231-
bls = { path = "crypto/bls" }
232-
clap_utils = { path = "common/clap_utils" }
233-
compare_fields = { path = "common/compare_fields" }
234-
deposit_contract = { path = "common/deposit_contract" }
235-
directory = { path = "common/directory" }
236-
doppelganger_service = { path = "validator_client/doppelganger_service" }
237-
environment = { path = "lighthouse/environment" }
238-
eth1 = { path = "beacon_node/eth1" }
239-
eth1_test_rig = { path = "testing/eth1_test_rig" }
240-
eth2 = { path = "common/eth2" }
241-
eth2_config = { path = "common/eth2_config" }
242-
eth2_key_derivation = { path = "crypto/eth2_key_derivation" }
243-
eth2_keystore = { path = "crypto/eth2_keystore" }
244-
eth2_network_config = { path = "common/eth2_network_config" }
245-
eth2_wallet = { path = "crypto/eth2_wallet" }
246-
execution_layer = { path = "beacon_node/execution_layer" }
247-
fixed_bytes = { path = "consensus/fixed_bytes" }
248-
filesystem = { path = "common/filesystem" }
249-
fork_choice = { path = "consensus/fork_choice" }
250-
genesis = { path = "beacon_node/genesis" }
251-
health_metrics = { path = "common/health_metrics" }
252-
http_api = { path = "beacon_node/http_api" }
253-
initialized_validators = { path = "validator_client/initialized_validators" }
254-
int_to_bytes = { path = "consensus/int_to_bytes" }
255-
kzg = { path = "crypto/kzg" }
256-
metrics = { path = "common/metrics" }
257-
lighthouse_network = { path = "beacon_node/lighthouse_network" }
258-
lighthouse_validator_store = { path = "validator_client/lighthouse_validator_store" }
259-
lighthouse_version = { path = "common/lighthouse_version" }
260-
workspace_members = { path = "common/workspace_members" }
261-
lockfile = { path = "common/lockfile" }
262-
logging = { path = "common/logging" }
263-
lru_cache = { path = "common/lru_cache" }
264-
malloc_utils = { path = "common/malloc_utils" }
265-
merkle_proof = { path = "consensus/merkle_proof" }
266-
monitoring_api = { path = "common/monitoring_api" }
267-
network = { path = "beacon_node/network" }
268-
node_test_rig = { path = "testing/node_test_rig" }
269-
operation_pool = { path = "beacon_node/operation_pool" }
270-
pretty_reqwest_error = { path = "common/pretty_reqwest_error" }
271-
proto_array = { path = "consensus/proto_array" }
272-
safe_arith = { path = "consensus/safe_arith" }
273-
sensitive_url = { path = "common/sensitive_url" }
274-
signing_method = { path = "validator_client/signing_method" }
275-
slasher = { path = "slasher", default-features = false }
276-
slashing_protection = { path = "validator_client/slashing_protection" }
277-
slot_clock = { path = "common/slot_clock" }
278-
state_processing = { path = "consensus/state_processing" }
279-
store = { path = "beacon_node/store" }
280-
swap_or_not_shuffle = { path = "consensus/swap_or_not_shuffle" }
281-
system_health = { path = "common/system_health" }
282-
task_executor = { path = "common/task_executor" }
283262
types = { path = "consensus/types" }
284263
unused_port = { path = "common/unused_port" }
264+
url = "2"
265+
uuid = { version = "0.8", features = ["serde", "v4"] }
285266
validator_client = { path = "validator_client" }
286267
validator_dir = { path = "common/validator_dir" }
287268
validator_http_api = { path = "validator_client/http_api" }
@@ -290,8 +271,12 @@ validator_metrics = { path = "validator_client/validator_metrics" }
290271
validator_services = { path = "validator_client/validator_services" }
291272
validator_store = { path = "validator_client/validator_store" }
292273
validator_test_rig = { path = "testing/validator_test_rig" }
274+
warp = { version = "0.3.7", default-features = false, features = ["tls"] }
293275
warp_utils = { path = "common/warp_utils" }
276+
workspace_members = { path = "common/workspace_members" }
294277
xdelta3 = { git = "http://github.com/sigp/xdelta3-rs", rev = "4db64086bb02e9febb584ba93b9d16bb2ae3825a" }
278+
zeroize = { version = "1", features = ["zeroize_derive", "serde"] }
279+
zip = "0.6"
295280
zstd = "0.13"
296281

297282
[profile.maxperf]

beacon_node/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ edition = { workspace = true }
1111
name = "beacon_node"
1212
path = "src/lib.rs"
1313

14-
[dev-dependencies]
15-
node_test_rig = { path = "../testing/node_test_rig" }
16-
1714
[features]
1815
write_ssz_files = [
1916
"beacon_chain/write_ssz_files",
@@ -45,3 +42,6 @@ task_executor = { workspace = true }
4542
tracing = { workspace = true }
4643
types = { workspace = true }
4744
unused_port = { workspace = true }
45+
46+
[dev-dependencies]
47+
node_test_rig = { path = "../testing/node_test_rig" }

beacon_node/beacon_chain/Cargo.toml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1+
12
[package]
23
name = "beacon_chain"
34
version = "0.2.0"
45
authors = ["Paul Hauner <[email protected]>", "Age Manning <[email protected]>"]
56
edition = { workspace = true }
67
autotests = false # using a single test binary compiles faster
78

8-
[[bench]]
9-
name = "benches"
10-
harness = false
11-
129
[features]
1310
default = ["participation_metrics"]
1411
write_ssz_files = [] # Writes debugging .ssz files to /tmp during block processing.
@@ -17,13 +14,6 @@ fork_from_env = [] # Initialise the harness chain spec from the FORK_NAME env va
1714
portable = ["bls/supranational-portable"]
1815
test_backfill = []
1916

20-
[dev-dependencies]
21-
criterion = { workspace = true }
22-
maplit = { workspace = true }
23-
mockall = { workspace = true }
24-
mockall_double = { workspace = true }
25-
serde_json = { workspace = true }
26-
2717
[dependencies]
2818
alloy-primitives = { workspace = true }
2919
bitvec = { workspace = true }
@@ -77,6 +67,17 @@ tree_hash = { workspace = true }
7767
tree_hash_derive = { workspace = true }
7868
types = { workspace = true }
7969

70+
[dev-dependencies]
71+
criterion = { workspace = true }
72+
maplit = { workspace = true }
73+
mockall = { workspace = true }
74+
mockall_double = { workspace = true }
75+
serde_json = { workspace = true }
76+
77+
[[bench]]
78+
name = "benches"
79+
harness = false
80+
8081
[[test]]
8182
name = "beacon_chain_tests"
8283
path = "tests/main.rs"

0 commit comments

Comments
 (0)