Skip to content

Commit e97e847

Browse files
authored
Merge branch 'master' into mimoo/camlproof
2 parents e483810 + 8b08de2 commit e97e847

File tree

129 files changed

+3376
-7851
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+3376
-7851
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ members = [
88
"dlog/plonk",
99
"dlog/plonk-15-wires",
1010
"groupmap",
11-
"ocaml-gen",
12-
"ocaml-gen/derive",
11+
"ocaml/ocaml-gen",
12+
"ocaml/ocaml-gen/derive",
1313
"oracle",
1414
"utils",
1515
]

README.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
This repository contains various zk-SNARK protocol implementations for recursive SNARK composition.
2-
3-
## Bazel
4-
5-
Build all targets: `$ bazel build //...` (note: three dots)
6-
7-
If you change any dependencies in the `Cargo.toml` files:
1+
# Proof Systems
82

9-
1. update `bzl/cargo/Cargo.toml` to list all deps and versions
10-
2. `cd bzl/cargo`
11-
a. `cargo generate-lockfile`
12-
b. `cargo raze`
13-
14-
You may also have to change the `deps` attribute of build targets in
15-
BUILD.bazel. For example, if you add a dependency on the `ocaml`
16-
package to Cargo.toml, you would add `//bzl/cargo:ocaml` to the deps
17-
attribute.
18-
19-
If you change features, you need to edit the `crate_features`
20-
attribute of the BUILD.bazel file accordingly.
3+
This repository contains various zk-SNARK protocol implementations for recursive SNARK composition.
214

5+
```
6+
proof-systems/
7+
├── circuits/ # the circuit and gate relevant code of PLONK
8+
│ ├── plonk/ # the first version of our PLONK
9+
│ └── plonk-15-wires/ # the latest PLONK (TODO: rename to kimchi)
10+
├── curves/ # our curves (for now just the pasta curves)
11+
├── dlog/ # the protocols
12+
│ ├── commitment/ # polynomial commitment code, TODO: move this
13+
│ ├── plonk/ # the first version of our PLONK
14+
│ ├── plonk-15-wires/ # the latest PLONK (TODO: rename to kimchi)
15+
│ └── tests/ # common tests, TODO: move this within each protocol
16+
├── groupmap/ # TODO: description
17+
├── ocaml-gen/ # ocaml bindings generator tool
18+
├── oracle/ # implementation of the poseidon hash function
19+
└── utils/ # collection of useful functions and traits
20+
```

bzl/cargo/BUILD.bazel

Lines changed: 0 additions & 157 deletions
This file was deleted.

0 commit comments

Comments
 (0)