Move EthSpec (#591)

* Allow slot clock to work on genesis

* Loose over-strict requirements for slot clock tests

* move and rename beacon_state_types to eth_spec.rs
This commit is contained in:
pscott 2019-11-05 04:43:08 +01:00 committed by Paul Hauner
parent a1e14cc369
commit 4ef66a544a
3 changed files with 2 additions and 2 deletions

View File

@ -15,10 +15,9 @@ use tree_hash::TreeHash;
use tree_hash_derive::TreeHash; use tree_hash_derive::TreeHash;
pub use self::committee_cache::CommitteeCache; pub use self::committee_cache::CommitteeCache;
pub use beacon_state_types::*; pub use eth_spec::*;
#[macro_use] #[macro_use]
mod beacon_state_types;
mod committee_cache; mod committee_cache;
mod exit_cache; mod exit_cache;
mod pubkey_cache; mod pubkey_cache;

View File

@ -23,6 +23,7 @@ pub mod crosslink_committee;
pub mod deposit; pub mod deposit;
pub mod deposit_data; pub mod deposit_data;
pub mod eth1_data; pub mod eth1_data;
pub mod eth_spec;
pub mod fork; pub mod fork;
pub mod free_attestation; pub mod free_attestation;
pub mod historical_batch; pub mod historical_batch;