diff --git a/crates/blockifier/src/test_utils/cairo_compile.rs b/crates/blockifier/src/test_utils/cairo_compile.rs index 9ccd25d6bc5..010f2dafefb 100644 --- a/crates/blockifier/src/test_utils/cairo_compile.rs +++ b/crates/blockifier/src/test_utils/cairo_compile.rs @@ -124,7 +124,7 @@ pub fn cairo1_compile( base_compile_args.insert(0, format!("+nightly-{nightly_version}")); } - let sierra_output = sierra_compile(path, git_tag_override, cargo_nightly_arg); + let sierra_output = starknet_compile(path, git_tag_override, cargo_nightly_arg); let mut temp_file = NamedTempFile::new().unwrap(); temp_file.write_all(&sierra_output).unwrap(); @@ -139,7 +139,7 @@ pub fn cairo1_compile( casm_output.stdout } -pub fn sierra_compile( +pub fn starknet_compile( path: String, git_tag_override: Option, cargo_nightly_arg: Option, diff --git a/crates/blockifier/src/test_utils/contracts.rs b/crates/blockifier/src/test_utils/contracts.rs index bdb2ebf6755..20f79d7eb29 100644 --- a/crates/blockifier/src/test_utils/contracts.rs +++ b/crates/blockifier/src/test_utils/contracts.rs @@ -24,7 +24,7 @@ use crate::execution::contract_class::{ NativeContractClassV1, }; use crate::execution::entry_point::CallEntryPoint; -use crate::test_utils::cairo_compile::{cairo0_compile, cairo1_compile, sierra_compile}; +use crate::test_utils::cairo_compile::{cairo0_compile, cairo1_compile, starknet_compile}; use crate::test_utils::{get_raw_contract_class, CairoVersion}; // This file contains featured contracts, used for tests. Use the function 'test_state' in @@ -320,7 +320,7 @@ impl FeatureContract { let (tag_override, cargo_nightly_arg) = self.fixed_tag_and_rust_toolchain(); cairo1_compile(self.get_source_path(), tag_override, cargo_nightly_arg) } - CairoVersion::Native => sierra_compile(self.get_source_path(), None, None), + CairoVersion::Native => starknet_compile(self.get_source_path(), None, None), } }