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

@@ -17,7 +17,7 @@
//! View onto block rlp.
use hash::keccak;
use bigint::hash::H256;
use ethereum_types::H256;
use bytes::Bytes;
use header::*;
use transaction::*;
@@ -160,7 +160,7 @@ impl<'a> BlockView<'a> {
mod tests {
use std::str::FromStr;
use rustc_hex::FromHex;
use bigint::hash::H256;
use ethereum_types::H256;
use super::BlockView;
#[test]

View File

@@ -17,7 +17,7 @@
//! View onto block body rlp.
use hash::keccak;
use bigint::hash::H256;
use ethereum_types::H256;
use bytes::Bytes;
use header::*;
use transaction::*;

View File

@@ -17,9 +17,7 @@
//! View onto block header rlp
use hash::keccak;
use bigint::prelude::U256;
use bigint::hash::{H256, H2048};
use util::Address;
use ethereum_types::{H256, H2048, U256, Address};
use bytes::Bytes;
use rlp::{self, Rlp};
use header::BlockNumber;
@@ -113,9 +111,7 @@ impl<'a> HeaderView<'a> {
mod tests {
use std::str::FromStr;
use rustc_hex::FromHex;
use bigint::prelude::U256;
use bigint::hash::{H256, H2048};
use util::Address;
use ethereum_types::{H256, H2048, U256, Address};
use super::HeaderView;
#[test]

View File

@@ -15,8 +15,7 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
//! View onto transaction rlp
use bigint::prelude::U256;
use bigint::hash::H256;
use ethereum_types::{H256, U256};
use bytes::Bytes;
use hash::keccak;
use rlp::Rlp;
@@ -80,7 +79,7 @@ impl<'a> TransactionView<'a> {
mod tests {
use std::str::FromStr;
use rustc_hex::FromHex;
use bigint::prelude::U256;
use ethereum_types::U256;
use super::TransactionView;
#[test]