Commit Graph

7 Commits

Author SHA1 Message Date
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