diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go index f4c15b218f..ee635fe36c 100644 --- a/blockchain/blockchain.go +++ b/blockchain/blockchain.go @@ -55,7 +55,7 @@ type Reader interface { var ( ErrParentDoesNotMatchHead = errors.New("block's parent hash does not match head block hash") - supportedStarknetVersion = semver.MustParse("0.12.2") + supportedStarknetVersion = semver.MustParse("0.12.3") ) func checkBlockVersion(protocolVersion string) error { diff --git a/vm/rust/Cargo.toml b/vm/rust/Cargo.toml index cac0a2b125..ed4547f401 100644 --- a/vm/rust/Cargo.toml +++ b/vm/rust/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] serde = "1.0.171" serde_json = { version = "1.0.96", features = ["raw_value"] } -blockifier = {git = "https://github.com/starkware-libs/blockifier", rev = "e7cc94f"} +blockifier = {git = "https://github.com/starkware-libs/blockifier", rev = "4fe4a667c024caa"} starknet_api = { git = "https://github.com/starkware-libs/starknet-api", rev = "8f620bc" } cairo-vm = "0.8.2" cairo-lang-casm = "2.1.0" diff --git a/vm/rust/src/lib.rs b/vm/rust/src/lib.rs index 28c7f863da..5262069d72 100644 --- a/vm/rust/src/lib.rs +++ b/vm/rust/src/lib.rs @@ -14,7 +14,7 @@ use blockifier::{ block_context::BlockContext, execution::{ contract_class::{ContractClass, ContractClassV1}, - entry_point::{CallEntryPoint, CallType, EntryPointExecutionContext, ExecutionResources}, + entry_point::{CallEntryPoint, CallType, EntryPointExecutionContext, ExecutionResources}, common_hints::ExecutionMode, }, fee::fee_utils::calculate_tx_fee, state::cached_state::CachedState, @@ -103,6 +103,7 @@ pub extern "C" fn cairoVMCall( ), AccountTransactionContext::default(), 4_000_000, + ExecutionMode::Execute, ); let call_info = entry_point.execute(&mut state, &mut resources, &mut context);