Skip to content

Commit 3830e2a

Browse files
authored
fix: update cli-wallet bash tests to reflect token contract changes (#9927)
Fix cli-wallet bash test. Use `mint_to_private` instead of `mint_private` (which was removed in #9606)
1 parent 00a8787 commit 3830e2a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

yarn-project/cli-wallet/test/flows/token_utils/create_main_and_mint_private.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ section "Deploying contracts and minting tokens privately"
22

33
aztec-wallet create-account -a main
44
aztec-wallet deploy token_contract@Token --args accounts:main Test TST 18 -f main -a token
5-
aztec-wallet create-secret -a shield
6-
aztec-wallet send mint_private -ca token --args $1 secrets:shield:hash -f main
7-
aztec-wallet add-note TransparentNote pending_shields -ca token -t last -a main -b $1 secrets:shield:hash
8-
aztec-wallet send redeem_shield -ca token --args accounts:main $1 secrets:shield -f main
5+
aztec-wallet send mint_to_private -ca token --args accounts:main accounts:main $1 -f main
6+
97

108
RESULT_MAIN=$(aztec-wallet simulate balance_of_private -ca token --args accounts:main -f main | grep "Simulation result:" | awk '{print $3}')
119

0 commit comments

Comments
 (0)