Skip to content

Commit ecd4f7e

Browse files
0xNeshiLeoPatOZ
andauthored
feat: Add 'Get Latest X Events and Switch to Live Streaming' Method (#133)
Co-authored-by: Leo <leonard.paturel@openzeppelin.com>
1 parent 7a3ae85 commit ecd4f7e

File tree

27 files changed

+1388
-494
lines changed

27 files changed

+1388
-494
lines changed

Cargo.lock

Lines changed: 133 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ members = [
44
"examples/historical_scanning",
55
"examples/live_scanning",
66
"examples/latest_events_scanning",
7-
"examples/sync_scanning"
7+
"examples/sync_from_latest_scanning",
8+
"examples/sync_from_block_scanning",
89
]
910
resolver = "2"
1011

@@ -32,6 +33,7 @@ chrono = { version = "0.4", features = ["serde"] }
3233
tokio-stream = "0.1.17"
3334
tracing = "0.1"
3435
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
36+
test-log = { version = "0.2.18", features = ["trace"] }
3537
hex = "0.4"
3638

3739
[package]
@@ -65,7 +67,11 @@ chrono.workspace = true
6567
alloy-node-bindings.workspace = true
6668
tokio-stream.workspace = true
6769
tracing.workspace = true
70+
71+
[dev-dependencies]
6872
tracing-subscriber.workspace = true
73+
# used when debugging tests
74+
test-log.workspace = true
6975

7076
[lints]
7177
workspace = true

0 commit comments

Comments
 (0)