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:
committed by
Svyatoslav Nikolsky
parent
4a4d64be56
commit
e95b093483
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -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};
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user