diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/library_call.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/library_call.rs index 4e2a5d08722..cd1468299a4 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/library_call.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/library_call.rs @@ -183,9 +183,9 @@ fn test_nested_library_call(test_contract: FeatureContract, expected_gas: u64) { let first_storage_entry_point_resources = if_native(&test_contract)( ExecutionResources { - n_steps: 180, + n_steps: 540, n_memory_holes: 0, - builtin_instance_counter: HashMap::from([(BuiltinName::range_check, 2)]), + builtin_instance_counter: HashMap::from([(BuiltinName::range_check, 6)]), }, ExecutionResources { n_steps: 247, @@ -195,9 +195,9 @@ fn test_nested_library_call(test_contract: FeatureContract, expected_gas: u64) { ); let storage_entry_point_resources = if_native(&test_contract)( ExecutionResources { - n_steps: 1202, + n_steps: 3606, n_memory_holes: 0, - builtin_instance_counter: HashMap::from([(BuiltinName::range_check, 19)]), + builtin_instance_counter: HashMap::from([(BuiltinName::range_check, 57)]), }, first_storage_entry_point_resources.clone(), ); @@ -223,9 +223,9 @@ fn test_nested_library_call(test_contract: FeatureContract, expected_gas: u64) { let library_call_resources = if_native(&test_contract)( ExecutionResources { - n_steps: 1022, + n_steps: 3066, n_memory_holes: 0, - builtin_instance_counter: HashMap::from([(BuiltinName::range_check, 17)]), + builtin_instance_counter: HashMap::from([(BuiltinName::range_check, 51)]), }, &get_syscall_resources(SyscallSelector::LibraryCall) + &ExecutionResources { @@ -264,9 +264,9 @@ fn test_nested_library_call(test_contract: FeatureContract, expected_gas: u64) { let main_call_resources = if_native(&test_contract)( ExecutionResources { - n_steps: 2886, + n_steps: 8658, n_memory_holes: 0, - builtin_instance_counter: HashMap::from([(BuiltinName::range_check, 49)]), + builtin_instance_counter: HashMap::from([(BuiltinName::range_check, 147)]), }, &(&get_syscall_resources(SyscallSelector::LibraryCall) * 3) + &ExecutionResources {