Open
Description
There are currently two limits on the bytecode size on mainnet:
- 24576 bytes for runtime code, introduced by EIP-170: Contract code size limit in
spuriousDragon
. - 49152 bytes for initcode, introduced by EIP-3860: Limit and meter initcode in
shanghai
.
The compiler emits warnings only when the first one is exceeded and then only when compiling Solidity (i.e. not Yul or imported EVM assembly). If the warning is useful, we should emit it in both cases and in all input modes.
Activity