Skip to content
Blockchain Association of Cameroon
BAC-L2-TIA-103Celestia and modular blockchainsAdvanced

Data availability sampling

How a light node reaches near-certainty that data exists while downloading only a tiny fraction of it.

Level
L2Appchain developer
Duration
4 h
Track
Celestia and modular blockchains
Maintainer
Modular Blockchain / Celestia Architect

Learning objectives

  • 01Explain erasure coding's role in sampling
  • 02Compute the confidence obtained after n samples
  • 03Justify why confidence grows with the number of light nodes

Guided lab

Simulate sampling against a partially withheld block and plot detection probability.

Independent lab

Vary the withholding rate and determine the sample count needed for a target confidence.

Security angle

Sampling gives a probabilistic guarantee: state the assumption about honest node count explicitly.

Assessment

Simulation with a detection curve and a quantified interpretation.