Skip to content

Commit c366c6e

Browse files
dbanks12Maddiaa0
andauthored
feat(avm-transpiler): Brillig to AVM transpiler (AztecProtocol#4227)
Resolves AztecProtocol#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>
1 parent 8928fb1 commit c366c6e

27 files changed

+2999
-9
lines changed

.circleci/config.yml

+15
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,17 @@ jobs:
125125
name: "Build"
126126
command: cond_spot_run_build noir-compile-acir-tests 32
127127

128+
avm-transpiler:
129+
docker:
130+
- image: aztecprotocol/alpine-build-image
131+
resource_class: small
132+
steps:
133+
- *checkout
134+
- *setup_env
135+
- run:
136+
name: "Build"
137+
command: cond_spot_run_build avm-transpiler 32
138+
128139
# Barretenberg
129140
barretenberg-wasm-linux-clang:
130141
docker:
@@ -1137,6 +1148,9 @@ workflows:
11371148
- noir-ecr-manifest
11381149
<<: *defaults
11391150

1151+
# Transpiler
1152+
- avm-transpiler: *defaults
1153+
11401154
# Barretenberg
11411155
- barretenberg-x86_64-linux-gcc: *defaults
11421156
- barretenberg-x86_64-linux-clang: *defaults
@@ -1185,6 +1199,7 @@ workflows:
11851199
# Yarn Project
11861200
- yarn-project-base:
11871201
requires:
1202+
- avm-transpiler
11881203
- l1-contracts
11891204
- bb-js
11901205
- noir-ecr-manifest

avm-transpiler/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/target
2+
.DS_Store

0 commit comments

Comments
 (0)