Skip to content

[General] How does zkSync take advantage of blobs / EIP-4844? #494

Closed Answered by koloz193
PatrickAlphaC asked this question in General
Discussion options

You must be logged in to vote

as part of committing a batch we add some information that's referred to under the umbrella term pubdata. pubdata consists of:

  1. compressed bytecodes
  2. l2 to l1 messages
  3. l2 to l1 logs
  4. state diffs

basically its all the data needed to reconstruct the state of l2 solely from l1. before 4844, we would submit this data via calldata but that has 2 drawbacks; (1) its pretty expensive to use calldata and (2) there's a limit to how much data we can submit (~125 kb). with blobs, because they are only stored for a finite amount of time, they are much cheaper than using calldata and each blob can hold what we previously could fit in calldata but with a limit of 6 blobs per l1 block (will be moved up to…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bxpana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
general General question
3 participants