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

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.

gakonst added 4 commits June 12, 2020 15:51
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
@gakonst gakonst force-pushed the gakonst/stream-events branch from 456c01c to 926fe3b Compare June 12, 2020 14:44
gakonst added 3 commits June 12, 2020 18:18
…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 force-pushed the gakonst/stream-events branch from 99cd650 to 76259f1 Compare June 15, 2020 08:30
@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 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.

1 participant