diff --git a/src/core/contract_address/sierra_contract_address.rs b/src/core/contract_address/sierra_contract_address.rs index 1cefac37d..1bbcfb1e9 100644 --- a/src/core/contract_address/sierra_contract_address.rs +++ b/src/core/contract_address/sierra_contract_address.rs @@ -63,7 +63,7 @@ pub fn compute_sierra_class_hash( let abi = serde_json_pythonic::to_string_pythonic( &contract_class .abi - .clone() + .as_ref() .ok_or(ContractAddressError::MissingAbi)? .items, )