-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
PLONK requires the circuit description + witness indexes to be constant so the same verifier data can be reused to check different proofs. The previous implementation contained an optimization that swaps the witness index to reduce the number of gates. This optimization may lead to inconsistencies when reusing verifier keys because the verification will depend on the disposition of the witness data, and this is undesirable. Resolves #122
- Loading branch information
Showing
3 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "dusk-poseidon" | ||
version = "0.20.0-pre.1" | ||
version = "0.20.0" | ||
authors = [ | ||
"zer0 <[email protected]>", "vlopes11 <[email protected]>", "CPerezz <[email protected]>", "Kristoffer Ström <[email protected]>" | ||
] | ||
|
@@ -15,13 +15,13 @@ repository = "https://github.com/dusk-network/poseidon252" | |
dusk-bls12_381 = {version = "0.6", default-features = false} | ||
dusk-jubjub = {version = "0.8", default-features = false} | ||
dusk-bytes = "0.1" | ||
dusk-hades = { version = "0.15.0-pre", default-features = false } | ||
dusk-hades = { version = "0.15", default-features = false } | ||
canonical = {version = "0.5", optional = true} | ||
canonical_derive = {version = "0.5", optional = true} | ||
microkelvin = {version = "0.6", optional = true} | ||
nstack = {version = "0.7", optional = true} | ||
|
||
dusk-plonk = {version="0.7.0-pre", default-features = false, optional = true} | ||
dusk-plonk = {version="0.7", default-features = false, optional = true} | ||
anyhow = { version = "1.0", optional = true } | ||
thiserror = { version = "1.0", optional = true } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters