get tests passing (except one)

This commit is contained in:
Alex Stokes
2018-11-07 14:32:33 -08:00
committed by mjkeating
parent 3a26f73cf2
commit 2defe8e4ee
6 changed files with 36 additions and 39 deletions

View File

@@ -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>>;