Skip to content

Commit c254c3c

Browse files
AztecBotTomAFrench
andauthored
feat: Sync from aztec-packages (#7474)
Co-authored-by: Tom French <tom@tomfren.ch>
1 parent 5073370 commit c254c3c

File tree

20 files changed

+541
-159
lines changed

20 files changed

+541
-159
lines changed

.aztec-sync-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b60a39d989b77702a89ebb24047e5b2419915dc3
1+
f7a65ee697aa7e1a2bbdfcafe9d846aadd9aa2c2

.github/workflows/pull-request-title.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
force-push-comment:
3232
name: Warn external contributors about force-pushing
3333
runs-on: ubuntu-22.04
34-
if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != 'noir-lang/noir' }}
34+
if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != 'noir-lang/noir' }}
3535
permissions:
3636
pull-requests: write
37-
37+
3838
steps:
3939
- name: Post comment on force pushes
4040
uses: marocchino/sticky-pull-request-comment@v2
@@ -45,4 +45,3 @@ jobs:
4545
Please **do not force push to this branch** after the Noir team have started review of this PR. Doing so will only delay us merging your PR as we will need to start the review process from scratch.
4646
4747
Thanks for your understanding.
48-

.github/workflows/reports.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ jobs:
115115
116116
./gates_report_brillig.sh 9223372036854775807
117117
jq '.programs |= map(.package_name |= (. + "_inliner_max"))' gates_report_brillig.json > ./reports/gates_report_brillig_inliner_max.json
118-
118+
119119
./gates_report_brillig.sh 0
120120
jq '.programs |= map(.package_name |= (. + "_inliner_zero"))' gates_report_brillig.json > ./reports/gates_report_brillig_inliner_zero.json
121-
121+
122122
./gates_report_brillig.sh -9223372036854775808
123123
jq '.programs |= map(.package_name |= (. + "_inliner_min"))' gates_report_brillig.json > ./reports/gates_report_brillig_inliner_min.json
124124
@@ -160,14 +160,14 @@ jobs:
160160
- name: Generate Brillig execution report
161161
working-directory: ./test_programs
162162
run: |
163-
mkdir ./reports
164-
163+
mkdir ./reports
164+
165165
./gates_report_brillig_execution.sh 9223372036854775807
166166
jq '.programs |= map(.package_name |= (. + "_inliner_max"))' gates_report_brillig_execution.json > ./reports/gates_report_brillig_execution_inliner_max.json
167167
168168
./gates_report_brillig_execution.sh 0
169169
jq '.programs |= map(.package_name |= (. + "_inliner_zero"))' gates_report_brillig_execution.json > ./reports/gates_report_brillig_execution_inliner_zero.json
170-
170+
171171
./gates_report_brillig_execution.sh -9223372036854775808
172172
jq '.programs |= map(.package_name |= (. + "_inliner_min"))' gates_report_brillig_execution.json > ./reports/gates_report_brillig_execution_inliner_min.json
173173
@@ -258,15 +258,15 @@ jobs:
258258
run: |
259259
./execution_report.sh 0 1
260260
mv execution_report.json ../execution_report.json
261-
261+
262262
- name: Upload compilation report
263263
uses: actions/upload-artifact@v4
264264
with:
265265
name: in_progress_compilation_report
266266
path: compilation_report.json
267267
retention-days: 3
268268
overwrite: true
269-
269+
270270
- name: Upload execution report
271271
uses: actions/upload-artifact@v4
272272
with:
@@ -413,7 +413,7 @@ jobs:
413413
test_programs/memory_report.sh
414414
test_programs/parse_memory.sh
415415
sparse-checkout-cone-mode: false
416-
416+
417417
- name: Download nargo binary
418418
uses: ./scripts/.github/actions/download-nargo
419419

@@ -503,10 +503,10 @@ jobs:
503503
fi
504504
505505
upload_compilation_report:
506-
name: Upload compilation report
506+
name: Upload compilation report
507507
needs: [generate_compilation_and_execution_report, external_repo_compilation_and_execution_report]
508508
# We want this job to run even if one variation of the matrix in `external_repo_compilation_and_execution_report` fails
509-
if: always()
509+
if: always()
510510
runs-on: ubuntu-22.04
511511
permissions:
512512
pull-requests: write
@@ -554,10 +554,10 @@ jobs:
554554
max-items-in-chart: 50
555555

556556
upload_compilation_memory_report:
557-
name: Upload compilation memory report
557+
name: Upload compilation memory report
558558
needs: [generate_memory_report, external_repo_memory_report]
559559
# We want this job to run even if one variation of the matrix in `external_repo_memory_report` fails
560-
if: always()
560+
if: always()
561561
runs-on: ubuntu-22.04
562562
permissions:
563563
pull-requests: write
@@ -604,10 +604,10 @@ jobs:
604604
max-items-in-chart: 50
605605

606606
upload_execution_memory_report:
607-
name: Upload execution memory report
607+
name: Upload execution memory report
608608
needs: [generate_memory_report, external_repo_memory_report]
609609
# We want this job to run even if one variation of the matrix in `external_repo_memory_report` fails
610-
if: always()
610+
if: always()
611611
runs-on: ubuntu-22.04
612612
permissions:
613613
pull-requests: write
@@ -655,10 +655,10 @@ jobs:
655655

656656

657657
upload_execution_report:
658-
name: Upload execution report
658+
name: Upload execution report
659659
needs: [generate_compilation_and_execution_report, external_repo_compilation_and_execution_report]
660660
# We want this job to run even if one variation of the matrix in `external_repo_compilation_and_execution_report` fails
661-
if: always()
661+
if: always()
662662
runs-on: ubuntu-22.04
663663
permissions:
664664
pull-requests: write

.github/workflows/test-js-packages.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,6 @@ jobs:
541541
fi
542542
env:
543543
NARGO_IGNORE_TEST_FAILURES_FROM_FOREIGN_CALLS: true
544-
545544
- name: Compare test results
546545
working-directory: ./noir-repo
547546
run: .github/scripts/check_test_results.sh .github/critical_libraries_status/${{ matrix.repo }}/${{ matrix.path }}.failures.jsonl .github/critical_libraries_status/${{ matrix.repo }}/${{ matrix.path }}.actual.jsonl
@@ -576,7 +575,7 @@ jobs:
576575
uses: actions/checkout@v4
577576
with:
578577
path: noir-repo
579-
578+
580579
- name: Checkout
581580
uses: actions/checkout@v4
582581
with:
@@ -595,13 +594,13 @@ jobs:
595594
596595
- name: Run nargo compile
597596
working-directory: ./test-repo/noir-projects/noir-contracts
598-
run: nargo compile --inliner-aggressiveness 0
597+
run: nargo compile --inliner-aggressiveness 0
599598

600599
upload_critical_library_report:
601-
name: Upload critical library report
600+
name: Upload critical library report
602601
needs: [external-repo-checks]
603602
# We want this job to run even if one variation of the matrix in `external-repo-checks` fails
604-
if: always()
603+
if: always()
605604
runs-on: ubuntu-22.04
606605
permissions:
607606
pull-requests: write

.vscode/settings.json

+6
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,11 @@
88
"[javascript]": {
99
"editor.defaultFormatter": "esbenp.prettier-vscode"
1010
},
11+
"[markdown]": {
12+
"files.trimTrailingWhitespace": true
13+
},
14+
"[yaml]": {
15+
"files.trimTrailingWhitespace": true
16+
},
1117
"rust-analyzer.server.extraEnv": { "RUSTUP_TOOLCHAIN": "stable" }
1218
}

0 commit comments

Comments
 (0)