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