Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions yarn-project/noir-contracts/src/scripts/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down