Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Fix hexToNumber and hexToNumberString prefix validation#3086

Merged
nivida merged 3 commits intoweb3:1.xfrom
cgewecke:backport/2884
Oct 15, 2019
Merged

Fix hexToNumber and hexToNumberString prefix validation#3086
nivida merged 3 commits intoweb3:1.xfrom
cgewecke:backport/2884

Conversation

@cgewecke
Copy link
Collaborator

@cgewecke cgewecke commented Oct 1, 2019

Fixes #2184 in the 1.x branch by back-porting #2884.

Notes

  • PR fixes both hexToNumber and hexToNumberString - fix(utils): hexToNumberString prefix validation #2884 only touched hexToNumberString. Possible 2.x needs a small addition there.

  • The existing hexToNumber tests look like they were mistakenly copy-pasted from hexToNumberString so have amended those.

@coveralls
Copy link

coveralls commented Oct 1, 2019

Coverage Status

Coverage increased (+0.03%) to 82.976% when pulling e832bdb on cgewecke:backport/2884 into 2e84152 on ethereum:1.x.

@cgewecke cgewecke added the 1.x 1.0 related issues label Oct 1, 2019
@cgewecke cgewecke changed the title Fix hexToNumber and hexToNumberString prefix validation [WIP] Fix hexToNumber and hexToNumberString prefix validation Oct 3, 2019
@nivida nivida added Bug Addressing a bug In Progress Currently being worked on labels Oct 8, 2019
@nivida nivida changed the title [WIP] Fix hexToNumber and hexToNumberString prefix validation Fix hexToNumber and hexToNumberString prefix validation Oct 8, 2019
@cgewecke
Copy link
Collaborator Author

@nivida I checked the hexToNumber change on the E2E PR (#3122) and it looks ok...

I think you're correct and this is merge-able.

@nivida nivida removed the In Progress Currently being worked on label Oct 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

1.x 1.0 related issues Bug Addressing a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants