Skip to content

Commit 8a34bc2

Browse files
committed
build: bump version to v0.2.0-alpha
1 parent 272f6f9 commit 8a34bc2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async fn run_scanner(
8080
client.start_scanner(BlockNumberOrTag::Earliest, Some(BlockNumberOrTag::Latest)).await
8181
});
8282

83-
while let Some(Ok(logs)) = stream.next().await {
83+
while let Some(EventScannerMessage::Data(logs)) = stream.next().await {
8484
println!("Fetched logs: {logs:?}");
8585
}
8686

@@ -122,9 +122,10 @@ let specific_filter = EventFilter::new()
122122
let specific_filter = EventFilter::new()
123123
.with_event(Counter::CountIncreased::SIGNATURE);
124124

125-
// Track ALL events from a SPECIFIC contract
125+
// Track ALL events from a SPECIFIC contracts
126126
let all_contract_events_filter = EventFilter::new()
127-
.with_contract_address(*counter_contract.address());
127+
.with_contract_address(*counter_contract.address())
128+
.with_contract_address(*other_counter_contract.address());
128129

129130
// Track ALL events from ALL contracts in the block range
130131
let all_events_filter = EventFilter::new();

0 commit comments

Comments
 (0)