matter-labs / matter-labs/zksync-docs

Explain how blobs are used for Rollups

Open
#194 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
14
Forks
93
Avg merge
1d 8h
Merged PRs (30d)
3

Description

Historically, rollups post compressed batches of transactions to the L1 which can be verified because all the data is stored in calldata.

However, as ofEIP-4844 which was included in the Dencun upgrade to the Ethereum network (~March 2024), added a new transaction type (type 3) which enabled "blobs" or "Binary Large OBjects".

Now, rollups take advantage of this by posting most of their L2 compressed batch of transactions in a blob (like this sample zksync transaction)

However, according to the EIP:

“blob-carrying transactions” which contain a large amount of data that cannot be accessed by EVM execution, but whose commitment can be accessed.

The data of the blob cannot be accessed by the EVM, which begs the questions:

How can blobs be programmatically used to verify the rollup from a zk or optimistic rollup?

We can look at the sample zksync transaction here and start putting the pieces together.

https://ethereum.stackexchange.com/questions/163066/how-is-rollup-data-verified-with-blobs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with EIP-4844, the linked sample zkSync transaction, and the referenced Ethereum StackExchange question. Trace how blob commitments and transaction data relate to rollup verification for both zk and optimistic rollups. Done means the documentation clearly explains the programmatic verification path and the EVM's limits on blob access.

Written by the indexing model from the issue text.

Assessment

Domain
blockchain, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.