Skip to content

uint: manually implement Eq and Hash#390

Merged
ordian merged 7 commits into
masterfrom
ao-manually-implement-eq
May 18, 2020
Merged

uint: manually implement Eq and Hash#390
ordian merged 7 commits into
masterfrom
ao-manually-implement-eq

Conversation

@ordian
Copy link
Copy Markdown
Contributor

@ordian ordian commented May 12, 2020

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

@ordian ordian force-pushed the ao-manually-implement-eq branch from 25b6790 to b4f1473 Compare May 12, 2020 10:56
Comment thread uint/src/uint.rs Outdated
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor 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