Skip to content

Commit

Permalink
test: make test compile in reth-rpc (#9399)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jul 9, 2024
1 parent 387587a commit bb8ff67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion crates/rpc/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ derive_more.workspace = true
[dev-dependencies]
reth-evm-ethereum.workspace = true
reth-testing-utils.workspace = true
jsonrpsee-types.workspace = true
reth-transaction-pool = { workspace = true, features = ["test-utils"] }
reth-provider = { workspace = true, features = ["test-utils"] }

jsonrpsee-types.workspace = true
jsonrpsee = { workspace = true, features = ["client"] }
assert_matches.workspace = true
tempfile.workspace = true
Expand Down
6 changes: 2 additions & 4 deletions crates/rpc/rpc/src/eth/helpers/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ where

#[cfg(test)]
mod tests {
use std::collections::HashMap;

use super::*;
use reth_evm_ethereum::EthEvmConfig;
use reth_primitives::{
constants::ETHEREUM_BLOCK_GAS_LIMIT, Address, StorageKey, StorageValue, U256,
Expand All @@ -54,8 +53,7 @@ mod tests {
use reth_rpc_server_types::constants::{DEFAULT_ETH_PROOF_WINDOW, DEFAULT_PROOF_PERMITS};
use reth_tasks::pool::BlockingTaskPool;
use reth_transaction_pool::test_utils::testing_pool;

use super::*;
use std::collections::HashMap;

#[tokio::test]
async fn test_storage() {
Expand Down

0 comments on commit bb8ff67

Please sign in to comment.