[ethcore]: move client test types to test-helpers (#11062)

This commit is contained in:
Niklas Adolfsson
2019-09-17 16:42:22 +02:00
committed by Andrew Jones
parent acad59b300
commit b6415c6196
38 changed files with 65 additions and 69 deletions

View File

@@ -21,7 +21,7 @@ use common_types::blockchain_info::BlockChainInfo;
use common_types::encoded;
use common_types::ids::BlockId;
use common_types::transaction::{Action, PendingTransaction};
use ethcore::client::{EachBlockWith, TestBlockChainClient};
use ethcore::test_helpers::{EachBlockWith, TestBlockChainClient};
use ethereum_types::{H256, U256, Address, BigEndianHash};
use net::context::IoContext;
use net::load_timer::MOVING_SAMPLE_SIZE;

View File

@@ -1099,7 +1099,7 @@ mod tests {
use trie::Recorder;
use hash::keccak;
use ethcore::client::{TestBlockChainClient, EachBlockWith};
use ethcore::test_helpers::{TestBlockChainClient, EachBlockWith};
use client_traits::{BlockInfo, BlockChainClient};
use common_types::header::Header;
use common_types::encoded;

View File

@@ -396,7 +396,7 @@ impl<L: AsLightClient> AsLightClient for LightProvider<L> {
#[cfg(test)]
mod tests {
use ethcore::client::{EachBlockWith, TestBlockChainClient};
use ethcore::test_helpers::{EachBlockWith, TestBlockChainClient};
use super::Provider;
#[test]