diff --git a/crates/torii/indexer/src/engine.rs b/crates/torii/indexer/src/engine.rs index fb4a9d5e2e..3e7f1c5332 100644 --- a/crates/torii/indexer/src/engine.rs +++ b/crates/torii/indexer/src/engine.rs @@ -898,7 +898,7 @@ impl Engine

{ "EventEmitted" => { let mut hasher = DefaultHasher::new(); - let keys = Vec::::cairo_deserialize(&event.keys, 0).unwrap_or_else(|e| { + let keys = Vec::::cairo_deserialize(&event.data, 0).unwrap_or_else(|e| { panic!("Expected EventEmitted keys to be well formed: {:?}", e); });