nami: signTx's TransactionWitnessSet produce TextEnvelope decode error in cardano-cli
@alessandrokonrad . For cardano.signTx(), the output TransactionWitnessSet, does not tally the input required in cardano-cli, producing this error:
Command failed: transaction sign-witness Error: buyer_witness_set_from_nami_signTx.witness: TextEnvelope decode error: DecoderErrorDeserialiseFailure "Shelley Witness" (DeserialiseFailure 0 "expected list len")
Seems like, the cborHex Nami produced after signTx() has extra 2 characters.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (1 by maintainers)
Thanks! This should be a really helpful resource for others. I eventually opted to doing it a different way avoiding the cli altogether using the method here:
https://github.com/Emurgo/cardano-serialization-lib/issues/303
@ZDust172 Here’s my blogpost on how to load signed tx https://srdjanstankovic.com/2021/12/24/how-to-sign-and-submit-cardano-cli-transaction-using-nami-wallet.html
Thanks for the quick reply! So you’re just doing
cardano-cli transaction sign --tx-body-file {FILE} --signing-key-file payment.skeythen copying the generated hex CBOR intocardano.signTx()? If so I’m very puzzled by the ‘InvalidWitnessUTXOW’ error message I get as I’m doing exactly the same.