Commit Graph
206 Commits
Author SHA1 Message Date
Michael Sproul 83456c6894 fixup: remove some unused variables 2019-05-29 16:36:50 +10:00
Michael Sproul 37c67117d3 state_processing: remove spurious withdrawal credentials check 2019-05-29 10:56:21 +10:00
Michael Sproul 01039546cb state_processing: sort attester slashing indices
This will be "to spec" if eth2.0-specs#1126 is merged
2019-05-27 17:46:05 +10:00
Paul Hauner a92c209787 Rename file in state_processing 2019-05-24 14:08:19 +10:00
Paul Hauner 99ae734638 Add saturating sub to slash_validator 2019-05-24 14:08:19 +10:00
Paul Hauner 55ef75a44e Fix underflow in verify_indexed_attestation 2019-05-24 14:08:19 +10:00
Paul Hauner cc916e25fd Fix erroneous change related to max_transfers 2019-05-23 23:28:03 +10:00
Paul Hauner 29792c56d5 Fix bug with checking for dust in transfers 2019-05-23 16:52:20 +10:00
Paul Hauner 4db6a8a058 Add transfer ef tests 2019-05-23 08:48:09 +10:00
Paul Hauner 892d891977 Fix bugs in deposit processing 2019-05-22 18:54:26 +10:00
Paul Hauner 2cffca7b1a Enable merkle branch verification for deposits 2019-05-22 16:46:27 +10:00
Paul Hauner 9790968378 Remove old inclusion_distance file 2019-05-22 12:19:13 +10:00
Paul Hauner 987afb6595 Update some Spec v.. comments & minor logic fix 2019-05-22 12:17:56 +10:00
Paul Hauner ea36c5ad35 Remove update_registry_and_shuffling_data 2019-05-22 12:17:00 +10:00
Paul Hauner 350dc1ad80 Add type hint to hashset AND. 2019-05-22 11:45:05 +10:00
Paul Hauner 04791dfc58 Update verify_exit to spec v0.6.1 2019-05-22 11:45:01 +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 468dc2ceb0 per-block processing: minor fixups 2019-05-21 16:43:55 +10:00
Michael Sproul 0b2aa26f2d spec v0.6.1: attestation processing/verif 2019-05-21 16:43:55 +10:00
Michael Sproul 56424d94c6 spec v0.6.1: update per-epoch processing 2019-05-21 16:43:54 +10:00
Michael Sproul d3d2900a6a state_processing: get_attesting_indices in common 2019-05-21 16:43:54 +10:00
Michael Sproul 857c4ed2db spec v0.6.1: process proposer/attester slashings 2019-05-20 15:12:24 +10:00
Michael Sproul dab11c1eed spec v0.6.1: verify attester slashing 2019-05-20 15:12:24 +10:00
Michael Sproul 58481c7119 spec v0.6.1: verify proposer slashing 2019-05-20 15:12:23 +10:00
Michael Sproul 366f0ffd87 spec v0.6.1: get_genesis_beacon_state 2019-05-20 15:12:23 +10:00
Michael Sproul 55537078a1 block processing: v0.6.1 headers, randao, eth1 data 2019-05-20 15:12:23 +10:00
Paul Hauner 6660311b2b Rename EpochCache to CommitteeCache 2019-05-20 14:36:54 +10:00
Paul Hauner 9264ec1aa9 Remove state.get_crosslink_committee fn
Replaced by state.get_crosslink_committee_for_shard
2019-05-19 17:08:09 +10:00
Paul Hauner ea96d24420 Make #stateprocessingcompileagain 2019-05-19 16:56:39 +10:00
Paul Hauner 03849de319 Fix some BeaconState API changes in state proc. 2019-05-19 15:56:24 +10:00
Michael Sproul 137afa9131 state_processing: nicer attestation swap 2019-05-15 17:14:07 +10:00
Michael Sproul e4bbcd333a state_processing: delete get_attestation_participants 2019-05-15 13:18:15 +10:00
Michael Sproul 79de966d3a spec: top-level per-epoch processing v0.6.1 2019-05-14 15:00:18 +10:00
Michael Sproul 894ecdd4ea state_processing: process_slashings v0.6.1 2019-05-14 12:56:15 +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 2751be9a05 state_processing: verify_deposit v0.6.0 2019-05-13 17:28:37 +10:00
Michael Sproul 4f138fa3fe state_processing: IndexedAttestation rename 2019-05-13 17:28:04 +10:00
Michael Sproul 92e88b1b75 spec: apply_rewards tweaks 2019-05-13 17:18:42 +10:00
Michael Sproul fd56c8fa04 state_processing: winning_root v0.6.1 2019-05-13 17:18:21 +10:00
Michael Sproul ca73fb72da state_processing: get_attesting_indices 2019-05-13 17:15:30 +10:00
Paul Hauner ce8ebeccbc Rename BeaconStateTypes to EthSpec 2019-05-10 14:47:09 +10:00
Paul Hauner 59883603ac Remove state_processing tests, update travis 2019-05-10 10:28:18 +10:00
Paul Hauner 77c4b6eafe Add progress on op pool test fixes 2019-05-09 18:56:41 +10:00
Paul Hauner 6ea538938b Fix state_processing under new BeaconStateTypes 2019-05-08 16:35:22 +10:00
Paul Hauner 8cefd20e9d Add progress on state_processing fixed-len update 2019-05-08 15:36:02 +10:00
Michael Sproul eda8ec8c55 spec: registry updates v0.6.1 2019-05-07 18:27:58 +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 839ef0119b spec: justification and finalization v0.6.1 2019-05-07 18:27:36 +10:00