File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ if [ -z "${DISABLE_DREP_VOTE:-}" ]; then
7474 WITNESS_OVERRIDE=$(( WITNESS_OVERRIDE + 1 ))
7575fi
7676
77+ SIGN_TX_ARGS+=(" --signing-key-file" " <(just sops-decrypt-binary \" secrets/envs/${ENV} /utxo-keys/rich-utxo.skey\" )" )
7778RICH_ADDR=$( just sops-decrypt-binary " secrets/envs/${ENV} /utxo-keys/rich-utxo.addr" )
7879
7980TXIN=$( cardano-cli latest query utxo \
@@ -94,9 +95,11 @@ cardano-cli latest transaction build \
9495 --out-file vote-tx.raw
9596
9697# Sign the transaction:
97- cardano-cli latest transaction sign \
98+ # shellcheck disable=SC1083,SC2116
99+ SIGNING_CMD=$( echo cardano-cli latest transaction sign \
98100 --tx-body-file vote-tx.raw \
99- --signing-key-file <( just sops-decrypt-binary " secrets/envs/${ENV} /utxo-keys/rich-utxo.skey" ) \
100- " ${SIGN_TX_ARGS[@]} " \
101- --testnet-magic " $TESTNET_MAGIC " \
101+ " ${SIGN_TX_ARGS[*]} " \
102+ --testnet-magic \"\$ TESTNET_MAGIC\" \
102103 --out-file vote-tx.signed
104+ )
105+ eval " $SIGNING_CMD "
You can’t perform that action at this time.
0 commit comments