You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 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
Description
Runs the FuelVM given a pre-state $rA and outputs a post-state $rB in memory with ECALL operations specified in RiscV bytecode at $rC.
Operation
$rB = vm($rA);
Syntax
VM $rA, $rB, $rC
Encoding
0x00 rA rB $rC -
Notes
$rA memory layout
[ vm initialization configuration ]
[ transaction data ]
[ storage keys and values ]
$rB memory layout
[ outputs ]
[ receipts ]
[ balances ]
Panic if:
The VM encounters a VM opcode during execution of $rA
Panic if RiscV ECALL operations panic.
$of and $err are cleared.
The text was updated successfully, but these errors were encountered:
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: