diff --git a/Cargo.lock b/Cargo.lock index a692754d04bf..152116fe8761 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7868,8 +7868,8 @@ dependencies = [ name = "reth-network-types" version = "1.1.5" dependencies = [ + "alloy-eip2124", "humantime-serde", - "reth-ethereum-forks", "reth-net-banlist", "reth-network-peers", "serde", diff --git a/crates/net/network-types/Cargo.toml b/crates/net/network-types/Cargo.toml index cd73106ad23c..7068371fb807 100644 --- a/crates/net/network-types/Cargo.toml +++ b/crates/net/network-types/Cargo.toml @@ -15,7 +15,8 @@ workspace = true # reth reth-network-peers.workspace = true reth-net-banlist.workspace = true -reth-ethereum-forks.workspace = true + +alloy-eip2124.workspace = true # misc serde = { workspace = true, optional = true } @@ -29,6 +30,6 @@ tracing.workspace = true serde = [ "dep:serde", "dep:humantime-serde", - "reth-ethereum-forks/serde" + "alloy-eip2124/serde" ] test-utils = [] diff --git a/crates/net/network-types/src/peers/mod.rs b/crates/net/network-types/src/peers/mod.rs index bcfddbca3703..be4847a2c734 100644 --- a/crates/net/network-types/src/peers/mod.rs +++ b/crates/net/network-types/src/peers/mod.rs @@ -7,7 +7,7 @@ pub mod state; pub use config::{ConnectionsConfig, PeersConfig}; pub use reputation::{Reputation, ReputationChange, ReputationChangeKind, ReputationChangeWeights}; -use reth_ethereum_forks::ForkId; +use alloy_eip2124::ForkId; use tracing::trace; use crate::{