mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 23:04:53 +00:00
get tests passing (except one)
This commit is contained in:
@@ -15,7 +15,11 @@ pub mod validator_record;
|
||||
pub mod validator_registration;
|
||||
|
||||
use self::boolean_bitfield::BooleanBitfield;
|
||||
use self::ethereum_types::{H160, H256, U256};
|
||||
use self::ethereum_types::{
|
||||
H256,
|
||||
H160,
|
||||
U256
|
||||
};
|
||||
use std::collections::HashMap;
|
||||
|
||||
pub use active_state::ActiveState;
|
||||
@@ -32,7 +36,8 @@ pub use validator_registration::ValidatorRegistration;
|
||||
pub type Hash256 = H256;
|
||||
pub type Address = H160;
|
||||
pub type EthBalance = U256;
|
||||
pub type Bitfield = BooleanBitfield;
|
||||
pub type Bitfield = boolean_bitfield::BooleanBitfield;
|
||||
pub type BitfieldError = boolean_bitfield::Error;
|
||||
|
||||
/// Maps a (slot, shard_id) to attestation_indices.
|
||||
pub type AttesterMap = HashMap<(u64, u16), Vec<usize>>;
|
||||
|
||||
Reference in New Issue
Block a user