-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: modular CLI + aztec test
#7426
Conversation
… gj/builder-to-cli
… gj/builder-to-cli
Benchmark resultsMetrics with a significant change:
Detailed resultsAll benchmarks are run on txs on the This benchmark source data is available in JSON format on S3 here. Proof generationEach column represents the number of threads used in proof generation.
L2 block published to L1Each column represents the number of txs on an L2 block published to L1.
L2 chain processingEach column represents the number of blocks on the L2 chain where each block has 8 txs.
Circuits statsStats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.
Stats on running time collected for app circuits
AVM SimulationTime to simulate various public functions in the AVM.
Public DB AccessTime to access various public DBs.
Tree insertion statsThe duration to insert a fixed batch of leaves into each tree type.
MiscellaneousTransaction sizes based on how many contract classes are registered in the tx.
Transaction size based on fee payment method | Metric | | |
…ckages into gj/builder-to-cli
… gj/builder-to-cli
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Docs PreviewHey there! 👋 You can check your preview at https://6694ed1e0dce1f41f87ecfed--aztec-docs-dev.netlify.app |
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-package: 0.46.6</summary> ## [0.46.6](aztec-package-v0.46.5...aztec-package-v0.46.6) (2024-07-15) ### Features * Modular CLI + `aztec test` ([#7426](#7426)) ([cca2a9b](cca2a9b)) </details> <details><summary>barretenberg.js: 0.46.6</summary> ## [0.46.6](barretenberg.js-v0.46.5...barretenberg.js-v0.46.6) (2024-07-15) ### Features * Modular CLI + `aztec test` ([#7426](#7426)) ([cca2a9b](cca2a9b)) </details> <details><summary>aztec-packages: 0.46.6</summary> ## [0.46.6](aztec-packages-v0.46.5...aztec-packages-v0.46.6) (2024-07-15) ### Features * Modular CLI + `aztec test` ([#7426](#7426)) ([cca2a9b](cca2a9b)) ### Bug Fixes * Aws secrets in docs CI ([#7470](#7470)) ([3b2acc7](3b2acc7)) </details> <details><summary>barretenberg: 0.46.6</summary> ## [0.46.6](barretenberg-v0.46.5...barretenberg-v0.46.6) (2024-07-15) ### Features * Modular CLI + `aztec test` ([#7426](#7426)) ([cca2a9b](cca2a9b)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-package: 0.46.6</summary> ## [0.46.6](AztecProtocol/aztec-packages@aztec-package-v0.46.5...aztec-package-v0.46.6) (2024-07-15) ### Features * Modular CLI + `aztec test` ([#7426](AztecProtocol/aztec-packages#7426)) ([cca2a9b](AztecProtocol/aztec-packages@cca2a9b)) </details> <details><summary>barretenberg.js: 0.46.6</summary> ## [0.46.6](AztecProtocol/aztec-packages@barretenberg.js-v0.46.5...barretenberg.js-v0.46.6) (2024-07-15) ### Features * Modular CLI + `aztec test` ([#7426](AztecProtocol/aztec-packages#7426)) ([cca2a9b](AztecProtocol/aztec-packages@cca2a9b)) </details> <details><summary>aztec-packages: 0.46.6</summary> ## [0.46.6](AztecProtocol/aztec-packages@aztec-packages-v0.46.5...aztec-packages-v0.46.6) (2024-07-15) ### Features * Modular CLI + `aztec test` ([#7426](AztecProtocol/aztec-packages#7426)) ([cca2a9b](AztecProtocol/aztec-packages@cca2a9b)) ### Bug Fixes * Aws secrets in docs CI ([#7470](AztecProtocol/aztec-packages#7470)) ([3b2acc7](AztecProtocol/aztec-packages@3b2acc7)) </details> <details><summary>barretenberg: 0.46.6</summary> ## [0.46.6](AztecProtocol/aztec-packages@barretenberg-v0.46.5...barretenberg-v0.46.6) (2024-07-15) ### Features * Modular CLI + `aztec test` ([#7426](AztecProtocol/aztec-packages#7426)) ([cca2a9b](AztecProtocol/aztec-packages@cca2a9b)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Refactors the CLI package to work as a collection of dynamically importable commands in actual CLI programs, such as
aztec
.Right now this doesn't add that much value besides avoiding code repetition between builder and CLI, but tidies up the packages and makes it so much easier to build different utilities by mix and matching different commands. This is going to be very useful when we strip the
aztec
binary of some internal commands, and even more so when we start building the infamous CLI wallet (which will certainly pull some of these commands in)Besides that, it cleans up the sandbox so that no redundant
aztecprotocol/cli
image is pulled, and some of the commands are greatly simplified. The sandbox now does:aztec
: All the previous commands + all the old CLI ones without having to prefix them withcli
aztec-nargo
: Same as alwaysREMOVED:
aztec-sandbox
andaztec sandbox
: nowaztec start --sandbox
aztec-builder
: nowaztec codegen
+aztec update
ADDED:
aztec test
: runsaztec start --txe
&&aztec-nargo test --use-legacy --oracle-resolver http://aztec:8081 --silence-warnings
viadocker-compose
allowing users to easily run contract tests using TXE