From cd414ac461b380df678d51fed56dcaa5d02c69b9 Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com> Date: Sat, 6 Dec 2025 13:47:16 +0000 Subject: [PATCH 1/3] deps: remove unused dependencies --- Cargo.lock | 4 ---- crates/e2e-test-utils/Cargo.toml | 1 - crates/net/network-api/Cargo.toml | 4 ---- crates/primitives-traits/Cargo.toml | 7 ------- crates/stages/types/Cargo.toml | 1 - docs/vocs/docs/snippets/sources/exex/remote/Cargo.toml | 1 - examples/exex-subscription/Cargo.toml | 1 - 7 files changed, 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7460cfc0513..b6c9200d168 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3859,7 +3859,6 @@ name = "exex-subscription" version = "1.9.3" dependencies = [ "alloy-primitives", - "clap", "eyre", "futures", "jsonrpsee", @@ -8052,7 +8051,6 @@ dependencies = [ "reth-consensus", "reth-db", "reth-db-common", - "reth-engine-local", "reth-engine-primitives", "reth-ethereum-primitives", "reth-network-api", @@ -8960,10 +8958,8 @@ dependencies = [ name = "reth-network-api" version = "1.9.3" dependencies = [ - "alloy-consensus", "alloy-primitives", "alloy-rpc-types-admin", - "alloy-rpc-types-eth", "auto_impl", "derive_more", "enr", diff --git a/crates/e2e-test-utils/Cargo.toml b/crates/e2e-test-utils/Cargo.toml index 673193ddd9a..09bb2963cd5 100644 --- a/crates/e2e-test-utils/Cargo.toml +++ b/crates/e2e-test-utils/Cargo.toml @@ -30,7 +30,6 @@ reth-node-builder = { workspace = true, features = ["test-utils"] } reth-tokio-util.workspace = true reth-stages-types.workspace = true reth-network-peers.workspace = true -reth-engine-local.workspace = true reth-engine-primitives.workspace = true reth-tasks.workspace = true reth-node-ethereum.workspace = true diff --git a/crates/net/network-api/Cargo.toml b/crates/net/network-api/Cargo.toml index b0ebed8bcfb..4ecfa1f593e 100644 --- a/crates/net/network-api/Cargo.toml +++ b/crates/net/network-api/Cargo.toml @@ -21,8 +21,6 @@ reth-tokio-util.workspace = true reth-ethereum-forks.workspace = true # ethereum -alloy-consensus.workspace = true -alloy-rpc-types-eth.workspace = true alloy-primitives = { workspace = true, features = ["getrandom"] } alloy-rpc-types-admin.workspace = true enr = { workspace = true, default-features = false, features = ["rust-secp256k1"] } @@ -46,6 +44,4 @@ serde = [ "alloy-primitives/serde", "enr/serde", "reth-ethereum-forks/serde", - "alloy-consensus/serde", - "alloy-rpc-types-eth/serde", ] diff --git a/crates/primitives-traits/Cargo.toml b/crates/primitives-traits/Cargo.toml index 58d52bddb03..1674ebc7130 100644 --- a/crates/primitives-traits/Cargo.toml +++ b/crates/primitives-traits/Cargo.toml @@ -29,9 +29,6 @@ revm-state.workspace = true # op op-alloy-consensus = { workspace = true, optional = true, features = ["k256"] } -# crypto -secp256k1 = { workspace = true, features = ["recovery"], optional = true } - # misc auto_impl.workspace = true byteorder = { workspace = true, optional = true } @@ -84,7 +81,6 @@ std = [ "bytes/std", "derive_more/std", "once_cell/std", - "secp256k1?/std", "thiserror/std", "alloy-trie/std", "op-alloy-consensus?/std", @@ -110,8 +106,6 @@ arbitrary = [ "alloy-eips/arbitrary", "revm-primitives/arbitrary", "reth-codecs?/arbitrary", - "secp256k1?/global-context", - "secp256k1?/rand", "op-alloy-consensus?/arbitrary", "alloy-trie/arbitrary", "reth-chainspec/arbitrary", @@ -138,7 +132,6 @@ serde = [ "revm-primitives/serde", "revm-primitives/serde", "op-alloy-consensus?/serde", - "secp256k1?/serde", "alloy-trie/serde", "revm-bytecode/serde", "revm-state/serde", diff --git a/crates/stages/types/Cargo.toml b/crates/stages/types/Cargo.toml index 6e70fbe26a0..795f5d7f8b6 100644 --- a/crates/stages/types/Cargo.toml +++ b/crates/stages/types/Cargo.toml @@ -31,7 +31,6 @@ proptest.workspace = true proptest-arbitrary-interop.workspace = true rand.workspace = true bytes.workspace = true -modular-bitfield.workspace = true [features] default = ["std"] diff --git a/docs/vocs/docs/snippets/sources/exex/remote/Cargo.toml b/docs/vocs/docs/snippets/sources/exex/remote/Cargo.toml index 4d170be57cb..6c4eca2b6d0 100644 --- a/docs/vocs/docs/snippets/sources/exex/remote/Cargo.toml +++ b/docs/vocs/docs/snippets/sources/exex/remote/Cargo.toml @@ -18,7 +18,6 @@ futures-util = "0.3" # grpc tonic = "0.11" -prost = "0.12" bincode = "1" # misc diff --git a/examples/exex-subscription/Cargo.toml b/examples/exex-subscription/Cargo.toml index 9593409b215..eae4feda8c6 100644 --- a/examples/exex-subscription/Cargo.toml +++ b/examples/exex-subscription/Cargo.toml @@ -16,7 +16,6 @@ alloy-primitives.workspace = true eyre.workspace = true futures.workspace = true -clap = { workspace = true, features = ["derive"] } jsonrpsee = { workspace = true, features = ["server", "macros"] } tokio.workspace = true serde.workspace = true From 566cebcc89f1d23641fc4337d897f75212a9460e Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com> Date: Sat, 6 Dec 2025 13:54:02 +0000 Subject: [PATCH 2/3] propagate serde dep to optional secp --- crates/primitives-traits/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/primitives-traits/Cargo.toml b/crates/primitives-traits/Cargo.toml index 1674ebc7130..287e6bd52a2 100644 --- a/crates/primitives-traits/Cargo.toml +++ b/crates/primitives-traits/Cargo.toml @@ -132,6 +132,7 @@ serde = [ "revm-primitives/serde", "revm-primitives/serde", "op-alloy-consensus?/serde", + "secp256k1?/serde", "alloy-trie/serde", "revm-bytecode/serde", "revm-state/serde", From a78d1f5aed2a65731447d7e8fc817ec14edd39e6 Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com> Date: Sat, 6 Dec 2025 13:59:22 +0000 Subject: [PATCH 3/3] Revert "propagate serde dep to optional secp" This reverts commit 566cebcc89f1d23641fc4337d897f75212a9460e. --- crates/primitives-traits/Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/primitives-traits/Cargo.toml b/crates/primitives-traits/Cargo.toml index 287e6bd52a2..1674ebc7130 100644 --- a/crates/primitives-traits/Cargo.toml +++ b/crates/primitives-traits/Cargo.toml @@ -132,7 +132,6 @@ serde = [ "revm-primitives/serde", "revm-primitives/serde", "op-alloy-consensus?/serde", - "secp256k1?/serde", "alloy-trie/serde", "revm-bytecode/serde", "revm-state/serde",