Modify BeaconState and BeaconBlockBody to reflect changes in the specs. Also add new variable LATEST_RANDAO_MIXES_LENGTH to foundation

Signed-off-by: Kirk Baird <kirk@sigmaprime.io>
This commit is contained in:
Kirk Baird
2019-01-14 19:28:57 +11:00
parent 7df6481349
commit ca28c18709
6 changed files with 59 additions and 26 deletions

View File

@@ -16,6 +16,9 @@ pub fn genesis_beacon_block(state_root: Hash256, spec: &ChainSpec) -> BeaconBloc
proposer_slashings: vec![],
casper_slashings: vec![],
attestations: vec![],
custody_reseeds: vec![],
custody_challenges: vec![],
custody_responses: vec![],
deposits: vec![],
exits: vec![],
},