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
@@ -16,7 +16,7 @@
|
||||
|
||||
use ethjson;
|
||||
use header::Header;
|
||||
use bigint::prelude::U256;
|
||||
use ethereum_types::U256;
|
||||
use spec::Spec;
|
||||
|
||||
pub fn json_difficulty_test(json_data: &[u8], spec: Spec) -> Vec<String> {
|
||||
|
||||
@@ -14,14 +14,12 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
pub use bigint::prelude::U256;
|
||||
pub use bigint::hash::H256;
|
||||
pub use util::*;
|
||||
use std::collections::HashSet;
|
||||
use std::io::Read;
|
||||
use std::fs::{File, read_dir};
|
||||
use std::path::Path;
|
||||
use std::ffi::OsString;
|
||||
pub use ethereum_types::{H256, U256, Address};
|
||||
|
||||
pub fn run_test_path(p: &Path, skip: &[&'static str], runner: fn (json_data: &[u8]) -> Vec<String>) {
|
||||
let path = Path::new(p);
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
use ethjson;
|
||||
use trie::{TrieFactory, TrieSpec};
|
||||
use bigint::hash::H256;
|
||||
use ethereum_types::H256;
|
||||
use memorydb::MemoryDB;
|
||||
|
||||
fn test_trie(json: &[u8], trie: TrieSpec) -> Vec<String> {
|
||||
|
||||
Reference in New Issue
Block a user