• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Nethermind

  • Downloads
  • Docs
  • Projects
    • Solutions
      • DeFi for Institutions
      • Smart Contracts Audits
      • Real-time Monitoring
      • Formal Verification
    • Tools
      • Nethermind Client
      • Voyager
      • Horus
      • Warp
    • Protocol Research
      • MEV
      • Account Abstraction
      • Verkle Trees
  • DeFi Research
  • CompanyWe’re hiring!
    • About us & JobsWe’re hiring!
    • Expertise
  • Contact
  • Github Github
  • Twitter Twitter
  • Linkedin Linkedin
  • Medium Medium

Join our Discord

Verkle Hero Desktop.1
Verkle Hero Mobile

Verkle TreesThe path to stateless clients

See the Github repo

Go to the next section

Why do we need a stateless Ethereum

Ethereum is currently grappling with the challenge of its ever-expanding blockchain size. Clients need to store around 50 GB for the state alone, and over 150 GB including all Merkle proofs, which are increasing by roughly half that amount per year. As the state database increases in size, downloading, storing, and synchronizing data takes longer. Moreover, the costs of storing and accessing data on the blockchain can become prohibitively expensive, especially for smaller nodes and users wishing to participate in the network.

The state's growth is permanent and relatively inexpensive, presenting another issue. Even if the cost of increasing the state is raised, there is no way to make someone pay for the actual impact on the network, which is eternal.

Weak statelessness

Weak statelessness removes the need to store the entire state for verifying new blocks, enabling fully stateless block validation on Ethereum. This approach also allows validation on lightweight machines like Raspberry Pi (without SSD) and mobile phones. Moreover, the Ethereum Virtual Machine (EVM) would benefit from fraud proofs, such as fraud-proof protected light clients and EVM as a shard.

Verkle Trees can be used as the state commitment scheme to achieve weak statelessness. They generate small, efficient-to-verify witnesses and gas cost changes can be made to ensure that state access costs reflect the cost of witnesses.

Implementing state expiry can help keep the active state under control, which remains relevant for block builders.

Merkle Tree inefficiencies

Verkle Trees have a tree-like structure similar to Merkle Trees, but with a more efficient vector commitment scheme. Instead of hashing the d nodes, each node commits to the d nodes themselves using a vector commitment scheme.

Another Merkle Tree inefficiency is that each proof has to include all the siblings for each node on the path to the leaf. For example, d-arry Merkle Trees need (d-1)logdn for a single proof. The hash function is a poor vector commitment because a proof requires all siblings to be given thus inflating the witness size.

For Ethereum, the Inner Product Arguments on Pedersen Commitments is used as the vector commitment scheme.

Verkle Trees for Ethereum State

The verkle tree structure makes for shallower trees, reducing the amount of stored data. The real power of Verkle Trees lies in their ability to produce smaller proofs, or witnesses, needed for block validation. These smaller proofs propagate more quickly through the network, enabling stateless clients - nodes that don't store state - to verify blocks with significantly reduced resource consumption. These proofs can be further compressed using the multi-proof scheme, as outlined in a research paper by Dankrad Feist, researcher at the Ethereum Foundation.

While not yet formalized in an EIP, the proposal is widely accepted in the Ethereum community. The roadmap outlines a transition phase, during which the final switch from Merkle to Verkle tree will occur. The community is currently deliberating several potential transition processes, with proposed schemes available for review.

Verkle Tree proposal Proposed transition schemes

Image

Pieces of data required in proofs for Merkle vs Verkle trees

Verkle Trees testnets

Two testnets, Beverly Hills and Kaustinen, are presently evaluating the changes for Verkle Trees. A dedicated team at Nethermind is actively developing and testing the implementation within the Nethermind Ethereum client. To ensure the correctness and robustness of the proposed schemes, the team collaborates closely with other client teams.

  1. Beverly Hills - This testnet focuses on testing the proposed Verkle tree scheme for Ethereum's state storage, with increased gas costs as described in EIP-4762.
  2. Kaustinen Testnet - Kaustinen is an extension of the Beverly Hills testnet. It includes the necessary witnesses in each block to enable stateless verification of the blocks.

People working on this project

Tanishq Jasoria Tanishq Jasoria @tanishqjasoria Damian Orzechowski Damian Orzechowski @dmn_orzecho13

Interested in helping Ethereum grow?
Check out our Job Openings or join our Internship Program!

  • Solutions
    • DeFi for Institutions
    • Smart Contracts Audits
    • Real-time Monitoring
    • Formal Verification
  • Tools
    • Nethermind Client
    • Voyager
    • Horus
    • Warp
  • Protocol Research
    • MEV
    • Account Abstraction
    • Verkle Trees
  • Downloads
  • Docs
  • About Us & JobsWe’re hiring!
  • Expertise
  • Contact
Logo Icon

Discord Discord Github Github Twitter Twitter Linkedin Linkedin Medium Medium

Nethermind 2023 - Legal

This website uses cookies to improve your experience. Accept Reject All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT