Tech/EIPs/#7907
EIP 7907카테고리 · 코어유형 · 표준 트랙상태 · 초안

Meter Contract Code Size And Increase Limit

EIP-7907은 EVM 컨트랙트 코드 크기에 대한 가스 미터링을 도입하고 현재의 24KB 하드 제한을 상향 조정할 것을 제안하는 Core Draft입니다. 이는 대형 컨트랙트 배포를 허용하면서도 DoS 방어를 유지하는 균형을 찾기 위한 시도입니다.

Background

The current 24576-byte contract code size limit (EIP-170) was set conservatively. Modern applications, especially those using code generation or complex logic, frequently hit this limit.

Metering Approach

Rather than simply raising the hard cap, EIP-7907 proposes metering code size via gas: deploying larger contracts costs proportionally more gas. This preserves DoS resistance while allowing larger contracts when the gas budget permits.

Limit Increase

The hard cap would be raised substantially — the exact value is under discussion — to accommodate contracts that cannot be practically split into multiple deployment units.

Status

EIP-7907 is in Draft. It is being discussed alongside other code-size related proposals, and the metering formula details are still being refined.

공식 EIP 문서open_in_new