arXiv:2610.22508cs.DCOct 2026

Manuscript Offprint

arXiv:2610.22508

TCDA: Tunable Coded Distributed Arrays for Data Availability Sampling

Duc A. Tran, Dung Truong, Duy Le

Duc A. Tran, Dung Truong, and Duy Le

Abstract—Data availability sampling (DAS) lets blockchain nodes verify a block's data availability by downloading only a few random pieces of it. Its network layer must disseminate each block in time for validators to attest (PUT), store it, and serve any piece on request (GET). A trustless DAS must sustain any number of Byzantine peers. The only known design with this guarantee, Robust Distributed Arrays (RDA), achieves it by full replication: each group of nodes responsible for part of a block stores that part in full, so a single good node per group suffices. The price to pay is a PUT load on the critical path to finality that grows with the network and cannot be tuned, hence the data may not reach validators before the attestation deadline. Coding is the natural remedy, but it was not known when a coded layer remains robust against an unbounded adversary, what it costs, or what it gains. We propose TCDA, a coded layer that is provably robust given enough good nodes, wherever they lie, with a tunable knob: how much of its assigned data each node keeps. Turning the knob trades PUT and storage costs against GET cost. It can be set per data type and adjusted as the good-node population changes. At Ethereum's parameters, our evaluation for a 32MiB block at the recommended uplink shows that RDA misses the attestation deadline at any network size, whereas TCDA can be tuned to meet it from 868 good nodes up to the 40,000 tested, storing 1.7 to 32 times less per node than replication, at the price of 2.5 to 7.7 round-trips per sample instead of about one.

Index Terms—Data availability sampling, robust distributed arrays, network coding, Byzantine fault tolerance, peer-to-peer storage, blockchain scalability

I. INTRODUCTION

Rollup-centric blockchains publish large blobs whose only purpose is to be available for a bounded window. Data availability sampling (DAS) [1], [2] lets a node convince itself that a block is available by fetching a few random symbols of its erasure-coded extension, without downloading the block. Ethereum introduced blobs with EIP-4844 [3] and has sampled them with PeerDAS [4], [5] since its Fusaka upgrade [6]. The cryptographic layer of DAS (erasure codes, commitments, samplers) is well understood [2], [7], [8]. The networking layer is harder because it has to do three things while an unknown and possibly large set of peers is Byzantine. First, the PUT protocol must spread every block's data across the network before validators attest; its bandwidth and latency sit on the critical path to finality. Second, storage must keep each node's share for the whole retention window; this burden falls on every node for every block and decides who can afford to participate. Third, the GET protocol must let a sampling query reach the requested symbol in a few round-trips. A tradeoff is inevitable: the redundancy that makes GET trivial is exactly what makes PUT and storage expensive.

Robust Distributed Arrays (RDA). RDA [9] is the first provably secure networking layer for DAS, recently proposed by Ethereum Foundation. Nodes are hashed into a K1×K2K_1 \times K_2 grid and form a clique with every peer in their row and in their column. The extended block is cut into K2K_2 chunks, each fully replicated at an assigned column. Availability is guaranteed provided that every column contains at least one good node. This assumption concerns the good nodes only, so RDA remains robust under any number of Byzantine ones.

RDA offers trustless DAS, but it can fail deadline and storage constraints. Consider Ethereum scale: a 12s slot in which validators attest about 4s in [10] and an 18-day retention window (131,072 blocks) [3], and a 32MiB extended object (8MiB of blob data) on a 15×3215 \times 32 grid. First, the PUT misses the attestation deadline. On the smallest network satisfying RDA robustness assumption, 965 good nodes and as many Byzantine ones, each relay must forward about 60MiB per object, i.e., 127 Mbit/s over 4s, five times the 25 Mbit/s recommended for an attesting node [11]. Second, storage is expensive: each node needs 128 GiB at any time, twice the amount PeerDAS [4], the current DAS deployment on Ethereum, stores per node.

Motivation. The example reflects a pain point of the whole field, not only of RDA. The PUT sits on the critical path to finality, yet no existing DAS design offers both a dissemination load that a deployment can size against its slot and provable robustness against any number of Byzantine peers. Today's designs that are provably robust fix the load at its maximum and that bound the load give up the proof.

Coding is the natural remedy. If each column node keeps coded pieces worth 1/κ1/\kappa of its chunk, the column dissemination and the per-node storage shrink κ\kappa-fold, as shown in our earlier work [12], which applies random linear network coding (RLNC) [13]. Coding, however, raises issues that replication never had: 1) The availability guarantee breaks: a good node in every column is no longer enough, since such a node does not hold the whole chunk, and so retrieval is not guaranteed; 2) A network may not meet the new robustness condition: a new condition is needed and a deployment must be able to tell from its design inputs whether it is met; 3) Byzantine nodes gain a new lever: they are unbounded in number and can supply valid but useless pieces, which may degrade what the good nodes keep; and 4) The savings are paid for elsewhere: as no single good node can answer a sampling query, each GET must combine pieces from several good nodes and costs more.

The authors are with the Department of Computer Science, University of Massachusetts, Boston, MA, USA. Email: duc.tran@umb.edu

Figure

Fig. 1. RDA vs. TCDA on one column of five nodes, three good. RDA stores the whole chunk at every node, so one good node suffices for a GET. TCDA stores Q of κ\kappa coded pieces per node (colors: distinct coefficients), so a GET needs to contact multiple good nodes.

Problem. We address all of these issues and make coding provably robust against an unbounded adversary. We ask: without any good-node assumption, exactly when is a coded array robust, what does it cost, and what does it offer that replication cannot? We break this into three questions.

Q1 Under exactly what condition is a coded array robust? The condition must be necessary and sufficient, hold under arbitrarily many bad nodes, and be stated only as the number of good nodes the network needs, wherever they lie. Unlike RDA's per-column assumption, which no participant can observe, this number is a condition computed from the robustness requirement and the code.

Q2 What does coding trade, and is it reasonable for blockchain DAS? The PUT must meet the attestation deadline in every slot and storage burdens every node, while the GET should be as fast as possible. We need to state this trade-off exactly, so that the code can be tuned to different DAS requirements.

Q3 Does coding offer anything beyond lower costs? Lower costs are what coding is expected to deliver. Yet storing coded pieces instead of full copies also changes what each node contributes to the system. We ask whether this brings benefits that replication cannot provide by design, while never doing worse.

Contributions. We answer these questions with TCDA (Tunable Coded Distributed Array). TCDA keeps RDA's grid but not its per-column assumption, and changes the PUT and GET protocols. Instead of a full chunk, a column node stores only Q≤κQ \leq \kappa coded pieces. This Q, the retention depth, is the single knob tuning the PUT and storage costs against the GET cost. Fig. 1 contrasts TCDA with RDA. Our key contributions:

• Novelty: TCDA is the first provably robust coded DAS layer. Its robustness is conditioned only on the number N+N^{+} of good nodes in the network, whereas RDA's assumption is made for every column which is harder to enforce. The design is not trivial: with naive coding, one Byzantine relay can make every good node keep the same useless pieces, which is not to mention deadline and storage constraints.

• Robustness (Q1): We derive the exact probability that sampling a symbol fails and, from it, the necessary and sufficient condition for a given δ\delta-robustness: N+≥Nδ+(Q)N^{+} \geq N_{\delta}^{+}(Q), a single number computed from δ\delta and the code. We make no assumption where they lie; a column can have no good node.

• Tunability (Q2): PUT and storage fall to exactly Q/κQ/\kappa of RDA's. The price is paid at GET, which takes a second hop into the column: about log⁡2(([κ/Q]−1)/η)+1\log_2\left(\left(\left[\kappa/Q\right]-1\right)/\eta\right)+1 extra round-trips, where η\eta is the fraction of good nodes. Bad nodes thus slow a GET only logarithmically and add almost nothing to its traffic. A deployment can tune QQ to its deadline and sampling needs, per data type if needed, and is never worse off than with RDA, which is TCDA at Q=κQ = \kappa.

• Optimal design (Q2): With the attestation deadline and a storage budget, we choose retention depth Q jointly with the grid (K1,K2)(K_{1}, K_{2}) for the fastest GET. On every grid the optimal Q has a closed form, the largest one within the budgets, and so the joint design reduces to a finite scan over grids, which is fast to find a solution. We also give the range of the number of good nodes and the largest object size for which a feasible design exists.

• Scalability (Q3): Coding changes how the network responds to growth. In RDA, as every new node adds traffic to PUT load, a growing network will eventually miss the deadline. In TCDA, more good nodes allow a smaller retention depth Q, which absorbs the growth: a grid carries κ/Q\kappa/Q times more nodes within the same PUT budget. Each bad node also adds only Q/κQ/\kappa as much PUT load as in RDA, and robustness holds however many of them join.

• Validation: We evaluate TCDA at Ethereum’s timing and bandwidth with both static and dynamic networks, against the two most relevant baselines: RDA and PeerDAS [4], the current DAS deployed on Ethereum. At the recommended 25 Mbit/s uplink, for object size of 32 MiB, RDA misses the attestation deadline at every network size, while TCDA can be tuned to meet it from 868 good nodes up to the 40,000 we tested, storing 1.7 to 32 times less per node than replication, at the price of 2.5 to 7.7 round-trips per sample instead of about one. TCDA stays robust under any number of Sybils, where PeerDAS, in our model, does not. TCDA maintains availability under steady churn, and even after a sudden outage of up to 55% of the good nodes.

Section II reviews related work. Sections III and IV give the system model and the TCDA protocol. Sections V to VII analyze its robustness, formulate costs, and derive an optimal design. Section VIII reports evaluation results. Section IX discusses limitations and open problems of TCDA. Section X concludes the paper.

References (30)