Skip to content

Commit

Permalink
chore: use alloy-eip2124 directly (#13941)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jan 22, 2025
1 parent 4dcc135 commit 3e181ab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions crates/net/network-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -29,6 +30,6 @@ tracing.workspace = true
serde = [
"dep:serde",
"dep:humantime-serde",
"reth-ethereum-forks/serde"
"alloy-eip2124/serde"
]
test-utils = []
2 changes: 1 addition & 1 deletion crates/net/network-types/src/peers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down

0 comments on commit 3e181ab

Please sign in to comment.