Skip to content

Commit

Permalink
chore: release main (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
taceo-bot authored Dec 18, 2024
1 parent 65f5be1 commit 499e20a
Show file tree
Hide file tree
Showing 32 changed files with 645 additions and 80 deletions.
32 changes: 16 additions & 16 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"co-circom/circom-mpc-compiler": "0.7.0",
"co-circom/circom-mpc-vm": "0.5.0",
"co-circom/circom-types": "0.6.0",
"co-circom/co-circom-snarks": "0.2.0",
"co-circom/co-circom": "0.6.0",
"co-circom/co-groth16": "0.6.0",
"co-circom/co-plonk": "0.4.0",
"co-noir/co-acvm": "0.3.0",
"co-noir/co-builder": "0.1.0",
"co-noir/co-brillig": "0.0.1",
"co-noir/co-noir": "0.3.0",
"co-noir/co-ultrahonk": "0.2.0",
"co-noir/ultrahonk": "0.2.0",
"mpc-core": "0.6.0",
"mpc-net": "0.2.0",
"tests": "0.1.8"
"co-circom/circom-mpc-compiler": "0.8.0",
"co-circom/circom-mpc-vm": "0.6.0",
"co-circom/circom-types": "0.7.0",
"co-circom/co-circom-snarks": "0.3.0",
"co-circom/co-circom": "0.7.0",
"co-circom/co-groth16": "0.7.0",
"co-circom/co-plonk": "0.5.0",
"co-noir/co-acvm": "0.4.0",
"co-noir/co-builder": "0.2.0",
"co-noir/co-brillig": "0.1.0",
"co-noir/co-noir": "0.4.0",
"co-noir/co-ultrahonk": "0.3.0",
"co-noir/ultrahonk": "0.3.0",
"mpc-core": "0.7.0",
"mpc-net": "0.2.1",
"tests": "0.1.9"
}
22 changes: 22 additions & 0 deletions co-circom/circom-mpc-compiler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,28 @@
* co-groth16 bumped from 0.5.0 to 0.5.1
* mpc-core bumped from 0.4.0 to 0.5.0

## [0.8.0](https://github.com/TaceoLabs/co-snarks/compare/circom-mpc-compiler-v0.7.0...circom-mpc-compiler-v0.8.0) (2024-12-16)


### ⚠ BREAKING CHANGES

* Opcode:Eq now holds the number of elements to compare.

### Bug Fixes

* fixed a bug where eq checks for array did not work properly ([#283](https://github.com/TaceoLabs/co-snarks/issues/283)) ([3193574](https://github.com/TaceoLabs/co-snarks/commit/319357417be28cbe4da82b3dc4d2903b4183afb1))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* circom-types bumped from 0.6.0 to 0.7.0
* circom-mpc-vm bumped from 0.5.0 to 0.6.0
* dev-dependencies
* co-groth16 bumped from 0.6.0 to 0.7.0
* mpc-core bumped from 0.6.0 to 0.7.0

## [0.7.0](https://github.com/TaceoLabs/co-snarks/compare/circom-mpc-compiler-v0.6.1...circom-mpc-compiler-v0.7.0) (2024-11-12)


Expand Down
10 changes: 5 additions & 5 deletions co-circom/circom-mpc-compiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "circom-mpc-compiler"
version = "0.7.0"
version = "0.8.0"
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
Expand All @@ -17,8 +17,8 @@ circom-type_analysis = { version = "2.1.9", git = "https://github.com/TaceoLabs/
circom-constraint_generation = { version = "2.1.9", git = "https://github.com/TaceoLabs/circom", package = "constraint_generation", rev = "1cc17fb" }
circom-parser = { version = "2.1.9", git = "https://github.com/TaceoLabs/circom", package = "parser", rev = "1cc17fb" }
circom-compiler = { version = "2.1.9", git = "https://github.com/TaceoLabs/circom", package = "compiler", rev = "1cc17fb" }
circom-types = { version = "0.6.0", path = "../circom-types" }
circom-mpc-vm = { version = "0.5.0", path = "../circom-mpc-vm" }
circom-types = { version = "0.7.0", path = "../circom-types" }
circom-mpc-vm = { version = "0.6.0", path = "../circom-mpc-vm" }
circom-program_structure = { version = "2.1.9", git = "https://github.com/TaceoLabs/circom", package = "program_structure", rev = "1cc17fb" }
clap.workspace = true
eyre.workspace = true
Expand All @@ -29,6 +29,6 @@ tracing.workspace = true

[dev-dependencies]
ark-bn254.workspace = true
co-groth16 = { version = "0.6.0", path = "../co-groth16" }
mpc-core = { version = "0.6.0", path = "../../mpc-core" }
co-groth16 = { version = "0.7.0", path = "../co-groth16" }
mpc-core = { version = "0.7.0", path = "../../mpc-core" }
tracing.workspace = true
26 changes: 26 additions & 0 deletions co-circom/circom-mpc-vm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,32 @@
* co-circom-snarks bumped from 0.1.1 to 0.1.2
* mpc-core bumped from 0.4.0 to 0.5.0

## [0.6.0](https://github.com/TaceoLabs/co-snarks/compare/circom-mpc-vm-v0.5.0...circom-mpc-vm-v0.6.0) (2024-12-16)


### ⚠ BREAKING CHANGES

* Opcode:Eq now holds the number of elements to compare.

### Features

* implement new accelerators for IsZero and AddBits ([bbccad1](https://github.com/TaceoLabs/co-snarks/commit/bbccad18e2382a8141286189c7c7349423788f85))
* make the application of MPC accelerators configurable ([9f67c9a](https://github.com/TaceoLabs/co-snarks/commit/9f67c9accc4ca52c9c270ea48ca8bb28d724af5a))


### Bug Fixes

* fixed a bug where eq checks for array did not work properly ([#283](https://github.com/TaceoLabs/co-snarks/issues/283)) ([3193574](https://github.com/TaceoLabs/co-snarks/commit/319357417be28cbe4da82b3dc4d2903b4183afb1))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* co-circom-snarks bumped from 0.2.0 to 0.3.0
* mpc-core bumped from 0.6.0 to 0.7.0
* mpc-net bumped from 0.2.0 to 0.2.1

## [0.5.0](https://github.com/TaceoLabs/co-snarks/compare/circom-mpc-vm-v0.4.2...circom-mpc-vm-v0.5.0) (2024-11-12)


Expand Down
8 changes: 4 additions & 4 deletions co-circom/circom-mpc-vm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "circom-mpc-vm"
version = "0.5.0"
version = "0.6.0"
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
Expand All @@ -16,11 +16,11 @@ ark-serialize.workspace = true
bincode.workspace = true
num-bigint.workspace = true
num-traits.workspace = true
co-circom-snarks = { version = "0.2.0", path = "../co-circom-snarks" }
co-circom-snarks = { version = "0.3.0", path = "../co-circom-snarks" }
eyre.workspace = true
itertools.workspace = true
mpc-core = { version = "0.6.0", path = "../../mpc-core" }
mpc-net = { version = "0.2.0", path = "../../mpc-net" }
mpc-core = { version = "0.7.0", path = "../../mpc-core" }
mpc-net = { version = "0.2.1", path = "../../mpc-net" }
serde.workspace = true
tracing.workspace = true

Expand Down
24 changes: 24 additions & 0 deletions co-circom/circom-types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## [0.7.0](https://github.com/TaceoLabs/co-snarks/compare/circom-types-v0.6.0...circom-types-v0.7.0) (2024-12-16)


### ⚠ BREAKING CHANGES

* Now the verify impls from groth16/plonk circom return an error indicating whether it was a success or not
* Removed unnecessary parts of the zkey
* changed the traits for circom bridge. Also modified the from_reader impl for the two Zkeys

### Features

* now can specify whether we want curve checks during zkey deser ([e1c03f3](https://github.com/TaceoLabs/co-snarks/commit/e1c03f3ba979bface5ea79062d95ffc088fdfda0))


### Bug Fixes

* added a check during groth16 prover for public inputs ([76466eb](https://github.com/TaceoLabs/co-snarks/commit/76466eb2d662efa4d5061e53e09470740763c77f))


### Code Refactoring

* Removed ark_relations deps. Also changed verify impls to not return bool but a common error ([b4f4bf1](https://github.com/TaceoLabs/co-snarks/commit/b4f4bf16beaa83108bc2ae6c6f972ab4e4da4473))
* Removed unnecessary parts of the zkey ([0713260](https://github.com/TaceoLabs/co-snarks/commit/071326056a8d47aca9d72e8848773981a3cbbc89))

## [0.6.0](https://github.com/TaceoLabs/co-snarks/compare/circom-types-v0.5.0...circom-types-v0.6.0) (2024-11-12)


Expand Down
2 changes: 1 addition & 1 deletion co-circom/circom-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "circom-types"
version = "0.6.0"
version = "0.7.0"
publish.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
25 changes: 25 additions & 0 deletions co-circom/co-circom-snarks/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,31 @@
* dependencies
* mpc-core bumped from 0.4.0 to 0.5.0

## [0.3.0](https://github.com/TaceoLabs/co-snarks/compare/co-circom-snarks-v0.2.0...co-circom-snarks-v0.3.0) (2024-12-16)


### ⚠ BREAKING CHANGES

* Now the verify impls from groth16/plonk circom return an error indicating whether it was a success or not

### Bug Fixes

* added a check during groth16 prover for public inputs ([76466eb](https://github.com/TaceoLabs/co-snarks/commit/76466eb2d662efa4d5061e53e09470740763c77f))
* default maybe_shared_inputs field while deserializing ([#276](https://github.com/TaceoLabs/co-snarks/issues/276)) ([b029f37](https://github.com/TaceoLabs/co-snarks/commit/b029f3778cf3d0be7ef00c51dbcffbb59e61a305))


### Code Refactoring

* Removed ark_relations deps. Also changed verify impls to not return bool but a common error ([b4f4bf1](https://github.com/TaceoLabs/co-snarks/commit/b4f4bf16beaa83108bc2ae6c6f972ab4e4da4473))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* circom-types bumped from 0.6.0 to 0.7.0
* mpc-core bumped from 0.6.0 to 0.7.0

## [0.2.0](https://github.com/TaceoLabs/co-snarks/compare/co-circom-snarks-v0.1.2...co-circom-snarks-v0.2.0) (2024-11-12)


Expand Down
6 changes: 3 additions & 3 deletions co-circom/co-circom-snarks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[package]
name = "co-circom-snarks"
version = "0.2.0"
version = "0.3.0"
publish.workspace = true
authors.workspace = true
edition.workspace = true
Expand All @@ -15,9 +15,9 @@ rust-version.workspace = true
[dependencies]
ark-ff = { workspace = true }
ark-serialize = { workspace = true }
circom-types = { version = "0.6.0", path = "../circom-types" }
circom-types = { version = "0.7.0", path = "../circom-types" }
eyre = { workspace = true }
mpc-core = { version = "0.6.0", path = "../../mpc-core" }
mpc-core = { version = "0.7.0", path = "../../mpc-core" }
num-traits = { workspace = true }
rand = { workspace = true }
serde = { workspace = true }
Expand Down
60 changes: 60 additions & 0 deletions co-circom/co-circom/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,66 @@
* co-plonk bumped from 0.3.0 to 0.3.1
* mpc-core bumped from 0.4.0 to 0.5.0

## [0.7.0](https://github.com/TaceoLabs/co-snarks/compare/co-circom-v0.6.0...co-circom-v0.7.0) (2024-12-16)


### ⚠ BREAKING CHANGES

* Now the verify impls from groth16/plonk circom return an error indicating whether it was a success or not
* changed the traits for circom bridge. Also modified the from_reader impl for the two Zkeys
* serialization format of shared inputs has changed to allow for optional values used to indicate missing elements of an array
* MPC accelerator changed public API. Also now stores #output signals in component
* input to compiler now takes PathBuf
* run and run_with_flat methods on WitnessExtension now consume self again
* MpcNetworkHandler::establish now takes the config with already read certs and key.
* Removes the zkey in the said function signature. We needed it earlier because we had to know domain size, which we now no longer need.
* the prover for Groth16/Plonk now expects an Arc<ZKey>. Cleaner than having multiple Arcs in ZKey
* The serialized format of shares is now different.
* Refactor calls to other crates because of API changes

### Features

* add support for merging input arrays ([#260](https://github.com/TaceoLabs/co-snarks/issues/260)) ([2c72231](https://github.com/TaceoLabs/co-snarks/commit/2c722317efee4b07fef92dcc7c6218033a25f04b))
* Add the possibility to share co-circom inputs and witness in compressed form ([c3443e1](https://github.com/TaceoLabs/co-snarks/commit/c3443e1d6118f18c98c260b426307a16a2de9f76))
* added run_and_get_network to CircomRep3VmWitnessExtension, changed run and run_with_flat back to consume self ([b362504](https://github.com/TaceoLabs/co-snarks/commit/b362504d8a5affa8a5e8eca3f214c04951ad5b50))
* allow to set circom simplification level via CLI ([b0d64ba](https://github.com/TaceoLabs/co-snarks/commit/b0d64ba683c1dbab67102d31f1e1ab80108fb7d9))
* also allow circom-compatible way to handle link library via cli ([#285](https://github.com/TaceoLabs/co-snarks/issues/285)) ([48e6c0f](https://github.com/TaceoLabs/co-snarks/commit/48e6c0f704e9bcb623f714392691a3cc8fa6cfbe))
* can now parse bool inputs ([#236](https://github.com/TaceoLabs/co-snarks/issues/236)) ([d0147b6](https://github.com/TaceoLabs/co-snarks/commit/d0147b60810545d1a8796370b82c50eac1d7739d))
* now can specify whether we want curve checks during zkey deser ([e1c03f3](https://github.com/TaceoLabs/co-snarks/commit/e1c03f3ba979bface5ea79062d95ffc088fdfda0))
* num2bits accelerator working ([13cdf10](https://github.com/TaceoLabs/co-snarks/commit/13cdf100b79c642649d31501833ed182dd7e8b90))


### Bug Fixes

* added a check during groth16 prover for public inputs ([76466eb](https://github.com/TaceoLabs/co-snarks/commit/76466eb2d662efa4d5061e53e09470740763c77f))
* fixed path in zkey benches ([#231](https://github.com/TaceoLabs/co-snarks/issues/231)) ([99ab2de](https://github.com/TaceoLabs/co-snarks/commit/99ab2de32db9b27ca219fd93d7f8f17ab9692984))
* handle inputs that are &gt;= mod in the same way as snarkjs ([76f701b](https://github.com/TaceoLabs/co-snarks/commit/76f701b63fc94e9643aefb3ded9670843a0e716f))
* install rustls default crypto provider in our main binaries & examples ([#238](https://github.com/TaceoLabs/co-snarks/issues/238)) ([78757e4](https://github.com/TaceoLabs/co-snarks/commit/78757e46d8622360377d27c5d475d417bed95c5a))


### Code Refactoring

* input to compiler now takes PathBuf ([9f36774](https://github.com/TaceoLabs/co-snarks/commit/9f36774f0ff93c3c3abd28efae6599fc531bb1fb))
* prove for circom now expect Arc&lt;ZKey&gt; ([c2ac465](https://github.com/TaceoLabs/co-snarks/commit/c2ac465ebf6f3a28b902d9f0489e3f57c0843d7f))
* Refactor calls to other crates because of API changes ([6ed7c1a](https://github.com/TaceoLabs/co-snarks/commit/6ed7c1ad34e5dabd3ba1464cc805d5427d543f68))
* Removed ark_relations deps. Also changed verify impls to not return bool but a common error ([b4f4bf1](https://github.com/TaceoLabs/co-snarks/commit/b4f4bf16beaa83108bc2ae6c6f972ab4e4da4473))
* split network config into two types ([dca1756](https://github.com/TaceoLabs/co-snarks/commit/dca175603a5d6a2f75ccd987cb0b19cc3d965b00))
* with_network_config for ShamirGroth16 doesn't need zkey anymore ([2052d89](https://github.com/TaceoLabs/co-snarks/commit/2052d89cc4abb531702886daf70c47ee3b1ecf1a))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* circom-mpc-compiler bumped from 0.7.0 to 0.8.0
* circom-mpc-vm bumped from 0.5.0 to 0.6.0
* circom-types bumped from 0.6.0 to 0.7.0
* co-circom-snarks bumped from 0.2.0 to 0.3.0
* co-groth16 bumped from 0.6.0 to 0.7.0
* co-plonk bumped from 0.4.0 to 0.5.0
* mpc-core bumped from 0.6.0 to 0.7.0
* mpc-net bumped from 0.2.0 to 0.2.1

## [0.6.0](https://github.com/TaceoLabs/co-snarks/compare/co-circom-v0.5.1...co-circom-v0.6.0) (2024-11-12)


Expand Down
18 changes: 9 additions & 9 deletions co-circom/co-circom/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "co-circom"
version = "0.6.0"
version = "0.7.0"

publish.workspace = true
authors.workspace = true
Expand All @@ -18,19 +18,19 @@ ark-bn254.workspace = true
ark-ec.workspace = true
ark-ff.workspace = true
bincode.workspace = true
circom-mpc-compiler = { version = "0.7.0", path = "../circom-mpc-compiler" }
circom-mpc-vm = { version = "0.5.0", path = "../circom-mpc-vm" }
circom-types = { version = "0.6.0", path = "../circom-types" }
circom-mpc-compiler = { version = "0.8.0", path = "../circom-mpc-compiler" }
circom-mpc-vm = { version = "0.6.0", path = "../circom-mpc-vm" }
circom-types = { version = "0.7.0", path = "../circom-types" }
clap.workspace = true
co-circom-snarks = { version = "0.2.0", path = "../co-circom-snarks" }
co-groth16 = { version = "0.6.0", path = "../co-groth16", features = [
co-circom-snarks = { version = "0.3.0", path = "../co-circom-snarks" }
co-groth16 = { version = "0.7.0", path = "../co-groth16", features = [
"verifier",
] }
co-plonk = { version = "0.4.0", path = "../co-plonk" }
co-plonk = { version = "0.5.0", path = "../co-plonk" }
color-eyre.workspace = true
figment.workspace = true
mpc-core = { version = "0.6.0", path = "../../mpc-core" }
mpc-net = { version = "0.2.0", path = "../../mpc-net" }
mpc-core = { version = "0.7.0", path = "../../mpc-core" }
mpc-net = { version = "0.2.1", path = "../../mpc-net" }
num-bigint.workspace = true
num-traits.workspace = true
rand.workspace = true
Expand Down
44 changes: 44 additions & 0 deletions co-circom/co-groth16/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,50 @@
* co-circom-snarks bumped from 0.1.1 to 0.1.2
* mpc-core bumped from 0.4.0 to 0.5.0

## [0.7.0](https://github.com/TaceoLabs/co-snarks/compare/co-groth16-v0.6.0...co-groth16-v0.7.0) (2024-12-16)


### ⚠ BREAKING CHANGES

* Now the verify impls from groth16/plonk circom return an error indicating whether it was a success or not
* Removed unnecessary parts of the zkey
* changed the traits for circom bridge. Also modified the from_reader impl for the two Zkeys
* Removes the zkey in the said function signature. We needed it earlier because we had to know domain size, which we now no longer need.
* the prover for Groth16/Plonk now expects an Arc<ZKey>. Cleaner than having multiple Arcs in ZKey
* the public interface of the Groth16MPCProver trait has changed.
* refactors everything that all groth16 specific functionallity is not in MPC-core anymore.

### Features

* added plain prover shorthand function ([b365fcd](https://github.com/TaceoLabs/co-snarks/commit/b365fcd89390dad585933f39a2db32473081d060))
* now can specify whether we want curve checks during zkey deser ([e1c03f3](https://github.com/TaceoLabs/co-snarks/commit/e1c03f3ba979bface5ea79062d95ffc088fdfda0))
* prepare functions for compressed rep3 sharing ([55bef10](https://github.com/TaceoLabs/co-snarks/commit/55bef10313378e8ca14f2f22f312c84462a92a7e))
* refactors all according to MPC-core + Rayon ([44a5d2d](https://github.com/TaceoLabs/co-snarks/commit/44a5d2d4f1e406331f127cd89de369a66d41b105))


### Bug Fixes

* added a check during groth16 prover for public inputs ([76466eb](https://github.com/TaceoLabs/co-snarks/commit/76466eb2d662efa4d5061e53e09470740763c77f))


### Code Refactoring

* make pointshare in Groth16 MPC trait generic over the curve ([dc5acd2](https://github.com/TaceoLabs/co-snarks/commit/dc5acd28db03920982de623f51dd4df236ff7381))
* prove for circom now expect Arc&lt;ZKey&gt; ([c2ac465](https://github.com/TaceoLabs/co-snarks/commit/c2ac465ebf6f3a28b902d9f0489e3f57c0843d7f))
* Removed ark_relations deps. Also changed verify impls to not return bool but a common error ([b4f4bf1](https://github.com/TaceoLabs/co-snarks/commit/b4f4bf16beaa83108bc2ae6c6f972ab4e4da4473))
* Removed unnecessary parts of the zkey ([0713260](https://github.com/TaceoLabs/co-snarks/commit/071326056a8d47aca9d72e8848773981a3cbbc89))
* with_network_config for ShamirGroth16 doesn't need zkey anymore ([2052d89](https://github.com/TaceoLabs/co-snarks/commit/2052d89cc4abb531702886daf70c47ee3b1ecf1a))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* circom-types bumped from 0.6.0 to 0.7.0
* co-circom-snarks bumped from 0.2.0 to 0.3.0
* mpc-core bumped from 0.6.0 to 0.7.0
* mpc-net bumped from 0.2.0 to 0.2.1

## [0.6.0](https://github.com/TaceoLabs/co-snarks/compare/co-groth16-v0.5.1...co-groth16-v0.6.0) (2024-11-12)


Expand Down
Loading

0 comments on commit 499e20a

Please sign in to comment.