diff --git a/.github/workflows/reports.yml b/.github/workflows/reports.yml index 86a59310f6..f7fe78f656 100644 --- a/.github/workflows/reports.yml +++ b/.github/workflows/reports.yml @@ -76,7 +76,7 @@ jobs: - name: Compare gates reports id: gates_diff - uses: noir-lang/noir-gates-diff@1931aaaa848a1a009363d6115293f7b7fc72bb87 + uses: noir-lang/noir-gates-diff@84ada11295b9a1e1da7325af4e45e2db9f775175 with: report: gates_report.json summaryQuantile: 0.9 # only display the 10% most significant circuit size diffs in the summary (defaults to 20%) @@ -121,7 +121,7 @@ jobs: - name: Compare Brillig bytecode size reports id: brillig_bytecode_diff - uses: noir-lang/noir-gates-diff@d88f7523b013b9edd3f31c5cfddaef87a3fe1b48 + uses: noir-lang/noir-gates-diff@84ada11295b9a1e1da7325af4e45e2db9f775175 with: report: gates_report_brillig.json header: | @@ -170,7 +170,7 @@ jobs: - name: Compare Brillig execution reports id: brillig_execution_diff - uses: noir-lang/noir-gates-diff@d88f7523b013b9edd3f31c5cfddaef87a3fe1b48 + uses: noir-lang/noir-gates-diff@84ada11295b9a1e1da7325af4e45e2db9f775175 with: report: gates_report_brillig_execution.json header: | diff --git a/test_programs/gates_report.sh b/test_programs/gates_report.sh index b7698f1ca7..c92346f40e 100755 --- a/test_programs/gates_report.sh +++ b/test_programs/gates_report.sh @@ -24,7 +24,7 @@ for pathname in $test_dirs; do fi GATES_INFO=$($BACKEND gates -b "$artifacts_path/$ARTIFACT_NAME/target/program.json") - MAIN_FUNCTION_INFO=$(echo $GATES_INFO | jq -r ".functions[0] | {package_name: "\"$ARTIFACT_NAME\"", functions: [{name: \"main\", acir_opcodes, opcodes: .acir_opcodes, circuit_size}]}") + MAIN_FUNCTION_INFO=$(echo $GATES_INFO | jq -r ".functions[0] | {package_name: "\"$ARTIFACT_NAME\"", functions: [{name: \"main\", acir_opcodes, opcodes: .acir_opcodes, circuit_size}], unconstrained_functions: []}") echo -n $MAIN_FUNCTION_INFO >> gates_report.json if (($ITER == $NUM_ARTIFACTS)); then diff --git a/test_programs/gates_report_brillig.sh b/test_programs/gates_report_brillig.sh index d3f6344dbf..7343857a3c 100755 --- a/test_programs/gates_report_brillig.sh +++ b/test_programs/gates_report_brillig.sh @@ -28,6 +28,6 @@ done echo "]" >> Nargo.toml -nargo info --force-brillig --json > gates_report_brillig.json +nargo info --force-brillig --json | jq -r ".programs[].functions = []" > gates_report_brillig.json rm Nargo.toml diff --git a/test_programs/gates_report_brillig_execution.sh b/test_programs/gates_report_brillig_execution.sh index b3f4a8bda9..6a5a699e2d 100755 --- a/test_programs/gates_report_brillig_execution.sh +++ b/test_programs/gates_report_brillig_execution.sh @@ -38,6 +38,6 @@ done echo "]" >> Nargo.toml -nargo info --profile-execution --json > gates_report_brillig_execution.json +nargo info --profile-execution --json | jq -r ".programs[].functions = []" > gates_report_brillig_execution.json -rm Nargo.toml \ No newline at end of file +rm Nargo.toml