You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By repeating this experiment for several runs, one can experimentally say, when a shuffle with given parameters is secure.
395
395
396
+
\subsubsection{Size reduction}
397
+
If we can reduce the shuffle size used in Whisk and still prove it secure, then we expect to see some reduction in the size overhead on the blockchain.
398
+
399
+
We first set our focus on Curdleproofs, as this is the protocol we have modified directly.
400
+
As mentioned in~\autoref{sec:background-zkps}, the size of Curdleproofs is $18+10\log(\ell+4)\mathbb{G}$, $7\mathbb{F}$.
401
+
The dependence on the $\log$ stems from the number of recursive rounds that take place in the~\gls{sameperm} and~\gls{samemsm} proofs.
402
+
In the proof of theorem 1, we show CAAUrdleproofs to be $\mathcal{O}(\log n)$.
403
+
This means that the size of CAAUrdleproofs must be $18+10\lceil\log(\ell+4)\rceil\mathbb{G}$, $7\mathbb{F}$.
404
+
405
+
CAAUrdleproofs therefore has the same proof size as Curdleproofs.
406
+
407
+
The CAAUrdleproofs modification can still reduce the overall block size overhead, though.
408
+
Using Whisk with CAAUrdleproofs has a block size of $17.04$ KB, when the shuffle size is 128\cite{Whisk2024}.
409
+
Note that this is the same size as Curdleproofs, as the shuffle size is a power of 2.
410
+
The calculation of the block size comes from the following, where $\mathbb{G}=48$ bytes and $\mathbb{F}=32$ bytes\footnote{\text{As noted in the code on the Curdleproofs GitHub repository: }\\\href{https://github.com/asn-d6/curdleproofs/blob/main/src/whisk.rs}{https://github.com/asn-d6/curdleproofs/blob/main/src/whisk.rs}. Accessed: 26/05/2025}:
411
+
\begin{itemize}
412
+
\item List of shuffled trackers ($\ell\cdot96\Rightarrow\text{eg. }128\cdot96=12,288$ bytes).
\item A fresh tracker (two BLS G1 points $\Rightarrow48\cdot2=96$ bytes).
415
+
\item A new commitment $com(k)$ to the proposer's tracker (one BLS G1 point $\Rightarrow48$ bytes).
416
+
\item A Discrete Logarithm Equivalence Proof on the ownership of the elected proposer commitment (two G1 points, two Fr scalars $\Rightarrow2\cdot48+2\cdot32=160$ bytes).
417
+
\end{itemize}
418
+
The majority of the block size comes from the list of shuffled trackers.
419
+
Hence, using CAAUrdleproofs could majorly decrease the block size by allowing~$\ell$ to be chosen at arbitrary length.
Copy file name to clipboardExpand all lines: report/src/sections/appendix/02-thm1proof.tex
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ \section{Proof of Theorem 1}\label{sec:appendix-thm1proof}
32
32
\paragraph*{\textbf{Proof of knowledge-soundness and completeness}}
33
33
For soundness and completeness, we refer to Theorem 3 of Springproofs~\cite{zhang2024springproofs}.
34
34
\begin{theorem}[Springproofs Theorem 3]
35
-
Given a terminative SIPA$(f)$, if the number of compression steps in SIPA$(f)$ is $O(\log n)$, then SIPA$(f)$ is a complete and computational knowledge sound argument of relation (1).
35
+
Given a terminative SIPA$(f)$, if the number of compression steps in SIPA$(f)$ is $\mathcal{O}(\log n)$, then SIPA$(f)$ is a complete and computational knowledge sound argument of relation (1).
36
36
Moreover, the Fiat-Shamir transformation of SIPA$(f)$ is a non-interactive random oracle argument having completeness and computational knowledge soundness as well.
37
37
\end{theorem}
38
38
Here, relation (1) is
@@ -84,7 +84,7 @@ \section{Proof of Theorem 1}\label{sec:appendix-thm1proof}
84
84
\end{align}
85
85
This exactly the same commitment as in~\autoref{al:P}.
86
86
87
-
Therefore, using Curdleproofs' DL~\gls{ipa} and the pre-compression scheme function, we can instantiate SIPA$(f)$, equivalent to CAAUrdleproofs, as a terminative SIPA$(f)$, with $O(\log n)$ compression steps.
87
+
Therefore, using Curdleproofs' DL~\gls{ipa} and the pre-compression scheme function, we can instantiate SIPA$(f)$, equivalent to CAAUrdleproofs, as a terminative SIPA$(f)$, with $\mathcal{O}(\log n)$ compression steps.
88
88
Hence, SIPA$(f)$ is a complete and computational knowledge sound argument of relation (1).
89
89
We have just shown that Curdleproofs'~\gls{ipa} proves the same relation, so the properties hold for our SIPA$(f)$ as well.
90
90
Furthermore, Curdleproofs uses the Fiat-Shamir transformation for its verifier challenges.
0 commit comments