From 74b20c34653802bdd0ff1d04cfbdb1bcbd4d6e7a Mon Sep 17 00:00:00 2001 From: Nasr Date: Fri, 12 Apr 2024 15:19:10 -0400 Subject: [PATCH] fmt --- crates/torii/grpc/src/client.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/crates/torii/grpc/src/client.rs b/crates/torii/grpc/src/client.rs index 0cf04ebb6a..40539d31d1 100644 --- a/crates/torii/grpc/src/client.rs +++ b/crates/torii/grpc/src/client.rs @@ -7,7 +7,9 @@ use starknet::core::types::{FromByteSliceError, FromStrError, StateUpdate}; use starknet_crypto::FieldElement; use crate::proto::world::{ - world_client, MetadataRequest, RetrieveEntitiesRequest, RetrieveEntitiesResponse, RetrieveEventMessagesRequest, SubscribeEntitiesRequest, SubscribeEntityResponse, SubscribeEventMessagesRequest, SubscribeModelsRequest, SubscribeModelsResponse + world_client, MetadataRequest, RetrieveEntitiesRequest, RetrieveEntitiesResponse, + RetrieveEventMessagesRequest, SubscribeEntitiesRequest, SubscribeEntityResponse, + SubscribeEventMessagesRequest, SubscribeModelsRequest, SubscribeModelsResponse, }; use crate::types::schema::Entity; use crate::types::{KeysClause, Query}; @@ -86,7 +88,11 @@ impl WorldClient { query: Query, ) -> Result { let request = RetrieveEventMessagesRequest { query: Some(query.into()) }; - self.inner.retrieve_event_messages(request).await.map_err(Error::Grpc).map(|res| res.into_inner()) + self.inner + .retrieve_event_messages(request) + .await + .map_err(Error::Grpc) + .map(|res| res.into_inner()) } /// Subscribe to entities updates of a World.