diff --git a/.circleci/config.yml b/.circleci/config.yml index 81eb7344f1f5..09f6fba81294 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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 @@ -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 diff --git a/yarn-project/noir-contracts/contracts/docs_example_contract/src/main.nr b/yarn-project/noir-contracts/contracts/docs_example_contract/src/main.nr index 5cf1adce8ed9..7d774c194a78 100644 --- a/yarn-project/noir-contracts/contracts/docs_example_contract/src/main.nr +++ b/yarn-project/noir-contracts/contracts/docs_example_contract/src/main.nr @@ -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)]