Commit Graph

378 Commits

Author SHA1 Message Date
Paul Hauner
ea96d24420
Make #stateprocessingcompileagain 2019-05-19 16:56:39 +10:00
Paul Hauner
29a3e0c868
Move beacon state fns to be RelativeEpoch native 2019-05-19 16:03:54 +10:00
Paul Hauner
9eb8c7411f
Make EpochCache store shuffling and less maps 2019-05-19 15:41:22 +10:00
Paul Hauner
089febb944
Fix epoch cache, add tests 2019-05-17 16:40:33 +10:00
Paul Hauner
86c3dad3e7
Add progress on epoch cache testing 2019-05-16 17:54:45 +10:00
Paul Hauner
944ac73ef9
Add progress on epoch caching 2019-05-16 16:54:11 +10:00
Michael Sproul
0885d56b36
spec: v0.6.1 scaffold for updated epoch cache 2019-05-15 17:20:04 +10:00
Michael Sproul
3a0f00215d
spec: ensure types up to date with v0.6.1 2019-05-15 11:48:09 +10:00
Michael Sproul
9f6b7eb757
Merge remote-tracking branch 'origin/sos' into spec-0.6 2019-05-15 11:09:00 +10:00
Michael Sproul
c568dd01fe
types: del SlashableAttestation, fix fork defaults 2019-05-14 16:37:19 +10:00
Michael Sproul
2727590762
spec: confirm default 0 val for latest_start_shard 2019-05-14 15:49:58 +10:00
Michael Sproul
45506ded5d
spec: implement get_epoch_start_shard v0.6.1 2019-05-14 15:37:40 +10:00
Michael Sproul
79de966d3a
spec: top-level per-epoch processing v0.6.1 2019-05-14 15:00:18 +10:00
Michael Sproul
e80264b8c8
Merge remote-tracking branch 'origin/master' into spec-0.6 2019-05-14 12:09:59 +10:00
Michael Sproul
13ec3d125e
WIP trash changes 2019-05-13 17:32:06 +10:00
Michael Sproul
ac51d7be3b
WIP beacon state changes 2019-05-13 17:31:47 +10:00
Michael Sproul
240e269f2f
types: more v0.6.1 updates 2019-05-13 17:13:56 +10:00
Paul Hauner
8222ac17cf
Merge branch 'master' into sos 2019-05-13 15:17:56 +10:00
Paul Hauner
a0148b5aae
Rename SSZ traits (Encodable -> Encode) 2019-05-13 15:12:19 +10:00
Paul Hauner
afa8fff31a
Remove old tree_hash_vector file 2019-05-13 14:14:40 +10:00
Paul Hauner
2313de9b6e
Fix types ssz macro 2019-05-10 16:41:52 +10:00
Paul Hauner
3ef46c03d1
Merge branch 'fixed-vec' into sos 2019-05-10 15:27:21 +10:00
Paul Hauner
ce8ebeccbc
Rename BeaconStateTypes to EthSpec 2019-05-10 14:47:09 +10:00
Paul Hauner
75b310a078
Add convenience methods to BeaconStateTypes 2019-05-10 11:23:19 +10:00
Paul Hauner
77c4b6eafe
Add progress on op pool test fixes 2019-05-09 18:56:41 +10:00
Paul Hauner
2a938f2fd5
Fix clippy lints 2019-05-09 13:35:00 +10:00
Paul Hauner
4c0c93f0c9
Update beacon_node to work w/ BeaconStateTypes 2019-05-09 09:40:32 +10:00
Paul Hauner
42b7aa89d4
Update network and rpc to BeaconStateTypes 2019-05-08 19:38:18 +10:00
Paul Hauner
51dc97ee42
Allow fork_choice and beacon_chain to compile 2019-05-08 18:18:17 +10:00
Paul Hauner
9fd8af8428
Update operations_pool for new BeaconStateTypes 2019-05-08 17:07:26 +10:00
Paul Hauner
6ea538938b
Fix state_processing under new BeaconStateTypes 2019-05-08 16:35:22 +10:00
Paul Hauner
81c1dcceec
Add spec fn to BeaconStateTypes 2019-05-08 16:29:27 +10:00
Paul Hauner
8cefd20e9d
Add progress on state_processing fixed-len update 2019-05-08 15:36:02 +10:00
Paul Hauner
7a67d34293
Add FewValidatorsBeaconState for testing 2019-05-08 13:26:19 +10:00
Paul Hauner
5ba069c774
Implement new BeaconStateTypes trait in types 2019-05-08 13:08:37 +10:00
Paul Hauner
009d05cafd
Implement basic FixedLenVec 2019-05-07 18:42:41 +10:00
Michael Sproul
5394726caf
spec: initiate_validator_exit v0.6.1
Added a new field `exit_cache` to the BeaconState, which caches
the number of validators exiting at each epoch.
2019-05-07 18:27:58 +10:00
Michael Sproul
5c03f7b06c
spec: update chain spec for v0.6.1 2019-05-07 18:27:43 +10:00
Michael Sproul
1ad0024045
spec v0.6.0: update types 2019-05-07 18:27:24 +10:00
Paul Hauner
759d0250c5
Clean out some occurances of SszStream 2019-05-06 19:50:05 +10:00
Luke Anderson
934cb5af5f
Merge branch 'master' into testnet-key-load 2019-05-06 11:13:16 +10:00
Paul Hauner
84d72cfed6
Tidy and add docs for cached tree hash 2019-04-29 17:46:01 +10:00
Paul Hauner
52695c29e8
Improve cached hash testing in types 2019-04-29 10:57:39 +10:00
Paul Hauner
0599d3f1f8
Remove redundant type param fom CachedTreeHash 2019-04-29 07:48:48 +10:00
Paul Hauner
89d64b007f
Run cargofmt --all 2019-04-27 19:04:26 +10:00
Paul Hauner
6c9be1a73c
Add tree hash cache as field to BeaconState. 2019-04-27 19:02:52 +10:00
Paul Hauner
80fa5d08c5
Fix bug with cached tree hash, passes tests 2019-04-27 16:24:29 +10:00
Paul Hauner
0f3b74b20e
Update TestRandom to vary list length 2019-04-26 18:10:06 +10:00
Paul Hauner
a425beb42a
Fix chunk index bug with structs 2019-04-26 17:39:38 +10:00
Paul Hauner
f65e981f6f
Begin implementing cached hashing in types 2019-04-26 15:24:18 +10:00