-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3811: Add `UTxOAssumptions` abstraction to `balanceTransaction` interface r=Anviking a=Anviking - [x] `BoundedAddressLength` matters only for change generation, so let's embed it inside `ChangeAddressGen`. - [x] Bundle together`TransactionLayer k ktype SealedTx` and shared-wallet-specific arguments inside a new `UTxOAssumptions` record. - [x] Get CI fully green - [x] Remaining: look over doc comments for new abstractions in `.Balance` module ### Overall strategy - Reduce type parameters of `balanceTransaction`. This PR changes it from `era m s k ktype` to `era m changeState` ### Comments - Setup for #3765 where pairs of `UTxO` and `UTxOAssumptions` will be generated in both shelley, byron and shared wallet styles in the property tests. - Designed to be reviewed commit per commit <!-- Additional comments, links, or screenshots to attach, if any. --> ### Issue Number ADP-2613 <!-- Reference the Jira/GitHub issue that this PR relates to, and which requirements it tackles. Note: Jira issues of the form ADP- will be auto-linked. --> Co-authored-by: Johannes Lund <johannes.lund@iohk.io>
- Loading branch information
Showing
7 changed files
with
219 additions
and
157 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
Oops, something went wrong.