Skip to content

Commit

Permalink
fix: update cli-wallet bash tests to reflect token contract changes (#…
Browse files Browse the repository at this point in the history
…9927)

Fix cli-wallet bash test. Use `mint_to_private` instead of
`mint_private` (which was removed in #9606)
  • Loading branch information
saleel authored Nov 13, 2024
1 parent 00a8787 commit 3830e2a
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ section "Deploying contracts and minting tokens privately"

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


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

Expand Down

0 comments on commit 3830e2a

Please sign in to comment.