MT Profile picture
Jul 8, 2022 14 tweets 7 min read Read on X
1/ A follow-on 🧵 from yesterday's post about the #ArbitrumOdyssey fee spike.

This thread will discuss, in more detail,:
- the nuances around Optimistic rollups (ORs)
- what are the primary costs associated with ORs
- why there's hope
- @OffchainLabs roadmap
2/ In the case of ORs, no computation is actually done.

They “optimistically” assume all state changes are valid & post the off-chain txs to #ETH’s L1 as calldata.
To counter any potentially fraudulent txs, a dispute period is put in place for ~one week after posting to L1.
3/ During this time, any 3rd party can publish a fraud proof to verify the validity of the txs across L1 and L2.
If the txs are found to be invalid, the invalid txs and all affected txs will be reverted.

@ArbitrumDailyTK , @optimismPBC , @bobanetwork , and @fuellabs_ are ORs
4/ However, posting this calldata to L1 is still expensive, and, for the moment, many rollups have not optimized their settings to reduce this function.

Today, the primary cost associated with a rollup is the cost to post calldata (discussed further below) to L1 Ethereum.
5/ Optimism posts data to the ETH L1 for every transaction.

However, some #ZKR implementations, like @dYdX (RIP), only post to the L1 to reflect every account balance. Because of this, #dYdX interacts with L1 only ~20% as much as $OP, meaning ~90% reduction in fees.
6/ These decisions have trade-off but, essentially, how much the rollup interacts with the L1 is going to play a huge roll in the costs. As seen by this chart from @jonwu_ Image
7/ #Calldata is a specific form of read-only memory data used by smart contracts to call external functions.

Once a rollup has batched enough transactions, it is expected to post this state transition change in a compressed form to the L1 via calldata.
8/ Rollups currently utilize L1 calldata for data storage, which is limited to ~10KB per block. They do this so that anyone has the ability to reconstruct the chain and verify the latest state.
(apologies but cannot find image source. looks like @kermankohli but unsure) Image
9/ Posting the calldata onchain enables $ETH nodes to “check the work” done off-chain.

Instead of doing the computation, the calldata enables the ETH L1 to quickly & easily verify that everything done off-chain was valid & accept the state changes.
10/ 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.
11/ Currently, the cost of posting calldata to L1 ETH is 16 gas/byte.

#EIP4844 is a proposal for a temporary solution until a more permanent solution entitled “#danksharding” is fully ready to be implemented.
12/ EIP-4844 introduces “blob-carrying” txs as a means of storage for RUs.
It is a new tx format & only the blob’s hash can be accessed via a new opcode
This guarantees the data will never be accessed by the #EVM, reducing the gas cost of posting the data compared to calldata
13/ Blob transactions can enable up to ~1MB average per block for data storage as opposed to the 10KB currently with calldata and it has been proposed that they could be pruned (removed) from the L1 after a ~month to reduce storage overhead requirements.
14/ End. If you liked or thought this was helpful, please share around. The education around #Ethereum technology and scaling quite poor at the moment. Every bit helps. And the full article can be found here.

cryptoeq.io/articles/layer…

• • •

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

Dec 7, 2022
This is nice but comprehensive fundamental analysis concerning $FTT and the exact risks that ultimately led to its downfall have been here for months

cryptoeq.io/corereports/ft…
We also broke down the cost-benefit analysis of using #exchange tokens from a retail perspective several months ago as well

@CryptoEQ has the same exhaustive bottom-up fundamental analysis for ~40 of the top crypto assets.

Because of actually doing the work, #CryptoEQ users were able to avoid $LUNA, $FTT and #FTX, #Celsius, $SRM, and more!

Read 4 tweets
Oct 18, 2022
A quick one on @arbitrum #Nitro

- What is it?
- How is it different?
- What are the tradeoffs? ( bc remember EVERYTHING is a tradeoff)
- Should you care?
- and a little $ARBI airdop juice
Arbitrum is an optimistic rollup (OP) L2 built by @OffchainLabs.

The currently-live implementation is called Arbitrum One and is the most successful rollup to date (measured by TVL).
While both are Optimistic rollups, Arbitrum has some key differences from its counterpart, Optimism.

@optimismFND #OVM 2.0 is EVM-equivalent, running directly inside the #EVM, while Arbitrum One is only EMV-compatible.
Read 12 tweets
Oct 6, 2022
In today’s rollup world, the #L222 teams building rollups @zksync, @StarkWareLtd, @arbitrum, @optimismFND, etc.) still play a critical and centralizing role in the L2 process.

To what extent?
What can be done?
And #wen??

A thread on the entities and roles in a rollup tx
At a high level, there are three entities involved in a rollup transaction:
- the user on the rollup
- the rollup operator
- #Ethereum L1.

The rollup operator that sits in between the user and mainnet has tremendous responsibility and also some power. Image
Within this framework, there are also three crucial actors in the collection, execution, and finalization of a ZKR block:
- sequencers
- provers
- validators (verifier) Image
Read 15 tweets
Oct 5, 2022
$SUSHI "elected" a new chef!

You didn't think voting controversy only existed in the Trad world, did you??

Let's discuss the pathetic vote, the results, and what it could mean for @SushiSwap and on-chain governance moving forward
Headline: Jared Grey, former CEO of DeFi platform Eons Finance, won with 83% of the votes. A landslide!

Reality: The vote was held in the depths of a bear market, and only ~2% of eligible voters actually voted. Democracy!
In that 2% that DID vote were FIVE whales that basically decided the whole thing (11M of the 13M votes).

And those whales? VC firms.

Specifically, @CumberlandSays and Golden Tree with a combined ~8.1M of the 13M votes.
@ViktorDefi
Read 21 tweets
Oct 4, 2022
Is the looming $XRP-SEC settlement the end of an epic battle or just the beginning?

With a decision possibly coming as soon as this year, #crypto needs to be prepared for any outcome.

Let's do a quick review and then look ahead..... 🧵
Gary Gensler, Chairman of the #SEC, has repeatedly been on the record that he believes most cryptocurrencies outside of #Bitcoin are securities.

In September, Gensler was quoted, “the nearly 10,000 tokens in the crypto market, I believe the vast majority are securities…
the investing public is buying or selling crypto security tokens because they’re expecting profits derived from the efforts of others in a common enterprise.”

While the SEC has levied successful lawsuits against several minor crypto projects from the 2017 #ICO days...
Read 25 tweets
Sep 29, 2022
With @arbitrum Nitro going live last month and @zksync's zkEVM is expected next month, #Ethereum #L222s are getting better, faster, cheaper!

Which begs the question(s)...
How low can tx fees go?
And what are the actual points in a rollup tx that incur a cost?

thread time...
We'll discuss:
-What actually incurs a cost?
- What steps in a L2 tx cost the most?
- Does it vary for ORS vs ZKRs?
- What costs are fixed vs variable?
- Who's doing it best?
@ryanberckmans
So what ARE we paying for? And what steps?

One portion is the transaction execution (L2 fees): executing and batching transactions together, as a Sequencer does, costs compute power and real resources.

So, add it to the bill of rollup tx!
@iam_preethi Image
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!

:(