Skip to content

Commit

Permalink
Make it possible to choose socket file when running plutus test script
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Jun 23, 2021
1 parent b76de42 commit 17117ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions scripts/plutus/example-txin-locking-plutus-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
set -e
set -o pipefail

export CARDANO_NODE_SOCKET_PATH="${CARDANO_NODE_SOCKET_PATH:-example/node-bft1/node.sock}"

if [ "$1" == "guessinggame" ]; then
# NB: This plutus script uses a "typed" redeemer and "typed" datum.
plutusscriptinuse=scripts/plutus/scripts/typed-guessing-game-redeemer-42-datum-42.plutus
Expand Down
2 changes: 1 addition & 1 deletion scripts/plutus/simple-minting-policy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set -o pipefail

# Step 1 - Send ADA to token script owner

export CARDANO_NODE_SOCKET_PATH=example/node-bft1/node.sock
export CARDANO_NODE_SOCKET_PATH="${CARDANO_NODE_SOCKET_PATH:-example/node-bft1/node.sock}"

utxovkey=example/shelley/utxo-keys/utxo1.vkey
utxoskey=example/shelley/utxo-keys/utxo1.skey
Expand Down

0 comments on commit 17117ba

Please sign in to comment.