chore: use alloy-eip2124 directly (#13941)

This commit is contained in:
Matthias Seitz
2025-01-23 00:14:42 +01:00
committed by GitHub
parent 4dcc135495
commit 3e181ab53a
3 changed files with 5 additions and 4 deletions

2
Cargo.lock generated
View File

@ -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",

View File

@ -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 = []

View File

@ -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::{