diff --git a/src/syscalls/business_logic_syscall_handler.rs b/src/syscalls/business_logic_syscall_handler.rs index e6e458bcf..61baaf6aa 100644 --- a/src/syscalls/business_logic_syscall_handler.rs +++ b/src/syscalls/business_logic_syscall_handler.rs @@ -286,6 +286,14 @@ impl<'a, S: StateReader> BusinessLogicSyscallHandler<'a, S> { })) }; + // update syscall handler information + self.starknet_storage_state + .read_values + .extend(call_info.storage_read_values.clone()); + self.starknet_storage_state + .accessed_keys + .extend(call_info.accessed_storage_keys.clone()); + self.internal_calls.push(call_info); Ok(SyscallResponse { gas, body })