실행 계층 (Execution Layer)

모듈러 블록체인에서 합의 및 데이터 가용성과 분리되어 트랜잭션 처리, 스마트 컨트랙트 실행, 네트워크 상태 업데이트를 담당하는 구성 요소.

2022년 9월 '더 머지(The Merge)' 이전에는 Geth와 같은 이더리움 실행 클라이언트가 트랜잭션 실행과 작업 증명(PoW) 합의를 모두 처리했습니다. 머지는 PoW 논리를 제거하여 Geth를 순수한 실행 계층 클라이언트로 만들었습니다.

        graph LR
  Center["실행 계층 (Execution Layer)"]:::main
  Pre_smart_contracts["smart-contracts"]:::pre --> Center
  click Pre_smart_contracts "/terms/smart-contracts"
  Rel_consensus_layer["consensus-layer"]:::related -.-> Center
  click Rel_consensus_layer "/terms/consensus-layer"
  Rel_data_availability_layer["data-availability-layer"]:::related -.-> Center
  click Rel_data_availability_layer "/terms/data-availability-layer"
  Rel_account_abstraction["account-abstraction"]:::related -.-> Center
  click Rel_account_abstraction "/terms/account-abstraction"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 5살도 이해할 수 있게 설명

블록체인을 레스토랑이라고 생각해 보세요. 실행 계층은 '주방'입니다. 주문(트랜잭션)을 받고, 레시피(스마트 컨트랙트)를 따르고, 음식을 만듭니다(상태 업데이트). 합의 계층은 '매니저'입니다. 요리는 하지 않지만 주방이 규칙을 지켰는지 확인하고 영수증을 마감합니다. 현재의 이더리움에서 주방과 매니저는 서로 대화하며 레스토랑을 운영하는 두 개의 별도 프로그램입니다.

🤓 Expert Deep Dive

Engine API: EL과 CL의 분리는 안전한 통신 채널을 필요로 합니다. CL은 '드라이버' 역할을 합니다. engine_newPayload를 사용하여 검증을 위해 트랜잭션 블록을 EL에 전달하고, engine_forkchoiceUpdated를 사용하여 체인의 현재 헤드를 EL에 지시합니다. 실행 클라이언트(Execution Clients): 치명적인 버그를 방지하기 위해 클라이언트 다양성이 중요합니다. 과거 80% 이상의 점유율을 가졌던 Geth에 치명적 버그가 생기면 네트워크가 멈출 수 있으므로 Nethermind, Erigon, Besu 등이 함께 사용됩니다. EL로서의 롤업: 모듈러 블록체인에서 아비트럼(Arbitrum)이나 옵티미즘(Optimism) 같은 롤업은 순수한 실행 계층으로 작동하여 베이스 레이어(L1)의 부하를 덜어줍니다.

❓ 자주 묻는 질문

What is the difference between the Execution Layer and the Consensus Layer?

The Execution Layer processes transactions, runs smart contracts (EVM), and updates user balances. The Consensus Layer does not process transactions; instead, it coordinates validators to vote on which blocks are valid and ensures the network agrees on a single, final history of the chain.

What were the Execution Layer and Consensus Layer called before The Merge?

Historically, the Execution Layer was referred to as 'Eth1' (the original Ethereum PoW chain), and the Consensus Layer was referred to as 'Eth2' (the Beacon Chain). The Ethereum Foundation deprecated these terms in favor of EL and CL to emphasize that they are two components of a single, unified network, not sequential upgrades.

How do Layer 2 Rollups fit into this model?

Layer 2 Rollups (like Arbitrum or Base) are essentially standalone execution layers. They handle all the heavy transaction processing off-chain, and then use Ethereum (Layer 1) strictly for consensus, data availability, and final settlement.

🔗 관련 용어

선행 지식:

📚 출처