← All Lab experiments
01

EVM

EXECUTION MODEL
EXPERIMENT 01 — EVM EXECUTION MODEL

A transaction executes against Ethereum's current state, consumes gas, and either commits its resulting state changes atomically or reverts them. This experiment isolates that execution model across state, storage, sequential transactions, and nested message calls.

SYSTEM VISUALIZATION
TRANSACTION EXECUTION PATH
TRANSACTION
STATE READ
EVM EXECUTE
STATE WRITE
COMMIT / REVERT
INTERACTIVE STATE TRANSITION
EXECUTION CONTROL
OPERATIONINCREMENT
VALUE1
GAS LIMIT100,000
EXECUTION TRACE

Press EXECUTE to run INCREMENT against canonical state 10.

RESULT

No transaction executed yet.

STATE HISTORY
GENESIS / 10

Canonical state only — a reverted transaction's attempted write is never shown here as the resulting state. Showing genesis plus the most recent 7 transactions.

STATE & STORAGE

Ethereum execution operates against a shared global state. Contract storage forms part of that state, while gas bounds the computational work a transaction can perform.

STATE MODELGlobal State
STORAGEContract Storage
RESOURCE MODELGas
SEQUENTIAL WRITES
TX 01→STATE→TX 02→STATE→TX 03

Every transaction observes the state produced by the transaction before it. A committed write becomes input to subsequent execution; a reverted write does not become part of canonical state.

EXECUTION & CALLS

EXECUTIONStack-based VM
CALL MODELMessage Calls
ATOMICITYTransaction-level
MESSAGE CALL CHAIN
EOA→CONTRACT A→CONTRACT B→CONTRACT C

A transaction can produce nested message calls during execution. These calls remain inside the transaction's atomic boundary: if execution ultimately reverts, state changes produced throughout the call chain are discarded.

TECHNICAL DETAILS
EXPERIMENT MODELDeterministic browser simulation
STATESimplified persistent storage value
OPERATIONSIncrement / Decrement / Revert
TRACESimplified EVM-like execution steps
COMMIT MODELSuccessful writes advance canonical state
REVERT MODELAttempted writes are discarded
GASModeled execution resource, not live gas usage
NETWORKNone — no RPC or chain interaction

This experiment is a conceptual execution model, not an EVM implementation or bytecode interpreter. It deliberately reduces execution to the state-transition properties being examined: ordered state access, storage mutation, gas-bounded work, nested calls, atomic commit, and revert behavior.