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

Add streamed logs to the provider #9

Merged
merged 8 commits into from
Jun 15, 2020
Merged

Add streamed logs to the provider #9

merged 8 commits into from
Jun 15, 2020

Conversation

gakonst
Copy link
Owner

@gakonst gakonst commented Jun 12, 2020

No description provided.

This utilizes eth_getFilterChanges. The stream struct must be instantiated with a factory that yields logs/hashes.
Consumers are expected to use the `FilterStream` trait in order to simplify their type definitions
…erence

The abi, bytecode and the factory's deploy method now consume the structs instead of being passed by reference. While this means that
consumers might need to clone before using them, this gives us some more flexiblity around factories inside helper functions
@gakonst gakonst merged commit d90b03d into master Jun 15, 2020
@gakonst gakonst deleted the gakonst/stream-events branch June 15, 2020 08:46
meetmangukiya pushed a commit to meetmangukiya/ethers-rs that referenced this pull request Mar 21, 2022
* chore: update ethers

* test: share compilation step
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

1 participant