Tidy import structure in ef_tests
This commit is contained in:
parent
4cb23dd342
commit
5a361b852a
@ -1,4 +1,5 @@
|
||||
use super::*;
|
||||
use std::fmt::Debug;
|
||||
|
||||
#[derive(Debug, PartialEq, Clone)]
|
||||
pub struct CaseResult {
|
||||
|
@ -1,5 +1,6 @@
|
||||
use super::*;
|
||||
use crate::yaml_decode::*;
|
||||
use serde_derive::Deserialize;
|
||||
use yaml_rust::YamlLoader;
|
||||
|
||||
mod ssz_generic;
|
||||
|
@ -1,4 +1,9 @@
|
||||
use super::*;
|
||||
use crate::case_result::compare_result;
|
||||
use ethereum_types::{U128, U256};
|
||||
use serde_derive::Deserialize;
|
||||
use ssz::Decode;
|
||||
use std::fmt::Debug;
|
||||
use types::EthSpec;
|
||||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
|
@ -1,4 +1,8 @@
|
||||
use super::*;
|
||||
use crate::case_result::compare_result;
|
||||
use serde_derive::Deserialize;
|
||||
use ssz::Decode;
|
||||
use std::fmt::Debug;
|
||||
use tree_hash::TreeHash;
|
||||
use types::{
|
||||
Attestation, AttestationData, AttestationDataAndCustodyBit, AttesterSlashing, BeaconBlock,
|
||||
|
@ -1,5 +1,10 @@
|
||||
use super::*;
|
||||
use crate::yaml_decode::*;
|
||||
use crate::case_result::CaseResult;
|
||||
use crate::cases::*;
|
||||
use crate::doc_header::DocHeader;
|
||||
use crate::eth_specs::MinimalEthSpec;
|
||||
use crate::yaml_decode::{extract_yaml_by_key, YamlDecode};
|
||||
use crate::EfTest;
|
||||
use serde_derive::Deserialize;
|
||||
use std::{fs::File, io::prelude::*, path::PathBuf};
|
||||
use types::{EthSpec, FoundationEthSpec};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use super::*;
|
||||
use serde_derive::Deserialize;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct DocHeader {
|
||||
|
@ -1,16 +1,8 @@
|
||||
use error::Error;
|
||||
use ethereum_types::{U128, U256};
|
||||
use serde_derive::Deserialize;
|
||||
use ssz::Decode;
|
||||
use std::fmt::Debug;
|
||||
use types::EthSpec;
|
||||
|
||||
pub use crate::case_result::*;
|
||||
pub use crate::cases::*;
|
||||
pub use crate::doc::*;
|
||||
pub use crate::doc_header::*;
|
||||
pub use crate::error::*;
|
||||
pub use crate::eth_specs::*;
|
||||
pub use case_result::CaseResult;
|
||||
pub use doc::Doc;
|
||||
pub use error::Error;
|
||||
pub use yaml_decode::YamlDecode;
|
||||
|
||||
mod case_result;
|
||||
|
@ -1,4 +1,5 @@
|
||||
use super::*;
|
||||
use ethereum_types::{U128, U256};
|
||||
use types::Fork;
|
||||
|
||||
mod utils;
|
||||
|
Loading…
Reference in New Issue
Block a user