Dexola
  • About
  • Services
  • Case Studies
  • Tech Stack
  • Partnership
  • Blog
Web3 Development

Inside Ethereum’s Denсun Upgrade: What It Means and Why It Matters

May 1, 2024 Eugene Potemsky No comments yet

The Ethereum Dencun upgrade, a blend of the Deneb and Cancun upgrades, represents Ethereum’s initiative to strengthen its framework and resolve issues following the Shanghai upgrade. The Dencun upgrade went live on March 13, 2024, pushing the price of Ethereum (ETH) up to $4000.

This latest enhancement stands out as it’s designed to directly elevate the user experience by significantly slashing gas fees on L2 networks through the implementation of EIP-4844, commonly referred to as proto-danksharding.

In this piece, we explain how the Dencun upgrade improves the network at both the consensus and execution layers, promising a more efficient and cost-effective blockchain environment.

What is the Ethereum Deneb-Cancun (Dencun) Upgrade?

Dencun combines two separate upgrades, Deneb and Cancun. The goal of the Deneb upgrade is to enhance the consensus layer, which handles the agreement among network participants on the blockchain’s state.

Conversely, the Cancun upgrade focuses on optimizing transaction management and processing at the execution layer. The Dencun upgrade is launched nearly a year after the April 2023 Shanghai upgrade, which allowed Ethereum (ETH) holders to unstake their previously locked ETH from the network.

The Dencun upgrade marks the beginning of “The Surge” phase in the Ethereum roadmap, focusing on scalability. As Ethereum co-founder Vitalik Buterin notes, the goal is to achieve “100,000 transactions per second and beyond.”

The upgrade includes nine key Ethereum Improvement Proposals (EIPs):

  1. EIP-6780 aims to disable the SELFDESTRUCT opcode with as little impact as possible on existing smart contracts that use it. This adjustment is partly driven by the soon-to-be-implemented Verkle trees, which will render the pre-EIP 6780 SELFDESTRUCT operation unfeasible.
  2. EIP-5656 introduces a new EVM instruction called MCOPY, designed to enhance the efficiency of memory copying and facilitate more effective data structure construction. This EIP solely focuses on improving the efficiency of the EVM and presents no trade-offs or incompatibilities since there are currently no functional references to MCOPY.
  3. EIP-7044 is set to enable signed voluntary exits to retain their validity indefinitely, a departure from the current limitation of validity to two upgrades — or the existing and preceding consensus layer (CL) fork versions. This modification is intended to streamline and enhance the staking experience, especially for users engaged in delegated staking solutions.
  4. EIP-7045 increases the maximum inclusion slot for attestations from one rolling epoch to two non-rolling epochs. Previously, a validator had 32 slots to submit their attestation for a specific slot. With this update, validators can now make attestations for any slot within the current epoch and the entire following epoch. This change means validators could have up to 64 slots to submit their attestations and earn rewards, although it’s rare for a validator to have the entire first epoch available unless the slot they’re attesting to is the first in that epoch.
  5. EIP-4788 forces the commitment of a hash tree root from each parent beacon block in the corresponding execution block’s header, which will be recorded in a smart contract on the Ethereum mainnet. This is achieved by adding a new field in the execution block header, named parent_beacon_block_root, that holds the hash tree root of the parent beacon block associated with the execution block.
  6. EIP-7514 sets a maximum churn limit per epoch at 8, changing the growth rate of Ethereum validators from exponential to linear. The churn limit is the maximum number of validators that can join or leave the active roster of Ethereum validators every epoch (approximately 6.4 minutes). Before, the churn limit was a flexible number with a baseline of four, which incremented by one for every additional group of validators (65,536 or the churn limit quotient) that enters the active set.
  7. EIP-1153 adds a new feature called “transient storage” to the EVM, specifically within the execution layer. This type of storage behaves much like the previous one, but with a critical distinction: the data is purged at the transaction’s end, similar to how a computer clears its RAM when it’s no longer required. EIP-1153 introduces two specific opcodes for this purpose: TLOAD and TSTORE. These opcodes are designed to facilitate more efficient gas usage during transactions by allowing for better inter-frame communication and deleting stored data after each transaction is completed.
  8. EIP-4844, or proto-danksharding, is a crucial advancement in Ethereum’s quest for scalable decentralization. It introduces a new type of transaction, known as “blob-carrying” transactions, which allows rollup sequencers — and potentially others — to upload data to the Ethereum mainnet more affordably. Additionally, this EIP maintains decentralization by capping the size and quantity of blobs per block, ensuring that the demands on Ethereum nodes’ computational and storage capacities don’t surge excessively. Over time, these restrictions could be relaxed in future upgrades to further enhance Ethereum’s scalability.
  9. EIP-7516 introduces the BLOBBASEFEE opcode to Ethereum, enhancing the efficiency of transaction processing. It serves as a handy price scanner, offering immediate access to base fee information. The feature promotes quicker and fairer transactions, similar to equipping every product with a price tag, thus improving efficiency for everyone involved. By providing easy access to this data, rollups and Layer 2 solutions help streamline transaction processing and optimize the use of resources. EIP-7516 transforms Ethereum’s transaction environment, creating a more transparent and efficient marketplace.

Exploring EIP-4844 (Proto-Danksharding)

EIP-4844, known as proto-danksharding, introduces a significant advancement in Ethereum’s data handling by implementing data blobs. This method is designed to enhance the storage efficiency of Layer 2 (L2) transaction data.

Traditional L2 solutions rely on calldata, which is permanently stored on-chain, placing a considerable load on validators. Proto-danksharding aims to alleviate this by replacing calldata with blobs — temporary data stores that handle large volumes of data more efficiently and are pruned from the system after about two weeks, significantly reducing the storage burden on Ethereum nodes.

This new storage strategy promises to decrease the data load on Ethereum’s network, leading to less congestion and optimized network performance. The result is potentially lower gas costs, making L2 applications more practical and effective.

EIP-4844 employs advanced cryptographic techniques, such as the KZG commitment scheme, to ensure that data stored in blobs remains secure and verifiable, without needing to expose the actual data. This maintains the integrity and security of the network while facilitating a more scalable and efficient framework for data management.

Implications of the Ethereum Dencun Upgrade

The Ethereum Dencun upgrade represents a significant leap towards enhancing the Ethereum ecosystem. It offers multitude of benefits centered around scalability, cost efficiency, security, and cross-chain communication.

Scalability and Cost Efficiency

The “blob transactions” mechanism decreases the congestion on the network and lowers gas fees for layer-2 rollups. For instance, after the upgrade, the cost to swap tokens on platforms like Optimism and Arbitrum One decreased drastically, making these transactions competitive with major global payment systems.

Security Enhancements

The Dencun upgrade substantially bolsters Ethereum’s security framework. EIP-6780, which modifies the SELFDESTRUCT function in smart contracts, makes it harder for attackers to exploit this feature. Additionally, EIP-4788 improves the communication between Ethereum’s consensus and execution layers, making network security more resilient against potential threats.

Cross-Chain and Developer Enhancements

EIP-4788, as a part of the Dencun upgrade, facilitates smoother and more secure interactions between different blockchain networks, which is essential for cross-chain communication and integration. The upgrade also simplifies the consensus process and transaction handling, providing developers with a more streamlined environment for creating decentralized applications. This might lead to a surge in innovative projects and applications being developed on Ethereum.

Foundation for Future Upgrades

Dencun serves as a crucial stepping stone towards the goal of implementing full danksharding. The future development aims to enable Ethereum to handle up to 100,000 transactions per second, significantly expanding its capacity. However, reaching full danksharding might require several more network upgrades, with Dencun laying the necessary groundwork for these future advancements.

***

In summary, the Dencun upgrade sets the stage for a more scalable, cost-effective, secure, and developer-friendly Ethereum ecosystem, poised for future growth and broader adoption across various applications, from non-fungible tokens (NFTs) to decentralized finance (DeFi).

  • Blockchain & Smart Contracts
Eugene Potemsky

CTO/Co-founder at Dexola

As the CTO and co-founder of Dexola, I lead a team of over 30 highly qualified developers delivering cutting-edge solutions for blockchain, DeFi, and AI projects. Dexola is the result of a strategic partnership with Trinetix Inc., an enterprise-level outsourcing company.

With over 15 years of experience in software engineering, data science, and business analysis, my mission is to empower clients with innovative and secure solutions. I am passionate about exploring new possibilities and challenges in this rapidly evolving field of Web3.

Key Areas of Expertise:

- Web3 Solutions: Leading the development of next-generation decentralized applications and platforms.
- AI and Machine Learning: Expanding artificial intelligence to strengthen blockchain and Web3 projects.
- Business Strategy: Combining technical expertise with strategic insights to drive business growth and innovation.

My dedication to advancing technology and my ability to lead and inspire people help our clients achieve their ambitious goals. My work continues to push the boundaries of what's possible, setting new standards for innovation and security in the industry.

Post navigation

Previous
Next

Share

Facebook
Twitter
Pinterest
LinkedIn

Categories

  • Dexola Consulting (8)
  • Web3 Development (31)
  • Dexola News (2)
  • AI Solutions (10)
  • Web3 UX Design (5)
  • Uncategorized (1)

Recent posts

  • Applied AI in Agriculture: Cultivating Innovation for Smart Farming
    Applied AI in Agriculture: Cultivating Innovation for Smart Farming
  • Scaling Ethereum: Top Layer 2 Solutions in 2024
    Scaling Ethereum: Top Layer 2 Solutions in 2024
  • Vampire Attacks in DeFi: Battles for Liquidity and How to Survive the Suck
    Vampire Attacks in DeFi: Battles for Liquidity and How to Survive the Suck

Tags

2023 2024 AI Artificial Intelligence Binance Blockchain Blockchain & Smart Contracts Blockchain Development Bootcamp Chatbots ChatGPT Coinbase Complaince Cryptocurrency Dapps Design Patterns Development Discovery Phase Disruptive Innovation Erc20 Token Development Ethereum Ethereum Blockchain Ethics Friendtech Full Stack Developer Layer 1 Layer 2 Review Smart Contracts Social Impact Software Development Staking Technical Discovery UX UX Design Web3

Continue reading

Web3 Development

Decoding WorldCoin: Is Proof of Personhood the Future of Security?

May 24, 2024 Eugene Potemsky No comments yet

In the digital age, secure authentication is crucial for keeping the online world safe. Traditional methods like passwords and two-factor authentication often fall short in protecting users from cyber-attacks and identity theft. This has led to the exploration of new approaches, including Proof of Personhood (PoP). What is Proof of Personhood? As AI continues to […]

Web3 Development

What is Account Abstraction? Real Use Case of ERC-6551 Token Standard

April 12, 2024 Eugene Potemsky No comments yet

Account Abstraction, popularized by the ERC-4337 token standard, introduces the innovative idea of utilizing a dedicated smart contract as a standalone wallet managed by an ordinary address. Initially, Ethereum Account Abstraction (or AA) was designed to facilitate transactions without the end user paying gas fees directly, utilizing entities called paymasters to cover these costs. However, […]

Web3 Development

What Are the Most Popular Token Distribution Models

March 26, 2024 Alex Stupakov No comments yet

While many Web3 projects can operate and provide their services without native tokens, several opt to issue them. The reasons vary, from rewarding community members to offering extra services or discounts, and financing third-party development. Creating and issuing tokens is straightforward for any project, but ensuring a fair distribution among users poses a challenge. Various […]

© 2024 Dexola Inc.