Fix old instances of shards being u16
This commit is contained in:
parent
b365bb8773
commit
8308ea4932
@ -45,7 +45,7 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
fn sac_generator(
|
fn sac_generator(
|
||||||
shard_count: u16,
|
shard_count: u64,
|
||||||
slot_count: usize,
|
slot_count: usize,
|
||||||
sac_per_slot: usize,
|
sac_per_slot: usize,
|
||||||
committee_size: usize,
|
committee_size: usize,
|
||||||
|
@ -65,7 +65,7 @@ pub type Bitfield = boolean_bitfield::BooleanBitfield;
|
|||||||
pub type BitfieldError = boolean_bitfield::Error;
|
pub type BitfieldError = boolean_bitfield::Error;
|
||||||
|
|
||||||
/// Maps a (slot, shard_id) to attestation_indices.
|
/// Maps a (slot, shard_id) to attestation_indices.
|
||||||
pub type AttesterMap = HashMap<(u64, u16), Vec<usize>>;
|
pub type AttesterMap = HashMap<(u64, u64), Vec<usize>>;
|
||||||
|
|
||||||
/// Maps a slot to a block proposer.
|
/// Maps a slot to a block proposer.
|
||||||
pub type ProposerMap = HashMap<u64, usize>;
|
pub type ProposerMap = HashMap<u64, usize>;
|
||||||
|
Loading…
Reference in New Issue
Block a user