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

Update get_bitfield_bit logic to have little endian bit numbering. #456

Conversation

schroedingerscode
Copy link
Contributor

PR Description

This PR changes bit ordering in the aggregation and custody bitfields to little endian. Justification bitfield is unaffected as there is no direct bit access, and all bitwise operators assume starting from 0 in the genesis beacon state.

Fixed Issue(s)

Resolves #452

@schroedingerscode schroedingerscode added the enhancement 🕵️‍♀️ New feature or request label Mar 11, 2019
@schroedingerscode schroedingerscode self-assigned this Mar 11, 2019
Copy link
Contributor

@jrhea jrhea left a comment

Choose a reason for hiding this comment

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

lgtm

@schroedingerscode schroedingerscode merged commit a396bb6 into Consensys:v0.4-integration Mar 11, 2019
@schroedingerscode schroedingerscode deleted the feat/little-endian-bitfields branch March 11, 2019 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🕵️‍♀️ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants