Execution Trace
An execution trace is a complete, step-by-step record of every operation performed by a virtual machine during the execution of a transaction or a batch of transactions. It includes the state changes, memory modifications, and stack operations that occur at each cycle.
In the context of fraud proofs, the execution trace is the evidence that is scrutinized to verify the correctness of a state transition. Because storing the entire trace on-chain would be prohibitively expensive, protocols use techniques like the bisection method to only verify the parts of the trace that are in dispute.
The execution trace is the raw data that underpins the validity of any smart contract execution. Understanding the trace is essential for developers working on low-level protocol security and debugging.
It represents the deterministic path of code execution.