Skip to content

Commit

Permalink
need to use event data
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Jan 15, 2025
1 parent bbd1462 commit 0a73aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/torii/indexer/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ impl<P: Provider + Send + Sync + std::fmt::Debug + 'static> Engine<P> {
"EventEmitted" => {
let mut hasher = DefaultHasher::new();

let keys = Vec::<Felt>::cairo_deserialize(&event.keys, 0).unwrap_or_else(|e| {
let keys = Vec::<Felt>::cairo_deserialize(&event.data, 0).unwrap_or_else(|e| {
panic!("Expected EventEmitted keys to be well formed: {:?}", e);

Check warning on line 902 in crates/torii/indexer/src/engine.rs

View check run for this annotation

Codecov / codecov/patch

crates/torii/indexer/src/engine.rs#L902

Added line #L902 was not covered by tests
});

Expand Down

0 comments on commit 0a73aa6

Please sign in to comment.