From 9e39ec48fe995e991be6141fe956b5cb378da40c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Gonz=C3=A1lez=20Calder=C3=B3n?= Date: Tue, 3 Dec 2024 14:59:39 -0300 Subject: [PATCH] Use aggressive opt --- rpc-state-reader/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc-state-reader/src/utils.rs b/rpc-state-reader/src/utils.rs index 81c8308..4fdde86 100644 --- a/rpc-state-reader/src/utils.rs +++ b/rpc-state-reader/src/utils.rs @@ -102,7 +102,7 @@ pub fn get_native_executor(contract: &ContractClass, class_hash: ClassHash) -> A let mut executor = AotContractExecutor::new( &contract.extract_sierra_program().unwrap(), &contract.entry_points_by_type, - OptLevel::Default, + OptLevel::Aggressive, ) .unwrap(); let compilation_time = pre_compilation_instant.elapsed().as_millis();