Skip to content

Commit

Permalink
check len of programs array
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Jan 14, 2025
1 parent 01f8e42 commit ac71576
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,19 @@ jobs:
./gates_report_brillig.sh 9223372036854775807
mv gates_report_brillig.json ./reports/gates_report_brillig_inliner_max.json
jq '.programs | length' ./reports/gates_report_brillig_inliner_max.json
./gates_report_brillig.sh 0
jq '.programs |= map(.package_name |= (. + "_inliner_zero"))' gates_report_brillig.json > ./reports/gates_report_brillig_inliner_zero.json
jq '.programs | length' ./reports/gates_report_brillig_inliner_zero.json
./gates_report_brillig.sh -9223372036854775808
jq '.programs |= map(.package_name |= (. + "_inliner_min"))' gates_report_brillig.json > ./reports/gates_report_brillig_inliner_min.json
cat ./reports/gates_report_brillig_inliner_min.json
jq '.programs | length' ./reports/gates_report_brillig_inliner_min.json
ls ./reports
jq -s '{ programs: map(.programs) | add }' ./reports/* > ../gates_report_brillig.json
cat ../gates_report_brillig.json
jq '.programs | length' ../gates_report_brillig.json
- name: Compare Brillig bytecode size reports
id: brillig_bytecode_diff
Expand Down

0 comments on commit ac71576

Please sign in to comment.