Commit Graph

19 Commits

Author SHA1 Message Date
Kirk Baird
8dec3c1dc7
Added/modified types and constants according to specs 2019-01-16 10:39:02 +11:00
Kirk Baird
0b47b81a6c
Add tests for genesis and modify genesis to match new specs 2019-01-15 12:43:14 +11:00
Kirk Baird
3fd624923b Merge branch 'update-block-and-state' into genesis_tests 2019-01-15 11:09:26 +11:00
Kirk Baird
730281ed7d
modify formatting 2019-01-15 10:37:08 +11:00
Kirk Baird
ca28c18709 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>
2019-01-14 21:12:41 +11:00
Kirk Baird
d12b5249e0 Add genesis tests pre modifying the beancon structs 2019-01-14 16:32:55 +11:00
Alex Stokes
a2b23d6ae2
run cargo fmt 2019-01-10 14:57:34 -06:00
Paul Hauner
f01aac5ffa
Merge branch 'master' into chain-update 2019-01-09 10:11:41 +11:00
Grant Wuerker
c00dc0a96b removed crystallized state ref 2019-01-07 19:35:30 -06:00
Paul Hauner
3876e29f6e
Fix clippy lints 2019-01-04 18:30:24 +11:00
Paul Hauner
1081529cc7
Add basic BeaconChain struct 2018-12-30 13:03:20 +11:00
Grant Wuerker
c180c6c94f BaconState cleanup, warnings fixed, and invalid proof of possession induction test added 2018-12-29 17:53:48 -06:00
Grant Wuerker
598562da73 BaconState serialization fixed and reorganiztion around induction and deposits 2018-12-29 16:22:14 -06:00
Grant Wuerker
a470cb5369 testing around BeaconState and ChainSpec passing 2018-12-27 19:50:05 -06:00
Paul Hauner
d79d0182a6
Implement genesis signature 2018-12-26 11:15:51 +11:00
Paul Hauner
3c4541156a
Add BeaconBlock genesis 2018-12-25 19:25:48 +11:00
Paul Hauner
01f3b2f0c1
Update BeaconChain w/ new genesis code 2018-12-13 17:33:53 +11:00
Paul Hauner
06e1ee0e5f
Add extra params to ChainSpec 2018-12-13 16:01:04 +11:00
Paul Hauner
6847e68c5e
Move genesis code into its own crate 2018-12-13 12:27:45 +11:00