-
Notifications
You must be signed in to change notification settings - Fork 664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VM Opcode #573
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
VM
FuelVM OpcodeThe FuelVM should have an opcode which runs the current implementation of the FuelVM. It would take a pre-state containing the configuration and inputs in memory and execute an output post state in memory. This opcode would be used for Fuel L3 fraud proving.
VM
: FuelVM Opcode$rA
and outputs a post-state$rB
in memory withECALL
operations specified inRiscV
bytecode at$rC
.$rB = vm($rA);
VM $rA, $rB, $rC
0x00 rA rB $rC -
$rA memory layout
$rB memory layout
Panic if:
VM
opcode during execution of$rA
ECALL
operations panic.$of
and$err
are cleared.The text was updated successfully, but these errors were encountered: