Singlular syscall context (#24204)

This commit is contained in:
Jack May
2022-04-11 16:05:09 -07:00
committed by GitHub
parent c1687b0604
commit 8a754d45b3
8 changed files with 466 additions and 399 deletions

View File

@ -292,11 +292,13 @@ native machine code before execting it in the virtual machine.",
_ => {}
}
invoke_context
.set_orig_account_lengths(account_lengths)
.unwrap();
let mut vm = create_vm(
&executable,
parameter_bytes.as_slice_mut(),
&mut invoke_context,
&account_lengths,
)
.unwrap();
let start_time = Instant::now();