Skip to content

Commit 8988499

Browse files
authored
refactor!: new aztec command (#17792)
The title of the PR is vague because there is a lot of changes in this PR. Other than tackling these issues here: Closes https://linear.app/aztec-labs/issue/F-41/replace-aztec-nargo-init-with-aztec-init Closes https://linear.app/aztec-labs/issue/F-43/replace-aztec-nargo-compile-with-aztec-compile Closes https://linear.app/aztec-labs/issue/F-44/aztec-compile-help-will-override-the-nargo-compile-help-with-aztec Closes https://linear.app/aztec-labs/issue/F-48/add-aztec-check-and-aztec-fmt I also: - Added `aztec new` command that is like `aztec init` but instead calls `nargo new`. This was necessary as we used `aztec-nargo new` in docs etc. Hence I needed the `aztec new counterpart`. - I dropped the `aztec-postprocess-contract` directory containing the `transpile_contract_and_gen_vks.sh` script because it now only called the aztec_process command in bb which made this basically a tech debt from time where we forced devs to call this script manually. - Went to occurrences of "aztec-nargo" and "aztec-postprocess-contract" strings in the codebase and docs and did the relevant updates. - I replace the default contract template that `nargo init --contract` and `nargo new --contract` commands spit out with: ``` use aztec::macros::aztec; #[aztec] contract Main {} ``` This results in the `aztec-nargo` and `aztec-postprocess-contract` being deprecated (and deleted). Thought it's fine to do all these changes in one PR because the complexity of the changes is low.
2 parents 0213aa0 + 1e6a6a6 commit 8988499

File tree

32 files changed

+470
-233
lines changed

32 files changed

+470
-233
lines changed

aztec-postprocess-contract/README.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

aztec-postprocess-contract/transpile_contract_and_gen_vks.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

aztec-up/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@ That is all.
99
This will install into `~/.aztec/bin` a collection of scripts to help with running aztec containers, and will update
1010
the user's `PATH` variable in their shell startup script so they can be found.
1111

12-
- `aztec` - The infrastructure container.
13-
- `aztec-cli` - A command-line tool for interacting with infrastructure.
14-
- `aztec-nargo` - A build of `nargo` from `noir` that is guaranteed to be version-aligned. Provides compiler, lsp and more.
15-
- `aztec-postprocess-contract` - Postprocessing tool for Aztec contracts that transpiles artifacts using `avm-transpiler` and generates verification keys using `bb`.
16-
- `aztec-sandbox` - A wrapper around docker-compose that launches services needed for sandbox testing.
17-
- `aztec-up` - A tool to upgrade the aztec toolchain to the latest, or specific versions.
18-
- `aztec-builder` - A useful tool for projects to generate ABIs and update their dependencies.
12+
- `aztec` - a collection of tools to compile and test contracts, to launch subsystems and interact with the aztec network."
13+
- `aztec-up` - a tool to upgrade the aztec toolchain to the latest, or specific versions."
14+
- `aztec-wallet` - our minimalistic CLI wallet"
1915

2016
After installed, you can use `aztec-up` to upgrade or install specific versions.
2117

0 commit comments

Comments
 (0)