Skip to content

Commit

Permalink
add test, remove owner
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-kothari committed Jan 22, 2024
1 parent 862cf1e commit 1972fef
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,17 @@ jobs:
name: "Test"
command: cond_spot_run_compose end-to-end 4 ./scripts/docker-compose.yml TEST=e2e_sandbox_example.test.ts

e2e-singleton:
docker:
- image: aztecprotocol/alpine-build-image
resource_class: small
steps:
- *checkout
- *setup_env
- run:
name: "Test"
command: cond_spot_run_compose end-to-end 4 ./scripts/docker-compose.yml TEST=e2e_singleton.test.ts

e2e-block-building:
docker:
- image: aztecprotocol/alpine-build-image
Expand Down Expand Up @@ -1228,6 +1239,7 @@ workflows:
# TODO(3458): Investigate intermittent failure
# - e2e-slow-tree: *e2e_test
- e2e-sandbox-example: *e2e_test
- e2e-singleton: *e2e_test
- e2e-block-building: *e2e_test
- e2e-nested-contract: *e2e_test
- e2e-non-contract-account: *e2e_test
Expand Down Expand Up @@ -1265,6 +1277,7 @@ workflows:
- e2e-token-contract
- e2e-blacklist-token-contract
- e2e-sandbox-example
- e2e-singleton
- e2e-block-building
- e2e-nested-contract
- e2e-non-contract-account
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ contract DocsExample {
fn initialize_private(randomness: Field, points: u8) {
let mut legendary_card = CardNote::new(points, randomness, context.msg_sender());
// create and broadcast note
storage.legendary_card.initialize(&mut legendary_card, Option::some(legendary_card.owner), true);
storage.legendary_card.initialize(&mut legendary_card, Option::none(), true);
}

#[aztec(private)]
Expand Down

0 comments on commit 1972fef

Please sign in to comment.