ethers-rs/ethers-contract/tests
Georgios Konstantopoulos d90b03da06
Add streamed logs to the provider (#9)
* feat(provider): implement Streamed logs

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

* feat(provider): expose streaming methods

* test(provider): add new blocks/pending txs test

* feat(contract): allow events to be streamed

* test(contract): add integration test for streaming event logs

* perf(contract-factory): take abi and bytecode by value instead of reference

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

* refactor(contract): use test helpers to reduce code dup

* chore: make clippy happy
2020-06-15 11:46:07 +03:00
..
common Add streamed logs to the provider (#9) 2020-06-15 11:46:07 +03:00
contract.rs Add streamed logs to the provider (#9) 2020-06-15 11:46:07 +03:00
contract.sol fix: serialize null filters 2020-06-03 00:10:46 +03:00
get_past_events.rs Add streamed logs to the provider (#9) 2020-06-15 11:46:07 +03:00
watch_events.rs Add streamed logs to the provider (#9) 2020-06-15 11:46:07 +03:00