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
When a call reverts in the journal, its current behaviour drops it essentially making it such that the state updates never occured.
This is perfectly fine for a native implementation; however we still need to prove memory accesses as they occur, as we later need to prove that they took place in the storage read validation circuit ( in the vm or later in the vm).
The journal should have another section, or sub journal. That keeps track of reverted state seperately to the state we want to commit to the world state at the end of block execution.
dbanks12
changed the title
public-vm(ts): Journal should keep track of reverted state
public-vm(simulator): Journal should keep track of reverted state
Jan 30, 2024
Overview
When a call reverts in the journal, its current behaviour drops it essentially making it such that the state updates never occured.
This is perfectly fine for a native implementation; however we still need to prove memory accesses as they occur, as we later need to prove that they took place in the storage read validation circuit ( in the vm or later in the vm).
The journal should have another section, or sub journal. That keeps track of reverted state seperately to the state we want to commit to the world state at the end of block execution.
Depends on
Links
The text was updated successfully, but these errors were encountered: