Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,18 +443,6 @@ jobs:
command: build aztec
aztec_manifest_key: aztec

cli:
machine:
image: default
resource_class: large
steps:
- *checkout
- *setup_env
- run:
name: "Build and test"
command: build cli
aztec_manifest_key: cli

mainnet-fork:
machine:
image: default
Expand Down Expand Up @@ -621,7 +609,6 @@ jobs:
should_release || exit 0
deploy_dockerhub noir
deploy_dockerhub aztec
deploy_dockerhub cli
deploy_dockerhub aztec-faucet
deploy_dockerhub mainnet-fork
- run:
Expand Down Expand Up @@ -851,7 +838,6 @@ workflows:

# Artifacts
- aztec-package: *defaults_yarn_project
- cli: *defaults_yarn_project

# Boxes.
- boxes:
Expand All @@ -872,7 +858,6 @@ workflows:
requires:
- end-to-end
- aztec-package
- cli
<<: *defaults

# Everything that must complete before deployment.
Expand Down
3 changes: 0 additions & 3 deletions aztec-up/bin/aztec-install
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ function title() {
fi
echo -e "This will install the following scripts and update your PATH if necessary:"
echo -e " ${bold}${g}aztec${r} - launches various infrastructure subsystems (node, sequencer, prover, pxe, etc)."
echo -e " ${bold}${g}aztec-cli${r} - a command line tool for interfacing and experimenting with infrastructure."
echo -e " ${bold}${g}aztec-nargo${r} - aztec's build of nargo, the noir compiler toolchain."
echo -e " ${bold}${g}aztec-sandbox${r} - a wrapper around docker-compose that launches services needed for sandbox testing."
echo -e " ${bold}${g}aztec-up${r} - a tool to upgrade the aztec toolchain to the latest, or specific versions."
Expand Down Expand Up @@ -106,7 +105,6 @@ export DOCKER_CLI_HINTS=false
if [ -z "${SKIP_PULL:-}" ]; then
info "Pulling aztec version $VERSION..."
pull_container aztec
pull_container cli
pull_container noir
fi

Expand All @@ -123,7 +121,6 @@ info "Installing scripts in $BIN_PATH..."
rm -f $BIN_PATH/aztec*
install_bin .aztec-run
install_bin aztec
install_bin aztec-cli
install_bin aztec-sandbox
install_bin aztec-up
install_bin aztec-nargo
Expand Down
2 changes: 1 addition & 1 deletion boxes/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ COPY --from=noir-projects /usr/src/noir-projects/noir-protocol-circuits/crates/t
WORKDIR /usr/src/boxes
COPY . .
ENV AZTEC_NARGO=/usr/src/noir/noir-repo/target/release/nargo
ENV AZTEC_CLI=/usr/src/yarn-project/cli/aztec-cli-dest
ENV AZTEC_COMPILE=/usr/src/yarn-project/noir-compiler/aztec-compile-dest
RUN yarn
RUN npx -y playwright@1.42 install --with-deps
ENTRYPOINT ["/bin/sh", "-c"]
2 changes: 1 addition & 1 deletion boxes/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:
WORKDIR /usr/src/boxes
COPY . .
ENV AZTEC_NARGO=/usr/src/noir/noir-repo/target/release/nargo
ENV AZTEC_CLI=/usr/src/yarn-project/cli/aztec-cli-dest
ENV AZTEC_COMPILE=/usr/src/yarn-project/noir-compiler/aztec-compile-dest
RUN yarn && yarn build
RUN npx -y playwright@1.42 install --with-deps
ENTRYPOINT ["/bin/sh", "-c"]
2 changes: 1 addition & 1 deletion boxes/boxes/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"main": "./dist/index.js",
"scripts": {
"compile": "cd src/contracts && ${AZTEC_NARGO:-aztec-nargo} compile",
"codegen": "${AZTEC_CLI:-aztec-cli} codegen src/contracts/target -o artifacts",
"codegen": "${AZTEC_COMPILE:-aztec-compile} codegen src/contracts/target -o artifacts",
"clean": "rm -rf ./dist .tsbuildinfo ./artifacts ./src/contracts/target",
"prep": "yarn clean && yarn compile && yarn codegen",
"dev": "yarn prep && webpack serve --mode development",
Expand Down
2 changes: 1 addition & 1 deletion boxes/boxes/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"compile": "cd src/contracts && ${AZTEC_NARGO:-aztec-nargo} compile",
"codegen": "${AZTEC_CLI:-aztec-cli} codegen src/contracts/target -o artifacts",
"codegen": "${AZTEC_COMPILE:-aztec-compile} codegen src/contracts/target -o artifacts",
"clean": "rm -rf ./dest .tsbuildinfo ./artifacts ./src/contracts/target",
"prep": "yarn clean && yarn compile && yarn codegen && tsc -b",
"dev": "yarn prep && webpack serve --mode development",
Expand Down
2 changes: 1 addition & 1 deletion boxes/contract-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"compile": "cd src && ${AZTEC_NARGO:-aztec-nargo} compile",
"codegen": "${AZTEC_CLI:-aztec-cli} codegen target -o artifacts",
"codegen": "${AZTEC_COMPILE:-aztec-compile} codegen target -o artifacts",
"clean": "rm -rf ./dest .tsbuildinfo ./artifacts ./target",
"prep": "yarn clean && yarn compile && yarn codegen && tsc -b",
"test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --runInBand",
Expand Down
10 changes: 0 additions & 10 deletions build_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ yarn-project-test:
rebuildPatterns:
- ^yarn-project/.*\.(ts|tsx|js|cjs|mjs|json|html|md|sh|nr|toml|snap)$
- ^yarn-project/Dockerfile$
- ^yarn-project/cli/aztec-cli
dependencies:
- bb.js
- noir-packages
Expand Down Expand Up @@ -185,7 +184,6 @@ yarn-project:
rebuildPatterns:
- ^yarn-project/.*\.(ts|tsx|js|cjs|mjs|json|html|md|sh|nr|toml|snap)$
- ^yarn-project/Dockerfile$
- ^yarn-project/cli/aztec-cli
dependencies:
- bb.js
- noir-packages
Expand All @@ -211,14 +209,6 @@ aztec-faucet:
- bb.js
- noir-packages

# A runnable container, sets entrypoint to be the aztec-cli entrypoint.
cli:
buildDir: yarn-project
projectDir: yarn-project/cli
dependencies:
- yarn-project
multiarch: buildx

# Builds all the boxes. They are then independently tested in the container.
boxes:
buildDir: boxes
Expand Down
4 changes: 1 addition & 3 deletions docs/docs/developers/aztecjs/guides/call_view_function.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ title: How to Simulate a Function Call

This guide explains how to `simulate` a function call using [Aztec.js](../main.md).

To do this from the CLI, go [here](../../sandbox/references/cli-commands.md#calling-an-unconstrained-view-function).

## Prerequisites

You should have a wallet to act as the caller, and a contract that has been deployed.
Expand All @@ -14,7 +12,7 @@ You can learn how to create wallets from [this guide](./create_account.md).

You can learn how to deploy a contract [here](./deploy_contract.md).

## Relevent imports
## Relevant imports

You will need to import this from Aztec.js:

Expand Down
2 changes: 0 additions & 2 deletions docs/docs/developers/aztecjs/guides/create_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ title: How to Create a New Account

This guide explains how to create a new account using [Aztec.js](../main.md).

To do this from the CLI, go [here](../../sandbox/references/cli-commands.md#creating-accounts).

## Relevant imports

You will need to import these libraries:
Expand Down
2 changes: 0 additions & 2 deletions docs/docs/developers/aztecjs/guides/deploy_contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ title: How to Deploy a Contract

This guide explains how to deploy a smart contract using [Aztec.js](../main.md).

To do this from the CLI, go [here](../../sandbox/references/cli-commands.md#deploying-a-token-contract).

## Prerequisites

You should have a wallet to act as the deployer, and a contract artifact ready to be deployed.
Expand Down
2 changes: 0 additions & 2 deletions docs/docs/developers/aztecjs/guides/send_transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ title: How to Send a Transaction

This guide explains how to send a transaction using [Aztec.js](../main.md).

To do this from the CLI, go [here](../../sandbox/references/cli-commands.md#sending-a-transaction).

## Prerequisites

You should have a wallet to act as the transaction sender, and a contract that has been deployed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ At the moment, the compiler generates these interfaces from already compiled ABI

## Next steps

Once you have compiled your contracts, you can use the generated artifacts via the `Contract` class in the `aztec.js` package to deploy and interact with them, or rely on the type-safe typescript classes directly. Alternatively, use the CLI [to deploy](../../sandbox/references/cli-commands.md#deploying-a-token-contract) and [interact](../../sandbox/references/cli-commands.md#calling-an-unconstrained-view-function) with them.
Once you have compiled your contracts, you can use the generated artifacts via the `Contract` class in the `aztec.js` package to deploy and interact with them, or rely on the type-safe typescript classes directly.

import Disclaimer from "../../../misc/common/\_disclaimer.mdx";
<Disclaimer/>
129 changes: 0 additions & 129 deletions docs/docs/developers/sandbox/references/cli-commands.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ aztec-cli call get_vote --contract-artifact ./target/private_voting-Voting.json

This should return `1n`.

You can follow this pattern to test `end_vote()` and access control of other functions. Find more information about calling functions from the CLI [here](../sandbox/references/cli-commands.md).
You can follow this pattern to test `end_vote()` and access control of other functions.

## Next steps

Expand Down
1 change: 0 additions & 1 deletion docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ const sidebars = {
label: "References",
type: "category",
items: [
"developers/sandbox/references/cli-commands",
"developers/sandbox/references/sandbox-reference",
"developers/sandbox/references/cheat_codes",
{
Expand Down
6 changes: 1 addition & 5 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
"component": "aztec-packages",
"package-name": "aztec-packages"
},
"yarn-project/cli": {
"release-type": "node",
"component": "aztec-cli"
},
"yarn-project/aztec": {
"release-type": "node",
"component": "aztec-package"
Expand All @@ -48,7 +44,7 @@
{
"type": "linked-versions",
"groupName": "aztec-packages",
"components": ["barretenberg", "barretenberg.js", "aztec-packages", "aztec-package", "aztec-cli"]
"components": ["barretenberg", "barretenberg.js", "aztec-packages", "aztec-package"]
},
"sentence-case"
]
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN ln -s /usr/src/yarn-project/node_modules /usr/src/node_modules
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true

RUN ./bootstrap.sh
RUN yarn workspaces focus @aztec/cli @aztec/aztec --production && yarn cache clean
RUN yarn workspaces focus @aztec/aztec --production && yarn cache clean

# TODO: Use release-please to update package.json directly, and remove this!
# It's here to ensure the image rebuilds if the commit tag changes (as the content hash won't).
Expand Down
7 changes: 1 addition & 6 deletions yarn-project/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ build:

aztec-prod:
FROM +build
RUN yarn workspaces focus @aztec/cli @aztec/aztec --production && yarn cache clean
RUN yarn workspaces focus @aztec/aztec --production && yarn cache clean
SAVE ARTIFACT /usr/src /usr/src

aztec-prod-slim:
Expand All @@ -61,11 +61,6 @@ aztec:
ENTRYPOINT ["node", "--no-warnings", "/usr/src/yarn-project/aztec/dest/bin/index.js"]
EXPOSE 8080

cli:
FROM +aztec-prod-slim
ENTRYPOINT ["node", "--no-warnings", "/usr/src/yarn-project/cli/dest/bin/index.js"]
EXPOSE 8080

end-to-end-prod:
FROM +build
RUN yarn workspaces focus @aztec/end-to-end --production && yarn cache clean
Expand Down
1 change: 0 additions & 1 deletion yarn-project/cli/.eslintrc.cjs

This file was deleted.

Loading