Aztec Circuit Schematics
Rollup Circuit
\(r_{\text{id}}\)
\(n_{\text{tx}}\)
\(i_{\text{data}}\)
\(\{\pi_{\text{tx},j}\}_{j \in [n]}\)
\(d_{\text{new}}\)
\(d_{\text{old}}\)
\(\vec{h}_{d, \text{old}}\)
\(\vec{h}_{l, \text{old}}\)
\(\{i_{l,\ \text{old},j}\}_{j\in[n]}\)
\(n_{\text{new}}\)
\(\{n_{\text{old},j}\}_{j \in [n]}\)
\(\{\vec{h}_{n, \text{old}, j}\}_{j\in [n]}\)
\(r_{\text{new}}\)
\(\{i_{r,j}\}_{j \in [n]}\)
\(\{\vec{h}_{r, j}\}_{j\in [n]}\)
\(f_{\text{new}}\)
\(\{b_{j}\}_{j \in [F]}\)
\(\{a_{j}\}_{j \in [A]}\)
\(n_{\text{defi}}\)
\(n_{\text{max}}\)
\(\text{next }2^x\)
\(N\)
\(< 2^{10}\)
\(< 2^{D}\)
\(n_{\text{assets}}\)
\(< 2^{250}\)
\(\textsf{checkPad}(0)\)
\(< 2^{30}\)
\(\textsf{checkPad}(2^{30})\)
\(\textsf{loop }(j, n_{\text{max}})\)
\(\pi_{\text{tx}, j} = (p_{\text{id}}, \mathcal{C}_1, \mathcal{C}_2, \mathcal{N}_1, \mathcal{N}_2, v, o, a, d, f, a_f, b, v_{\text{defi}}, f)\)
\(b\)
\(b\)
Original problem
Simple solution using GEM
\(b\)
\(b\)
Problem with error
LWE problem \(\rightarrow\) Lattice problem
Step 1
Step 2
Step 3
Step 4
Proof of concept in Rust 🚧Â
Aztec Circuits
By Suyash Bagad
Aztec Circuits
- 40