Skip to content

Commit

Permalink
Merge pull request #326 from EYBlockchain/hari/groth16
Browse files Browse the repository at this point in the history
Hari/groth16
  • Loading branch information
ChaitanyaKonda authored Dec 10, 2021
2 parents 2e0ea53 + 8fcc1aa commit fb53a86
Show file tree
Hide file tree
Showing 13 changed files with 58 additions and 443 deletions.
2 changes: 1 addition & 1 deletion common-files/classes/proof.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* ignore unused exports */

/**
Class representing a GM17 proof. Depending on the local definition of 'proof',
Class representing a G16 proof. Depending on the local definition of 'proof',
an object from this class may contain the public inputs as well as the a, b, c
terms. Verifier.sol expects the public inputs to be separate, zokrates verify
expects them to be in the same object. This class can accomodate either.
Expand Down
4 changes: 2 additions & 2 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ module.exports = {
onTimeout: false,
},
},
PROVING_SCHEME: process.env.PROVING_SCHEME || 'gm17',
BACKEND: process.env.BACKEND || 'libsnark',
PROVING_SCHEME: process.env.PROVING_SCHEME || 'g16',
BACKEND: process.env.BACKEND || 'bellman',
CURVE: process.env.CURVE || 'bn128',
PROOF_QUEUE: 'generate-proof',
BN128_GROUP_ORDER: 21888242871839275222246405745257275088548364400416034343698204186575808495617n,
Expand Down
Loading

0 comments on commit fb53a86

Please sign in to comment.