13 Jan 2025

Dencun Upgrade: Explaining Complex EIPs in Simple Terms

Dencun Upgrade: Explaining Complex EIPs in Simple Terms

On March 13, 2024, the Ethereum blockchain is poised for the Cancun-Deneb (Dencun) upgrade, introducing a slew of improvements (EIPs) at both the consensus and execution layers. Let’s unpack the key enhancements this upgrade brings.

On this page

Previously, we've touched upon this significant milestone in Ethereum's roadmap, focusing solely on one particular improvement – the introduction of the EIP-4844 transaction type, also known as “proto-danksharding.”Now, let's explore the additional EIPs* set for rollout in this March's update.

*EIP, short for Ethereum Improvement Proposals, are initiatives designed to improve the protocol, contributed by external authors. The most viable and fitting proposals are selected by Ethereum developers for implementation in future upgrades.

EIP-6780: Cleaning Up Unnecessary Smart Contracts

This improvement is introduced to restrict SELFDESTRUCT to a single transaction.

What is SELFDESTRUCT?

SELFDESTRUCT is an Ethereum developer tool for eliminating redundant smart contracts. However, its challenges include:

  • Complexity in application;
  • Potential for data loss.

What does EIP-6780 accomplish?

EIP-6780 makes the SELFDESTRUCT function more secure and easier to handle. It narrows down its applicability, which was originally broad and affected all smart contracts within the network. Here's how it works:

  1. SELFDESTRUCT can now be applied solely to the smart contract that the transaction directly references, preventing developers from inadvertently deleting unrelated contracts.
  2. SELFDESTRUCT will no longer delete the contract's code, its storage link, or reset the nonce after a transaction is executed. As a result, data remains secure and recoverable even if SELFDESTRUCT is mistakenly used.

Imagine your computer is cluttered with unnecessary files. EIP-6780 is like a clever cleanup program that helps you eliminate those files thoughtfully. It ensures nothing crucial is removed from your archive but clears out the unnecessary, freeing up space for efficient operation.

EIP-5656: Streamlined Data Copying 

If EIP-6780 carefully removes unwanted clutter, EIP-5656 introduces a method to efficiently copy important documents into new storage with the “MCOPY” command.

What is MCOPY?

MCOPY is Ethereum's new functionality that enables developers to copy data more efficiently. 

How does MCOPY work?


MCOPY is designed for the effective construction of data structures by allowing memory copying. This is done by shifting blocks of data from one part of memory to another, akin to solving a Rubik's Cube. 

This method is a standard operation for building databases and replicating objects.

EIP-5656 dramatically reduces the gas expense associated with this copying process by almost fourfold, thereby making the creation and execution of new contracts also require less gas. 

Such energy-efficient contracts are especially advantageous for everyday users of Ethereum-based apps.

Picture your computer as a vast box where all your files are stored. You need to relocate necessary files from one folder to another while “packing” them efficiently to make more space available. MCOPY functions like a copy-paste tool for data movement within the Ethereum Virtual Machine (EVM).

EIP-4788: Open Access to Consensus Information

The Ethereum blockchain is constantly evolving, with changes that applications using this network need to stay informed about. 

For example, staking applications require up-to-date information on Ethereum's consensus state for proper operation. Until now, DApps had to depend on third-party oracles for this crucial information.

EIP-4788 revolutionizes this process by providing direct access to Ethereum consensus information within the blockchain, making it readily available to all applications.


How EIP-4788 Functions


  1. Each Ethereum block will now contain a special code (hash) that refers back to the previous consensus block.
  2. This code allows anyone to verify the Ethereum consensus state at any given moment.
  3. To prevent network overload, this information is stored temporarily (approximately one day).

Effectively, EIP-4788 serves as an internal oracle, removing the reliance on external data sources. This boosts the system's security and reduces potential points of failure.

This enhancement is particularly significant for application developers and services involved in liquidity pools, such as Lido and Rocket Pool, offering them new avenues to create secure solutions without the need for trusted oracles.

EIP-7044: Simplifying Withdrawal from Staking

This improvement streamlines the process of withdrawing assets from delegated staking pools. Prior to the Dencun upgrade, withdrawing required interaction with a validator, who possesses two keys (a signing key and a withdrawal key). The node owner needed to sign a specific message to initiate the withdrawal. However, there was a concern that validators might refuse or ignore such requests, affecting their earnings based on the pool's funds.

EIP-7044 solves this problem by generating pre-signed withdrawal notifications at the time of contract initiation. This ensures that the withdrawal terms remain unaffected by any actions of the validators or subsequent updates to the network.

Benefits of EIP-7044


  1. Convenience: It eliminates the need to seek permission from others to access your funds.
  2. Security: Reduces the risk of losing your cryptocurrency due to the refusal or inactivity of the pool manager.

EIP-7045: Expanding the Voting Period

The Ethereum blockchain operates with blocks and attestations, which are essentially votes endorsing the correct creation of a block. 

Before the Dencun upgrade, these attestations needed to be included within a single epoch to validate a block.

*An epoch, as defined by Ethereum’s protocol, is a complete cycle of data processing that includes filling 32 slots, with each slot lasting 12 seconds, during which blocks are validated.

EIP-7045 increases the maximum window for including attestations from one epoch to two epochs, meaning up to 64 slots in total.

Who Stands to Benefit?

This upgrade primarily benefits validators as it allows them to cast votes for the 32 slots of the initial epoch as well as for the slots of the subsequent epoch, without forfeiting their rewards. By lengthening the attestation inclusion window, validators are afforded more flexibility in their voting activities.

Put simply, node owners can now vote on larger volumes of slots at once. Theoretically, this could result in quicker block confirmations and reduced delays for Ethereum users.

Active development on new Ethereum Improvement Proposals (EIPs 6110, 7002, and 7549) is underway, targeted for the next upgrade—Prague-Electra. We'll continue to provide updates, making complex topics accessible and understandable.

The content on The Coinomist is for informational purposes only and should not be interpreted as financial advice. While we strive to provide accurate and up-to-date information, we do not guarantee the accuracy, completeness, or reliability of any content. Neither we accept liability for any errors or omissions in the information provided or for any financial losses incurred as a result of relying on this information. Actions based on this content are at your own risk. Always do your own research and consult a professional. See our Terms, Privacy Policy, and Disclaimers for more details.

Articles by this author

Latest News

MORE
The Crypto Rollercoaster of 2024 — Wins and Woes

The Crypto Rollercoaster of 2024 — Wins and Woes

The crypto sector evolved at breakneck speed in 2024. With major wins and notable setbacks, it’s time to reflect on the year’s key developments and their implications for the future.

31 Dec 2024
OpenSea Token: Release Date and How to Qualify for the Airdrop

OpenSea Token: Release Date and How to Qualify for the Airdrop

The NFT marketplace OpenSea, a pioneer in the space for the past seven years, is expected to launch its native token in 2025. A significant portion of the tokens will likely be distributed through a retroactive airdrop—a common way to reward the community for their past activity and support.

30 Dec 2024
5 Most Exciting Token Launches to Watch in 2025

5 Most Exciting Token Launches to Watch in 2025

In 2024, we saw a number of hot airdrops and token launches, from AI-powered projects to the rise of memecoins. Now, as we head into 2025, the crypto space is set to expand even further with an increasing number of cryptocurrencies.

27 Dec 2024
A Million Bitcoins for the U.S.? Cynthia Lummis’ Ambitious Plan

A Million Bitcoins for the U.S.? Cynthia Lummis’ Ambitious Plan

Wyoming Senator Cynthia Lummis has proposed an ambitious plan to create a strategic Bitcoin reserve for the United States. In a recent interview, she explained how Bitcoin could strengthen the global position of the U.S. dollar and help address the growing national debt.

23 Dec 2024

Latest News Alt

MORE
Weekly Analysis of BTC, ETH, and the Stock Market (Jan 6, 2025)

Weekly Analysis of BTC, ETH, and the Stock Market (Jan 6, 2025)

An overview of BTC, ETH, XAUT, and S&P500 charts, along with the current cryptocurrency market dynamics.

06 Jan 2025
Weekly Analysis of BTC, ETH, and the Stock Market (Dec 30, 2024)

Weekly Analysis of BTC, ETH, and the Stock Market (Dec 30, 2024)

An overview of BTC, ETH, XAUT, and S&P500 charts, and the current cryptocurrency market dynamics.

30 Dec 2024
Weekly Analysis of BTC, ETH, and the Stock Market (Dec 23, 2024)

Weekly Analysis of BTC, ETH, and the Stock Market (Dec 23, 2024)

An overview of BTC, ETH, XAUT, and S&P500 charts, and the current cryptocurrency market dynamics.

23 Dec 2024

Might Be Interesting

MORE
Mining Farms Uncovered — How Crypto Is Mined at Scale

Mining Farms Uncovered — How Crypto Is Mined at Scale

As a cornerstone of the crypto industry, mining farms drive blockchain networks. But how do they work? Uncover the mechanics behind these cutting-edge hubs and their role in the crypto landscape.

07 Jan 2025
William Quigley, WAX/Tether: Stablecoins’ Role in Global Payments

William Quigley, WAX/Tether: Stablecoins’ Role in Global Payments

William Quigley, co-founder of WAX and Tether, firmly believes that stablecoins are more than a tool for traders—they’re the key to transforming the global economy. Already central to crypto trading and cross-border payments, their future potential is even more exciting.

04 Jan 2025
Why Blockchain Is Different from Traditional Databases

Why Blockchain Is Different from Traditional Databases

In the world of business and finance, information is everything. Traditional databases have been reliable tools for decades, but blockchain presents a groundbreaking alternative. What sets it apart, and could it lead to a paradigm shift?

03 Jan 2025
How Does Multisig Works and Protect Your Assets?

How Does Multisig Works and Protect Your Assets?

As threats to digital assets evolve, multisig technology provides a highly effective security layer. By requiring multiple signatures for transactions, it significantly reduces risks such as hacking and access loss.

02 Jan 2025
Crypto Price Gaps: Why Platforms Show Different Prices

Crypto Price Gaps: Why Platforms Show Different Prices

The crypto market has nuances you may not have noticed at first glance. For example, when you want to check the Bitcoin price, you probably Google it without thinking to compare the results. But when you monitor the market regularly and engage in trading, you notice the prices aren’t the same on all platforms.

24 Dec 2024
The Czech Republic and Its Crypto-Friendly Policies

The Czech Republic and Its Crypto-Friendly Policies

The Czech Republic is emerging as a crypto-friendly nation, recognizing cryptocurrencies as legitimate payment methods and encouraging their use in business. But its regulatory framework is still taking shape. Here’s how crypto is managed today.

23 Dec 2024

Opinions

8 Commandments for Crypto Exchange Users

8 Commandments for Crypto Exchange Users

While cryptocurrency exchanges offer many security features, they are still vulnerable to hacks, fraud, and other criminal activity. Remember, no online platform can guarantee 100% protection for your funds. Follow these eight key rules to reduce your risks. Rule #1: Don’t Believe in the Myth of Absolute Exchange Security Even the largest and most seemingly […]

12 Jan 2025
10 Key Investment Trends to Watch in 2025: Green Crypto, Regulations, and More

10 Key Investment Trends to Watch in 2025: Green Crypto, Regulations, and More

Donald Trump is back, Germany’s economy is in trouble, while U.S. economic indicators seem to have a robust momentum, and interest rates are sliding downhill. Sounds dramatic? It is. But 2025 isn’t all doom and gloom—it’s full of opportunities for investors who know where to look. Whether you’re a seasoned pro or someone still figuring […]

12 Jan 2025
MORE

Interviews

Dmytro Gordon and Volodymyr Nosov: A Sensational Interview

Dmytro Gordon and Volodymyr Nosov: A Sensational Interview

Volodymyr Nosov, CEO of Europe’s largest crypto exchange WhiteBIT, sat down with Dmytro Gordon, one of Ukraine’s most prominent journalists. The interview touched on Bitcoin, crypto, WhiteBIT, cars, keys to success, and business vision.

18 Dec 2024
WhiteBIT CEO: Standing Strong Against Russian Aggression

WhiteBIT CEO: Standing Strong Against Russian Aggression

In an interview with BTC-ECHO, Volodymyr Nosov, the founder and CEO of WhiteBIT, discussed the impact of Russian aggression on the crypto exchange’s business, how WhiteBIT stays a top competitor in the industry, and when he believes our financial system will be completely transformed.

04 Oct 2024
MORE