Skip to content

Commit 194d4ac

Browse files
authored
Reduce generics (C, W, WIT_LEN), reduce examples (#194)
Enhances developer experience a bit by, - Generics, - Removes the const generics `C`, `W`, `WIT_LEN`. - Renames `C` to `KAPPA` (number of rows in the Ajtai matrix); - Renames `W` to `N` (number of columns in the Ajtai matrix, decomposed witness size). - Examples, - Reduces the similar examples to a single one using Goldilocks; - Removes stark-specific parameters.
1 parent bf2ac6d commit 194d4ac

File tree

26 files changed

+1591
-2187
lines changed

26 files changed

+1591
-2187
lines changed

crates/latticefold/benches/config.toml

Lines changed: 754 additions & 754 deletions
Large diffs are not rendered by default.

crates/latticefold/benches/env.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub struct Env {
2828
pub e2e: bool,
2929
pub x_len: Option<usize>,
3030
pub kappa: Option<usize>,
31-
pub w: Option<usize>,
31+
pub n: Option<usize>,
3232
pub wit_len: Option<usize>,
3333
pub b: Option<u128>,
3434
pub l: Option<usize>,
@@ -87,7 +87,7 @@ lazy_static! {
8787
e2e,
8888
x_len: get_env_var("X_LEN"),
8989
kappa: get_env_var("KAPPA"),
90-
w: get_env_var("W"),
90+
n: get_env_var("N"),
9191
wit_len: get_env_var("WIT_LEN"),
9292
b: get_env_var("B"),
9393
l: get_env_var("L"),

0 commit comments

Comments
 (0)