Skip to content

Commit

Permalink
feat(avm-transpiler): Brillig to AVM transpiler (#4227)
Browse files Browse the repository at this point in the history
Resolves #4270 

1. Transpiler module
2. Docker & CI for transpiler module
3. Auto-transpile contracts starting with `avm_test_*`
4. AVM test contract for transpilation & simulation
5. AVM Simulator test with transpiled contract
6. Small fix in TS TaggedMemory

---------

Co-authored-by: Maddiaa <47148561+Maddiaa0@users.noreply.github.com>
  • Loading branch information
dbanks12 and Maddiaa0 committed Jan 31, 2024
1 parent 8928fb1 commit c366c6e
Show file tree
Hide file tree
Showing 27 changed files with 2,999 additions and 9 deletions.
15 changes: 15 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,17 @@ jobs:
name: "Build"
command: cond_spot_run_build noir-compile-acir-tests 32

avm-transpiler:
docker:
- image: aztecprotocol/alpine-build-image
resource_class: small
steps:
- *checkout
- *setup_env
- run:
name: "Build"
command: cond_spot_run_build avm-transpiler 32

# Barretenberg
barretenberg-wasm-linux-clang:
docker:
Expand Down Expand Up @@ -1137,6 +1148,9 @@ workflows:
- noir-ecr-manifest
<<: *defaults

# Transpiler
- avm-transpiler: *defaults

# Barretenberg
- barretenberg-x86_64-linux-gcc: *defaults
- barretenberg-x86_64-linux-clang: *defaults
Expand Down Expand Up @@ -1185,6 +1199,7 @@ workflows:
# Yarn Project
- yarn-project-base:
requires:
- avm-transpiler
- l1-contracts
- bb-js
- noir-ecr-manifest
Expand Down
2 changes: 2 additions & 0 deletions avm-transpiler/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
.DS_Store
Loading

0 comments on commit c366c6e

Please sign in to comment.