mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-21 23:08:23 +00:00
Update network and rpc to BeaconStateTypes
This commit is contained in:
@@ -2,7 +2,7 @@ use crate::*;
|
||||
use fixed_len_vec::typenum::{Unsigned, U1024, U8, U8192};
|
||||
use std::fmt::Debug;
|
||||
|
||||
pub trait BeaconStateTypes: Default + Sync + Send + Clone + Debug + PartialEq {
|
||||
pub trait BeaconStateTypes: 'static + Default + Sync + Send + Clone + Debug + PartialEq {
|
||||
type ShardCount: Unsigned + Clone + Sync + Send + Debug + PartialEq;
|
||||
type SlotsPerHistoricalRoot: Unsigned + Clone + Sync + Send + Debug + PartialEq;
|
||||
type LatestRandaoMixesLength: Unsigned + Clone + Sync + Send + Debug + PartialEq;
|
||||
|
||||
Reference in New Issue
Block a user