热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Ethereum'sShanghaiUpgrade:ChangesandtheFuture

At the first All Core Developers Execution (ACDE) call of 2023, the developers announced their aim t

At the first All Core Developers Execution (ACDE) call of 2023, the developers announced their aim to launch the test network for the Shanghai upgrade in early February, and tentatively activated the main network for the Shanghai upgrade in March 2023. This upgrade fully transform the Ethereum network from PoW to PoS and effectively addressed centralization issues caused by the Ethereum merger. The veDAO Research Institute will provide details of the changes brought by this upgrade and its impact in the future.

What changes will Shanghai Upgrade bring?

The Shanghai upgrade will be the first major upgrade of the Ethereum network after the merger, and also an important milestone on Ethereum’s roadmap. There are three big changes:

1. Shanghai upgrade inactivates the function of the pledge withdrawing on Ethereum. This not only helps keep the Ethereum network active but also contributes to the sustainable future of Ethereum, which continues to attract more verifiers to join.

2. Shanghai upgrade reduces the gas fee of the Layer-2 solution running on the Ethereum blockchain, which makes Ethereum faster and cheaper somehow, and will further optimize the gas fee of trading on Ethereum.

3. As the largest blockchain network supporting smart contracts, Ethereum will introduce EOF (EVM Object Format) to maintain its leading position in this field.

As far as the future ETH price is concerned, the Shanghai upgrade will help to speed up the trading on Ethereum. The above changes are caused by the EIP which is to be activated. The Shanghai upgrade originally plans to update 12 EIPs but unfortunately finalize 9 EIPs. The postponed EIP includes EIP-4844, which can greatly reduce gas fees and is related to ETH fragmentation. Next, let’s learn about the four most important proposals.

4 key EIPs

EIP- 3651: Warm COINBASE

The EIP aims to save unnecessary gas consumption related to ERC20. EIP-3651 was proposed by William Morris (wjmelements) on July 12, 2021. This EIP affects the types of transactions that encourage incentives: COINBASE in this EIP refers to the name of the software used by miners to get new tokens on the network. This concept originated from Bitcoin. The first transaction in the block is called a coin-making transaction or COINBASE transaction -  a special transaction for miners to pack and collect gas tips for mining. The transaction is defined as either “warm” or “cold” depending on whether there is preload before executing. In EIP-2929, the cold account access cost (COLD_ACCOUNT_ACCESS_COST) will be charged if there is no target in accessed_addresses. At this time, the first transaction is not preloaded (namely it’s cold), and the gas charge will be higher, while the gas charge will be lower for the pre-loaded (warm) transaction.

The advantage is that after EIP-3651 is introduced, the transaction packed by miners can be used for more purposes, and the gas fee will be reduced. Before EIP-3651 was launched, payment by ETH is preferred, and payment by ERC 20 is more encouraged after its launch. EIP-3855, another EIP adopted in the Shanghai upgrade, also aims to reduce unnecessary gas consumption. The implementation of both proposals will greatly reduce the gas fee of Ethereum.

EIP-3855:PUSH0 instruction

This EIP plans to reduce meaningless gas consumption too. EVM, the Ethereum virtual machine (the system that executes the contract code), has many kinds of instructions but misses push0 - an instruction for stack push operation on the value of 0. This EIP adds an instruction of PUSH0 (0x5f) to push the constant value of 0 onto the stack, but it takes about 2 gas.

Why is there no push0 before? First, some operations use 0 to execute offset functions - such as remote call and return which require many parameters of 0. Only the instruction of PUSH1 0 is useful to operate on 0, that is, any number pressed will be displayed as 0. This operation will consume 3 gas. Second, push1 and 0 are stored as one byte in the setup code. Consequently, deploying this contract will cost 2 * 200 gas. According to the statistics by this EIP, 340,557,331 bytes are wasted on the instructions of PUSH1 00 in the existing accounts, which means that the deployment costs 68,111,466,200 gas.

EIP-3860: Limit and meter initcode

The EIP seeks to increase the upper limit of the smart contract system and reduce gas. By introducing the maximum size limit of initcode, the maximum size limit of initcode is doubled by increasing from 24,576 to 49,152. Two gas fees are charged for every 32 bytes of initcode chunk to indicate the cost of jumpdest-analysis.

Larger Halstead’s volume has significant impacts: with double size, contract developers can deploy richer functions; In other words, EIP-3860 is designed for larger Dapp.

EIP-4895: Beacon chain push withdrawals as operations

This EIP is the core of the Shanghai upgrade: support the verifier to withdraw money from the beacon chain to EVM through the new system-level operation. This EIP will introduce a system-level operation to support withdrawal from the beacon chain to EVM.

This EIP provides a way for the verifier on the beacon chain to withdraw money into EVM, thus withdrawing the pledged ETH. The implementation method is based on the information on beacon chain consensus. The system-level instruction of withdrawal is introduced based on the information of the beacon chain (consensus layer) to control unconditionally and directly ETH balance on a certain address. There is no gas consumption because no gas is used to prevent DoS attacks. Currently, about 14 million ETHs are still pledged in the beacon chain. The operation of this withdrawal will mean that the function of pledge withdrawal on the Ethereum beacon chain will be activated.

With regard to the possible selling pressure after the pledge unlocking is allowed, Ethereum currently allows the model of gradual unlocking. Based on reality, the maximum limit of withdrawal is about 55,000 ETHs per day. There are 225 epochs per day on Ethereum, while each epoch can activate about 7.55 verifiers (which is calculated by dividing 65,536 into the total number of verifiers), that is, it can unlock up to 55,000 ETHs per day. In addition, the withdrawal rate will also be adjusted according to the total amount of the pledged ETH, to prevent the instantaneous massive outflow to deal with the possible selling pressure.

How to get involved in Shanghai Upgrade?

After Ethereum transitioned to Pos through the merger, the role of miners was assumed by the verifier, and the MEV (maximum extractable value) market changed significantly. All transactions on the Ethereum network will no longer be verified by energy-intensive miners, but by individual or institutional verifiers that deposit or pledge a large number of ETHs. Anyone can pledge 32 ETH or more to meet the minimum requirements of becoming a verifier. The pledge generally comprises the separate pledge, the pledge as a service (SaaS) and the joint pledge. The separate pledge is the most basic one where users gain profits by joining different nodes and pledging ETH; if users want to pledge less than 32 ETH, they can choose the joint pledge. Each method has different advantages and risks.

This upgrade has opened the function of pledge withdrawal. General withdrawal requests include withdrawal of proceeds or withdrawal of all (i.e. withdrawal from the verifier’s node). Each block on the Ethereum beacon chain can process up to 16 withdrawal requests, and all withdrawal and partial withdrawal has the same priority. Verifiers can submit the application only when the verifier’s node has more than 32ETH at the status of withdrawable. Based on the withdrawal request by verifiers, a withdrawal list will be created to include all the verifiers who have made the withdrawal request. The list lists the withdrawal order, the address of the executive level and the withdrawal amount.

After the miners, the MEV might become the new big thing in the next bull market. Maximum extractable value refers to the maximum value that the verifier can extract in the production of blocks that exceed the rewards and gas fees in standard blocks by adding, deleting and changing the transaction order in the block. The problem is that there is no built-in mechanism in the protocol to help the verifier capture MEV. Therefore, the parties sharing MEV on the chain are no longer the miners and instead, they are Layer 2, CEX, Lido, and verification node custodians. Multi-party involvement further complicates MEV issues on ETH 2.0. The MEV segment, an important arena for many parties, is expected to become a significant trend for the next bull market.

As mentioned earlier, after the Shanghai upgrade, the ETHs, pledged on the beacon chain, will be released, which will undoubtedly make ETH hugely popular. Therefore, becoming a verifier at the ETH2.0 network might be the best choice for users to be part of the ETH2.0 ecosystem after the Shanghai upgrade. However, ordinary users have less access to 32 ETHs and frequent technical maintenance of mev-boost. Thus, except for a few whales and geeks, joining the mining pool is the must-used way to enter ETH2.0.

Follow Us

veDAO, led by DAO, is an investing/financing platform. Utilizing the wisdom of the masses, the platform gives full play to the elite insight. The platform, finding and supporting the most potential projects through the voting mechanism, builds a community, composed of financiers, investors, and DAO members, with shared interests, thus enabling everyone to do his part and benefit from it.

veDAO is committed to providing a transparent and easy-to-access platform for all financiers, investors, and community attendants through democratic voting. With veDAO, all the participants will share the benefits of the project and benefit from the top-level project in the future.

Website: http://www.vedao.com/

Twitter: https://twitter.com/vedao_official

Facebook: https://www.facebook.com/veDAO-101254062600896/

Telegram:https://t.me/veDAO_EN

Discord:https://discord.gg/NEmEyrWfjV


推荐阅读
  • 本文是Java并发编程系列的开篇之作,将详细解析Java 1.5及以上版本中提供的并发工具。文章假设读者已经具备同步和易失性关键字的基本知识,重点介绍信号量机制的内部工作原理及其在实际开发中的应用。 ... [详细]
  • 如何高效启动大数据应用之旅?
    在前一篇文章中,我探讨了大数据的定义及其与数据挖掘的区别。本文将重点介绍如何高效启动大数据应用项目,涵盖关键步骤和最佳实践,帮助读者快速踏上大数据之旅。 ... [详细]
  • 零拷贝技术是提高I/O性能的重要手段,常用于Java NIO、Netty、Kafka等框架中。本文将详细解析零拷贝技术的原理及其应用。 ... [详细]
  • [转]doc,ppt,xls文件格式转PDF格式http:blog.csdn.netlee353086articledetails7920355确实好用。需要注意的是#import ... [详细]
  • Java高并发与多线程(二):线程的实现方式详解
    本文将深入探讨Java中线程的三种主要实现方式,包括继承Thread类、实现Runnable接口和实现Callable接口,并分析它们之间的异同及其应用场景。 ... [详细]
  • 本文详细介绍了 PHP 中对象的生命周期、内存管理和魔术方法的使用,包括对象的自动销毁、析构函数的作用以及各种魔术方法的具体应用场景。 ... [详细]
  • 本文介绍了如何使用Python的Paramiko库批量更新多台服务器的登录密码。通过示例代码展示了具体实现方法,确保了操作的高效性和安全性。Paramiko库提供了强大的SSH2协议支持,使得远程服务器管理变得更加便捷。此外,文章还详细说明了代码的各个部分,帮助读者更好地理解和应用这一技术。 ... [详细]
  • PTArchiver工作原理详解与应用分析
    PTArchiver工作原理及其应用分析本文详细解析了PTArchiver的工作机制,探讨了其在数据归档和管理中的应用。PTArchiver通过高效的压缩算法和灵活的存储策略,实现了对大规模数据的高效管理和长期保存。文章还介绍了其在企业级数据备份、历史数据迁移等场景中的实际应用案例,为用户提供了实用的操作建议和技术支持。 ... [详细]
  • Python 序列图分割与可视化编程入门教程
    本文介绍了如何使用 Python 进行序列图的快速分割与可视化。通过一个实际案例,详细展示了从需求分析到代码实现的全过程。具体包括如何读取序列图数据、应用分割算法以及利用可视化库生成直观的图表,帮助非编程背景的用户也能轻松上手。 ... [详细]
  • 深入剖析Java中SimpleDateFormat在多线程环境下的潜在风险与解决方案
    深入剖析Java中SimpleDateFormat在多线程环境下的潜在风险与解决方案 ... [详细]
  • Python 程序转换为 EXE 文件:详细解析 .py 脚本打包成独立可执行文件的方法与技巧
    在开发了几个简单的爬虫 Python 程序后,我决定将其封装成独立的可执行文件以便于分发和使用。为了实现这一目标,首先需要解决的是如何将 Python 脚本转换为 EXE 文件。在这个过程中,我选择了 Qt 作为 GUI 框架,因为之前对此并不熟悉,希望通过这个项目进一步学习和掌握 Qt 的基本用法。本文将详细介绍从 .py 脚本到 EXE 文件的整个过程,包括所需工具、具体步骤以及常见问题的解决方案。 ... [详细]
  • 在Java基础中,私有静态内部类是一种常见的设计模式,主要用于防止外部类的直接调用或实例化。这种内部类仅服务于其所属的外部类,确保了代码的封装性和安全性。通过分析JDK源码,我们可以发现许多常用类中都包含了私有静态内部类,这些内部类虽然功能强大,但其复杂性往往让人感到困惑。本文将深入探讨私有静态内部类的作用、实现方式及其在实际开发中的应用,帮助读者更好地理解和使用这一重要的编程技巧。 ... [详细]
  • 本文介绍了如何利用ObjectMapper实现JSON与JavaBean之间的高效转换。ObjectMapper是Jackson库的核心组件,能够便捷地将Java对象序列化为JSON格式,并支持从JSON、XML以及文件等多种数据源反序列化为Java对象。此外,还探讨了在实际应用中如何优化转换性能,以提升系统整体效率。 ... [详细]
  • Python全局解释器锁(GIL)机制详解
    在Python中,线程是操作系统级别的原生线程。为了确保多线程环境下的内存安全,Python虚拟机引入了全局解释器锁(Global Interpreter Lock,简称GIL)。GIL是一种互斥锁,用于保护对解释器状态的访问,防止多个线程同时执行字节码。尽管GIL有助于简化内存管理,但它也限制了多核处理器上多线程程序的并行性能。本文将深入探讨GIL的工作原理及其对Python多线程编程的影响。 ... [详细]
  • 从2019年AI顶级会议最佳论文,探索深度学习的理论根基与前沿进展 ... [详细]
author-avatar
手机用户2602930515
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有