Commit Graph

7 Commits

Author SHA1 Message Date
joshieDo 92e726921a
chore: add celo chain (#1932)
* add celo chain

* add missing chain case

* clippy & fmt
2022-12-07 21:37:11 -08:00
Andrea Simeoni b0ef1343dd
fix: close example subscriptions after 2 emitted items (#1892)
cargo +nightly fmt

Co-authored-by: Andrea Simeoni <>
2022-11-26 08:42:41 -08:00
Georgios Konstantopoulos 74bf6fbb04 chore: fmt / clippy 2022-11-15 13:36:25 -08:00
Ivan Rozhnovskiy caa6f0aa19
fix: updated logs event filtering for examples with new syntax (#1861) 2022-11-15 11:34:07 -08:00
DaniPopes debd6fec3d
chore: clippy (#1812)
* chore: clippy

* fmt
2022-11-07 15:43:11 -08:00
Andrea Simeoni f62fffb4eb
Examples event streams (#1839)
* Example to subscribe events from an abigen compiled contract

* Example to subscribe events from an abigen compiled contract including `LogMeta`

* Added typo to help users run Ws examples

* cargo +nightly fmt

* Fix examples docs

Co-authored-by: Andrea Simeoni <>
2022-11-07 12:21:24 -08:00
Meet Mangukiya b15d0f8643
feat(providers): load previous logs before subscribing (#1264)
* feat(providers): load previous logs before subscribing

Load previous logs and stream it back to the user before establishing
a new stream for streaming future logs.

Closes #988

* docs: add subscribe_logs example

* fix clippy errors

* refactor: use VecDeque and address review
2022-05-16 08:11:25 -07:00