Parallel tests and SSZ generic

This commit is contained in:
Michael Sproul
2019-09-03 16:46:10 +10:00
parent 8d5a579aa6
commit f47eaf5730
9 changed files with 246 additions and 89 deletions

View File

@@ -31,7 +31,7 @@ pub struct EpochProcessing<E: EthSpec, T: EpochTransition<E>> {
_phantom: PhantomData<T>,
}
pub trait EpochTransition<E: EthSpec>: TypeName + Debug {
pub trait EpochTransition<E: EthSpec>: TypeName + Debug + Sync {
fn run(state: &mut BeaconState<E>, spec: &ChainSpec) -> Result<(), EpochProcessingError>;
}