-
Notifications
You must be signed in to change notification settings - Fork 36
Description
I am trying to run an accumulation invocation on the preimages from:
The blob itself is parsed as a valid SPI program.
However, there are two uninitialized zones in the stack region, causing read calls to return zeros. These zeros get assigned to registers 7–10, so when the FETCH host call is invoked, those registers contain zero.
Because of this, the Fetch host call returns without writing to RAM. The program then invokes the JIP-1 LOG host call with message:
“Panic handler invoked!”
This behavior occurs both in my implementation and in Anan-As’ PVM:
👉 https://pvm.fluffylabs.dev/?#/
Execution Dump
https://gist.github.com/mikirov/dd5cb849d15e17d71fbf0661259b2f42
SPI Program Used
https://gist.github.com/mikirov/84ebde727761203a8b4a0a1e9d670e62
⸻
Request
Execution traces from other PVM implementations are welcome to help confirm whether this behavior is the expected result.