Plutonomicon / cardano-transaction-lib

A Purescript library for building smart contract transactions on Cardano
https://plutonomicon.github.io/cardano-transaction-lib/
MIT License
92 stars 50 forks source link

Collateral set to one of the inputs in `mustNotSpendUtxosWithOutRefs` #1509

Closed KristianBalaj closed 1 year ago

KristianBalaj commented 1 year ago

Which revision?

Current master

Describe the problem

We have balancing constraints using mustNotSpendUtxosWithOutRefs and during balancing with these constraints, the balancer sets collateral to one of the inputs that are included in the mustNotSpendUtxosWithOutRefs constraints.

Expected behaviour

Inputs provided in the mustNotSpendUtxosWithOutRefs balancing constraints cannot become a collateral in a TX.