Skip to content

Commit

Permalink
remove unused dep
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Dec 2, 2024
1 parent 09809bf commit c2eb889
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions crates/katana/feeder-gateway/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,11 @@ impl SequencerGateway {
&self,
block_id: BlockIdOrTag,
) -> Result<StateUpdateWithBlock, Error> {
let value = self
.feeder_gateway("get_state_update")
self.feeder_gateway("get_state_update")
.add_query_param("includeBlock", "true")
.with_block_id(block_id)
.send::<serde_json::Value>()
.await?;

Ok(serde_json_path_to_error::from_value(value).unwrap())
.send()
.await
}

pub async fn get_class(
Expand Down

0 comments on commit c2eb889

Please sign in to comment.