Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain how blobs are used for Rollups #1040

Open
PatrickAlphaC opened this issue May 1, 2024 · 0 comments
Open

Explain how blobs are used for Rollups #1040

PatrickAlphaC opened this issue May 1, 2024 · 0 comments

Comments

@PatrickAlphaC
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant