tweag / cooked-validators

MIT License
39 stars 11 forks source link

Collaterals when not consuming scripts #420

Open mmontin opened 1 week ago

mmontin commented 1 week ago

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.