Files
papers/lux-data-availability/sections/11-formal-specification-of-the-da-oracle-pr.tex
zeekay abf99d05fc papers: reorganize into per-paper dirs, add Antje Worring as co-author
Restructured from flat .tex/.pdf files into per-paper subdirectories.
Added Antje Worring as co-author on all papers.
Synced PDFs to pdfs/ for download site.
2026-04-18 21:50:07 -07:00

28 lines
1007 B
TeX

\section{Formal Specification of the DA Oracle Protocol}
\label{app:oracle}
\begin{algorithm}[H]
\caption{DA Oracle Attestation Protocol}
\label{alg:da-oracle}
\begin{algorithmic}[1]
\Require Full node $v_i$ with signing key $sk_i$, block header $H$
\Ensure DA attestation or rejection
\State Download all cells of $\hat{M}$ from block producer and peers.
\State Verify all $4k^2$ KZG cell proofs against $H.\text{DACommitment}$.
\If{any cell proof fails}
\State Broadcast fraud proof $(i, j, \hat{M}[i][j], \pi_{\text{invalid}})$.
\State \Return \textbf{Reject}
\EndIf
\State Verify 2D RS consistency: for each row $i$, check that $\hat{R}_i$ has degree $< k$.
\If{any row degree check fails}
\State Broadcast bad-encoding fraud proof for row $i$.
\State \Return \textbf{Reject}
\EndIf
\State Sign attestation: $\sigma_i \gets \text{BLS.Sign}(sk_i, H.\text{DataRoot})$.
\State Broadcast $\sigma_i$ on the DA gossip topic.
\State \Return \textbf{Accept}
\end{algorithmic}
\end{algorithm}