[ethcore]: move client test types to test-helpers (#11062)
This commit is contained in:
committed by
Andrew Jones
parent
acad59b300
commit
b6415c6196
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user