All balance in --tx-in-collateral is taken. Change should go to --change-address (build command) #4075
Closed
1 of 13 tasks
Labels
comp: cardano-cli
era: babbage
in-scope
This item is being worked and will be part of an upcoming release
priority medium
issues/PRs that SHOULD be addressed. This should be done for the release, but acceptable if it doesn
tag: 1.35.1
type: bug
Something is not working
user type: internal
Created by an IOG employee
Vasil
Uh oh!
There was an error while loading. Please reload this page.
What - The user facing feature being implemented
When phase 2 validation fails and NO --tx-out-return-collateral is given, only exact amount of collateral should be used and change should be sent to
--change-address
specified in (cardano-cli transaction build
)Current behaviour is that it falls back to Alonzo-style of taking all collateral.
Steps to reproduce
Steps to reproduce the behavior:
--tx-in-collateral
with more ADA than needed to cover the collateral--tx-out-return-collateral
-tx-in-collateral
is takenWhy
Only the exact amount of collateral should be taken and change should be sent to
--change-address
when no--tx-out-return-collateral
is given by the user.Related GH issues
Personas - Who will this affect?
Acceptance Criteria
Given that I'm a Dapp developer, when I submit a plutus script that fails phase 2 validation AND my transaction does not specify
--tx-out-return-collateral
I want:--tx-in-collateral
AND the excess is sent to--change-address
Definition of Done
The text was updated successfully, but these errors were encountered: