@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dorafactory/maci-sdk",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "SDK for interacting with maci",
5
5
  "keywords": [
6
6
  "maci",
@@ -148,6 +148,15 @@ export function getContractParams(
148
148
  // plonkTallyVkey,
149
149
  };
150
150
  case MaciRoundType.ORACLE_MACI:
151
+ if (circuitType === MaciCircuitType.IP1V) {
152
+ groth16ProcessVkey =
153
+ CIRCUIT_INFO['9-4-3-625']['groth16'].process_1p1v_vkey;
154
+ groth16TallyVkey = CIRCUIT_INFO['9-4-3-625']['groth16'].tally_1p1v_vkey;
155
+ } else if (circuitType === MaciCircuitType.QV) {
156
+ groth16ProcessVkey =
157
+ CIRCUIT_INFO['9-4-3-625']['groth16'].process_qv_vkey;
158
+ groth16TallyVkey = CIRCUIT_INFO['9-4-3-625']['groth16'].tally_qv_vkey;
159
+ }
151
160
  return {
152
161
  parameters: CIRCUIT_INFO['9-4-3-625'].parameter,
153
162
  groth16ProcessVkey,