Skip to content

Commit

Permalink
fix(torii-grpc): event processing subscription (#2975)
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo authored Jan 30, 2025
1 parent db840b7 commit 91da65d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/torii/grpc/src/server/subscriptions/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,15 @@ impl Service {
.keys
.trim_end_matches(SQL_FELT_DELIMITER)
.split(SQL_FELT_DELIMITER)
.filter(|s| !s.is_empty())
.map(Felt::from_str)
.collect::<Result<Vec<_>, _>>()
.map_err(ParseError::from)?;
let data = event
.data
.trim_end_matches(SQL_FELT_DELIMITER)
.split(SQL_FELT_DELIMITER)
.filter(|s| !s.is_empty())
.map(Felt::from_str)
.collect::<Result<Vec<_>, _>>()
.map_err(ParseError::from)?;
Expand Down

0 comments on commit 91da65d

Please sign in to comment.