[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

@@ -17,7 +17,7 @@
use std::sync::Arc;
use types::ids::BlockId;
use client_traits::{BlockChainClient, ChainInfo};
use ethcore::client::{TestBlockChainClient, EachBlockWith};
use ethcore::test_helpers::{TestBlockChainClient, EachBlockWith};
use client_traits::BlockInfo;
use chain::SyncState;
use super::helpers::*;

View File

@@ -27,10 +27,9 @@ use types::{
io_message::ClientIoMessage,
};
use client_traits::{BlockChainClient, ChainNotify};
use ethcore::client::{
TestBlockChainClient,
Client as EthcoreClient,
ClientConfig,
use ethcore::{
client::{Client as EthcoreClient, ClientConfig},
test_helpers::TestBlockChainClient
};
use snapshot::SnapshotService;
use spec::{self, Spec};

View File

@@ -21,7 +21,7 @@ use ethereum_types::H256;
use parking_lot::Mutex;
use bytes::Bytes;
use snapshot::SnapshotService;
use ethcore::client::EachBlockWith;
use ethcore::test_helpers::EachBlockWith;
use types::{
BlockNumber,
snapshot::{ManifestData, RestorationStatus},