Skip to content

Commit

Permalink
Merge #2993
Browse files Browse the repository at this point in the history
2993: Verify coin selection balancing errors. r=jonathanknowles a=jonathanknowles

## Issue Number

ADP-1037

## Summary

This PR finalizes the verification of selection balancing errors returned from `CoinSelection.performSelection`.

## Details

This PR:

- adds verification for errors of the following types:
    - `EmptyUTxO`.
    - `BalanceInsufficientError`.
    - `InsufficientMinCoinValueError`.
    - `UnableToConstructChangeError`.
- adds helper functions to simplify verification functions.

Co-authored-by: Jonathan Knowles <jonathan.knowles@iohk.io>
  • Loading branch information
iohk-bors[bot] and jonathanknowles committed Oct 28, 2021
2 parents d29a579 + aae75b6 commit c0a1f86
Showing 1 changed file with 454 additions and 238 deletions.

0 comments on commit c0a1f86

Please sign in to comment.