-
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.
3937: Refactor: UTxOAssumptions as a Sum type r=Unisay a=Unisay Refactor `UTxOAssumptions` from a record type + smart constructors to a sum type with regular constructors. This requires to declare/pass types like `TxWitnessTag`, `TokenBundleMaxSize -> TokenBundleSizeAssessor` separately from `UTxOAssumptions` as explicit parameters to the `balanceTransaction`, however this is a temporary state of things: the plan is to remove these params in subsequent PRs. ### Comments It was originally published and reviewed here #3911 but I am splitting it into a separate PR. ### Issue Number ADP-2967 Co-authored-by: Yura Lazarev <Unisay@users.noreply.github.com>
- Loading branch information
Showing
9 changed files
with
276 additions
and
243 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
Oops, something went wrong.