The Ethereum community has been discussing why there should still be a size limit for contract deployment. Vitalik recently shared his thoughts on this matter—this limitation is mainly to prevent DoS attack risks.



His line of thought is as follows: once Ethereum completes the upgrade of the state structure and switches to a unified binary tree architecture (which is the direction of EIP-7864), it may be possible to completely lift the limitations on contract size. It sounds great, but in practice, there is a real issue to face - how to handle the Gas costs and mechanism design when deploying super-large contracts on-chain.

The current algorithm calculates the creation cost based on each byte, which results in the actual contract size being stuck at a ceiling. It seems that the technical upgrade itself is not the problem; the key is to find a balance between ensuring network security and maintaining reasonable costs.
ETH-0.6%
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 3
  • Repost
  • Share
Comment
0/400
TooScaredToSellvip
· 12-23 13:12
To put it simply, you can't have both fish and bear's paw. You want to lift the restrictions but are afraid of skyrocketing costs.
View OriginalReply0
MidnightGenesisvip
· 12-23 13:12
From the code perspective, the interesting part of Vitalik's statement is that it appears to be about DoS protection on the surface, but in reality, it is still about the ceiling positioning of Gas economics. EIP-7864 sounds great, but based on past experiences, the transformation of the state tree is not that simple, and the issue of byte creation costs will eventually need to be addressed again.
View OriginalReply0
PessimisticLayervip
· 12-23 13:05
To put it nicely, it's DoS protection; to put it bluntly, it's just secretly digging pits for contract developers. The cost of Gas is always a ceiling.
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate App
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)