Commit Graph

12 Commits

Author SHA1 Message Date
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
Paul Hauner
f01aac5ffa
Merge branch 'master' into chain-update 2019-01-09 10:11:41 +11:00
Grant Wuerker
cdb8e602e8 bad whitespace removed 2019-01-07 22:16:15 -06:00
Grant Wuerker
0a1c299206 custody names refactored 2019-01-07 21:57:35 -06:00
Paul Hauner
3876e29f6e
Fix clippy lints 2019-01-04 18:30:24 +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
a470cb5369 testing around BeaconState and ChainSpec passing 2018-12-27 19:50:05 -06:00
Paul Hauner
b978db23fc
Merge new beacon block, Rust 2018 2018-12-25 19:00:41 +11:00
Stan Drozd
dcf9f2244a
Add 'edition = "2018"' to every Cargo.toml 2018-12-19 16:38:59 +01: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
Paul Hauner
211d3961a0
Add ChainSpec structure.
It includes all constants from the
[Constants](https://github.com/ethereum/eth2.0-specs/blob/master/specs/core/0_beacon-chain.md#attestation)
section in the spec, except for things that are clearly enums.

My reasoning is that these enums are not so much "chain specification"
and this struct should be reserved for items that "configure" the chain.
2018-12-12 16:08:01 +11:00