File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
crates/cheatnet/src/runtime_extensions/native Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -211,15 +211,8 @@ impl StarknetSyscallHandler for &mut CheatableNativeSyscallHandler<'_> {
211
211
212
212
#[ expect( clippy:: too_many_lines) ]
213
213
fn get_execution_info_v2 ( & mut self , remaining_gas : & mut u64 ) -> SyscallResult < ExecutionInfoV2 > {
214
- self . pre_execute_syscall (
215
- remaining_gas,
216
- self . native_syscall_handler
217
- . gas_costs ( )
218
- . syscalls
219
- . get_execution_info
220
- . base_syscall_cost ( ) ,
221
- SyscallSelector :: GetBlockHash ,
222
- ) ?;
214
+ // We don't need to call pre_execute_syscall here because the call to `get_execution_info_v2`
215
+ // on the native syscall handler is does that internally, and we don't want to do it twice.
223
216
224
217
let original_data = self
225
218
. native_syscall_handler
You can’t perform that action at this time.
0 commit comments