Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Remove unused clone
Browse files Browse the repository at this point in the history
  • Loading branch information
matias-gonz committed Jul 27, 2023
1 parent 8eaf9ea commit 3c82fa9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/internals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -733,8 +733,7 @@ fn deploy_fib_syscall() -> Deploy {
#[cfg(feature = "cairo_1_tests")]
let program_data = include_bytes!("../starknet_programs/cairo1/fibonacci.sierra");
let sierra_contract_class: SierraContractClass = serde_json::from_slice(program_data).unwrap();
let casm_class =
CasmContractClass::from_contract_class(sierra_contract_class.clone(), true).unwrap();
let casm_class = CasmContractClass::from_contract_class(sierra_contract_class, true).unwrap();
let contract_class = CompiledClass::Casm(Box::new(casm_class));

let contract_hash;
Expand Down

0 comments on commit 3c82fa9

Please sign in to comment.