diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs index 419dd7c09f..cd34175b7a 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/call_contract.rs @@ -73,7 +73,7 @@ fn test_call_contract_that_panics() { test_case( FeatureContract::TestContract(CairoVersion::Native), FeatureContract::TestContract(CairoVersion::Native), - 189010; + 190370; "Call Contract between two contracts using Native" ) )] diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/deploy.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/deploy.rs index 9f7c62cd35..696a30fed5 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/deploy.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/deploy.rs @@ -17,7 +17,7 @@ use crate::test_utils::{calldata_for_deploy_test, trivial_external_entry_point_n #[test_case(FeatureContract::TestContract(CairoVersion::Cairo1), 205200;"VM")] #[cfg_attr( feature = "cairo_native", - test_case(FeatureContract::TestContract(CairoVersion::Native), 215310;"Native") + test_case(FeatureContract::TestContract(CairoVersion::Native), 215200;"Native") )] fn no_constructor(deployer_contract: FeatureContract, expected_gas: u64) { // TODO(Yoni): share the init code of the tests in this file. @@ -99,7 +99,7 @@ fn no_constructor_nonempty_calldata(deployer_contract: FeatureContract) { #[test_case(FeatureContract::TestContract(CairoVersion::Cairo1),214550, 4610;"VM")] #[cfg_attr( feature = "cairo_native", - test_case(FeatureContract::TestContract(CairoVersion::Native),233890, 13840;"Native") + test_case(FeatureContract::TestContract(CairoVersion::Native),234550, 14610;"Native") )] fn with_constructor( deployer_contract: FeatureContract, diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/emit_event.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/emit_event.rs index 2da1e061d8..4eb3e599cf 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/emit_event.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/emit_event.rs @@ -28,7 +28,7 @@ const N_EMITTED_EVENTS: [Felt; 1] = [Felt::from_hex_unchecked("0x1")]; #[cfg_attr( feature = "cairo_native", - test_case(FeatureContract::TestContract(CairoVersion::Native), 57430; "Native") + test_case(FeatureContract::TestContract(CairoVersion::Native), 57330; "Native") )] #[test_case(FeatureContract::TestContract(CairoVersion::Cairo1), 47330; "VM")] fn positive_flow(test_contract: FeatureContract, expected_gas: u64) { diff --git a/crates/blockifier/src/execution/syscalls/syscall_tests/get_block_hash.rs b/crates/blockifier/src/execution/syscalls/syscall_tests/get_block_hash.rs index 360b124be1..ffb90f3d60 100644 --- a/crates/blockifier/src/execution/syscalls/syscall_tests/get_block_hash.rs +++ b/crates/blockifier/src/execution/syscalls/syscall_tests/get_block_hash.rs @@ -17,10 +17,7 @@ use crate::test_utils::contracts::FeatureContract; use crate::test_utils::dict_state_reader::DictStateReader; use crate::test_utils::initial_test_state::test_state; use crate::test_utils::{ - trivial_external_entry_point_new, - CairoVersion, - BALANCE, - CURRENT_BLOCK_NUMBER, + trivial_external_entry_point_new, CairoVersion, BALANCE, CURRENT_BLOCK_NUMBER, }; use crate::{check_entry_point_execution_error_for_custom_hint, retdata}; @@ -42,7 +39,7 @@ fn initialize_state(test_contract: FeatureContract) -> (CachedState