Skip to content

Commit

Permalink
fix: better update steps for dockerized sandbox (#3204)
Browse files Browse the repository at this point in the history
Improves error message shown to user when running the `update` command
in the CLI if dockerized Sandbox is out of date.
  • Loading branch information
alexghr authored Nov 2, 2023
1 parent 7372d19 commit 3ef0bee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions yarn-project/cli/src/update/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ export async function update(

if (currentSandboxVersion && lt(currentSandboxVersion, targetSandboxVersion)) {
log(`
Sandbox is older than version ${targetSandboxVersion}. If running in docker update it with the following command then restart the container:
docker pull aztecprotocol/aztec-sandbox:latest
Once the container is restarted, run the \`aztec-cli update\` command again`);
Sandbox is older than version ${targetSandboxVersion}. If running via docker-compose, follow update instructions:
https://docs.aztec.network/dev_docs/cli/updating
Once the sandbox is updated, run the \`aztec-cli update\` command again`);
return;
}
}
Expand Down

0 comments on commit 3ef0bee

Please sign in to comment.