Skip to content

Commit f14ba50

Browse files
authored
Move non reverting execute to separate function (#3756)
Related #3744 commit-id:5f0e42b9
1 parent c9b4e3d commit f14ba50

File tree

10 files changed

+278
-210
lines changed

10 files changed

+278
-210
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Forge
11+
12+
#### Changed
13+
14+
- Updated the error message returned when calling a nonexistent method on a contract to better align with the format used by the network
15+
1016
## [0.50.0] - 2025-09-29
1117

1218
### Forge

crates/cheatnet/src/runtime_extensions/call_to_blockifier_runtime_extension/execution/calls.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use starknet_api::{
1717
};
1818
use starknet_types_core::felt::Felt;
1919

20-
use super::entry_point::execute_call_entry_point;
20+
use super::entry_point::{ExecuteCallEntryPointExtraOptions, execute_call_entry_point};
2121

2222
// blockifier/src/execution/syscalls/hint_processor.rs:541 (execute_inner_call)
2323
#[expect(clippy::result_large_err)]
@@ -36,8 +36,8 @@ pub fn execute_inner_call(
3636
syscall_handler.base.state,
3737
cheatnet_state,
3838
syscall_handler.base.context,
39-
true,
4039
remaining_gas,
40+
&ExecuteCallEntryPointExtraOptions::default(),
4141
)?;
4242
// endregion
4343

0 commit comments

Comments
 (0)