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 needlessly required #364

Open
TotallyNotChase opened this issue Oct 12, 2024 · 0 comments
Open

Collateral needlessly required #364

TotallyNotChase opened this issue Oct 12, 2024 · 0 comments

Comments

@TotallyNotChase
Copy link
Contributor

Describe the bug

there's a usecase missing from the balancer: it currently makes sure to never use a reserved collateral regardless of whether or not collateral is needed for transaction - which is good
however, if collateral is not explicitly reserved, it still tries to pick its own collateral to reserve and fails with NoSuitableCollateral if that isn't found
that second thing is unnecessary for non script (or similar) transactions and it blocks a pretty valid usecase

To Reproduce
Steps to reproduce the behavior:

  1. Create user with empty wallet, say u1
  2. Build a transaction, as u1, where u1 consumes a significant amount of ada from u2. Enough ada to cover transaction fees
  3. Sign the transaction with u1 and u2
  4. Submit

Expected behavior
Tx submits without error

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

1 participant