Closed mkoura closed 6 months ago
I tried to reproduce the decoder failure with the files you provided, but it seems to decode the transaction just fine with cardano-ledger-conway-1.12.0.0
. Could this be a decoder failure from another component?
LocalTxSubmission
is not from the ledger codebase, maybe it does something to make the decoder fail?
It is strange that the error happens only on tx resubmit. So it must be decoded ok during first submission. Could it be consensus issue?
Yeah, I think it makes sense to report it to consensus and see if they can track it to ledger or if its something on their side.
Nice catch. This is a bug in deserialization of a predicate failure, not of a transaction.
I'm getting following
DeserialiseFailure
when trying to resubmit a Tx with invalid Plutus script in Conway era:I'm testing this with
cardano-node
/cardano-cli
8.9.0 release.UPDATE: It is somehow related to return collateral. If collateral utxos have the precise collateral amount, then no return collateral txout is needed. In such case, resubmitting the tx leads to the expected
BadInputsUTxO
, instead of the unexpectedDecoderFailure
.Steps to reproduce:
build
sign
submit
resubmit to see if the tx made it to mempool. Expected behavior is to get
BadInputsUTxO
, but this time we get theDecoderFailure
.Files used in the test: deserialize_failure.tar.gz