fixed missing import
This commit is contained in:
parent
2face3f938
commit
24cb15ef2e
@ -21,10 +21,11 @@ use ethereum;
|
|||||||
use tests::helpers::*;
|
use tests::helpers::*;
|
||||||
use devtools::*;
|
use devtools::*;
|
||||||
use spec::Genesis;
|
use spec::Genesis;
|
||||||
|
use ethjson;
|
||||||
|
|
||||||
pub fn json_chain_test(json_data: &[u8], era: ChainEra) -> Vec<String> {
|
pub fn json_chain_test(json_data: &[u8], era: ChainEra) -> Vec<String> {
|
||||||
init_log();
|
init_log();
|
||||||
let tests = ethjson::blockchain::Test.load(json_data).unwrap();
|
let tests = ethjson::blockchain::Test::load(json_data).unwrap();
|
||||||
let mut failed = Vec::new();
|
let mut failed = Vec::new();
|
||||||
|
|
||||||
for (name, blockchain) in tests.deref() {
|
for (name, blockchain) in tests.deref() {
|
||||||
|
Loading…
Reference in New Issue
Block a user