-
Notifications
You must be signed in to change notification settings - Fork 15
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
TX balancing ignores assets in collateral inputs #754
Comments
Do you observe the same behaviour with latest cardano-cli 8.23.1.0? You'd have to use this node version https://github.com/IntersectMBO/cardano-node/releases/tag/8.11.0-pre (to be released soon) - note that's not a mainnet version. |
Didn't test it. |
8.11.0-pre is released, so you can find binaries under that tag. Let me know if the issue still persists. |
It is :( |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as off-topic.
This comment was marked as off-topic.
We don't like you, Bot. Go away and never come back :) |
Description
If you use a "transaction build" command and do not specify collateral size and output, it tries to build a change automatically.
But if input has a native asset onboard, balancer ignores it and we get an error "CollateralContainsNonADA".
But if we set explicit collateral out with assets and collateral sum manually - everything is ok.
Here is a tx you can't balance automatically: https://preprod.cardanoscan.io/transaction/f8dfe48eb5314d5a582e5fbeb1a07cbb4606ce3c07527d83cdb2d2c5f23e2e9a
Steps to Reproduce
Additional Context
LinuxMint 21
cardano-cli 8.20.3.0 - linux-x86_64 - ghc-8.10
git rev 424983fa186786397f5a99539f51710abf62c37b
Possible Solution
Tx balancer have to move all assets from collateral to change. Just move without any calculations :)
The text was updated successfully, but these errors were encountered: