Skip to content

Commit

Permalink
chore(avm-simulator): test improvements (#4946)
Browse files Browse the repository at this point in the history
Make tests more concise and remove some duplicated calls to `AvmSimulator.execute()`.
  • Loading branch information
fcarreiro authored Mar 5, 2024
1 parent c085cbb commit f74e6a1
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 230 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ contract AvmTest {
context.push_new_nullifier(nullifier, 0);
}

// Use the standard context interface to emit a new nullifier
// Use the standard context interface to check for a nullifier
#[aztec(public-vm)]
fn nullifier_exists(nullifier: Field) -> pub u8 {
context.nullifier_exists(nullifier)
Expand Down
Loading

0 comments on commit f74e6a1

Please sign in to comment.