-
Notifications
You must be signed in to change notification settings - Fork 720
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
Feature: auto-balance multi-assets #4453
Comments
for the Related PRs we can also use the Development section from the right side. |
@Jimbo4350 is #4446 related to this feature? |
@dorin100 no its not |
@LudvikGalois I would create a property test using
Why these cases? Because these are concerned with the feature you are adding i.e the balancing of multiassets. Also having separate cases makes the diagnosis of what is broken way easier. We should have a separate property test for our tx build command with cardano-testnet that covers:
|
@Jimbo4350 there is a good practice of covering all the Acceptance Criteria with automated tests. This is why, our proposal, is first to have a discussion, followed by a sign-off, on the Acceptance Criteria. |
Relevant: #4514 |
Sure but the acceptance criteria outlined for this feature goes beyond the scope of the feature being introduced. The two cases I outlined above should be enough for this feature. See #4514. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
What - The user-facing feature being implemented
transaction build
to balance automatically also the multi-assets #3068Why
Personas - Who will this affect?
Definition of Done
Sign-off Acceptance Criteria
Related PRs
Acceptance Criteria
User Story 1
transaction build
CLI command, I want to auto-balance multi-asset transactionsAC1.1
When creating a transaction using the
transaction build
CLI command, the minFee is paid, and the transaction is auto-balanced when it includes:User Story 2
transaction build
CLI command to be changedAC2.1
Example of Acceptance test:
GIVEN a CLI user has 1 UTXO with only 100 ADA, 1 UTXO with 10 dor,
WHEN the user creates a transaction using like below (using both utxos as inputs),
AND sending 9 ADA and 5 dor to a different address
THAN the transaction can be signed without getting any error
AND the transaction can be submitted without getting any error
The text was updated successfully, but these errors were encountered: