dissolve util (#7460)

* ethereum-types refactor in progress

* ethereum-types refactor in progress

* ethereum-types refactor in progress

* ethereum-types refactor in progress

* ethereum-types refactor finished

* removed obsolete util/src/lib.rs

* removed commented out code
This commit is contained in:
Marek Kotewicz
2018-01-10 13:35:18 +01:00
committed by Svyatoslav Nikolsky
parent 4a4d64be56
commit e95b093483
395 changed files with 744 additions and 1913 deletions

View File

@@ -50,7 +50,7 @@ mod tests {
use std::collections::BTreeMap;
use serde_json;
use spec::account::Account;
use bigint::prelude::U256;
use ethereum_types::U256;
use uint::Uint;
use bytes::Bytes;

View File

@@ -60,7 +60,7 @@ pub struct AuthorityRound {
#[cfg(test)]
mod tests {
use bigint::prelude::{U256, H160};
use ethereum_types::{U256, H160};
use uint::Uint;
use serde_json;
use hash::Address;

View File

@@ -40,7 +40,7 @@ pub struct BasicAuthority {
mod tests {
use serde_json;
use uint::Uint;
use bigint::prelude::{U256, H160};
use ethereum_types::{U256, H160};
use hash::Address;
use spec::basic_authority::BasicAuthority;
use spec::validator_set::ValidatorSet;

View File

@@ -146,7 +146,7 @@ pub struct Ethash {
mod tests {
use serde_json;
use uint::Uint;
use bigint::prelude::{H160, U256};
use ethereum_types::{H160, U256};
use hash::Address;
use spec::ethash::{Ethash, EthashParams};

View File

@@ -60,7 +60,7 @@ mod tests {
use serde_json;
use bytes::Bytes;
use uint::Uint;
use bigint::prelude::{U256, H160, H64 as Eth64, H256 as Eth256};
use ethereum_types::{U256, H160, H64 as Eth64, H256 as Eth256};
use hash::{H64, H256, Address};
use spec::genesis::Genesis;
use spec::{Ethereum, Seal};

View File

@@ -37,7 +37,7 @@ pub struct NullEngine {
mod tests {
use serde_json;
use uint::Uint;
use bigint::prelude::U256;
use ethereum_types::U256;
use super::*;
#[test]

View File

@@ -123,7 +123,7 @@ pub struct Params {
mod tests {
use serde_json;
use uint::Uint;
use bigint::prelude::U256;
use ethereum_types::U256;
use spec::params::Params;
#[test]

View File

@@ -73,7 +73,7 @@ mod tests {
use hash::*;
use bytes::Bytes;
use uint::Uint;
use bigint::prelude::{U256, H64 as Eth64, H256 as Eth256, H520 as Eth520};
use ethereum_types::{U256, H64 as Eth64, H256 as Eth256, H520 as Eth520};
use spec::{Ethereum, AuthorityRoundSeal, TendermintSeal, Seal};
#[test]

View File

@@ -51,7 +51,7 @@ pub struct Tendermint {
#[cfg(test)]
mod tests {
use serde_json;
use bigint::prelude::H160;
use ethereum_types::H160;
use hash::Address;
use spec::tendermint::Tendermint;
use spec::validator_set::ValidatorSet;

View File

@@ -41,7 +41,7 @@ pub enum ValidatorSet {
mod tests {
use serde_json;
use uint::Uint;
use bigint::prelude::{H160, U256};
use ethereum_types::{H160, U256};
use hash::Address;
use spec::validator_set::ValidatorSet;