Skip to content

Commit 64d42d2

Browse files
committed
wb | make workloads compatible with new cardano-cli version
1 parent d318db3 commit 64d42d2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

nix/workbench/workload/utils/utxo.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ function calculate_next_utxo {
5757
tx_id="$( \
5858
${cardano-cli}/bin/cardano-cli conway transaction txid \
5959
--tx-file "''${tx_signed}" \
60+
--output-text \
6061
)"
6162
# View transaction as JSON and get index of FIRST output containing "$addr".
6263
${cardano-cli}/bin/cardano-cli debug transaction view \
@@ -156,6 +157,7 @@ function is_tx_in_mempool {
156157
tx_id="$( \
157158
${cardano-cli}/bin/cardano-cli conway transaction txid \
158159
--tx-file "''${tx_signed}" \
160+
--output-text \
159161
)"
160162
${cardano-cli}/bin/cardano-cli conway query tx-mempool \
161163
tx-exists "''${tx_id}" \
@@ -453,8 +455,9 @@ function wait_proposal_id {
453455
# Get proposal's "txId" from the "--tx-file".
454456
local tx_id
455457
tx_id="$( \
456-
${cardano-cli}/bin/cardano-cli conway transaction txid \
457-
--tx-file "''${tx_signed}" \
458+
${cardano-cli}/bin/cardano-cli conway transaction txid \
459+
--tx-file "''${tx_signed}" \
460+
--output-text \
458461
)"
459462
460463
local contains_proposal="false"

0 commit comments

Comments
 (0)