Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resync with latest spec #2

Closed
mratsim opened this issue Aug 9, 2018 · 0 comments
Closed

Resync with latest spec #2

mratsim opened this issue Aug 9, 2018 · 0 comments

Comments

@mratsim
Copy link
Contributor

mratsim commented Aug 9, 2018

Changelog: https://notes.ethereum.org/TQCF7Q07RI2tlP8Vmiv3RQ?view

v2.1 edits

  • add args validators and dynasty to get_active_validator_indices
  • add arg dynasty to get_new_shuffling
  • Added comment to ActiveState.recent_block_hashes dictating order
  • store 2*EPOCH_LENGTH hashes in ActiveState.recent_block_hashes
  • fixed parent_hashes calculation
  • Remove current_checkpoint
  • Added how/when to update crosslinks
  • "If justified_streak >= 65" --> "If justified_streak >= EPOCH_LENGTH + 1"
  • get_new_shuffling takes seed as an arg and passes it to shuffle
  • added Attestation validity condition -- slot > block.slot_number - EPOCH_LENGTH
  • Rename ShardAndIndices to ShardAndCommittee
  • Change var name ShardAndCommittee.validators to ShardAndCommittee.committee
  • A number of typos and remnants from previous spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant