Launch App
Launch App

What Is the Ethereum Cancun Upgrade?

2023 Nov 13
6min

TL;DR

  • The Ethereum Cancun upgrade aims to enhance scalability, security, and efficiency within the Ethereum network, introducing the concept of proto-danksharding.

  • Danksharding represents the final phase of the Ethereum 2.0 (Serenity) upgrade that enhances data management and transaction processing.

  • The Ethereum Cancun upgrade promises faster transaction processing times, reduced transaction costs, and optimized data management. Potential risks include impacts on existing smart contracts and the integration of new data storage techniques.

  • The Ethereum Cancun upgrade was initially planned to go live in October 2023 but was later delayed to the first half of 2024.

Introduction

Ethereum's transition to Proof of Stake (PoS) and the introduction of sharding are vital components of its Ethereum 2.0 upgrade. PoS reduces energy consumption by replacing miners with validators, who are selected to create new blocks based on the amount of ETH they stake.

Meanwhile, sharding increases transaction speed by partitioning the Ethereum network into smaller pieces (shards), with each capable of independently processing transactions and smart contracts. The shift from PoW to PoS enables secure and efficient sharding by randomly assigning validators to specific shards, preventing manipulation and enhancing performance.

The Ethereum Cancun upgrade represents an important advancement in the Ethereum blockchain, aimed at fortifying the network's scalability, security, and overall efficiency. This upgrade introduces the concept of proto-dank sharding, an important step toward optimizing data management and enhancing transaction affordability within the Ethereum ecosystem.

By leveraging innovative data storage techniques, the Ethereum Cancun upgrade is poised to revolutionize the way the network processes transactions, paving the way for a more accessible and seamless user experience.

Understanding the Ethereum Cancun Upgrade

The Ethereum Cancun upgrade (also known as the “Cancun-Deneb” upgrade) is a concerted effort by Ethereum to bolster its infrastructure and address unresolved issues after the Shanghai upgrade.

The Cancun upgrade is based on five Ethereum Improvement Proposals (EIPs): EIP-4844, EIP-1153, EIP-4788, and EIP-6780. Together, the implementation of these EIPs will provide many benefits, including improved scalability, enhanced data storage and availability, and reduced transaction costs.

With a primary focus on optimizing the execution layer (Layer 1), the Cancun upgrade prepares the network for the future implementation of full data sharding, a vital component in Ethereum's long-term development strategy.

Sharding refers to splitting a blockchain database into smaller portions, called shards, for higher efficiency, and the Cancun upgrade introduces a specific type of sharding known as proto-danksharding (discussed below).

The goal of the Cancun upgrade is to increase the network’s transactions per second (TPS), aligning with Ethereum's roadmap's "Surge" phase, aiming to scale performance to 100,000+ TPS.

The Cancun upgrade – along with the subsequent Deneb upgrade – represents a significant milestone in Ethereum's journey towards establishing itself as a leading decentralized finance platform.

Danksharding and Proto-Danksharding

Danksharding and proto-danksharding are different iterations of the sharding technology developed for Ethereum. Named after Ethereum researcher Dankrad Feist, danksharding is a type of sharding that serves as the final phase of the Ethereum 2.0 (Serenity) upgrade. It concentrates on optimizing data availability for rollups within the Ethereum network.

Technically speaking, danksharding is a design that introduces the concept of a merged market fee. While traditional sharding has different blocks and block proposers for each shard, there is only one block proposer in danksharding. In simple terms, danksharding can enhance transaction processing and streamline data storage by simplifying the sharding architecture and prioritizing data management.

In the context of the upcoming upgrade, proto-danksharding (introduced by EIP-4844) serves as a prototype of danksharding. It’s a temporary solution that can significantly reduce gas fees associated with rollups before the complete implementation of the danksharding framework.

Blob-carrying transactions

Blob-carrying transactions were introduced along with proto-danksharding (EIP-4844) to help reduce gas fees. Blob-carrying transactions allow the temporary storage and retrieval of off-chain data, meaning extra data can be added to Ethereum transactions in a more cost-effective way.

Benefits of the Ethereum Cancun Upgrade

As we’ve discussed, the Ethereum Cancun upgrade promises a range of benefits, including faster transaction processing, reduced transaction costs, optimized data management, and improved cross-chain communication. By introducing the concept of blob-carrying transactions, the upgrade aims to streamline data processing and enhance overall network efficiency.

1. Better scalability: Proto-danksharding introduces temporary data storage capacity, allowing Layer 2 rollups (and the network as a whole) to process more transactions per second.

2. Reduced transaction costs: Blob-carrying transactions allow extra data to be added to Ethereum transactions in a more cost-effective way.

3. Optimized data management: EIP-1153 will optimize block space and reduce on-chain data storage costs.

4. Better cross-chain communication: EIP-4788 aims to improve interoperability between different blockchain networks by exposing the Beacon chain to execution layers.

5. Improved security: EIP-6780 will reduce the risk of smart contract termination by disempowering the SELFDESTRUCT code, enhancing the security of user data and funds.

Potential Risks of the Ethereum Cancun Upgrade

There might be risks related to the potential impact of the upgrade on existing smart contracts and the intricacies of integrating new data storage techniques. These require extensive testing and careful consideration during the implementation phase to ensure a smooth transition for all stakeholders involved.

Ethereum Cancun Expected Launch Date

While no specific date has been announced for the Ethereum Cancun-Deneb upgrade, it is anticipated to go live in the first half of 2024. With the network undergoing rigorous testing and optimization, the Ethereum community eagerly anticipates the official launch, expecting a transformative shift in the way Ethereum handles transactions and manages data within its ecosystem.

Closing Thoughts

The Ethereum Cancun-Deneb (Dencun) upgrade signifies a significant leap forward in Ethereum's quest for improved scalability, efficiency, and user experience. By introducing proto-danksharding and laying the groundwork for future advancements, the Ethereum Cancun Upgrade will likely enhance the realm of decentralized finance and blockchain technology.

Further Reading


Disclaimer: This content is presented to you on an “as is” basis for general information and educational purposes only, without representation or warranty of any kind. It should not be construed as financial, legal or other professional advice, nor is it intended to recommend the purchase of any specific product or service. You should seek your own advice from appropriate professional advisors. Where the article is contributed by a third party contributor, please note that those views expressed belong to the third party contributor, and do not necessarily reflect those of Binance Academy. Please read our full disclaimer here for further details. Digital asset prices can be volatile. The value of your investment may go down or up and you may not get back the amount invested. You are solely responsible for your investment decisions and Binance Academy is not liable for any losses you may incur. This material should not be construed as financial, legal or other professional advice. For more information, see our Terms of Use and Risk Warning.

Learn More

How to Cancel or Replace a Pending Ethereum Transaction

Your Ethereum transaction got stuck and is now blocking your crypto wallet? Binance Academy is here to help with a simple guide.

Articles

How to Cancel or Replace a Pending Ethereum Transaction

2021 May 20 6 min
Blockchain Layer 1 vs. Layer 2 Scaling Solutions

Layer 1 is the primary blockchain architecture; Layer 2 refers to an overlaying network on top of it. There are scalability solutions for each of these levels.

Articles

Blockchain Layer 1 vs. Layer 2 Scaling Solutions

2022 May 31 8 min
What Is Cryptocurrency and How Does It Work?

Discover what a cryptocurrency is, how it works, what the different types of cryptocurrencies are (from Bitcoin to altcoins), and how to safely invest in crypto.

Articles

What Is Cryptocurrency and How Does It Work?

2023 Apr 03 11 min