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

uint: manually implement Eq and Hash #390

Merged
merged 7 commits into from
May 18, 2020
Merged

Conversation

ordian
Copy link
Member

@ordian ordian commented May 12, 2020

Part of #388.
It doesn't allow U4096 yet, currently blocked on an issue with crunchy.

uint/src/uint.rs Outdated Show resolved Hide resolved
Copy link
Member

@niklasad1 niklasad1 left a comment

Choose a reason for hiding this comment

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

Looks good to me, perhaps add a test for construct_uint! with 33 elements, or is it blocked on crunchy?

@ordian
Copy link
Member Author

ordian commented May 18, 2020

perhaps add a test for construct_uint! with 33 elements, or is it blocked on crunchy?

yep, even 32 elements are challenging the rustc compiler quite a bit

@ordian ordian merged commit 8e12159 into master May 18, 2020
@ordian ordian deleted the ao-manually-implement-eq branch May 18, 2020 11:05
ordian added a commit that referenced this pull request May 18, 2020
* master:
  uint: manually implement `Eq` and `Hash` (#390)
  uint: simplify `Ord` impl (#389)
  Implement codec for ethereum types (#393)
ordian added a commit that referenced this pull request Jun 12, 2020
* master:
  uint: manually implement `Eq` and `Hash` (#390)
  uint: simplify `Ord` impl (#389)
  Implement codec for ethereum types (#393)
  update changelogs and bump versions (#387)
  prepare new `kvdb-` release (#386)
ordian added a commit that referenced this pull request Aug 9, 2020
dvdplm pushed a commit that referenced this pull request Aug 25, 2020
* uint: revert #390 partially

* uint: add a regression test

* uint: version bump

* tomorrow, maybe?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants