Skip to content

Slashable vote data cleanup #1697

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

Merged
merged 7 commits into from
Jan 10, 2019

Conversation

ralexstokes
Copy link
Member

What was wrong?

Fixes #1696.

How was it fixed?

Implemented the suggested changes from the review here: #1658 (review)

Cute Animal Picture

put a cute animal picture link inside the parentheses

@ralexstokes
Copy link
Member Author

i also found a bug in the test code so good thing you took a second look!

and while normally we should add a test for the broken test case, i want to discuss updating the BLS spec before making any further changes

@hwwhww hwwhww added the eth2.0 label Jan 7, 2019
Copy link
Member

@pipermerriam pipermerriam left a comment

Choose a reason for hiding this comment

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

@hwwhww 👍 from me structurally, relying on you to review correctness.

Copy link
Contributor

@hwwhww hwwhww left a comment

Choose a reason for hiding this comment

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

Sorry! Some more nitpicks of the previous PR.

@ralexstokes
Copy link
Member Author

@hwwhww i made those updates :)

the related tests pass locally -- trying to sort why the CI failed... seems unrelated to these edits...

@hwwhww
Copy link
Contributor

hwwhww commented Jan 9, 2019

@ralexstokes thanks! 👍
I've seen that CI error, you may need to rebase it. I guess it’s due to #1699 + Circle CI cache.

ralexstokes and others added 7 commits January 9, 2019 14:48
The previous implementation was using the `domain_type` as the `domain` when
it should in fact be the value calculated by `get_domain`.
This change is more in line with how this functionality will ultimately be used
so we want to route our query through the `BeaconState`.
@ralexstokes ralexstokes force-pushed the slashable-vote-data-cleanup branch from c8a2bbe to 569849c Compare January 9, 2019 20:48
@hwwhww hwwhww merged commit ef52da2 into ethereum:master Jan 10, 2019
@ralexstokes ralexstokes deleted the slashable-vote-data-cleanup branch January 10, 2019 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cleanup slashable condition helpers.
4 participants