From 736d707cdd9cf88f7f018fd384d325dd901c472d Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Thu, 15 Jun 2023 13:38:10 +0000 Subject: [PATCH] fix(noir): remove jq command, as aztec3-hacky no longer outputs pk-vk --- yarn-project/noir-contracts/src/scripts/compile.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/yarn-project/noir-contracts/src/scripts/compile.sh b/yarn-project/noir-contracts/src/scripts/compile.sh index 23d4eb2c8f53..a8b03e52d4bc 100755 --- a/yarn-project/noir-contracts/src/scripts/compile.sh +++ b/yarn-project/noir-contracts/src/scripts/compile.sh @@ -13,13 +13,6 @@ for CONTRACT_NAME in "$@"; do nargo compile main --contracts fi - # Trim the output of the noir json, removing unneeded fields to make it small enough to be processed by copy_output.ts - # This is a workaround until noir output files get smaller - FILENAME=$(ls target/*.json) - echo "Trimming output for $FILENAME" - jq -c '.functions[] |= del(.proving_key, .verification_key)' $FILENAME > temp.json - mv temp.json $FILENAME - cd $ROOT echo "Copying output for $CONTRACT_NAME" NODE_OPTIONS=--no-warnings yarn ts-node --esm src/scripts/copy_output.ts $CONTRACT_NAME