Skip to content

Commit 34b71f2

Browse files
author
AztecBot
committed
Merge branch 'next' into merge-train/barretenberg
2 parents e4fad04 + 14a80e2 commit 34b71f2

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

aztec-up/bin/aztec-nargo

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
export AZTEC_PATH="${AZTEC_PATH:-$HOME/.aztec}"
5-
if [[ -z "${VERSION:-}" ]]; then
6-
VERSION=$(cat "$AZTEC_PATH/default_version" 2>/dev/null || echo "latest")
7-
fi
8-
export VERSION
9-
export DOCKER_REPO="${DOCKER_REPO:-"aztecprotocol/aztec"}"
10-
114
if [[ $PWD != ${HOME}* ]]; then
125
>&2 echo "Due to how we containerize our applications, we require your working directory to be somewhere within $HOME."
136
exit 1
@@ -23,7 +16,7 @@ if [ "${1:-}" == "lsp" ]; then
2316
-v $HOME:$HOME \
2417
-e HOME=$HOME \
2518
--entrypoint=/usr/src/noir/noir-repo/target/release/nargo \
26-
$DOCKER_REPO:$VERSION lsp
19+
aztecprotocol/aztec lsp
2720
exit
2821
fi
2922

@@ -43,4 +36,4 @@ docker run ${args:-} \
4336
-e HOME=$HOME \
4437
--workdir="$PWD" \
4538
--entrypoint=/usr/src/noir/noir-repo/target/release/nargo \
46-
$DOCKER_REPO:$VERSION "$@"
39+
aztecprotocol/aztec "$@"

aztec-up/bin/aztec-postprocess-contract

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
export AZTEC_PATH="${AZTEC_PATH:-$HOME/.aztec}"
5-
if [[ -z "${VERSION:-}" ]]; then
6-
VERSION=$(cat "$AZTEC_PATH/default_version" 2>/dev/null || echo "latest")
7-
fi
8-
export VERSION
9-
export DOCKER_REPO="${DOCKER_REPO:-"aztecprotocol/aztec"}"
10-
114
if [[ $PWD != ${HOME}* ]]; then
125
>&2 echo "Due to how we containerize our applications, we require your working directory to be somewhere within $HOME."
136
exit 1
@@ -29,4 +22,4 @@ docker run ${args:-} \
2922
-e HOME=$HOME \
3023
--workdir="$PWD" \
3124
--entrypoint=/usr/src/aztec-postprocess-contract/transpile_contract_and_gen_vks.sh \
32-
$DOCKER_REPO:$VERSION "$@"
25+
aztecprotocol/aztec "$@"

0 commit comments

Comments
 (0)