Skip to content
execution env

Execution Environment

The context where code runs.

Every execution in the EVM happens within a specific context. This context includes the code being run, the caller (msg.sender), the value sent (msg.value), and environmental data like block number and timestamp. When a contract calls another contract, a new execution context is created, and the old one is saved on a call stack.

EVM Core
Stack
Storage
Gas

Visual Concept

The next interactive lesson will let you step through actual bytecode to see this concept in action.

Try Interactive Example