From 2b39af1f09c7bb323b8019ba3f645916a7d4e821 Mon Sep 17 00:00:00 2001 From: Fredrik Date: Tue, 5 Sep 2017 12:08:02 +0200 Subject: [PATCH] Updating imports that were introduced with merge --- ethcore/evm/src/interpreter/informant.rs | 2 +- ethcore/light/src/client/fetch.rs | 2 +- ethcore/light/src/types/request/mod.rs | 3 ++- evmbin/benches/mod.rs | 3 ++- parity/light_helpers/epoch_fetch.rs | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ethcore/evm/src/interpreter/informant.rs b/ethcore/evm/src/interpreter/informant.rs index a2a2c84c5..ac2505489 100644 --- a/ethcore/evm/src/interpreter/informant.rs +++ b/ethcore/evm/src/interpreter/informant.rs @@ -43,7 +43,7 @@ mod inner { use evm::instructions::{Instruction, InstructionInfo, INSTRUCTIONS}; use evm::{CostType}; - use util::U256; + use bigint::prelude::U256; macro_rules! evm_debug { ($x: expr) => { diff --git a/ethcore/light/src/client/fetch.rs b/ethcore/light/src/client/fetch.rs index 0aae7d31c..93a2cde11 100644 --- a/ethcore/light/src/client/fetch.rs +++ b/ethcore/light/src/client/fetch.rs @@ -23,7 +23,7 @@ use ethcore::engines::{Engine, StateDependentProof}; use ethcore::header::Header; use ethcore::receipt::Receipt; use futures::future::IntoFuture; -use util::H256; +use bigint::hash::H256; /// Provides full chain data. pub trait ChainDataFetcher: Send + Sync + 'static { diff --git a/ethcore/light/src/types/request/mod.rs b/ethcore/light/src/types/request/mod.rs index 3f6816cd3..c623ca656 100644 --- a/ethcore/light/src/types/request/mod.rs +++ b/ethcore/light/src/types/request/mod.rs @@ -1540,7 +1540,8 @@ pub mod execution { pub mod epoch_signal { use super::{Field, NoSuchOutput, OutputKind, Output}; use rlp::{Encodable, Decodable, DecoderError, RlpStream, UntrustedRlp}; - use util::{Bytes, H256}; + use bigint::hash::H256; + use util::Bytes; /// Potentially incomplete epoch signal request. #[derive(Debug, Clone, PartialEq, Eq)] diff --git a/evmbin/benches/mod.rs b/evmbin/benches/mod.rs index f4deda88e..6b6746e74 100644 --- a/evmbin/benches/mod.rs +++ b/evmbin/benches/mod.rs @@ -26,13 +26,14 @@ extern crate test; extern crate ethcore; extern crate evm; extern crate ethcore_util; +extern crate ethcore_bigint; extern crate rustc_hex; use self::test::{Bencher, black_box}; use evm::run_vm; use ethcore::vm::ActionParams; -use ethcore_util::U256; +use ethcore_bigint::prelude::U256; use rustc_hex::FromHex; #[bench] diff --git a/parity/light_helpers/epoch_fetch.rs b/parity/light_helpers/epoch_fetch.rs index 8bc879466..8fccf049c 100644 --- a/parity/light_helpers/epoch_fetch.rs +++ b/parity/light_helpers/epoch_fetch.rs @@ -28,7 +28,7 @@ use light::client::fetch::ChainDataFetcher; use light::on_demand::{request, OnDemand}; use parking_lot::RwLock; -use util::H256; +use bigint::hash::H256; const ALL_VALID_BACKREFS: &str = "no back-references, therefore all back-references valid; qed";