ethereum / execution-specs

Specification for the Execution Layer. Tracking network upgrades.
Creative Commons Zero v1.0 Universal
808 stars 222 forks source link

check create/create2 code size upfront #915

Closed gurukamath closed 3 months ago

gurukamath commented 3 months ago

(closes #914)

What was wrong?

In EIP-3860, the initcode length should not exceed MAX_INITCODE_SIZE. Although the specs do perform this check, the other clients seem to make this check upfront.

Related to Issue #914

How was it fixed?

This commit aligns specs with the live client implementations