Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/net/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ tempfile = { version = "3.3", optional = true }
# reth
reth-discv4 = { path = "../discv4", features = ["test-utils"] }
reth-interfaces = { workspace = true, features = ["test-utils"] }
reth-primitives = { workspace = true, features = ["test-utils"] }

# we need to enable the test-utils feature in our own crate to use utils in
# integration tests
Expand Down
1 change: 1 addition & 0 deletions crates/primitives/src/genesis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ pub struct CliqueConfig {
pub epoch: Option<u64>,
}

#[cfg(feature = "test-utils")]
mod ethers_compat {
use super::*;
use ethers_core::utils::{
Expand Down
1 change: 1 addition & 0 deletions crates/primitives/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ impl From<HeadersDirection> for bool {
}
}

#[cfg(feature = "test-utils")]
mod ethers_compat {
use super::*;
use ethers_core::types::{Block, H256 as EthersH256};
Expand Down