feat: make EthService generic over engine types and block executor (#10212)

This commit is contained in:
Federico Gimenez
2024-08-08 19:22:55 +02:00
committed by GitHub
parent 75a501e9fa
commit c4aae6db36
7 changed files with 92 additions and 69 deletions

63
Cargo.lock generated
View File

@@ -6982,6 +6982,37 @@ dependencies = [
"serde",
]
[[package]]
name = "reth-engine-service"
version = "1.0.4"
dependencies = [
"futures",
"pin-project",
"reth-beacon-consensus",
"reth-blockchain-tree",
"reth-chainspec",
"reth-consensus",
"reth-db-api",
"reth-engine-primitives",
"reth-engine-tree",
"reth-ethereum-engine-primitives",
"reth-evm",
"reth-evm-ethereum",
"reth-exex-types",
"reth-network-p2p",
"reth-payload-builder",
"reth-payload-validator",
"reth-primitives",
"reth-provider",
"reth-prune",
"reth-prune-types",
"reth-stages-api",
"reth-tasks",
"thiserror",
"tokio",
"tokio-stream",
]
[[package]]
name = "reth-engine-tree"
version = "1.0.4"
@@ -7145,36 +7176,6 @@ dependencies = [
"tracing",
]
[[package]]
name = "reth-ethereum-engine"
version = "1.0.4"
dependencies = [
"futures",
"pin-project",
"reth-beacon-consensus",
"reth-blockchain-tree",
"reth-chainspec",
"reth-consensus",
"reth-db-api",
"reth-engine-tree",
"reth-ethereum-engine-primitives",
"reth-evm",
"reth-evm-ethereum",
"reth-exex-types",
"reth-network-p2p",
"reth-payload-builder",
"reth-payload-validator",
"reth-primitives",
"reth-provider",
"reth-prune",
"reth-prune-types",
"reth-stages-api",
"reth-tasks",
"thiserror",
"tokio",
"tokio-stream",
]
[[package]]
name = "reth-ethereum-engine-primitives"
version = "1.0.4"
@@ -7787,8 +7788,8 @@ dependencies = [
"reth-consensus",
"reth-db",
"reth-e2e-test-utils",
"reth-engine-service",
"reth-engine-tree",
"reth-ethereum-engine",
"reth-ethereum-engine-primitives",
"reth-ethereum-payload-builder",
"reth-evm-ethereum",