Merge spec into types crate.

Also remove some pre-2018 `extern crate` calls.
This commit is contained in:
Paul Hauner
2019-02-01 19:05:39 +11:00
parent c1c5311ea0
commit aad3b3dc7a
21 changed files with 13 additions and 49 deletions

View File

@@ -7,11 +7,10 @@ use db::{
};
use genesis::{genesis_beacon_block, genesis_beacon_state, GenesisError};
use slot_clock::SlotClock;
use spec::ChainSpec;
use ssz::ssz_encode;
use std::collections::HashSet;
use std::sync::Arc;
use types::Hash256;
use types::{ChainSpec, Hash256};
pub use crate::block_processing::Outcome as BlockProcessingOutcome;

View File

@@ -4,8 +4,8 @@ use db::{
MemoryDB,
};
use slot_clock::TestingSlotClock;
use spec::ChainSpec;
use std::sync::Arc;
use types::ChainSpec;
fn in_memory_test_stores() -> (
Arc<MemoryDB>,