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

Removes all usages of UnsignedLong usage and changes to long. #550

Merged
merged 32 commits into from
Apr 24, 2019

Conversation

akhila-raju
Copy link
Contributor

@akhila-raju akhila-raju commented Apr 3, 2019

PR Description

Removes all usages of UnsignedLong usage and changes to long.

Fixed Issue(s)

Fixes #312.

@akhila-raju akhila-raju self-assigned this Apr 3, 2019
@akhila-raju akhila-raju added the enhancement 🕵️‍♀️ New feature or request label Apr 3, 2019
@akhila-raju akhila-raju changed the title [WIP] Switches UnsignedLong usage to long usage Switches UnsignedLong usage to long usage Apr 3, 2019
@akhila-raju akhila-raju changed the title Switches UnsignedLong usage to long usage Removes all usages of UnsignedLong usage and changes to long. Apr 3, 2019
Copy link
Contributor

@schroedingerscode schroedingerscode left a comment

Choose a reason for hiding this comment

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

A number of concerns about index out of bounds errors, loss of precision, and order of operations. I've still yet to review BlockProcessorUtil, AttestationUtil, BeaconStateUtil, and BeaconState, which I will do after the v0.5.1 upgrade, however I expect they will have similar issues.

Copy link
Contributor

@schroedingerscode schroedingerscode left a comment

Choose a reason for hiding this comment

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

Found some more order of operations (OOO) glitches.

Copy link
Contributor

@schroedingerscode schroedingerscode left a comment

Choose a reason for hiding this comment

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

LGTM, I don't see any remaining issues.

Akhila Raju and others added 4 commits April 22, 2019 10:53
@akhila-raju akhila-raju merged commit 7e84c7e into Consensys:master Apr 24, 2019
@akhila-raju akhila-raju deleted the long branch April 24, 2019 22:49
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.

Add bounds check on UnsignedLongs
5 participants