From 348b48f1dad87aab08bfbacd2046a3c748f1f4a1 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Wed, 27 Sep 2023 14:29:43 +0100 Subject: [PATCH] fix: quick start e2e test --- .../end-to-end/src/guides/up_quick_start.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/yarn-project/end-to-end/src/guides/up_quick_start.sh b/yarn-project/end-to-end/src/guides/up_quick_start.sh index 3fc69fe632f4..db50dba35f45 100755 --- a/yarn-project/end-to-end/src/guides/up_quick_start.sh +++ b/yarn-project/end-to-end/src/guides/up_quick_start.sh @@ -12,17 +12,12 @@ ALICE_PRIVATE_KEY="0x2153536ff6628eee01cf4024889ff977a18d9fa61d0e414422f7681cf08 # docs:start:deploy aztec-cli deploy \ TokenContractAbi \ - --salt 0 + --salt 0 \ + --args $ALICE aztec-cli check-deploy --contract-address 0x2d23acefa3ce07b3c308caf78d86c064cdf8957bcea48b38753cf58441796c8c CONTRACT="0x2d23acefa3ce07b3c308caf78d86c064cdf8957bcea48b38753cf58441796c8c" - -aztec-cli send _initialize \ - --args $ALICE \ - --contract-abi TokenContractAbi \ - --contract-address $CONTRACT \ - --private-key $ALICE_PRIVATE_KEY # docs:end:deploy # docs:start:mint-private @@ -71,7 +66,7 @@ aztec-cli get-logs # Test end result BOB_BALANCE=$(aztec-cli call balance_of_private --args $BOB --contract-abi TokenContractAbi --contract-address $CONTRACT) -if ! echo $BOB_BALANCE | grep -q 500; then +if ! echo $BOB_BALANCE | grep -q 500; then echo "Incorrect Bob balance after transaction (expected 500 but got $BOB_BALANCE)" exit 1 -fi \ No newline at end of file +fi