File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4040
4141 chmod 700 -R "$CONFIG"
4242
43- cardano-cli genesis create-staked --genesis-dir "$CONFIG" \
43+ cardano-cli latest genesis create-staked --genesis-dir "$CONFIG" \
4444 --testnet-magic "$NETWORK_MAGIC" \
4545 --gen-pools 1 \
4646 --supply $SUPPLY \
Original file line number Diff line number Diff line change 1111 text = let
1212 utxo-keys = "${ ./local-testnet-config } /utxo-keys" ;
1313 in ''
14- trap 'echo "# $BASH_COMMAND"' DEBUG
14+ set -x
1515
1616 cardano-cli query tip --testnet-magic 2
1717 cardano-cli query utxo --whole-utxo --testnet-magic 2
3131 WALLET_ADDR="$(cat /tmp/wallet.addr)"
3232 TXOUT="$(cat "/tmp/wallet.addr")+$SEND_AMT"
3333
34- cardano-cli transaction build \
34+ cardano-cli latest transaction build \
3535 --testnet-magic 2 \
3636 --change-address "$WALLET_ADDR" \
3737 --tx-in "$TXIN" \
3838 --tx-out "$TXOUT" \
3939 --out-file "/tmp/tx.body" \
4040 --witness-override 2
4141
42- cardano-cli transaction sign \
42+ cardano-cli latest transaction sign \
4343 --tx-body-file "/tmp/tx.body" \
4444 --signing-key-file "${ utxo-keys } /utxo1.skey" \
4545 --testnet-magic 2 \
5757 --out-file=/dev/stdout \
5858 | jq -e "length == 1"
5959
60- cardano-cli transaction submit \
60+ cardano-cli latest transaction submit \
6161 --tx-file "/tmp/tx.signed" \
6262 --testnet-magic 2
6363
You can’t perform that action at this time.
0 commit comments