Commit e4e9f511 authored by protolambda's avatar protolambda

contracts: keep track of executed steps

parent 58c36147
......@@ -204,6 +204,7 @@ contract MIPS {
if(state.exited) { // don't change state once exited
return stateHash;
}
state.step += 1;
// instruction fetch
uint32 insn; // TODO proof the memory read against memRoot
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment