mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-22 11:48:19 +00:00
EIP-170: Name the MAX_CODE_SIZE constant (#3790)
This commit is contained in:
parent
307cd98640
commit
4a79c79abf
@ -12,12 +12,13 @@ created: 2016-11-04
|
||||
[Spurious Dragon](./eip-607.md)
|
||||
|
||||
### Parameters
|
||||
- `MAX_CODE_SIZE`: `0x6000` (`2**14 + 2**13`)
|
||||
- `FORK_BLKNUM`: 2,675,000
|
||||
- `CHAIN_ID`: 1 (main net)
|
||||
- `CHAIN_ID`: 1 (Mainnet)
|
||||
|
||||
### Specification
|
||||
|
||||
If `block.number >= FORK_BLKNUM`, then if contract creation initialization returns data with length of **more than** `0x6000` (`2**14 + 2**13`) bytes, contract creation fails with an out of gas error.
|
||||
If `block.number >= FORK_BLKNUM`, then if contract creation initialization returns data with length of **more than** `MAX_CODE_SIZE` bytes, contract creation fails with an out of gas error.
|
||||
|
||||
### Rationale
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user