Tech/EIPs/#7889
EIP 7889카테고리 · 코어유형 · 표준 트랙상태 · 정체

Emit log on revert

EIP-7889는 EVM 트랜잭션이 롤백(revert)될 때도 로그(이벤트)를 발행할 수 있도록 하는 기능을 제안했습니다. 현재 Stagnant 상태로, 구현 복잡성과 기존 이벤트 의미론에 대한 우려로 논의가 중단되었습니다.

Proposal

Currently, all logs emitted during a reverted transaction are discarded. EIP-7889 proposed a mechanism to emit persistent logs even when execution reverts, enabling better on-chain observability of failed transactions.

Motivation

Debugging failed transactions off-chain requires replaying them with tracing tools. Persistent revert logs would allow event indexers and user interfaces to surface failure reasons without special infrastructure.

Why It Stalled

The proposal breaks the assumption that logs are only emitted for successful state changes, which many applications rely on. It also requires changes to how receipts are interpreted across the entire ecosystem.

Historical Context

Similar ideas have been discussed informally in the Ethereum developer community for years. The formal EIP stalled because the cost-benefit analysis was unfavorable given the broad semantic change required.

공식 EIP 문서open_in_new