Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 <[email protected]>
Co-authored-by: Georgios Konstantopoulos <[email protected]>
@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 <[email protected]>

* chore: typo

Co-authored-by: Georgios Konstantopoulos <[email protected]>

Co-authored-by: Georgios Konstantopoulos <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants