Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collateral selection improvements #143

Open
micahkendall opened this issue Sep 6, 2024 · 1 comment
Open

Collateral selection improvements #143

micahkendall opened this issue Sep 6, 2024 · 1 comment

Comments

@micahkendall
Copy link
Member

Collateral selection can be improved variously

When ranking UTxOs, we should subtract the appropriate min-UTxO requirements due to non-Lovelace assets that will need to be returned as change.

We should also proceed with the largest ada utxo even if there are none below 5 Ada because you can have valid script transactions with quite low collateral, however we should throw errors in the late stages if that collateral utxo is not sufficient.

@joacohoyos
Copy link
Collaborator

@micahkendall i believe we fixed this in the last couple of iterations didn't we?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants