Skip to content

Commit

Permalink
chore(gateway): rename cairo_lang_compiler file
Browse files Browse the repository at this point in the history
  • Loading branch information
ArniStarkware committed Aug 6, 2024
1 parent 6bc1920 commit ceb0705
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/gateway/src/compilation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use cairo_lang_starknet_classes::casm_contract_class::CasmContractClass;
use cairo_lang_starknet_classes::contract_class::ContractClass as CairoLangContractClass;
use starknet_api::core::CompiledClassHash;
use starknet_api::rpc_transaction::RpcDeclareTransaction;
use starknet_sierra_compile::compile::CairoLangCompiler;
use starknet_sierra_compile::cairo_lang_compiler::CairoLangCompiler;
use starknet_sierra_compile::config::SierraToCasmCompilationConfig;
use starknet_sierra_compile::utils::into_contract_class_for_compilation;
use starknet_sierra_compile::SierraToCasmCompiler;
Expand Down
6 changes: 2 additions & 4 deletions crates/starknet_sierra_compile/src/compile_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ use cairo_lang_starknet_classes::allowed_libfuncs::AllowedLibfuncsError;
use mempool_test_utils::{get_absolute_path, FAULTY_ACCOUNT_CLASS_FILE, TEST_FILES_FOLDER};
use rstest::{fixture, rstest};

use crate::compile::{CairoLangCompiler, CompilationUtilError};
use crate::cairo_lang_compiler::{CairoLangCompiler, CompilationUtilError};
use crate::config::SierraToCasmCompilationConfig;
use crate::test_utils::contract_class_from_file;
use crate::SierraToCasmCompiler;

#[fixture]
fn compiler() -> impl SierraToCasmCompiler {
CairoLangCompiler {
config: SierraToCasmCompilationConfig { max_bytecode_size: 81920 },
}
CairoLangCompiler { config: SierraToCasmCompilationConfig { max_bytecode_size: 81920 } }
}

#[rstest]
Expand Down
2 changes: 1 addition & 1 deletion crates/starknet_sierra_compile/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use cairo_lang_starknet_classes::contract_class::ContractClass;

use crate::errors::CompilationUtilError;

pub mod compile;
pub mod cairo_lang_compiler;
pub mod config;
pub mod errors;
pub mod utils;
Expand Down

0 comments on commit ceb0705

Please sign in to comment.