Skip to content

Commit

Permalink
chore(avm-simulator): update e2e test (AztecProtocol/aztec-packages#5283
Browse files Browse the repository at this point in the history
)

* Add storage e2e tests
* Convert test contract methods to snake case to match other contracts.
* Remove `avm_` requirement in function names for transpilation. It's not needed, we rely on `#[aztec(public-vm)]`.
* Prepare ground in bootstrap.sh to transpile all files in parallel. It works but I'm being overly cautious and not enabling it on all files until I need it.
* Backup original contract before transpiling.
  • Loading branch information
AztecBot committed Mar 18, 2024
2 parents 5024f9b + 3ec0d3d commit 73fe3d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .aztec-sync-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0b15db2bea70696597911e82b60f0def595c1150
e9beeca769bbc9748fbf341e0c0b7d12b9db9faa
3 changes: 0 additions & 3 deletions aztec_macros/src/transforms/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ pub fn transform_vm_function(
// We want the function to be seen as a public function
func.def.is_unconstrained = true;

// NOTE: the line below is a temporary hack to trigger external transpilation tools
// It will be removed once the transpiler is integrated into the Noir compiler
func.def.name.0.contents = format!("avm_{}", func.def.name.0.contents);
Ok(())
}

Expand Down

0 comments on commit 73fe3d2

Please sign in to comment.