Understanding EIP-4844, Blobs, and Blob Gas on Ethereum

·

Ethereum's upcoming Dencun upgrade introduces EIP-4844, a foundational update designed to enhance scalability and reduce costs for Layer 2 networks. Commonly referred to as proto-danksharding, this proposal introduces a new transaction type and a novel data storage mechanism called "blobs." This article breaks down the core concepts, operational changes, and potential impacts of this upgrade on the Ethereum ecosystem.

The Challenge: High Layer 2 Settlement Costs

Layer 2 solutions improve Ethereum's scalability by processing transactions off-chain and periodically settling the results on the mainnet. Currently, this settlement is achieved by posting batches of transaction data through L1 calldata—a method that has become increasingly expensive. In December 2023 alone, L2 networks spent over 15,000 ETH (approximately $34 million USD) on calldata costs, representing a significant financial burden.

Introducing Blob Transactions

EIP-4844 addresses these cost challenges by introducing type-3 transactions, which include "blobs" of data. Blobs provide a new, cost-effective data storage medium that L2s can use for settlement instead of calldata.

Key characteristics of blob transactions include:

The temporary storage requirement allows blob space to be priced significantly lower than permanent calldata storage.

Technical Implementation: New Fields and Mechanisms

Transaction Structure Updates

Type-3 transactions introduce two new fields:

Block Header Modifications

EIP-4844 also adds two new fields to block headers:

Data Propagation Changes

While type-3 transactions enter Ethereum's mempool like other transaction types, the actual blob contents are propagated differently. Instead of being available to execution clients, blob data is gossiped through consensus client blob sidecars. The transaction itself only contains a hash reference to the blob, not the actual data.

Blob Gas Market Mechanics

EIP-4844 establishes a new blob gas market that operates similarly to EIP-1559's base fee mechanism. The pricing algorithm adjusts based on supply and demand:

Type-3 transactions also include max_fee_per_gas and max_priority_fee_per_gas fields, making them subject to Ethereum's existing fee market rules. These transactions must pay for both blob space and any EVM execution resources they consume.

👉 Explore real-time gas optimization tools

Impact on Layer 2 Networks and Operators

The introduction of blob transactions is expected to substantially reduce L2 settlement costs, potentially transforming the competitive landscape for scaling solutions. Many analysts predict that blob base fees will frequently remain near minimum levels due to ample capacity.

However, this new mechanism introduces additional complexity for L2 operators, who must now:

The fixed blob size also presents optimization opportunities. L2s may choose to wait until they have enough data to fill a complete blob or coordinate with other networks to share blob space efficiently.

Future Developments and Considerations

While EIP-4844 represents a significant step toward improved scalability, it also introduces new observability challenges for network participants. As the ecosystem adapts to these changes, several areas warrant attention:

The successful implementation of proto-danksharding lays groundwork for full danksharding in future upgrades, which could further expand Ethereum's data availability capacity.

Frequently Asked Questions

What is the main purpose of EIP-4844?
EIP-4844 aims to reduce Layer 2 settlement costs by introducing a new data storage mechanism called blobs. This temporary data storage approach provides cheaper alternatives to calldata for L2s while maintaining security through Ethereum's consensus layer.

How long is blob data stored on Ethereum?
Blob data is required to be stored for approximately 18 days (4096 epochs). This period is considered sufficient for all L2 participants to retrieve necessary data while keeping storage requirements manageable for node operators.

Can multiple Layer 2 networks share a single blob?
Yes, the blob architecture allows multiple L2s to share blob space. This requires coordination between networks and may lead to further cost optimization through blob sharing agreements and technical implementations.

How does blob gas pricing differ from regular gas pricing?
Blob gas follows an EIP-1559-style pricing mechanism but operates independently from the execution gas market. The blob base fee adjusts based on demand for blob space specifically, creating a separate market from conventional transaction processing.

What happens to blob data after the storage period expires?
After approximately 18 days, nodes may prune blob data to save storage space. L2 networks are responsible for ensuring they have preserved necessary data before this expiration occurs through their own data availability solutions.

Will EIP-4844 eliminate high gas fees entirely?
While EIP-4844 should significantly reduce L2 settlement costs, it doesn't eliminate gas fees entirely. The upgrade specifically addresses data availability costs, but execution costs will still depend on network demand and the existing gas market dynamics.

The Dencun upgrade and EIP-4844 implementation represent significant milestones in Ethereum's scaling roadmap. By reducing Layer 2 operational costs, these changes may ultimately lead to lower transaction fees for end users and expanded functionality for decentralized applications.

👉 Get advanced blockchain scaling strategies