mirror of
https://github.com/lux-apps/papers.git
synced 2026-11-03 05:07:46 +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.
59 lines
1.9 KiB
TeX
59 lines
1.9 KiB
TeX
\section{Cross-Chain Fraud Proofs}
|
|
|
|
|
|
Lux's multi-chain architecture enables novel cross-chain fraud proof mechanisms.
|
|
|
|
\subsection{Bridge Message Verification}
|
|
|
|
Cross-chain messages require special fraud proofs:
|
|
|
|
\begin{equation}
|
|
\text{BridgeProof} = \langle M, \Pi_{\text{source}}, \Pi_{\text{dest}}, \sigma \rangle
|
|
\end{equation}
|
|
|
|
where $M$ is the message, $\Pi_{\text{source}}$ proves inclusion in source chain, $\Pi_{\text{dest}}$ proves execution on destination, and $\sigma$ is the validator signature.
|
|
|
|
\subsection{Multi-Chain State Root Verification}
|
|
|
|
Verifying state across multiple chains:
|
|
|
|
\begin{theorem}[Cross-Chain State Consistency]
|
|
For chains $C_1, C_2, ..., C_n$ with state roots $S_1, S_2, ..., S_n$, consistency is maintained if:
|
|
\begin{equation}
|
|
\forall i,j : \text{Bridge}_{i,j}(S_i) = S_j|_{\text{bridge}}
|
|
\end{equation}
|
|
where $S_j|_{\text{bridge}}$ is the bridge-relevant subset of state $S_j$.
|
|
\end{theorem}
|
|
|
|
\subsection{Warp Message Integrity}
|
|
|
|
Lux Warp messages enable appchain communication with fraud proofs:
|
|
|
|
\begin{lstlisting}[language=Solidity, caption=Warp Message Verification]
|
|
function verifyWarpMessage(
|
|
bytes32 messageHash,
|
|
bytes calldata signatures
|
|
) external view returns (bool) {
|
|
// Verify BLS aggregate signature
|
|
require(verifyBLSSignature(messageHash, signatures));
|
|
|
|
// Check stake weight
|
|
uint256 stakeWeight = calculateStakeWeight(signatures);
|
|
require(stakeWeight >= requiredStake);
|
|
|
|
return true;
|
|
}
|
|
\end{lstlisting}
|
|
|
|
\subsection{M-Chain Integration}
|
|
|
|
Integration with Lux's metadata chain enables global coordination:
|
|
|
|
\begin{enumerate}
|
|
\item \textbf{Validator Registry}: Track validators across appchains
|
|
\item \textbf{Stake Management}: Coordinate staking for security
|
|
\item \textbf{Cross-Appchain Challenges}: Challenge across appchain boundaries
|
|
\item \textbf{Global State Root}: Aggregate state across all rollups
|
|
\end{enumerate}
|
|
|