align vm runtime

This commit is contained in:
2026-03-24 13:40:40 +00:00
parent fa651af3c3
commit c7382763cd
4 changed files with 69 additions and 25 deletions
@@ -44,6 +44,8 @@ fn vm_syscall_multi_return_stack_contents() {
let mut native = TestNative;
let mut ctx = HostContext::new(None);
vm.prepare_call("0");
// Grant INPUT capability to pass capability gate for PadGetUp
vm.set_capabilities(prometeu_hal::syscalls::caps::INPUT);
let _ = vm.run_budget(100, &mut native, &mut ctx).expect("VM run failed");
// Verify stack order: last pushed is on top