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

feat: add filter utility function #316

Merged
merged 3 commits into from Jun 13, 2021
Merged

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Jun 13, 2021

Motivation

Makes setting block ranges more convenient by adding a new function (select) to the Filter struct and convenient From impls.

Not sure about:

  • the name
  • whether to include From<U256> since at_block_hash does the same already.

Solution

ethers-core/src/types/log.rs Outdated Show resolved Hide resolved
ethers-core/src/types/log.rs Outdated Show resolved Hide resolved
mattsse and others added 2 commits June 13, 2021 19:22
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
@gakonst gakonst merged commit 1dda336 into gakonst:master Jun 13, 2021
hanyunx pushed a commit to hanyunx/ethers-rs that referenced this pull request Jun 17, 2021
* feat: add filter utility function

* chore: typo

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>

* chore: typo

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants