Key Short-Term Scalability Feature Still Needs Research, Says Vitalik Buterin

Published at: July 10, 2020

Research into stateless clients for Ethereum is seen as instrumental for the long-term health of the network, but despite all the progress, some fundamental limitations prevent them from being applied in practice for now.

At the Unitize conference, Vitalik Buterin, a co-founder of Ethereum, provided an up-to-date picture on the latest progress and problems for the stateless client transition.

Stateless clients, in short, are a way to allow nodes to fully participate in validation without having to hold the entire earlier history of the blockchain. The state represents all current balances, smart contracts code and their respective data.

Each new block only makes very small alterations to the state, but all of them have to be verified against the entire blockchain, making it a very inefficient process. Stateless clients are the core focus of the Ethereum 1.x initiative, which aims to maintain the existing chain in a usable state. But the research also has important implications for Ethereum 2.0:

“In an Ethereum 2.0 sharding context, stateless clients are basically mandatory because nodes get rapidly reshuffled between different shards.”

Buterin also highlighted that stateless clients are being studied in other blockchains as well, including Bitcoin. Stateless clients rely on cryptographic techniques to only compute state changes and verify them without having to hold the state itself in memory. But the cryptography involved is still imperfect.

The issues of creating proofs

The current state-of-the-art solution relies on Merkle proofs to validate the state through the concept of a witness, which includes information on parts of the state that were modified. But the technology has several important drawbacks due to current inefficiencies in Ethereum, which could result in a maximum witness size of 405 megabytes for each block. 

Optimizations could reduce the witness size to a maximum of two megabytes and an average of 600 kilobytes — but that’s still well above the current Ethereum block size of about 50 kilobytes.

The alternative that Buterin is currently focusing on is Polynomial Commitments, a proving system relying on polynomial functions to represent data. Through some cryptographic properties, they allow using just one small witness to prove “a whole bunch of values.”

But he explained that there is a major issue with this approach. Merkle proofs are easy to partially update due to their tree-like structure, but Polynomial Commitments require a complete change of the entire curve, which would make calculating witnesses expensive.

There are a variety of potential solutions to this problem, involving for example a hybrid model of “Verkle trees,” which combines polynomial commitments into a tree-like structure. 

Ongoing research

Buterin noted that each potential solution has its own problems that require additional research. Ending his presentation, he said:

“There are a bunch of fancy arithmetic techniques that allow us to cut these witness sizes down to the point where the extra data that stainless clients need to download is actually not that much. But still research and still a lot of refinement required, and this is something where we actively welcome more help from the academic research community.”

The presentation suggests that stateless clients may not be coming to Ethereum any time soon as they hinge on breakthroughs in cryptographic research. Currently, Ethereum’s transactional capacity is being purposefully capped due to concerns of making the blockchain too heavy for average devices.

For the average user, this means that gas prices are likely to remain high for the foreseeable future, unless demand falls to lower levels — or layer two solutions pick up the slack.

Tags
Related Posts
Uniswap v3 looks set for layer-two scaling on both Arbitrum and Optimism
The Uniswap community has voted in favor of launching the leading decentralized exchange’s v3 iteration on layer-two scaling solution, Arbitrum. Uniswap’s creator, Hayden Adams, announced the vote on May 27, revealing the proposal’s governance vote received 41.35 million votes in favor and zero opposing votes from UNI token holders. He noted that work is already underway to plan the deployment and design its interface. 2/ Assuming the snapshot passes we intend to support the community by deploying the v3 smart contracts to Arbitrum! We have already begun work on interface support and planning the deployment. — Hayden Adams (@haydenzadams) May …
Technology / May 27, 2021
Unitize Roundup: Top 10 Quotes From the Virtual Blockchain Conference
The five-day Unitize virtual blockchain conference organized by BlockShow and San Francisco Blockchain Week ended with the final session on Friday. The event saw appearances from Heath Tarbert, the chairman of the Commodity Futures Trading Commission; Vitalik Buterin, a co-founder of Ethereum; and Tim Draper, a serial blockchain investor, as well as other speakers from a diverse pool of market segments both within and outside the crypto space. Blockchain adoption, decentralized finance, central bank digital currencies and the future of Bitcoin (BTC) dominated the conversation in many of the panels. The event also saw speakers chart possible paths forward for …
Adoption / July 12, 2020
Decentralized blockchain aims for Ethereum and DEX compatibility with new wrapped token
Free TON is a multi-blockchain platform that can handle thousands of transactions per second thanks to its dynamic sharding mechanisms, which create new shards as needed. As a result, it is the fastest blockchain available, according to developers. Despite that, the Free TON blockchain is still in the early stages of attracting DApp developers to its platform. Even with its scalability, an important task at this stage is to bring more liquidity to the platform. To do that, developers have announced the launch of Wrapped TON, a tradable TIP-3 token built on its native TON Crystal token. With the ability …
Decentralization / April 21, 2021
Could a world record be broken as a node written in Rust is put to the test?
A new contest is taking place that aims to test a node written in the Rust programming language — with the ambition of breaking the world record for the bandwidth of blockchain protocols in a real network. Free TON's current node is written in C++ and already has the ability to process thousands of transactions per second. Sharding plays an instrumental role in this network, as this means that smart contracts can be processed in parallel. It’s believed that a node written in Rust would be dramatically quicker due to better process parallelization, and organizers of the Rust Cup believe …
Decentralization / April 14, 2021
‘Expensive lesson’: 75 Eth2 validators slashed for introducing potential chain split bug
Staking infrastructure provider Staked said it had learned “an expensive lesson” after 75 of its Eth2 validators were slashed on Feb. 4 from the staking pool as punishment for producing competing blocks. In a statement, Staked took the blame for the “technical issue” and said its customers would be “fully compensated”. The company will pay the penalty of 18 ETH, which is around $29,000 at current prices. An unanticipated reaction to configuration changes caused several nodes managed by Staked to restart in error, leading them to incorrectly sign a second version of a previously-signed block. This introduced the potential for …
Technology / Feb. 5, 2021