From a3cf924c545c0f2df2c138355b862bfd3196dca3 Mon Sep 17 00:00:00 2001 From: perfogic Date: Wed, 1 Jul 2026 00:24:19 +0700 Subject: [PATCH 1/2] docs: add PeerDAS protocol overview --- docs/_sidebar.md | 4 +- docs/eps/week6-research.md | 2 +- .../{peerdas.md => peerdas/introduction.md} | 3 +- .../research/peerdas/protocol-overview.md | 121 ++++++++++++++++++ 4 files changed, 127 insertions(+), 3 deletions(-) rename docs/wiki/research/{peerdas.md => peerdas/introduction.md} (98%) create mode 100644 docs/wiki/research/peerdas/protocol-overview.md diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 8c963401..2d137a43 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -61,7 +61,9 @@ - [TBHL](/wiki/research/PBS/TBHL.md) - [ET](/wiki/research/PBS/ET.md) - [eODS](/wiki/research/eODS.md) - - [PeerDAS](/wiki/research/peerdas.md) + - PeerDAS + - [Introduction](/wiki/research/peerdas/introduction.md) + - [Protocol Overview](/wiki/research/peerdas/protocol-overview.md) - [FCR](/wiki/research/FCR/FCR.md) - [History Expiry](/wiki/research/history-expiry/history-expiry.md) - Preconfirmations diff --git a/docs/eps/week6-research.md b/docs/eps/week6-research.md index 97fa1c38..b68f5e99 100644 --- a/docs/eps/week6-research.md +++ b/docs/eps/week6-research.md @@ -28,4 +28,4 @@ Additionally, you can read and get ready by studying the following resources: - [Danksharding workshop, Devcon Bogota](https://www.youtube.com/watch?v=8L2C6RDMV9Q) - [Fraud and DA proofs paper](https://arxiv.org/abs/1809.09044) - [WIP DAS proposal](https://hackmd.io/@vbuterin/das) -- [PeerDAS](https://epf.wiki/#/wiki/research/peerdas) +- [PeerDAS](https://epf.wiki/#/wiki/research/peerdas/introduction) diff --git a/docs/wiki/research/peerdas.md b/docs/wiki/research/peerdas/introduction.md similarity index 98% rename from docs/wiki/research/peerdas.md rename to docs/wiki/research/peerdas/introduction.md index 88ab8824..cf053949 100644 --- a/docs/wiki/research/peerdas.md +++ b/docs/wiki/research/peerdas/introduction.md @@ -51,7 +51,8 @@ Overall, PeerDAS integrates deterministic custody allocation, probabilistic data ## References - [EIP-7594: PeerDAS](https://eips.ethereum.org/EIPS/eip-7594) -- [Fulu specifications including PeerDAS](https://github.com/ethereum/consensus-specs/tree/dev/specs/fulu) +- [Fulu specifications including PeerDAS](https://github.com/ethereum/consensus-specs/tree/master/specs/fulu) +- [Protocol overview of PeerDAS by Daniel Pham](/wiki/research/peerdas/protocol-overview.md) - [Scaling Ethereum L1 with PeerDAS - dapplion, presentation](https://www.youtube.com/watch?v=_PW6jFTWLPc) - [PeerDAS in Pectra and beyond - Francesco D'Amato, presentation](https://www.youtube.com/watch?v=WOdpO1tH_Us) - [PeerDAS Book by Manu Nalepa](https://hackmd.io/@manunalepa/peerDAS/https%3A%2F%2Fhackmd.io%2F%40manunalepa%2FB1idHCOfke) diff --git a/docs/wiki/research/peerdas/protocol-overview.md b/docs/wiki/research/peerdas/protocol-overview.md new file mode 100644 index 00000000..9221554e --- /dev/null +++ b/docs/wiki/research/peerdas/protocol-overview.md @@ -0,0 +1,121 @@ +# Protocol Overview of PeerDAS + +PeerDAS changes Ethereum blob propagation from full-blob distribution to column-based data availability sampling. This allows nodes to verify that blob data is available without requiring every node to download every full blob. + +## Before Fulu + +After EIP-4844, each slot can include a beacon block and blob sidecars. + +Beacon block and blob sidecars + +`BlobSidecar`s carry blob data used by L2s to publish data to Ethereum. Blob data is referenced by the beacon block but is not processed by the execution layer state transition. This L2-published data can include: + +- blocks and transactions +- state transition proofs +- other rollup data needed for reconstruction or verification + +The beacon block contains: + +- `execution_payload`: the execution block payload visible through normal execution-layer tooling +- `blob_kzg_commitments`: commitments used to verify that each blob belongs to the block +- other consensus-layer fields such as attestations and slashings + +Before Fulu, nodes verify each full blob against the corresponding KZG commitment and store full blobs for the blob availability window. This is simple, but it limits scaling because increasing blob capacity directly increases the amount of data every node must download and store. + +## After Fulu + +Fulu replaces full blob sidecar propagation with column-based propagation. + +Data column sidecars + +A `DataColumnSidecar` contains a column of cells from multiple blobs, together with KZG commitments, KZG proofs, the signed block header, and an inclusion proof. + +Instead of broadcasting full blob data for every blob: + +- before Fulu, a `BlobSidecar` contains one full blob +- from Fulu, a `DataColumnSidecar` contains one column of data across blobs + +Each node custodies and serves specific columns based on its custody groups. If enough columns are available, the full blob data can be reconstructed. + +## Encoding + +Blob data is encoded to create redundancy. + +Encoding blob data + +Because blob data does not go through the execution layer state transition, a proposer or Byzantine peer could try to modify or withhold some data. Modified data is detected by verifying KZG commitments and proofs. Withheld data is addressed by redundancy: if enough encoded data is available, the original blob data can still be recovered. + +## Columns and Subnets + +The encoded blob data is divided into 128 columns. These columns are broadcast through gossipsub topics: + +```text +data_column_sidecar_{subnet_id} +``` + +where: + +```text +subnet_id = column_index % DATA_COLUMN_SIDECAR_SUBNET_COUNT +DATA_COLUMN_SIDECAR_SUBNET_COUNT = 128 +``` + +Column subnets + +When a node receives a `DataColumnSidecar`, it verifies that the column is correct. + +Data column verification + +This is why each sidecar carries the KZG commitments and proofs needed to verify the cells in that column. + +## Sampling + +Each node samples specific columns to check data availability. If many nodes can successfully sample and verify their assigned columns, the network gains high confidence that the blob data is available. + +If some columns are missing from gossip, nodes can request them from peers through request/response protocols. + +Sampling columns + +The sampling goal is to make sure no row is withheld by more than the reconstruction threshold. Before a node accepts a beacon block as data-available, its sampling process must succeed. + +## Slot Timing + +PeerDAS data availability checks happen alongside normal beacon block processing in a 12 second slot. + +Slot timing + +During the first part of the slot, a node processes the beacon block and data column sidecars in parallel: + +```text +0s - 4s: + receive beacon block + - verify block + - start state transition validation + - execute state transition + + receive or sample data column sidecars + - verify columns through KZG commitments and proofs + - request missing columns from peers if needed + - execute sampling + + final check + - import the block into fork choice if block validation and sampling succeed + - produce attestation using the updated fork-choice head + +4s - 8s: + - attestations propagate + - aggregators collect attestations + +8s - 12s: + - aggregators broadcast aggregate attestations + - aggregate attestations propagate + - next proposer prepares +``` + +The practical constraint is that block propagation, column propagation, and sampling must complete quickly enough for validators to make timely fork-choice and attestation decisions. + +## References + +- [EIP-7594: PeerDAS](https://eips.ethereum.org/EIPS/eip-7594) +- [Fulu consensus specifications](https://github.com/ethereum/consensus-specs/tree/master/specs/fulu) +- [Original notes: Overview of PeerDAS by Daniel Pham](https://hackmd.io/d5KkrGRMROq7-hLW3m7Org) From cff49d3211e96c036f01fe9852fa11d7bb7307b9 Mon Sep 17 00:00:00 2001 From: perfogic Date: Wed, 1 Jul 2026 00:30:22 +0700 Subject: [PATCH 2/2] chore: fix check typos --- docs/wiki/research/peerdas/introduction.md | 2 +- docs/wiki/research/peerdas/protocol-overview.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/wiki/research/peerdas/introduction.md b/docs/wiki/research/peerdas/introduction.md index cf053949..7b5b9cc2 100644 --- a/docs/wiki/research/peerdas/introduction.md +++ b/docs/wiki/research/peerdas/introduction.md @@ -52,7 +52,7 @@ Overall, PeerDAS integrates deterministic custody allocation, probabilistic data - [EIP-7594: PeerDAS](https://eips.ethereum.org/EIPS/eip-7594) - [Fulu specifications including PeerDAS](https://github.com/ethereum/consensus-specs/tree/master/specs/fulu) -- [Protocol overview of PeerDAS by Daniel Pham](/wiki/research/peerdas/protocol-overview.md) +- [Protocol overview of PeerDAS by Daniel Pham](/wiki/research/peerdas/protocol-overview.md) - [Scaling Ethereum L1 with PeerDAS - dapplion, presentation](https://www.youtube.com/watch?v=_PW6jFTWLPc) - [PeerDAS in Pectra and beyond - Francesco D'Amato, presentation](https://www.youtube.com/watch?v=WOdpO1tH_Us) - [PeerDAS Book by Manu Nalepa](https://hackmd.io/@manunalepa/peerDAS/https%3A%2F%2Fhackmd.io%2F%40manunalepa%2FB1idHCOfke) diff --git a/docs/wiki/research/peerdas/protocol-overview.md b/docs/wiki/research/peerdas/protocol-overview.md index 9221554e..d37d7de2 100644 --- a/docs/wiki/research/peerdas/protocol-overview.md +++ b/docs/wiki/research/peerdas/protocol-overview.md @@ -35,7 +35,7 @@ Instead of broadcasting full blob data for every blob: - before Fulu, a `BlobSidecar` contains one full blob - from Fulu, a `DataColumnSidecar` contains one column of data across blobs -Each node custodies and serves specific columns based on its custody groups. If enough columns are available, the full blob data can be reconstructed. +Each node stores and serves specific columns based on its custody groups. If enough columns are available, the full blob data can be reconstructed. ## Encoding @@ -118,4 +118,4 @@ The practical constraint is that block propagation, column propagation, and samp - [EIP-7594: PeerDAS](https://eips.ethereum.org/EIPS/eip-7594) - [Fulu consensus specifications](https://github.com/ethereum/consensus-specs/tree/master/specs/fulu) -- [Original notes: Overview of PeerDAS by Daniel Pham](https://hackmd.io/d5KkrGRMROq7-hLW3m7Org) +- [Original notes: Overview of PeerDAS by Daniel Pham](https://hackmd.io/d5KkrGRMROq7-hLW3m7Org)