(1) Recently, Polygon announced their new data availability layer named “Avail”, which brought some attention to this technology where originally a project named Celestia (previously LazyLedger) was working on. @CelestiaOrg @0xPolygon @Mustafa
(2) However, due to its complex nature, most people don't try to understand it. In this thread, I try to explain simply the whats and whys of a data availability infrastructure they’re building. First, let's understand the data availability problem.
(3) Data availability problem occurs when a block producer publishes a block header that is valid but purposely obscures the underlying transaction data. This is a problem because light nodes only rely on the block header to verify and can be tricked into accepting invalid blocks
(4) Full nodes can’t generate data availability proofs for light nodes that the block is missing data in the same way they can generate fraud proofs for invalid blocks. Light nodes have to verify the data availability itself or have an honest majority assumption.
(5) This is why most nodes have to download tx data and verify the data availability of a block. This poses certain scalability limits and problems to different scaling solutions such as increasing block sizes, sharding, and rollups as the complexity of verification increases.
(6) So how do Avail and Celestia tackle this problem? They build a blockchain where its consensus only verifies ordering and data availability without transaction execution/verification.
(7) To fully understand this, let’s look at the general blockchain architecture first. The general blockchain architecture consists of the three following layers: The execution layer, the consensus layer, and the data availability layer.
(8) For most blockchains like Ethereum, all three layers are coupled together in a monolithic architecture - Ethereum virtual machine is part of the consensus rules and the protocol.
(9) Projects like Celestia and Avail provide a separate data availability layer and a consensus layer where different blockchains/execution environments can benefit from.
(10) They work as a minimal, pluggable consensus and data availability layer that only verifies data availability and transactional ordering. This allows a modular architecture of a blockchain network which offers more flexibility.
(11) The separate data/consensus layer is very scalable because they use mathematical data availability proofs (Celestia uses erasure coding and Avail uses KZG commitment schemes) that perform DA checks very efficiently.
(12) The execution consensus bottleneck is solved here by only performing data availability proofs without having to verify the state and validity of a block by execution.
(13) The implication of the separate layer is that sovereign execution environments, especially application-specific blockchains, can plug into Avail or Celestia and benefit from its security without having to bootstrap its own validator set/consensus.
(14) This will allow application-specific blockchain networks to scale and benefit from the security secured by the Celestia/Avail (The data availability and consensus layer)
(15) However, because they do not verify the validity of the transactions, the execution has to be implemented in some ways to handle both execution and verification/dispute resolutions.
(16) Celestia proposes optimistic rollups as a solution and has proposed to add rollup support to Cosmos SDK, but essentially, you can build any execution layer on top of the data/consensus layer.
(17) This will enable an environment similar to eth2's proposed long-term future; to quote Vitalik’s Rollup-centric Ethereum Roadmap: “a single high-security execution shard that everyone processes, plus a scalable data availability layer”
(18) If the tooling for building a reliable execution layer off of multiple off-chain scaling solutions or legacy execution layers comes out solid and simple, this scalable data availability technology seems very very promising.
(19) TL;DR: Avail and Celestia provide a new blockchain architecture that allows a modular design where application-specific sovereign chains can benefit from shared security.

• • •

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

Keep Current with Sungjae

Sungjae 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!

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

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

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(