-
Notifications
You must be signed in to change notification settings - Fork 236
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: (62 commits) refactor: note hashing gate optimizations (#7130) chore: fix migration notes (#7133) feat(p2p): more comprehensive peer management, dial retries, persistence fix (#6953) feat: devnet deployments (#7024) chore(avm): renamings and comments (#7128) refactor: `destroy_note(...)` optimization (#7103) 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: Ultra flavor cleanup (#7070) feat: Several updates in SMT verification module (#7105) fix: Fix bug for a unit test in full proving mode repated to MSM (#7104) feat!: make note_getter return BoundedVec instead of an Option array (#7050) chore: Remove unneeded public input folding (#7094) chore: reads the return data (#6669) test: Create workflow for full AVM tests (#7051) chore: Fix noir-projects dockerfile for CircleCI (#7093) fix: export event selector and replace function selector with event selector where appropriate (#7095) chore(avm): remove avm prefix from pil and executor (#7099) ...
- Loading branch information
Showing
493 changed files
with
22,962 additions
and
16,610 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Deploy to devnet | ||
on: | ||
push: | ||
branches: [devnet] | ||
|
||
env: | ||
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
GIT_COMMIT: ${{ github.sha }} | ||
# TF Vars | ||
TF_VAR_DOCKERHUB_ACCOUNT: aztecprotocol | ||
TF_VAR_CHAIN_ID: 31337 | ||
TF_VAR_BOOTNODE_1_PRIVATE_KEY: ${{ secrets.BOOTNODE_1_PRIVATE_KEY }} | ||
TF_VAR_BOOTNODE_2_PRIVATE_KEY: ${{ secrets.BOOTNODE_2_PRIVATE_KEY }} | ||
TF_VAR_SEQ_1_PUBLISHER_PRIVATE_KEY: ${{ secrets.SEQ_1_PUBLISHER_PRIVATE_KEY }} | ||
TF_VAR_SEQ_2_PUBLISHER_PRIVATE_KEY: ${{ secrets.SEQ_2_PUBLISHER_PRIVATE_KEY }} | ||
TF_VAR_DEPLOY_TAG: devnet | ||
TF_VAR_API_KEY: ${{ secrets.FORK_API_KEY }} | ||
|
||
jobs: | ||
setup: | ||
uses: ./.github/workflows/setup-runner.yml | ||
with: | ||
username: master | ||
runner_type: builder-x86 | ||
secrets: inherit | ||
|
||
build: | ||
runs-on: ${{ github.actor }}-x86 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: { ref: "${{ env.GIT_COMMIT }}" } | ||
- uses: ./.github/ci-setup-action | ||
with: | ||
dockerhub_password: "${{ secrets.DOCKERHUB_PASSWORD }}" | ||
concurrency_key: build-release-artifacts-${{ github.actor }} | ||
- name: "Build & Push images" | ||
timeout-minutes: 40 | ||
# Run the build steps for each image with version and arch, push to dockerhub | ||
run: | | ||
earthly-ci --no-output --push ./yarn-project+export-aztec-arch --DIST_TAG=devnet | ||
terraform_deploy: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: { ref: "${{ env.GIT_COMMIT }}" } | ||
- uses: hashicorp/setup-terraform@v3 | ||
with: | ||
terraform_version: 1.7.5 | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-west-2 | ||
|
||
- name: Deploy Bootstrap Nodes | ||
working-directory: ./yarn-project/aztec/terraform/node | ||
run: | | ||
terraform init -input=false -backend-config="key=devnet/aztec-node" | ||
terraform apply -input=false -auto-approve | ||
- name: Deploy Aztec Nodes | ||
working-directory: ./yarn-project/aztec/terraform/node | ||
run: | | ||
terraform init -input=false -backend-config="key=devnet/aztec-node" | ||
terraform apply -input=false -auto-approve |
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: AVM Full Tests | ||
|
||
on: | ||
schedule: | ||
- cron: "15 4 * * 1-5" # Monday to Friday at 4:15 AM UTC | ||
workflow_dispatch: | ||
inputs: | ||
username: | ||
description: "Username (optional)" | ||
required: false | ||
action: | ||
description: "Default to 'start'" | ||
required: false | ||
default: "start" | ||
|
||
concurrency: | ||
# force parallelism in master | ||
group: avm-full-tests-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
DOCKERHUB_PASSWORD: "${{ secrets.DOCKERHUB_PASSWORD }}" | ||
RUN_ID: ${{ github.run_id }} | ||
RUN_ATTEMPT: ${{ github.run_attempt }} | ||
USERNAME: ${{ github.event.pull_request.user.login || github.actor }} | ||
GITHUB_TOKEN: ${{ github.token }} | ||
GH_SELF_HOSTED_RUNNER_TOKEN: ${{ secrets.GH_SELF_HOSTED_RUNNER_TOKEN }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
BUILD_INSTANCE_SSH_KEY: ${{ secrets.BUILD_INSTANCE_SSH_KEY }} | ||
GIT_COMMIT: ${{ github.event.pull_request.head.sha || github.sha }} | ||
# kludge until we move away from runners | ||
WAIT_FOR_RUNNERS: false | ||
|
||
jobs: | ||
setup: | ||
uses: ./.github/workflows/setup-runner.yml | ||
with: | ||
username: ${{ github.event.pull_request.user.login || github.actor }} | ||
runner_type: builder-x86 | ||
secrets: inherit | ||
|
||
# barretenberg (prover) native and AVM (public VM) tests | ||
# only ran on x86 for resource reasons (memory intensive) | ||
avm-full-tests: | ||
needs: [setup] | ||
runs-on: ${{ github.event.pull_request.user.login || github.actor }}-x86 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: { ref: "${{ env.GIT_COMMIT }}" } | ||
# Only allow one memory-hunger prover test to use this runner | ||
- uses: ./.github/ci-setup-action | ||
with: | ||
# must be globally unique for build x runner | ||
concurrency_key: avm-full-tests-x86 | ||
- name: "AVM Full Tests" | ||
working-directory: ./barretenberg/cpp/ | ||
timeout-minutes: 90 | ||
# limit our parallelism to half our cores | ||
run: earthly-ci --no-output +vm-full-test --hardware_concurrency=64 |
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.42.0", | ||
".": "0.43.0", | ||
"yarn-project/cli": "0.35.1", | ||
"yarn-project/aztec": "0.42.0", | ||
"barretenberg": "0.42.0", | ||
"barretenberg/ts": "0.42.0" | ||
"yarn-project/aztec": "0.43.0", | ||
"barretenberg": "0.43.0", | ||
"barretenberg/ts": "0.43.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
Oops, something went wrong.