@dorafactory/maci-sdk 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3732,6 +3732,13 @@ function getContractParams(type, circuitType, proofSystem, maxVoter, maxOption)
3732
3732
  // plonkTallyVkey,
3733
3733
  };
3734
3734
  case "2" /* ORACLE_MACI */:
3735
+ if (circuitType === "0" /* IP1V */) {
3736
+ groth16ProcessVkey = CIRCUIT_INFO["9-4-3-625"]["groth16"].process_1p1v_vkey;
3737
+ groth16TallyVkey = CIRCUIT_INFO["9-4-3-625"]["groth16"].tally_1p1v_vkey;
3738
+ } else if (circuitType === "1" /* QV */) {
3739
+ groth16ProcessVkey = CIRCUIT_INFO["9-4-3-625"]["groth16"].process_qv_vkey;
3740
+ groth16TallyVkey = CIRCUIT_INFO["9-4-3-625"]["groth16"].tally_qv_vkey;
3741
+ }
3735
3742
  return {
3736
3743
  parameters: CIRCUIT_INFO["9-4-3-625"].parameter,
3737
3744
  groth16ProcessVkey,