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

@@ -1,6 +1,5 @@
use bls::verify_proof_of_possession;
use spec::ChainSpec;
use types::{BeaconState, Deposit, Validator};
use types::{BeaconState, ChainSpec, Deposit, Validator};
#[derive(Debug, PartialEq, Clone)]
pub enum ValidatorInductionError {

View File

@@ -1,8 +1,3 @@
extern crate bls;
extern crate hashing;
extern crate spec;
extern crate types;
mod inductor;
pub use crate::inductor::{process_deposit, ValidatorInductionError};