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

Weaken criterion for attestation inclusion #752

Merged
merged 1 commit into from
Mar 11, 2019
Merged

Conversation

JustinDrake
Copy link
Collaborator

@JustinDrake JustinDrake commented Mar 10, 2019

The invariant that get_current_epoch(state) in [get_current_epoch(state), get_previous_epoch(state)] is preserved, as well as symmetry/fairness across slots.

(Also <=/>= is used for all three comparisons involving attestation.data.slot, slight simplification.)

The invariant that `get_current_epoch(state) in [get_current_epoch(state), get_previous_epoch(state)]` is preserved, as well as symmetry/fairness across blocks.
Copy link
Contributor

@vbuterin vbuterin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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

Successfully merging this pull request may close these issues.

None yet

3 participants