spacebudz / lucid

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
https://lucid.spacebudz.io
MIT License
336 stars 133 forks source link

Transaction Error in Validator #202

Open TiagoX9 opened 1 year ago

TiagoX9 commented 1 year ago

Hello guys.

Having this UTxO error when running minting. It doesn't happen at first time but happens after. Is this a know issue or as anyone encounter it?

Let me know what you guys think.

I'm running it in a NodeJS server and lucid-cardano version: 0.10.6

Error: "transaction submit error ShelleyTxValidationError ShelleyBasedEraBabbage (ApplyTxError [UtxowFailure (UtxoFailure (FromAlonzoUtxoFail (ValueNotConservedUTxO (Value 0 (fromList [])) (Value 12903067410 (fromList []))))),UtxowFailure (UtxoFailure (FromAlonzoUtxoFail (BadInputsUTxO (fromList [TxIn (TxId {_unTxId = SafeHash \"708cf8686b8f22f025cc09cb615869c8486539d8e9f42b200b8121a97f548017\"}) (TxIx 1)]))))])"

sourabhxyz commented 1 year ago

BadInputsUTxO means that the input it is trying to consume doesn't belong to current UTxO set, probably because another tx already consumed this input.

Anil-akb commented 11 months ago

@TiagoX9 I am also facing the same error, did you fix that issue?

Anil-akb commented 11 months ago

BadInputsUTxO means that the input it is trying to consume doesn't belong to current UTxO set, probably because another tx already consumed this input.

how can I solve this issue? please help me