From 00474cce5c71e923a1ff4b7d6c8d018313a859e6 Mon Sep 17 00:00:00 2001 From: glihm Date: Mon, 25 Sep 2023 11:26:05 -0600 Subject: [PATCH] fix typo for abigen function test --- starknet-macros/src/abigen/expand/function.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/starknet-macros/src/abigen/expand/function.rs b/starknet-macros/src/abigen/expand/function.rs index cd5f1e82..df559e7d 100644 --- a/starknet-macros/src/abigen/expand/function.rs +++ b/starknet-macros/src/abigen/expand/function.rs @@ -195,7 +195,6 @@ mod tests { v1: &starknet::core::types::FieldElement, v2: &starknet::core::types::FieldElement ) -> starknet::contract::abi::cairo_types::Result { - use starknet::contract::abi::cairo_types::{self, Error as CairoError}; use starknet::contract::abi::CairoType; use starknet::core::types::{BlockId, BlockTag}; @@ -212,7 +211,7 @@ mod tests { }, BlockId::Tag(BlockTag::Latest), ) - .await.map_err(|err| starknet::contract::abi::cairo_types::Error::Deserialize(format!("Deserialization error {:}" , err)))?; + .await.map_err(|err| starknet::contract::abi::cairo_types::Error::Deserialize(format!("Deserialization error {}" , err)))?; starknet::core::types::FieldElement::deserialize(&r, 0) }