-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use consistent source of truth for
maximumOutputTokenQuantity
in `c…
…ardano-coin-selection`. (#4164) ## Issue None. (Noticed while looking at ADP-3185.) ## Description This PR adjusts the `cardano-coin-selection` library to use a consistent source of truth for the maximum quantity of any individual asset allowed in a transaction output. This is currently defined by the `SelectionConstraints.maximumOutputTokenQuantity` field. In `CoinSelectionSpec`, this field is currently hard-wired to the value of `testMaximumOutputTokenQuantity`, which has a value of `maxBound @Word64`.
- Loading branch information
Showing
2 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters