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

Some phase1 refactoring #1854

Merged
merged 4 commits into from
Jun 1, 2020
Merged

Some phase1 refactoring #1854

merged 4 commits into from
Jun 1, 2020

Conversation

hwwhww
Copy link
Contributor

@hwwhww hwwhww commented May 28, 2020

Per #1850 request

  1. Rename head_shard_root to shard_head_root
  2. Rework is_shard_attestation
    • Different from Prysm phase 1 feedback #1850 suggested, I changed it to is_on_time_attestation so that it could be reused in validate_attestation
  3. Rename verify_shard_transition_false_positives to verify_empty_shard_transition

/cc @terencechain

Change it to `is_on_time_attestation` so that it could be reused in
`validate_attestation`.
@hwwhww hwwhww added phase1 general:presentation Presentation (as opposed to content) labels May 28, 2020
@terencechain
Copy link
Contributor

Looks good to me. Thanks!

Co-authored-by: Danny Ryan <[email protected]>
@hwwhww hwwhww merged commit 8f570b4 into dev Jun 1, 2020
@hwwhww hwwhww deleted the hwwhww/phase1_refactor branch June 1, 2020 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general:presentation Presentation (as opposed to content) phase1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants