Anchor pre-PR: Decouple eth2 (#6770)

* decouple `eth2` from `store` and `lighthouse_network`

Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>

* remove unused dependency

---------

Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>
Co-authored-by: Jimmy Chen <jimmy@sigmaprime.io>
This commit is contained in:
Daniel Knopik
2025-01-09 13:48:18 +01:00
committed by GitHub
parent 320843024c
commit 9a4768a771
14 changed files with 95 additions and 86 deletions

7
Cargo.lock generated
View File

@@ -2563,14 +2563,16 @@ name = "eth2"
version = "0.1.0"
dependencies = [
"derivative",
"enr",
"eth2_keystore",
"ethereum_serde_utils",
"ethereum_ssz",
"ethereum_ssz_derive",
"futures",
"futures-util",
"lighthouse_network",
"libp2p-identity",
"mediatype",
"multiaddr",
"pretty_reqwest_error",
"procfs",
"proto_array",
@@ -2582,7 +2584,6 @@ dependencies = [
"serde_json",
"slashing_protection",
"ssz_types",
"store",
"tokio",
"types",
"zeroize",
@@ -3023,7 +3024,6 @@ dependencies = [
"builder_client",
"bytes",
"eth2",
"eth2_network_config",
"ethereum_serde_utils",
"ethereum_ssz",
"ethers-core",
@@ -5314,6 +5314,7 @@ dependencies = [
"dirs",
"discv5",
"either",
"eth2",
"ethereum_ssz",
"ethereum_ssz_derive",
"fnv",