mirror of
https://github.com/lux-apps/papers.git
synced 2026-10-30 18:15:21 +00:00
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.
25 lines
694 B
TeX
25 lines
694 B
TeX
\section{Anchor Transaction Format}
|
|
|
|
\label{sec:format}
|
|
|
|
The on-chain payload is 72 bytes:
|
|
|
|
\begin{center}
|
|
\begin{tabular}{lrl}
|
|
\toprule
|
|
\textbf{Field} & \textbf{Bytes} & \textbf{Encoding} \\
|
|
\midrule
|
|
appID & 32 & \texttt{bytes32} (SHA-256 of app name) \\
|
|
height & 8 & \texttt{uint64}, big-endian \\
|
|
root & 32 & \texttt{bytes32} (Merkle root) \\
|
|
\bottomrule
|
|
\end{tabular}
|
|
\end{center}
|
|
|
|
\noindent
|
|
Total: 72 bytes of calldata + 4-byte function selector = 76 bytes.
|
|
The submitter identity is \texttt{msg.sender} (implicit ECDSA signature
|
|
in the EVM transaction envelope). No additional signature field is needed.
|
|
|
|
% ============================================================================
|