Skip to content

Commit 2651b44

Browse files
authored
fix(ci): post-fix for noir projects cache bug (#16793)
2 parents 14b573c + ed699cb commit 2651b44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

noir-projects/noir-protocol-circuits/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function compile {
104104
# TODO: Change this to add verification_key to original json, like contracts does.
105105
# Will require changing TS code downstream.
106106
bytecode_hash=$(jq -r '.bytecode' $json_path | sha256sum | tr -d ' -')
107-
hash=$(hash_str "$BB_HASH-$bytecode_hash-$proto")
107+
hash=$(hash_str "$BB_HASH-$bytecode_hash-$proto-$(cache_content_hash "^noir-projects/noir-protocol-circuits/bootstrap.sh")")
108108
if ! cache_download vk-$hash.tar.gz 1>&2; then
109109
local key_path="$key_dir/$name.vk.data.json"
110110
echo_stderr "Generating vk for function: $name..."

0 commit comments

Comments
 (0)