Commit Graph

445 Commits

Author SHA1 Message Date
Age Manning
dd3a4f0b43
Removes network parameters from chain spec 2019-06-25 18:02:49 +10:00
Age Manning
e9181e120c
Add topics to chain id 2019-06-25 18:02:48 +10:00
Paul Hauner
8afe8b3569
Implement fixes from PR review 2019-06-24 15:31:36 +10:00
Paul Hauner
d0037f49d8
Add progress on debugging fork choice 2019-06-24 09:34:54 +10:00
Paul Hauner
5a8cde0598
Change "canonical_root" of block to be signed root 2019-06-24 09:34:54 +10:00
Paul Hauner
85b23f9f1b
Add incomplete progress on fork choice 2019-06-24 09:34:54 +10:00
Paul Hauner
952e08ba38
Add state roots iter to store 2019-06-24 09:34:53 +10:00
Michael Sproul
03c50354f4
v0.6: update all spec version comments 2019-06-17 17:22:48 +10:00
Michael Sproul
1823378bfa
v0.6: remove some FIXMEs 2019-06-17 17:22:48 +10:00
Michael Sproul
660a35991f
update minimal spec, fix all tests 2019-06-17 15:21:03 +10:00
Paul Hauner
a71f05066b
Merge branch 'docker-env' into v0.6.1 2019-06-13 10:37:35 -04:00
Michael Sproul
ea43515eb0
committee cache: fix a test for shard delta changes 2019-06-12 16:55:59 +10:00
Michael Sproul
64dca6fba7
committee cache: avoid spurious recomputes
Check that the committeee cache matches the absolute epoch for the relative epoch, rather than
always checking the previous epoch.
2019-06-12 15:41:20 +10:00
Paul Hauner
e550c0218f
Add various fixes to clippy lints
Thou shalt appease clippy
2019-06-10 11:01:25 -04:00
Paul Hauner
a662c3a940
Fix various compile errors and warnings 2019-06-09 06:26:34 -04:00
Paul Hauner
ab12787610
Update account manager config parsing 2019-06-09 04:34:56 -04:00
Paul Hauner
d8fc5f31d8
Add Eth2Config to runtime 2019-06-08 13:17:03 -04:00
Paul Hauner
749f2fcb5f
Unify EthSpecs in Mainnet and Minimal 2019-06-08 08:49:04 -04:00
Paul Hauner
caddeba81b
Remove genesis_epoch from ChainSpec 2019-06-08 08:17:42 -04:00
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
Michael Sproul
c151e5861e
epoch processing: fix shard delta calculation 2019-06-04 17:10:11 +10:00
Paul Hauner
67fdb4a7fb
Store beacon state committee cache in DB 2019-06-04 13:13:58 +10:00
Michael Sproul
6bde64bd6a
spec v0.6: update beacon_node, validator_client 2019-06-03 16:13:51 +10:00
Michael Sproul
7fbcdd54d7
op_pool: update for v0.6.x 2019-06-03 15:25:06 +10:00
Paul Hauner
e310bdd904
Merge branch 'master' into v0.6.1 2019-06-02 13:49:24 +10:00
Michael Sproul
beacf42aaf
v0.6.2: update test infrastructure 2019-05-29 15:31:34 +10:00
Paul Hauner
686963bd34
Update ef_tests for new compare_fields API 2019-05-24 14:08:19 +10:00
Paul Hauner
92610b4fd3
Improve error messages for ef_tests 2019-05-23 16:55:50 +10:00
Paul Hauner
d0ab1a0576
Add basic tests for get_beacon_proposer 2019-05-23 16:55:31 +10:00
Paul Hauner
b8e25a3e4c
Fix bug in beacon state randao getter 2019-05-23 16:53:18 +10:00
Paul Hauner
c214bec344
Add ability to get shuffling from BeaconState 2019-05-23 16:52:51 +10:00
Paul Hauner
b2666d700c
Implemented detailed state eqs in ef_tests 2019-05-22 18:00:21 +10:00
Paul Hauner
7a99654f89
Add new CompareFields trait and derive 2019-05-22 17:22:12 +10:00
Paul Hauner
07b94b30ba
Add serde deser to AttestationDataAndCustodyBit 2019-05-22 14:49:14 +10:00
Paul Hauner
1eeaaaa92b
Merge branch 'ef-tests' into v0.6.1 2019-05-22 14:46:10 +10:00
Paul Hauner
fabb42a162
Update various v0.5.1 tags, delete old file 2019-05-22 13:03:51 +10:00
Paul Hauner
bb7ee642d8
Update verify_transfer to spec v0.6.1 2019-05-22 11:28:29 +10:00
Michael Sproul
545fb10005
spec v0.6.1: deposit processing (WIP) 2019-05-21 18:02:31 +10:00
Michael Sproul
0b2aa26f2d
spec v0.6.1: attestation processing/verif 2019-05-21 16:43:55 +10:00
Michael Sproul
f8d4e742ad
types: safe accessors for current crosslinks 2019-05-21 16:43:54 +10:00
Paul Hauner
048f342e1d
Fix off-by-one error in CommitteeCache 2019-05-20 16:46:44 +10:00
Paul Hauner
21de9c1cb8
Re-work CommitteeCache to use less memory
Now it just stores a reverse mapping of the shuffling (validator index
-> position in shuffling) instead of all the `AttestationDuty`.
2019-05-20 16:21:26 +10:00
Michael Sproul
857c4ed2db
spec v0.6.1: process proposer/attester slashings 2019-05-20 15:12:24 +10:00
Michael Sproul
55537078a1
block processing: v0.6.1 headers, randao, eth1 data 2019-05-20 15:12:23 +10:00
Paul Hauner
aa01808a00
Tidy, add comments to CommitteeCache 2019-05-20 15:10:56 +10:00
Paul Hauner
6660311b2b
Rename EpochCache to CommitteeCache 2019-05-20 14:36:54 +10:00
Paul Hauner
cb74187cfc
Re-add old cache tests 2019-05-20 14:25:38 +10:00
Paul Hauner
89df2b173e
Add more epoch_cache tests 2019-05-20 14:04:02 +10:00
Paul Hauner
2fd45e093c
Remove shard_count from ChainSpec 2019-05-20 14:00:47 +10:00