mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 22:08:30 +00:00
Merge spec into types crate.
Also remove some pre-2018 `extern crate` calls.
This commit is contained in:
@@ -8,4 +8,3 @@ edition = "2018"
|
||||
bls = { path = "../utils/bls" }
|
||||
hashing = { path = "../utils/hashing" }
|
||||
types = { path = "../types" }
|
||||
spec = { path = "../spec" }
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user