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
@@ -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]
|
||||
|
||||
@@ -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::*;
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user