ethereum / beacon_chain

MIT License
209 stars 65 forks source link

Proposer validation #121

Closed hwwhww closed 5 years ago

hwwhww commented 5 years ago

Fixes #85:

  1. Added proposer validation
  2. Renamed get_shard_and_committees_for_slot to get_shards_and_committees_for_slot
  3. Updated attestation slot number validation rule to slot <= parent.slot_number and slot >= max(parent.slot_number - CYCLE_LENGTH + 1, 0)
hwwhww commented 5 years ago

@djrtwo thank you! ready for review again.

djrtwo commented 5 years ago

lgtm. merging