-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into sync-noir
* master: (81 commits) feat: Encode static error strings in the ABI (#9552) chore: redo typo PR by donatik27 (#9693) chore: update install instructions for foundry to display version of rust to install (#9653) chore: disable bench upload until #9692 fix: earthly-ci in bench-e2e (#9689) chore: redo typo PR by cypherpepe (#9687) chore: redo typo PR by youyyytrok (#9686) chore: redo typo PR by mdqst (#9685) chore: redo typo PR by mdqst (#9684) feat: adding tags to encrypted logs (#9566) fix: enable gerousia e2e test (#9677) git subrepo push --branch=master noir-projects/aztec-nr git_subrepo.sh: Fix parent in .gitrepo file. [skip ci] chore: replace relative paths to noir-protocol-circuits git subrepo push --branch=master barretenberg chore: redo typo PR by dsarfed (#9667) fix: bench e2e jobs (#9662) fix: Fix random for Mac users (#9670) feat: Graph methods for circuit analysis (part 1) (#7948) feat: Faster random sampling (#9655) ...
- Loading branch information
Showing
623 changed files
with
12,803 additions
and
5,615 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# Checks bb (barretenberg prover library) prover with sanitizers | ||
# Unlike most jobs uses free 4 core github runners of which we have lots of capacity (of total 1000 concurrency). | ||
name: BB MSAN | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- "*/bb-sanitizers*" | ||
pull_request: | ||
types: [opened, synchronize, reopened, labeled] | ||
paths: | ||
- 'barretenberg/**' | ||
workflow_dispatch: | ||
inputs: {} | ||
|
||
concurrency: | ||
# force parallelism in master | ||
group: ci-${{ github.ref_name == 'master' && github.run_id || github.ref_name }} | ||
cancel-in-progress: true | ||
jobs: | ||
# acts as prover performance baseline | ||
bb-baseline: | ||
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'bb-msan-check') | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: earthly/actions-setup@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Barretenberg Baseline Performance Check" | ||
run: earthly --no-cache ./barretenberg/cpp/+preset-check --preset=clang16 | ||
|
||
# memory sanitzer for prover | ||
bb-msan-check: | ||
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'bb-msan-check') | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: earthly/actions-setup@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Barretenberg Prover MSAN Check" | ||
|
||
run: earthly --no-cache ./barretenberg/cpp/+preset-msan-check || true | ||
|
||
# address sanitzer for prover | ||
bb-asan-check: | ||
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'bb-asan-check') | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: earthly/actions-setup@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Barretenberg Prover ASAN Check" | ||
timeout-minutes: 720 # 12 hour timeout (proving) | ||
run: earthly --no-cache ./barretenberg/cpp/+preset-check --preset=asan | ||
|
||
# address sanitzer for prover | ||
bb-tsan-check: | ||
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'bb-tsan-check') | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: earthly/actions-setup@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Barretenberg Prover TSAN Check" | ||
timeout-minutes: 720 # 12 hour timeout (proving) | ||
run: earthly --no-cache ./barretenberg/cpp/+preset-check --preset=tsan || true | ||
|
||
# undefined behavior sanitzer for prover | ||
bb-ubsan-check: | ||
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'bb-ubsan-check') | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: earthly/actions-setup@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Barretenberg Prover TSAN Check" | ||
timeout-minutes: 720 # 12 hour timeout (proving) | ||
run: earthly --no-cache ./barretenberg/cpp/+preset-check --preset=ubsan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ on: | |
branches: | ||
- master | ||
- "*/release-master*" | ||
- ludamad-patch-2 | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
".": "0.61.0", | ||
".": "0.62.0", | ||
"yarn-project/cli": "0.35.1", | ||
"yarn-project/aztec": "0.61.0", | ||
"barretenberg": "0.61.0", | ||
"barretenberg/ts": "0.61.0" | ||
"yarn-project/aztec": "0.62.0", | ||
"barretenberg": "0.62.0", | ||
"barretenberg/ts": "0.62.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Use an ARG to define the architecture, defaulting to amd64 | ||
ARG ARCH=amd64 | ||
# aztec must be built from Dockerfile.fast | ||
FROM aztecprotocol/aztec AS aztec | ||
FROM aztecprotocol/build:1.0-${ARCH} | ||
|
||
# Install additional dependencies | ||
RUN apt-get update && apt-get install -y software-properties-common \ | ||
&& add-apt-repository ppa:xtradeb/apps -y && apt-get update \ | ||
&& apt-get install -y wget gnupg \ | ||
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ | ||
&& echo "deb [arch=$(dpkg --print-architecture)] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \ | ||
&& apt update && apt install -y curl chromium netcat-openbsd \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ENV CHROME_BIN="/usr/bin/chromium" | ||
ENV PATH=/opt/foundry/bin:$PATH | ||
ENV HARDWARE_CONCURRENCY="" | ||
ENV FAKE_PROOFS="" | ||
ENV PROVER_AGENT_CONCURRENCY=8 | ||
|
||
COPY --from=aztec /usr/src/ /usr/src/ | ||
WORKDIR /usr/src/yarn-project/end-to-end | ||
|
||
ENTRYPOINT ["yarn", "test"] |
Oops, something went wrong.