Don't reexport bigint from util
This commit is contained in:
@@ -6,6 +6,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
[dependencies]
|
||||
byteorder = "1.0"
|
||||
ethcore-util = { path = "../../util" }
|
||||
ethcore-bigint = { path = "../../util/bigint" }
|
||||
log = "0.3"
|
||||
common-types = { path = "../types" }
|
||||
evmjit = { path = "../../evmjit", optional = true }
|
||||
|
||||
@@ -15,8 +15,9 @@
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! Evm input params.
|
||||
use util::{Address, Bytes, U256};
|
||||
use util::hash::{H256};
|
||||
use bigint::prelude::U256;
|
||||
use bigint::hash::{H256};
|
||||
use util::{Address, Bytes};
|
||||
use hash::{keccak, KECCAK_EMPTY};
|
||||
use ethjson;
|
||||
|
||||
|
||||
@@ -19,7 +19,9 @@
|
||||
use std::cmp;
|
||||
use std::sync::Arc;
|
||||
use hash::keccak;
|
||||
use util::{U256, Address, H256};
|
||||
use bigint::hash::H256;
|
||||
use bigint::prelude::U256;
|
||||
use util::Address;
|
||||
use types::BlockNumber;
|
||||
use ethjson;
|
||||
|
||||
@@ -79,7 +81,8 @@ impl From<ethjson::vm::Env> for EnvInfo {
|
||||
mod tests {
|
||||
use std::str::FromStr;
|
||||
use super::*;
|
||||
use util::{U256, Address};
|
||||
use bigint::prelude::U256;
|
||||
use util::Address;
|
||||
use ethjson;
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
//! Interface for Evm externalities.
|
||||
|
||||
use std::sync::Arc;
|
||||
use bigint::prelude::U256;
|
||||
use bigint::hash::H256;
|
||||
use util::*;
|
||||
use call_type::CallType;
|
||||
use env_info::EnvInfo;
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
//! Virtual machines support library
|
||||
|
||||
extern crate ethcore_util as util;
|
||||
extern crate ethcore_bigint as bigint;
|
||||
extern crate common_types as types;
|
||||
extern crate ethjson;
|
||||
extern crate rlp;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
//! Return data structures
|
||||
|
||||
use util::U256;
|
||||
use bigint::prelude::U256;
|
||||
|
||||
/// Return data buffer. Holds memory from a previous call and a slice into that memory.
|
||||
#[derive(Debug)]
|
||||
@@ -65,4 +65,4 @@ pub enum GasLeft {
|
||||
/// Apply or revert state changes on revert.
|
||||
apply_state: bool
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
use std::sync::Arc;
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
||||
use util::{H256, U256, Address, Bytes};
|
||||
use bigint::prelude::U256;
|
||||
use bigint::hash::H256;
|
||||
use util::{Address, Bytes};
|
||||
use {
|
||||
CallType, Schedule, EnvInfo,
|
||||
ReturnData, Ext, ContractCreateResult, MessageCallResult,
|
||||
|
||||
Reference in New Issue
Block a user