Lesson 2

Unbundling Computation in the Execution Layer

In a modular blockchain architecture, the execution layer directly shapes user experience, it determines how transactions are computed, how state changes occur, and how smart contracts run. In monolithic blockchains, execution is often the primary performance bottleneck; modular thinking aims to free computation from heavy underlying structures. This lesson examines the role of the execution layer, why its computation needs to be decoupled, and how technologies like Rollups are redefining blockchain computation models.

Execution Layer Responsibilities and Design Goals

The execution layer’s core job is to compute transactions and generate new state results. It doesn’t handle consensus or long-term data storage; its focus is on accurate computation.

In modular designs, the execution layer’s goal shifts from absolute security to inheritable security, with an emphasis on efficiency and flexibility. This change allows for a differentiated design based on application needs.

Key tasks for the execution layer include:

  • Receiving and ordering user transactions
  • Executing smart contracts and state transitions
  • Generating execution results and proofs (e.g., state roots, validity proofs)
  • Submitting results to the settlement layer for confirmation

This separation lets the execution layer upgrade rapidly without disrupting the security foundations of the entire blockchain.

Rollup Evolution and Execution Environments

Rollups are a flagship example of modular blockchain execution layers. Their central idea is to execute large batches of transactions off-chain, submitting only essential results and proofs on-chain, dramatically reducing on-chain load.

Rollups have evolved through various models:

  • Early Rollups: Focused on transaction compression and cost reduction
  • Optimistic Rollups: Use post-execution challenge mechanisms for higher efficiency
  • ZK Rollups: Employ zero-knowledge proofs for stronger security and determinism

As technology matures, execution environments have evolved from simple processors into customizable platforms capable of complex contract logic, parallel execution, and even cross-Rollup collaboration. This trend marks the shift from “ancillary component” to “independent computation network.”

General-Purpose vs. App-Specific Execution Layers

A key design choice in modular execution layers is whether to build a general-purpose platform or specialized environments for specific applications.

General-purpose layers offer lower developer barriers and broad ecosystem compatibility for multiple app types, but resource competition persists and performance gains are limited.

In contrast, app-specific execution layers are tailored for certain use cases with features like:

  • Optimized performance for specific business logic
  • Customizable fee models and execution rules
  • Avoiding resource competition with other applications

This model is ideal for scenarios requiring high performance, such as high-frequency trading, gaming, or social apps, while also driving innovations like AppChains and specialized Rollups.

Looking ahead, future execution layers will form multi-tiered, composable ecosystems rather than forcing a binary choice between general-purpose or specialized designs.

Disclaimer
* Crypto investment involves significant risks. Please proceed with caution. The course is not intended as investment advice.
* The course is created by the author who has joined Gate Learn. Any opinion shared by the author does not represent Gate Learn.