Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

EIP-4844 (Proto-Danksharding)

A proposed Ethereum Improvement Proposal that introduces a new transaction type called 'blob-carrying transactions' to reduce layer-2 data storage costs by temporarily storing large data blobs outside the main blockchain execution layer.

Technical definition

EIP-4844, also known as Proto-Danksharding, is a design for Ethereum that introduces a new transaction type (blob transactions) which carries large data blobs (up to 32KB per transaction) that are not directly executed by the EVM but are instead stored temporarily on the consensus layer. These blobs are only referenced by transactions and are pruned after a fixed period (e.g., 30 days), reducing the long-term storage burden on nodes. The proposal leverages a new data structure called a 'blob sidecar' to organize and verify the blob data, and introduces a new gas pricing mechanism (blob gas) to regulate access to this storage. The goal is to improve scalability for layer-2 rollups by providing a cheaper and more efficient way to publish large amounts of data without overloading the execution layer.

An analogy

Imagine a library where books (data) are too large to fit on the shelves (main blockchain). Instead of trying to store the entire book in the library, Proto-Danksharding allows the library to keep a small index card (transaction reference) that points to a temporary storage room (blob sidecar) where the full book is kept for a limited time. This way, the library doesn’t get cluttered, and people can still find and use the books they need without permanent storage costs.

Why it matters

EIP-4844 is a critical step toward improving Ethereum’s scalability and reducing the cost of data storage for layer-2 rollups, which are essential for handling high transaction volumes. It lays the groundwork for future full sharding by testing the infrastructure for large-scale data availability without overburdening the network.

Where it came from

EIP-4844 was proposed by Ethereum researchers Protolambda, Dankrad Feist, and others in 2022 as part of the roadmap to Ethereum’s 'The Surge' phase, which aims to scale the network through sharding. It is named after the researchers' nicknames (Proto for Protolambda and Dank for Dankrad) and the term 'Danksharding,' which refers to a future full sharding implementation.

Example in practice

A layer-2 rollup like Optimism or Arbitrum uses EIP-4844 to publish transaction data to Ethereum. Instead of storing every transaction detail on the mainnet, the rollup submits a blob transaction containing a large batch of compressed transaction data. Ethereum nodes temporarily store this data (e.g., for 30 days) and make it available for verification, reducing the cost of posting data from ~$50 per transaction to ~$0.50 per blob (as of early 2024 estimates).

Common misconceptions

  • EIP-4844 makes Ethereum fully sharded → Correction: Proto-Danksharding is a precursor to full sharding (Danksharding) and does not implement full sharding itself. It only introduces temporary data blobs.
  • EIP-4844 eliminates the need for layer-2 rollups → Correction: EIP-4844 reduces the cost of data availability for rollups but does not replace their need for execution and settlement layers.
  • Blob transactions are stored permanently on-chain → Correction: Blob data is pruned after a fixed period (e.g., 30 days), so it is not permanently stored on the blockchain.

Risks & limitations

  • Centralization risks: Temporary data storage may lead to reliance on a few entities to maintain blob availability, creating centralization pressures.
  • Storage bloat: If blob retention periods are too long or not properly managed, they could still contribute to long-term node storage growth.
  • Complexity risks: The introduction of new transaction types and gas models increases the complexity of the protocol, which may introduce bugs or vulnerabilities.
  • Incentive misalignment: If blob gas pricing is not calibrated correctly, it could lead to underutilization or overutilization of blob space, undermining the scalability benefits.
  • Security trade-offs: Temporary data storage may reduce the security guarantees of full sharding, as data availability is not guaranteed indefinitely.

Related terms

About "EIP-4844 (Proto-Danksharding)" in crypto

Cryptocurrency vocabulary moves faster than any other technical field. New terms appear weekly, old terms quietly change meaning, and most "definitions" online were written by someone trying to sell you something. Qaynaq Labs' crypto glossary aims for the opposite: neutral, accurate, skeptical explainers that include the downside.

This entry covers the technical mechanics, a real-world analogy, where the concept came from, and what could go wrong. Pair it with the related terms to build a working mental model of how the pieces fit together.

Frequently asked

Does EIP-4844 make Ethereum faster?

No, EIP-4844 does not directly increase transaction throughput or reduce latency on Ethereum. Its primary goal is to reduce the cost of data availability for layer-2 rollups, which can indirectly improve scalability and user experience.

Can users interact with blob transactions directly?

No, blob transactions are primarily used by layer-2 rollups and other system-level applications. Regular users cannot directly create or interact with blob transactions.

How long are blobs stored on Ethereum?

Blob data is stored temporarily and pruned after a fixed period, typically around 30 days. The exact duration is determined by the network and may change over time.

Does EIP-4844 replace calldata?

No, EIP-4844 does not replace calldata. It provides an alternative, cheaper way to publish large amounts of data for layer-2 rollups, while calldata remains available for other use cases.

What happens if a blob is not available when needed?

If blob data is not available (e.g., due to pruning or network issues), layer-2 rollups may fail to reconstruct transaction data, leading to potential loss of funds or inability to process transactions. This is why data availability is critical for rollups.