Commit Graph

17 Commits

Author SHA1 Message Date
Paul Hauner
e74d49fc8a Remove dupe info between ChainSpec and EthSpec 2019-06-08 07:57:25 -04:00
Paul Hauner
719dd72de6 Fix recently introduced sync bugs 2019-06-07 02:55:16 -04:00
Paul Hauner
987afb6595 Update some Spec v.. comments & minor logic fix 2019-05-22 12:17:56 +10:00
Paul Hauner
ce8ebeccbc Rename BeaconStateTypes to EthSpec 2019-05-10 14:47:09 +10:00
Paul Hauner
8cefd20e9d Add progress on state_processing fixed-len update 2019-05-08 15:36:02 +10:00
Paul Hauner
6258abfa9f Tidy per_slot_processing fn 2019-04-29 07:34:01 +10:00
Paul Hauner
4dd1239b24 Add caching to state transition 2019-04-28 11:33:48 +10:00
Paul Hauner
745d360566 Store state roots during slot processing 2019-04-17 17:17:43 +10:00
Michael Sproul
f592183aa9 Fix signed_root vs tree_hash_root in per_slot 2019-04-17 12:00:24 +10:00
Michael Sproul
d95ae95ce8 spec: update tags to v0.5.1 2019-04-17 12:00:23 +10:00
Michael Sproul
32547373e5 spec: simplify cache_state
The `latest_block_root` input argument was unnecessary as we were always setting it to something
almost equivalent to `state.latest_block_root` anyway, and more importantly, it was messing up the
caching of the state root. Previously it was possible for the function to update the state's latest
block root, and then hash the outdated block root that was passed in as an argument.
2019-04-17 12:00:23 +10:00
Paul Hauner
b8c4c3308a Update types to new tree_hash crate 2019-04-16 14:14:38 +10:00
Paul Hauner
b887509607 Fix double advance-cache calls bug 2019-03-27 10:35:46 +11:00
Paul Hauner
7503f31ddc Fix bug with per-block processing 2019-03-18 18:09:31 +11:00
Paul Hauner
edeace9e75 Fix issues with building on genesis block 2019-03-18 16:53:59 +11:00
Paul Hauner
6bd2055a0a Update block processing to v0.5.0 2019-03-17 12:25:37 +11:00
Paul Hauner
5a225d2983 Update per-slot processing to v0.4.0 2019-03-07 08:37:13 +11:00