Business Insights
  • Home
  • Crypto
  • Finance Expert
  • Business
  • Invest News
  • Investing
  • Trading
  • Forex
  • Videos
  • Economy
  • Tech
  • Contact

Archives

  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • August 2023
  • January 2023
  • December 2021
  • July 2021
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019

Categories

  • Business
  • Crypto
  • Economy
  • Finance Expert
  • Forex
  • Invest News
  • Investing
  • Tech
  • Trading
  • Uncategorized
  • Videos
Apply Loan
Money Visa
Advertise Us
Money Visa
  • Home
  • Crypto
  • Finance Expert
  • Business
  • Invest News
  • Investing
  • Trading
  • Forex
  • Videos
  • Economy
  • Tech
  • Contact
Ethereum Execution Layer Specification | Ethereum Foundation Blog
  • Crypto

Ethereum Execution Layer Specification | Ethereum Foundation Blog

  • July 18, 2025
  • Roubens Andy King
Total
0
Shares
0
0
0
Total
0
Shares
Share 0
Tweet 0
Pin it 0

tl;dr

  • EELS is an execution layer reference implementation in Python.
  • It's up to date with mainnet.
  • It fills tests, and passes existing ones.
  • There's an example of an EIP implemented in EELS below.

Introduction

After more than a year in development, we're pleased to publicly introduce the Ethereum Execution Layer Specification (affectionately known as EELS.) EELS is a Python reference implementation of the core components of an Ethereum execution client focused on readability and clarity. Intended as a spiritual successor to the Yellow Paper that's more programmer friendly and up-to-date with post-merge forks, EELS can fill and execute state tests, follow mainnet1, and is a great place to prototype new EIPs.

EELS provides complete snapshots of the protocol at each fork—including upcoming ones—making it much easier to follow than EIPs (which only propose changes) and production clients (which often mix multiple forks in the same codepath.)

History

Beginning in 2021, as a project of ConsenSys' Quilt team and the Ethereum Foundation, the eth1.0-spec (as it was known then) was inspired by the sheer frustration of having to decipher the cryptic notation of the Yellow Paper (Figure 1) to understand the specific behavior of an EVM instruction.


Figure 1. arcane runes describing the basis of the blockchain paradigm

Drawing on the successful Consensus Layer Specification, we set out to create a similar executable specification for the execution layer.

Present

Today, EELS is consumable as a traditional Python repository and as rendered documentation. It's still a bit rough around the edges, and doesn't provide much in the way of annotations or English explanations for what various pieces do, but those will come with time.

It's just Python

Hopefully a side-by-side comparison of the Yellow Paper and the equivalent code from EELS can show why EELS is a valuable complement to it:

Less-than (LT) opcode

Figure 2. Less-than (LT) EVM instruction from Yellow Paper

def less_than(evm: Evm) -> None:
    # STACK
    left = pop(evm.stack)
    right = pop(evm.stack)

    # GAS
    charge_gas(evm, GAS_VERY_LOW)

    # OPERATION
    result = U256(left < right)

    push(evm.stack, result)

    # PROGRAM COUNTER
    evm.pc += 1

Figure 3. Less-than (LT) EVM instruction from EELS

While Figure 2 might be digestible to academics, Figure 3 is indisputably more natural to programmers.

Here's a video walk-through of adding a simple EVM instruction if that's your kind of thing.

Writing Tests

It bears repeating: EELS is just regular Python. It can be tested like any other Python library! In addition to the entire ethereum/tests suite, we also have a selection of pytest tests.

With a little help from execution-spec-tests, any tests written for EELS can also be applied to production clients!2

Showing Differences

Having snapshots at each fork is great for a smart contract developer popping in to see the specifics of how an EVM instruction works, but isn't very helpful for client developers themselves. For them, EELS can display the differences between forks:

Screenshot of the differences in the apply_fork function between homestead and the DAO fork

Figure 4. one difference between homestead and the DAO fork

An Example EIP

EIP-6780 is the first EIP to get an EELS implementation provided by the author, Guillaume Ballet! Let's take a look.

Screenshot of EIP-6780's specification section

Figure 5. EIP-6768's specification section

First, we introduce a created_contracts variable to the EVM with transaction-level scope:

 @dataclass
 class Environment:
     caller: Address
     block_hashes: List[Hash32]
     origin: Address
     coinbase: Address
     number: Uint
     base_fee_per_gas: Uint
     gas_limit: Uint
     gas_price: Uint
     time: U256
     prev_randao: Bytes32
     state: State
     chain_id: U64
+    created_contracts: Set[Address]

Second, we note which contracts were created in each transaction:

+    evm.env.created_contracts.add(contract_address)

Finally, we modify selfdestruct so it only works for contracts noted in created_contracts:

-    # register account for deletion
-    evm.accounts_to_delete.add(originator)
-
+    # Only continue if the contract has been created in the same tx
+    if originator in evm.env.created_contracts:
+
+        # register account for deletion
+        evm.accounts_to_delete.add(originator)
+

Future

We want EELS to become the default way to specify Core EIPs, the first place EIP authors go to prototype their proposals, and the best possible reference for how Ethereum works.

If you're interested in contributing or prototyping your EIP, join us on the #specifications channel or grab an issue from our repository.

Total
0
Shares
Share 0
Tweet 0
Pin it 0
Roubens Andy King

Previous Article
Roku’s newest streaming sticks are on sale!
  • Tech

Roku’s newest streaming sticks are on sale!

  • July 18, 2025
  • Roubens Andy King
Read More
Next Article
Kate Spade Outlet is selling a 'cute' 9 shoulder bag for only , and it 'goes with everything'
  • Trading

Kate Spade Outlet is selling a 'cute' $329 shoulder bag for only $99, and it 'goes with everything'

  • July 18, 2025
  • Roubens Andy King
Read More
You May Also Like
Kinto Tanks 81% After Announcing Its Blockchain Will Shut Down
Read More
  • Crypto

Kinto Tanks 81% After Announcing Its Blockchain Will Shut Down

  • Roubens Andy King
  • September 7, 2025
Security Alert – Geth suffers from a very low probable DoS attack vector – Update immediately
Read More
  • Crypto

Security Alert – Geth suffers from a very low probable DoS attack vector – Update immediately

  • Roubens Andy King
  • September 7, 2025
Trump Family’s Collective Wealth Grows by .3 Billion Thanks to Crypto
Read More
  • Crypto

Trump Family’s Collective Wealth Grows by $1.3 Billion Thanks to Crypto

  • Roubens Andy King
  • September 7, 2025
Security Alert – cpp-ethereum’s account unlocking problem not yet fixed [Now fixed]
Read More
  • Crypto

Security Alert – cpp-ethereum’s account unlocking problem not yet fixed [Now fixed]

  • Roubens Andy King
  • September 7, 2025
Stealth Landing: Fidelity Quietly Debuts Ethereum-Based Tokenized Treasury Fund
Read More
  • Crypto

Stealth Landing: Fidelity Quietly Debuts Ethereum-Based Tokenized Treasury Fund

  • Roubens Andy King
  • September 7, 2025
El Salvador Celebrates Four-Year Bitcoin Anniversary, but Results Are Mixed
Read More
  • Crypto

El Salvador Celebrates Four-Year Bitcoin Anniversary, but Results Are Mixed

  • Roubens Andy King
  • September 7, 2025
Smart Contract Security | Ethereum Foundation Blog
Read More
  • Crypto

Smart Contract Security | Ethereum Foundation Blog

  • Roubens Andy King
  • September 7, 2025
Read More
  • Crypto

A Chainlink (LINK) Pullback To $16 Could Set Up Parabolic Price Rally

  • Roubens Andy King
  • September 7, 2025

Recent Posts

  • Kinto Tanks 81% After Announcing Its Blockchain Will Shut Down
  • Bitcoin Price Weakens – Fresh Downside Risk If Bulls Fail Soon
  • Dow futures rise as recession fears grow while Wall Street awaits the one thing that could derail Fed rate cuts
  • Security Alert – Geth suffers from a very low probable DoS attack vector – Update immediately
  • Bitcoin Has a ‘Logical’ Bounce Zone at $100,000
Featured Posts
  • Kinto Tanks 81% After Announcing Its Blockchain Will Shut Down 1
    Kinto Tanks 81% After Announcing Its Blockchain Will Shut Down
    • September 7, 2025
  • Bitcoin Price Weakens – Fresh Downside Risk If Bulls Fail Soon 2
    Bitcoin Price Weakens – Fresh Downside Risk If Bulls Fail Soon
    • September 7, 2025
  • Dow futures rise as recession fears grow while Wall Street awaits the one thing that could derail Fed rate cuts 3
    Dow futures rise as recession fears grow while Wall Street awaits the one thing that could derail Fed rate cuts
    • September 7, 2025
  • Security Alert – Geth suffers from a very low probable DoS attack vector – Update immediately 4
    Security Alert – Geth suffers from a very low probable DoS attack vector – Update immediately
    • September 7, 2025
  • Bitcoin Has a ‘Logical’ Bounce Zone at 0,000 5
    Bitcoin Has a ‘Logical’ Bounce Zone at $100,000
    • September 7, 2025
Recent Posts
  • Stock Futures Drift Lower Ahead of Inflation Data
    Stock Futures Drift Lower Ahead of Inflation Data
    • September 7, 2025
  • Trump Family’s Collective Wealth Grows by .3 Billion Thanks to Crypto
    Trump Family’s Collective Wealth Grows by $1.3 Billion Thanks to Crypto
    • September 7, 2025
  • Go Ethereum’s JIT-EVM | Ethereum Foundation Blog
    Go Ethereum’s JIT-EVM | Ethereum Foundation Blog
    • September 7, 2025
Categories
  • Business (2,057)
  • Crypto (1,564)
  • Economy (120)
  • Finance Expert (1,687)
  • Forex (1,563)
  • Invest News (2,360)
  • Investing (1,490)
  • Tech (2,056)
  • Trading (2,024)
  • Uncategorized (2)
  • Videos (812)

Subscribe

Subscribe now to our newsletter

Money Visa
  • Privacy Policy
  • DMCA
  • Terms of Use
Money & Invest Advices

Input your search keywords and press Enter.