You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #3090 and #3128, the setup + installation is completely changed
no nargo needed (we use noir-wasm) - so no need to update or download nargo anymore edit: need it for LSP and nargo --new contract
no need to individually update yarn packages or nargo.toml
if installed sandbox using docker -> running the curl command, now updates sandbox and also installs aztec-CLI as a docker image
if you had cli previously installed as an npm/yarn package, then it doesn't update the cli.
Running aztec-cli update in your project directory does the following:
if you installed sandbox using docker -> it aborts. Tells you to run curl command, and then rerun the aztec-cli update command
If you installed sandbox using npm/yarn/pnpm -> it updates the package to your specified version (by default: latest)
It then finds package.json (if it can't find it, it aborts) and updates all aztec npm dependencies to the version of your sandbox
You also provide all your contract paths like so --contract src/contracts/Token --contract src/contracts/TokenBridge - it finds nargo.toml there and updates aztec-nr version to the version of your sandbox!
It also outputs the diffs!
Other doc updates:
We always tell users to install aztec-cli globally. Maybe tell them to do so locally? Given current command doesn't update global aztec-cli? Alternatively, current command can update global aztec-cli.
In places other than tutorials, (eg getting started) we only mention the docker flow and not the npm flow. Mention that
Updating page -> also explain what the current command does
This PR aims to update the docs with latest changes in the CLI
(noir_wasm & `update` command)
Relates to #3195
# Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if
the PR is ready to merge.
- [ ] If the pull request requires a cryptography review (e.g.
cryptographic algorithm implementations) I have added the 'crypto' tag.
- [ ] I have reviewed my diff in github, line by line and removed
unexpected formatting changes, testing logs, or commented-out code.
- [ ] Every change is related to the PR description.
- [ ] I have
[linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
this pull request to relevant issues (if any exist).
---------
Co-authored-by: Josh Crites <jc@joshcrites.com>
Co-authored-by: josh crites <critesjosh@gmail.com>
Co-authored-by: Rahul Kothari <rahul.kothari.201@gmail.com>
After #3090 and #3128, the setup + installation is completely changed
edit: need it for LSP and
nargo --new contract
Running
aztec-cli update
in your project directory does the following:aztec-cli update
command--contract src/contracts/Token --contract src/contracts/TokenBridge
- it finds nargo.toml there and updates aztec-nr version to the version of your sandbox!Other doc updates:
The text was updated successfully, but these errors were encountered: