MT Profile picture
Apr 6 28 tweets 22 min read
1/ 🧵
#danksharding, #PBS, #crList, #blob transactions...

Seems #Ethereum has an affinity for making up words these days! And it all starts with (the normal sounding) #calldata

Let's figure out why, define some of these ridiculous terms, and see how #ETH can get even better
2/ #Rollups (RU) post their compressed L2 batched transactions as calldata onto mainnet Ethereum. But what does that mean and what is calldata?
#l222
Calldata (CD) is a specific form of read-only memory data used by smart contracts to call external functions. Image
Once a RU has batched enough txs, it posts this state transition change in a compressed form to the L1 via CD.
RUs currently utilize L1 CD for data storage, which is limited to ~10KB per block. This is so anyone has the ability to reconstruct the chain & verify the latest state Image
Posting the CD onchain is what allows #ETH & its network of nodes to “check the work” done off-chain. Instead of doing the computation, the CD enables the mainnet to easily verify that everything done off-chain was valid and accept the state changes i.e. double-check the work.
5/ Additionally, the availability of data on the ETH L1 means that any computation completed on a rollup can be redone by the Ethereum base layer, if needed. Without sufficient data availability, transaction execution becomes opaque/ a black box that cannot be audited by the L1.
6/ This ability to reconstruct the chain is critical. It provides security guarantees for the users (don’t have to trust the Sequencer, check for yourself!) and removes catastrophic risk due to Sequencer issues.
@iam_preethi @phtevenstrong Image
If a Sequencer suddenly disappeared, a new Sequencer could retrieve all the L2 data from L1, reconstruct the latest RU state, & continue on.
Txs are compressed to only the necessary components (the to/from addresses, transaction value, network fee, and nonce) for reconstruction.
8/ Currently, the cost of posting calldata to L1 Ethereum is 16 gas/byte.
#EIP-4488 proposed lowering the cost of calldata to 3 gas per byte, while EIP-4844 is a separate proposal to create a new data format specifically designed to lower the cost for RUs of posting data on L1.
9/ So we've covered what calldata is, how rollups use it, and what it costs.

But now we're getting to the good stuff. Why is everyone is #Ethereum world trying to replace it with fantastical-sounding ideas??
@VitalikButerin @pseudotheos
10/ Current implementations of rollups use calldata. However, the #EVM is not optimized to process rollup data in a cost-efficient manner. This is because rollups were not even an idea when the EVM was built!
@0xGreg_ @j0hnwang
11/ Regardless, the EVM assumes data in a transaction will be processed by a smart contract and charges for it accordingly (more expensive).

Unfortunately, this approach does not do rollups any favors.
@odin_free @Swagtimus
12/ In the future, RUs will evolve to using sharded data (also called “blobs”) because sharded data will be much cheaper.
The newly proposed EIP-4488 is simple. It would just reduce the cost of posting this calldata onto the mainnet. Savings!
@epolynya @yahgwai
EIP-4844 is a far bigger change.
It is a proposal for a temporary solution until a more permanent solution entitled “#danksharding” is fully ready to be implemented.
EIP-4844 introduces “blob-carrying” transactions as a means of storage for rollups.
@asn_d6 @protolambda
14/ It is an entirely new transaction format and only the blob’s hash can be accessed via a new opcode. This guarantees the data content will never be accessed by the EVM reduces the gas cost of posting the data compared to with calldata.
@FairyproofT @masonic_tweets Image
15/ #Blobtransactions can enable up to ~1MB average per block for data storage (vs ~10KB currently with calldata) & it has been proposed that they could be pruned (removed) after a period to reduce storage overhead requirements.

Blob txs are compatible with all rollups types.
16/ Danksharding, from ETH core developer @dankrad, is a long-term solution for optimizing RUs with a sharded architecture.
Danksharding is designed to optimize #MEV by introducing two new roles into the Ethereum ecosystem: builder and proposer
@Darrenlautf @BillyBobBaghold
As discussed previously, a block proposer (or miner) in a traditional blockchain (like Ethereum currently) can choose which transactions to include from the memepool into the next block based on the highest transaction fees.
@antiprosynth
18/ Danksharding looks to fix this by dividing the block proposer role into builders & proposers.
Builders don't get to choose which txs to include, rather, it is fed a list of txs from the proposers in the form of a special list called a crList.
@jadler0 @sassal0x
19/ “crList” forces the builders to include certain transactions, eliminating their potential to censor transactions. By forcing builders to be honest, the protocol stays trustless.
@HaymanLiron @BenGiove @plebonacci
While crList specifies which txs the builder is forced to include, it doesn't specify the order of the txs.
Builders can then reorder the txs within the crList to maximize their MEV. This essentially optimizes MEV benefits for miners, while precluding builders from censoring txs
21/ Danksharding results in execution blocks and shard blocks being built together. This means there will be no delays in shard blocks confirmation and all data will be immediately available to L1.

(this is coming from @dankrad and I'm still wrapping my head around) @litocoen Image
The big payoff for all this?

Because there are no separate shards specifically for txs, the L1 mainnet can serve as both a settlement and data availability layer, reducing complexity in the system.

This has been estimated to improve L1 throughput ~6400x.
23/ So, there ya go.

A lot of computer wizardry and sci-fi language to basically say rollups and calldata are breaking up but everyone will be better off for it.

$ETH gets used more efficiently and rollups maximize their potential while reducing costs.
24/ As with everything in #Ethereum, this is all very new, pretty far off, and things will almost certainly change.

So keep your Scrabble tiles accessible because new words will almost certainly be needed!

Also, this thread was built on the backs of others tagged throughout
You can learn more about #Ethereum technicals, tokenomics, #l222, roadmap, rollups, the Merge, etc. all here

cryptoeq.io/corereports/et…
@poIynya

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with MT

MT Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @mt_1466

Mar 9
🧵 on some of the major smart contract chains, their different approaches, and how HOPEFULLY (for the love of all that is holy) we are moving away from simply "X chain is superior because it did XXXX TPS on a closed environment testnet"
#Ethereum #terraluna #Solana #AVAX
As @epolynya has alluded to several times, #TPS numbers are almost meaningless now. Especially anything under 100k.

At the risk of having this thrown in my face 5 years from now, TPS is essentially solved.
This is due to many things but some reasons include:

- #modular designs (@CelestiaOrg, #ETH + #rollups, and @avalancheavax to an extent)
- Rollups, in general, and how they can somewhat "defeat" the #ScalabilityTrilemma
- @IOHK_Charles & his giga brain (ok maybe not this 😉)
Read 22 tweets
Mar 8
1/ 🧵
How and why "data availability (DA)" became the sexiest topic in #Ethereum land, the #l222 space, and for #rollups
2/ Pre-2021 (roughly speaking), DA for most #blockchains wasn't a concern for 2 reasons:
1) most blockchains did not have enough usage to warrant any concern
2) the monolithic approach meant that each (full) node downloaded the entire block to check for availability no problemo
3/ However, this approach has its limitations/drawbacks, and, thus, new solutions like light clients, rollups (RUs), and the modular approach were implemented.
@BanklessHQ @TrustlessState @RyanSAdams
Read 23 tweets
Feb 17
1/ Why is #blockchain scaling so controversial? From the #blocksizewars to #Alt L1s and #rollups.

Is it really that hard?!

🧵 time...
2/ Blockchains like #Bitcoin and #Ethereum strive for maximum #decentralization and #censorship-resistance while remaining totally open and inclusive networks. However, they also want to scale to accommodate billions of users.
3/ As they stand right now, their limited capacity to process transactions at the base layer (~7 and ~20 TPS, respectively) are in direct opposition to achieving that goal.

The question is “What is the best method of scaling a blockchain?” 🧐
@TrustlessState @sassal0x
Read 21 tweets
Feb 15
🧵 time...

For years, as I have discussed the value prop for seizure-resistant, non-sovereign💲like #BTC with noobies, I have always had to caveat it with "we don't think about it in the Western world too much bc our money, banking system, and law typically work well"

Well...
2/ #Bitcoin's value in the Western world has NEVER been more obvious thanks to the last ~ 2 years.

Reminder, it has ALWAYS been valuable to those less fortunate living under authoritarianism or double-digit inflation (over half the world)
newsweek.com/half-world-liv…

@gladstein
3/ Now, Westerners are getting their taste:
- 10%+ inflation for many (screw the official #CPI numbers)
- Bank accounts being inexplicably closed @haydenzadams @PeterMcCormack
- Govt freezing funds and threatening companies #TruckersForFreedom
- ~25% M2 debasement in ~2 years Image
Read 26 tweets
Feb 10
1/ Previously, I covered #L222 zk-rollup projects Starkware and zkSync but looking back, I should have begun with sidechains.

The who, what, why/why NOT, security guarantees, etc.

So, here's a 🧵 discussing sidechains generally and then a bit on #Polygon
2/ In the context of #Ethereum, sidechains are separate, Ethereum-compatible blockchains. Sidechains can be independent #EVM -compatible blockchains as well as application-specific blockchains catering to #ETH users and use cases like @0xPolygon or @Ronin_Network .
3/ Sidechains design themselves to be EVM-compatible so they can essentially copy and paste their code to easily interoperate with Ethereum and all of its infrastructure including wallets, block explorers, and more.
Read 24 tweets
Feb 10
1/ Yesterday, I highlighted zkSync.

So it only makes sense that I do the same for @StarkWareLtd and their #Ethereum rollup solutions #L222 #StarkEx and #StarkNet

Another deep-dive thread into one of the projects changing the scaling world 🧵...
2/ First, again, some high-level Pros and Cons
Pros with using Starkware products

- Increased TPS compared to ORs (~9,000+ TPS on Ropsten testnet)
- Faster withdrawals (no challenge period), enabling better capital efficiency and liquidity
- #Validiums (discussed below)
3/ Cons

- Developer UX and porting of dApps from L1 to #L2 is more challenging than OR options
- #Cairo language less popular among developers = less talent pool to build on Starkware
- With Starkware's #Validium option, there's a technical challenge in solving DA problem.
Read 25 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(