Insights
14min
26th November, 2024

The Pectra Upgrade: A Milestone in Ethereum’s Evolution

The Pectra Upgrade, Ethereum’s latest milestone, introduces significant enhancements to the blockchain's scalability, security, and user experience. Combining the Prague (execution layer) and Electra (consensus layer) updates, this highly anticipated rollout is set to solidify Ethereum's position as a leader in decentralized technology. With features like improved validator efficiency, enhanced data availability, and innovative scaling solutions, Pectra lays the groundwork for Ethereum's future development and success.
Safe
avatar-safe
Safe

The Pectra Upgrade

Ethereum is a decentralised blockchain, home to the second most-popular cryptocurrency in the world: Ether (ETH). Ether is not the only cryptocurrency to run on Ethereum, but it is the platform’s native currency. Unlike its competitor Bitcoin, Ethereum is designed as a whole network, hosting other applications as well as financial services. In their own words, Ethereum users have gone from being companies, developers and investors to also including artists, musicians, writers and gamers. 

First introduced in 2015, this technology has undergone multiple upgrades since its inception, with each aiming to improve the user experience, security or other significant features of the platform. The next scheduled update is the Pectra upgrade, consisting of the Prague (execution layer) and Electra (consensus layer) changes. There’s no fixed date for this release, but experts suggest that Ethereum users can anticipate the changes in Q4 2024 or Q1 2025, which has increased industry talk about what we might expect to see in this rollout. 

In this guide, we take you through historic changes to Ethereum, what we might be able to expect from the Pectra upgrade, and what blockchain could look like in the future.

A brief timeline of Ethereum upgrades

In order to understand why the Pectra upgrade is being implemented, it’s first important to understand what has gone before it. Despite being a relatively new platform, Ethereum has experienced plenty of change as it’s become established, with developers learning from user feedback and security advancements in order to stay competitive. 

Understanding the layers of Ethereum

Ethereum is split into several layers; the data availability, consensus and execution layers. Having multiple layers rather than one combined allows Ethereum to be highly scalable – an important feature as the platform grows in popularity and needs to be able to handle a larger number of daily actions. The data availability layer ensures that transactions that happen on the Ethereum blockchain are transparent and available to users. The execution layer deals with smart contracts and transactions, whilst the consensus layer handles the enforcement of network rules, such as which transactions should go to the next block.

The upgrades affect the execution and consensus layers, and follow a specific naming pattern. Execution upgrades since 2021 have been named after previous Devcon locations (a global Ethereum conference), whilst upgrades to the consensus layer have been named after celestial stars. The execution layer follows chronological order, whilst the consensus upgrades are alphabetical.

What is an Ethereum Improvement Proposal (EIP)?

According to Ethereum.org, Ethereum Improvement Proposals (EIPs) are “standards specifying potential new features or processes for Ethereum”. They contain all the information needed for proposed changes, including technical specifications. This allows them to act as a ‘source of truth’; that is rules and framework that need to be followed in order to implement any amendments. Centrally accepted guidelines for writing an EIP ensure that any new EIP follows the same rules as the existing Ethereum network. 

One of the key values of Ethereum is that everyone has the ability to be involved in the development of the platform; therefore, anyone can technically propose an EIP. However, they have to be approved before they can be pushed out. There is a panel of EIP editors who are responsible for this, although anyone from the Ethereum community is able to give their feedback along the way. The process of creating an EIP is as follows:

  1. Idea. The unofficial stage, where the individual comes up with an idea for an EIP

  2. Draft. The first written stage of an EIP.

  3. Review. The peer review stage.

  4. Last call. The final opportunity to review, lasting around 14 days.

  5. Final. At this stage, an EIP may only be updated if there is an error or if clarification is needed – it’s not a working idea.

  6. Stagnant. The status given if the EIP is inactive or stuck in the draft or review stages.

  7. Withdrawn. When an EIP is retracted.

  8. Living. When an EIP is continuously updated.

What are forks?

Forks are the name given to the major technical upgrades that happen on Ethereum. They usually happen as a result of EIPs, changing the rules that Ethereum users need to follow. Rather than traditional software development, where a new version of the software is rolled out across the platform, Ethereum users must go in and update their software to make sure it meets the new requirements themselves. This is because Ethereum is a decentralised platform, rather than being centrally controlled.

Forks are usually proposed and agreed well in advance, so that’s no issue with some blocks being produced according to the old rules, whilst some are made to the new rules, at the same time. However, there’s been one exception to this in the history of Ethereum – in July 2016, the platform was hit by an attack, forcing the DAO update. Some people accepted the changes, whereas others didn’t. This created Ethereum Classic (the old/existing chain) and Ethereum (the new one).

Upgrades to the execution layer

Hard fork upgrades to the execution layer have been as follows:

  • Genesis/Frontier, July 2015

  • Homestead, March 2016

  • DAO fork, Jul 2016 (in response to the DAO attack)

  • Tangerine Whistle, October 2016

  • Spurious Dragon, November 2016

  • Byzantium, October 2017

  • Constantinople, February 2019

  • Berlin, April 2021

  • London, August 2021

  • Shanghai, April 2023 (commonly called the Shapella upgrade, as the execution and consensus upgrades were released simultaneously)

  • Cancun, March 2024 (commonly called the Dencun upgrade)

  • Prague, date to be confirmed (now referred to as the Pectra upgrade)

Upgrades to the consensus layer

Hard fork upgrades to the consensus layer have been as follows:

  • Altair, October 2021

  • Bellatrix, September 2022

  • Paris, September 2022 (also known as The Merge)

  • Capella, April 2023 (commonly called the Shapella upgrade)

  • Deneb, March 2024 (commonly called the Dencun upgrade)

  • Electra, date to be confirmed (now referred to as the Pectra upgrade)

What will be included in the Pectra upgrade?

Because the EIPs are discussed and agreed upon by a range of people in the Ethereum community, there’s no concrete list of what will actually be included in the Pectra upgrade. However, there’s a range of features that are likely to be included, with each subject to change if the community feels amends are necessary.

The main focus of the Pectra upgrade seems to be improved security and increased overall efficiency and scalability, all of which will help maintain Ethereum’s place at the forefront of the market. In the future, Ethereum states in its roadmap that it wants to decrease the cost of transactions, increase security, enhance user experience and work towards future proofing the platform – so some changes in these areas are likely in Pectra.

Let’s examine the properties of the proposed changes.

Examining the key features

EIP-2537: Precompile for BLS12-381 curve operations

A precompile can be defined as a built-in function – in this case which is used for the smart contracts required as part of Ethereum. By precompiling, Ethereum can improve efficiency and speed, as well as reducing computational overload. Ethereum uses a system called ‘gas fees’ to determine the cost of each transaction – think of it as an energy cost – and having items already packaged up into precompiles reduces computing power and therefore the cost of the transaction. 

This proposed EIP-2537 precompile will deal specifically with the BLS12-381 curve operations – a pairing-friendly elliptic curve that enables short digital signatures. This will also enhance multi-party computation (MPC).

EIP-2935: Save historical block hashes in state

This EIP would mean that historical block hashes are saved directly in the blockchain’s state, in special storage slots. A hash remains the same size, regardless of the size of the input, and cannot be reverse-engineered, making them more secure. Retrieving historical block hashes is time-consuming, and uses a lot of resources. Storing them in state aims to improve Ethereum’s efficiency. Additionally, it improves the security of Ethereum, as it’s easier to verify and validate the blockchain.

EIP-2935 is a move towards statelessness in Ethereum.

EIP-6110: Supply validator deposits on chain

This EIP refers to Ethereum’s proof-of-stake (PoS) mechanism, which was activated in 2022. Ethererum moved to this model rather than the previous proof-of-work architecture, because PoS is “more secure, less energy-intensive and better for implementing new scaling solutions”. 

EIP-6110 would require validators to place an amount of ETH as a deposit in order to participate in the consensus process, which would be handled natively on the blockchain. As a result, these transactions would gain the same transparency and validity that Ethereum is known for. It can also simply provide a better user experience, as everything is handled in one place.

EIP-7002: Execution layer triggerable exits

A change that impacts the way that validators manage their staked ETH, EIP-7002 will allow for automated exits when certain conditions are met, on the execution layer. Currently, validators have two keys, one of which is ‘active’ and the other which is ‘cold’ (the difference being the level of access and action available). This means that in situations without the active key – whether that’s because of the relationship setup or because the active key is lost – there can be issues with withdrawing funds. 

EIP-7002 will change this, triggering withdrawals based on execution layer credentials, removing the need for manual intervention. As well as making life easier for validators thanks to reduced manual tasks, it can potentially improve flexibility and efficiency.

EIP-7251: Increase the MAX_EFFECTIVE_BALANCE

Currently, the maximum balance per validator on Ethereum is 32 ETH. The EIP-7251 proposal would raise this to 2,048 ETH, whilst keeping the minimum balance at 32 ETH. The current setup means that multiple validators are required for large amounts of ETH, promoting decentralisation. 

However, the changes are slated for inclusion in the Pectra upgrade in an attempt to improve efficiency and reduce the overall number of validators needed (saving both time and energy). It can also help validators consolidate their ETH, increasing their rewards as a result of a larger balance, rather than lots of small pots.

EIP-7549: Move committee index outside Attestation

EIP-7549 proposes separating the committee index field from the attestation process. This change would improve efficiency, as well as making it easier to make changes and upgrades in the future, thanks to a more modular approach.

EIP-7594: PeerDAS – Peer Data Availability Sampling

This EIP introduces a new feature to Ethereum, called PeerDAS (Data Availability Sampling). This allows the system to verify that data is available without having to download it all, and is a key part of Ethereum’s scaling plans. Additionally, by running regular checks, EIP-7594 means that issues can be identified early on, potentially before they cause difficulties in the integrity of the blockchain.

EIP-7685: General purpose execution layer requests

This change discusses the relationship between the execution layer and the consensus layer, with EIP-7685 providing a framework for storing contact-triggered requests. The purpose of this is to create a more secure system and remove the amount of manual intervention.

EIP-7702: Set EOA accounts code for one transaction

This feature allows EOA (externally owned accounts) to have a code associated with them for a single transaction. This means that regular wallets will be able to become smart contract wallets on a temporary basis, improving the experience for the user. EIP-7702 will also allow transactions to be batched together, rather than all having to be completed individually, as well as some other sponsorship and privilege de-escalation benefits.

EIP-7692 (Meta EIP bundle)

Collectively, these features are focused on the EVM (Ethereum Virtual Machine) Object Format (EOF). The EVM is defined as “a decentralised virtual environment that executes code consistently and securely across all Ethereum nodes”. These features all aim to improve the overall experience of the EVM, boosting efficiency and security of smart contracts.

Features that may be included

As well as the changes that are likely to make it into the Pectra upgrade, there are some other EIPs that are being considered for inclusion, but haven’t yet made the cut into the core list.

RIP-7212: Precompile for secp256r1 Curve support

Previously called EIP-7212, this improvement has now become a RIP – a Rollup Improvement Proposal. RIPs are optional. The focus of RIP-7212 is creating a precompiled contract for the secp256r1 curve, increasing efficiency and reducing computational costs in the same way that EIP-2537 does, just for a different area.

EIP-7547: Inclusion lists

One of the key values of blockchain technology is transparency. However, in the current situation, around 95% of blocks aren’t actually built by the proposer – rather they’re outsourced to specialist builders in order to boost maximal extractable value (MEV). This means that the proposer isn’t able to decide which transactions are included in their blocks. Currently, the way to combat this is for the proposer to build the block themselves.

EIP-7547 aims to create a way to ensure that transactions are included, using an inclusion list mechanism so that the proposer can specify what they want. This increases transparency, but also security, reducing the risk of censorship or manipulation.

EIP-7623: Increase calldata cost

Calldata is the data sent along with a smart contract transaction in Ethereum, which is measured in a number of bytes, variable in length. Currently, Ethereum allows for large blocks up to 2.8 MB – but the average size is 125 KB. EIP-7623 proposes to reduce the maximum calldata block size, so that the network is less congested and more efficient use of resources is encouraged. This won’t affect the average user, as their activities will still fall well within even the reduced limit. 

The overall impact the Pectra upgrade will have on Ethereum

The Pectra upgrade aims to push Ethereum forward, building on what is already an incredibly popular platform, with over 279 million unique ETH wallets worldwide. Whilst some people only use the platform as a way to store ETH, others are diving into the full potential of Ethereum, creating apps and collecting NFTs (non-fungible tokens). 

This highly anticipated upgrade will look to please both developers and users, increasing the scalability, security and user experience of Ethereum. These changes will lay the groundwork for further development in the future, showing just what the platform might be capable of in years to come. Whilst not every EIP will impact every person, or every action, Pectra is a significant set of changes.

What effect will Pectra have on the value of Ethereum?

There’s no guarantee on what impact the Pectra upgrade will have on ETH prices – it all depends on whether the consensus is that the changes have actually made improvements or not. 

Looking long-term, Pectra will give an indication of whether investors can be confident in Ethereum as it grows, as many of the changes are focused on improving efficiency and scalability. In summary, it’s impossible to predict the impact the upgrades will have on ETH price – but if the changes are well-received, it could certainly be a vote of confidence.

What are the next steps after the Pectra upgrade?

Because technology is always evolving, the next upgrade after Pectra has already been planned. It will bring together the Osaka changes on the execution layer and the Fulu updates on the consensus layer, creating the Fusaka upgrade, expected to release towards the end of 2025.

Whilst the contents of this next upgrade are yet to be finalised, some Ethereum enthusiasts suggest that it will include work on ‘verkle trees’ (the word for vector commitment and merkle trees combined), a critical step towards statelessness. This suggestion was reinforced by Vitalik Buterin, the co-founder of Ethereum, who posted on X on 18th February 2024, saying:

 “I’m really looking forward to Verkle trees. They will enable statelessness validator clients, which can allow staking nodes to run with near-zero hard disk space and sync nearly instantly – far better solo staking UX. Also good for user-facing light clients.”

However, until Pectra is confirmed and released, the exact contents of Fusaka are likely to remain as speculation. 

With the contents of Pectra still up for discussion, any Ethereum enthusiast will want to keep up-to-date with the latest changes. Some useful links for doing so are:

Read more

EIP-7702 Explained: Everything you need to know
Insights14min
EIP-7702: A Win for Smart Accounts in Ethereum’s Pectra Upgrade?
safe-foundry-onchain-abstraction
Build3min
Towards Chain Abstraction: Introducing Safe{Foundry} To Solve Multi-Chain Challenges
cover-erc-4337-integrations-now-supported-in-safecores-account-abstraction
Announcements3min
ERC-4337 integrations now supported in Safe{Core}’s Account Abstraction stack

Get the Alpha

Sign up to hear the latest from Safe in your inbox