From f3f69c1ee8b830ab5c7cd8d634569c52c455a99f Mon Sep 17 00:00:00 2001 From: Colin Roberts Date: Wed, 23 Oct 2024 17:50:12 -0600 Subject: [PATCH] fix circuits again --- circuits/json_mask_array_index.circom | 2 ++ circuits/json_mask_object.circom | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/circuits/json_mask_array_index.circom b/circuits/json_mask_array_index.circom index ba53e08..5cf36c7 100644 --- a/circuits/json_mask_array_index.circom +++ b/circuits/json_mask_array_index.circom @@ -1,5 +1,7 @@ pragma circom 2.1.9; +include "parser-attestor/circuits/json/interpreter.circom"; + template JsonMaskArrayIndexNIVC(TOTAL_BYTES, DATA_BYTES, MAX_STACK_HEIGHT) { // ------------------------------------------------------------------------------------------------------------------ // // ~~ Set sizes at compile time ~~ diff --git a/circuits/json_mask_object.circom b/circuits/json_mask_object.circom index 3cd1e63..89b7135 100644 --- a/circuits/json_mask_object.circom +++ b/circuits/json_mask_object.circom @@ -107,4 +107,4 @@ template JsonMaskObjectNIVC(TOTAL_BYTES, DATA_BYTES, MAX_STACK_HEIGHT, maxKeyLen // No need to pad as this is currently when TOTAL_BYTES == TOTAL_BYTES_USED } -component main { public [step_in] } = JsonMaskArrayIndexNIVC(4160, 320, 5); +component main { public [step_in] } = JsonMaskObjectNIVC(4160, 320, 5, 10);