Skip to content

Commit

Permalink
Update EIP-3540: Clarify code size limit rule (ethereum#6067)
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 authored Nov 30, 2022
1 parent 19592f8 commit 70de94a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EIPS/eip-3540.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ For clarity, the *container* refers to the complete account code, while *code* r
5. `JUMP`/`JUMPI` uses an absolute offset within the *code*.
6. `CODECOPY`/`CODESIZE`/`EXTCODECOPY`/`EXTCODESIZE`/`EXTCODEHASH` keeps operating on the entire *container*.
7. The input to `CREATE`/`CREATE2` is still the entire *container*.
8. The size limit for deployed code as specified in [EIP-170](./eip-170.md) and for init code as specified in [EIP-3860](./eip-3860.md) is applied to the entire *container* size, not to the *code* size.

### Changes to contract creation semantics

Expand Down

0 comments on commit 70de94a

Please sign in to comment.