tweag/cooked-validators

Collaterals when not consuming scripts

Closed this issue · 0 comments

It seems that collaterals are not needed when no script is involved in the transaction (which makes sense because they only make sense in phase 2 failures). However, we always compute and build transactions with collaterals. While this is not harmful per se, there could be edge cases where to makes balancing fail due to not enough funds while it should in fact succeed. This should be fixed.