@@ -29,11 +29,11 @@ export circuits_hash=$(hash_str "$NOIR_HASH" $(cache_content_hash "^noir-project
29
29
30
30
# Circuits matching these patterns we have client-ivc keys computed, rather than ultra-honk.
31
31
readarray -t ivc_patterns < <( jq -r ' .[]' " ../client_ivc_circuits.json" )
32
- readarray -t ivc_tail_patterns < <( jq -r ' .[] ' " ../client_ivc_tail_circuits.json " )
32
+ ivc_hiding_pattern=( " hiding " )
33
33
readarray -t rollup_honk_patterns < <( jq -r ' .[]' " ../rollup_honk_circuits.json" )
34
34
# Convert to regex string here and export for use in exported functions.
35
35
export ivc_regex=$( IFS=" |" ; echo " ${ivc_patterns[*]} " )
36
- export private_tail_regex =$( IFS=" |" ; echo " ${ivc_tail_patterns [*]} " )
36
+ export hiding_kernel_regex =$( IFS=" |" ; echo " ${ivc_hiding_pattern [*]} " )
37
37
export rollup_honk_regex=$( IFS=" |" ; echo " ${rollup_honk_patterns[*]} " )
38
38
39
39
function on_exit {
@@ -74,10 +74,10 @@ function compile {
74
74
cache_upload circuit-$hash .tar.gz $json_path & > /dev/null
75
75
fi
76
76
77
- if echo " $name " | grep -qE " ${private_tail_regex } " ; then
77
+ if echo " $name " | grep -qE " ${hiding_kernel_regex } " ; then
78
78
local proto=" client_ivc_tail"
79
79
# We still need the standalone IVC vk. We also create the final IVC vk from the tail (specifically, the number of public inputs is used from it).
80
- local write_vk_cmd=" write_vk --scheme client_ivc --verifier_type standalone "
80
+ local write_vk_cmd=" write_vk --scheme client_ivc --verifier_type hiding "
81
81
elif echo " $name " | grep -qE " ${ivc_regex} " ; then
82
82
local proto=" client_ivc"
83
83
local write_vk_cmd=" write_vk --scheme client_ivc --verifier_type standalone"
@@ -123,7 +123,7 @@ function compile {
123
123
echo_stderr " Root rollup verifier at: $verifier_path (${SECONDS} s)"
124
124
# Include the verifier path if we create it.
125
125
cache_upload vk-$hash .tar.gz $key_path $verifier_path & > /dev/null
126
- elif echo " $name " | grep -qE " ${private_tail_regex } " ; then
126
+ elif echo " $name " | grep -qE " ${hiding_kernel_regex } " ; then
127
127
# If we are a tail kernel circuit, we also need to generate the ivc vk.
128
128
SECONDS=0
129
129
local ivc_vk_path=" $key_dir /${name} .ivc.vk"
0 commit comments