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

refactor: improve bloom implementation quality #59

Merged
merged 3 commits into from
May 31, 2023

Conversation

prestwich
Copy link
Member

Make the bloom implementation suck less

@prestwich prestwich added the enhancement New feature or request label May 31, 2023
@prestwich prestwich requested a review from DaniPopes May 31, 2023 21:44
@prestwich prestwich self-assigned this May 31, 2023
crates/primitives/src/bits/bloom.rs Outdated Show resolved Hide resolved
crates/primitives/src/bits/bloom.rs Show resolved Hide resolved
crates/primitives/src/bits/bloom.rs Outdated Show resolved Hide resolved
crates/primitives/src/bits/bloom.rs Show resolved Hide resolved
crates/primitives/src/bits/bloom.rs Outdated Show resolved Hide resolved
@prestwich prestwich requested a review from DaniPopes May 31, 2023 22:02
@DaniPopes DaniPopes merged commit 3bb96fb into dani/changes May 31, 2023
DaniPopes added a commit that referenced this pull request Jun 1, 2023
* feat: improve primitives

* feat: implement Arbitrary for Bytes and wrapped FixedBytes

* feat: improve primitives utils

* fix: hex breaking change

* fixes

* chore: clippy

* serde

* feat: add more serde utils and impls

* ignore test

* fix: RLP `Encode` impl for `FixedBytes` and `bool`

* proptest

* chore: clippy

* are you ok proptest?

* improve serde impls

* fix: Signed `to_{b,l}e_bytes`

* fix: alias exports

* fix: docs

* refactor: improve bloom implementation quality (#59)

* refactor: improve bloom implementation quality

* chore: fmt

* fixes: address PR review comments

* chore: move `create{,2}_address*` utils to assoc methods on `Address`

* test: `FixedBytes` serde

---------

Co-authored-by: James Prestwich <james@prestwi.ch>
@DaniPopes DaniPopes deleted the prestwich/better-bloomers branch June 6, 2023 23:44
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.

2 participants