Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenfeizhang committed Jul 14, 2022
1 parent 86a19ab commit 1e11c52
Show file tree
Hide file tree
Showing 21 changed files with 965 additions and 190 deletions.
4 changes: 4 additions & 0 deletions hyperplonk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ ark-serialize = { version = "^0.3.0", default-features = false, features = [ "de

displaydoc = { version = "0.2.3", default-features = false }

[dev-dependencies]
ark-bls12-381 = { version = "0.3.0", default-features = false, features = [ "curve" ] }


[features]
# default = [ "parallel", "print-trace" ]
default = [ "parallel" ]
Expand Down
7 changes: 7 additions & 0 deletions hyperplonk/src/constants.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/// Number of selectors in a gate.
// TODO: use 5 for testing. FIXME with real data.
pub const SELECTOR_WIDTH: usize = 5;

/// Number of witnesses in a gate.
// TODO: use 5 for testing. FIXME with real data.
pub const WITNESS_WIDTH: usize = 5;
Loading

0 comments on commit 1e11c52

Please sign in to comment.