Skip to content

Commit

Permalink
Spec: use m' instead of n for the fanout redeemer outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed Jul 3, 2024
1 parent b8751f6 commit 745eaa7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/onchain.tex
Original file line number Diff line number Diff line change
Expand Up @@ -579,13 +579,13 @@ \subsection{Fan-Out Transaction}
\end{figure}

\noindent The state-machine validator $\nuHead$ is spent with
$\redeemerHead = (\mathsf{fanout}, m\red{, n})$, where $m$ \red{and $n$ are
$\redeemerHead = (\mathsf{fanout}, m\red{, m'})$, where $m$ \red{and $m'$ are
outputs to distribute from the $\stClosed$ state}, and checks:
\begin{menumerate}
\item State is advanced from $\datumHead \sim \stClosed$ to terminal state
$\stFinal$: % XXX: What does this actually mean?
\[
(\stClosed,\cid,\hydraKeys,\cPer,\red{v, s,}\eta,\red{\eta_{\Delta}},\contesters,\Tfinal) \xrightarrow[m\red{,n}]{\stFanout} \stFinal
(\stClosed,\cid,\hydraKeys,\cPer,\red{v, s,}\eta,\red{\eta_{\Delta}},\contesters,\Tfinal) \xrightarrow[m\red{,m'}]{\stFanout} \stFinal
\]
\item The first $m$ outputs are distributing funds according to $\eta$. That is,
the outputs exactly correspond to the UTxO canonically combined $U^{\#}$ (see
Expand All @@ -597,12 +597,12 @@ \subsection{Fan-Out Transaction}
$\eta_{\Delta}$. That is, the outputs exactly correspond to the UTxO canonically
combined $U^{\#}_{\Delta}$ (see Section~\ref{sec:collect-tx}):
\[
\eta_{\Delta} = U^{\#}_{\Delta} = \hash(\bigoplus_{j=m}^{m+n} \bytes(o_{j}))
\eta_{\Delta} = U^{\#}_{\Delta} = \hash(\bigoplus_{j=m}^{m+m'} \bytes(o_{j}))
\]
}
\item Transaction is posted after contestation deadline $\txValidityMin > \Tfinal$.
\item All tokens are burnt
$|\{\cid \mapsto \cdot \mapsto -1\} \in \txMint| = n + 1$.
$|\{\cid \mapsto \cdot \mapsto -1\} \in \txMint| = m' + 1$.
\end{menumerate}

\noindent The $\muHead(\seed)$ minting policy governs the burning of tokens via
Expand Down

0 comments on commit 745eaa7

Please sign in to comment.