This PR redefines the test Wallet type in terms of the Write.UTxO era type instead of the primitive UTxO type:
- data Wallet =
+ data Wallet era =
- Wallet UTxOAssumptions UTxO AnyChangeAddressGenWithState
+ Wallet UTxOAssumptions (UTxO era) AnyChangeAddressGenWithState
Motivation
The balanceTransaction function accepts a UTxO set of type Write.UTxO era, which (in principal) is capable of encoding more information than a primitive UTxO object.
Issue
ADP-3272
Description
This PR redefines the test
Wallet
type in terms of theWrite.UTxO era
type instead of the primitiveUTxO
type:Motivation
The
balanceTransaction
function accepts a UTxO set of typeWrite.UTxO era
, which (in principal) is capable of encoding more information than a primitiveUTxO
object.