Changes
- Move
Convex.BuildTx
fromconvex-coin-selection
toconvex-base
- Added a
Tracer m TxBalancingMessage
argument to the coin selection functions. This prints out useful information about decisions taken during coin selection and balancing. Instantiate withmempty
to ignore the messages. - Export
Convex.Wallet.MockWallet.w4
- The balancing algorithm now correctly calculates the number of required signatures when computing the transaction fee
- Deleted spurious
runQuery'
log messages - The constraints for most of the functions in
Convex.CoinSelection
have changed fromMonadFail m
toMonadError BalanceTxError m
, allowing for better error handling - Relaxed the
MonadError
instance ofMonadBlockchainCardanoNodeT
by removing theMonadError e m
constraint; fixed the implementation ofcatchError
Convex.BuildTx
: Ensure that at least 3 Ada is present when computing minimum UTxO value inminAdaDeposit
.- Update dependencies to
cardano-node-8.7.2
,cardano-api-8.36.1.1
andghc-9.6.3
Added
- More fine-grained functions in
Convex.Wallet.Operator
andConvex.Query
signing & balancing transactions - JSON instances for
CoinSelectionError
andBalancingError
- Add
Convex.Devnet.CardanoNode.withCardanoNodeDevnetConfig
and associated types for modifications to the genesis config files. IncludesallowLargeTransactions
for large transactions. - MonadLog instance for
MockchainT
- API documentation published on github pages (https://j-mueller.github.io/sc-tools/)
- A mockchain test that shows how to increase the maximum tx size
Convex.MockChain.Utils.runMockchainPropWith
to run a mockchain action in a quickcheck property with custom node params and initial distribution
Deleted
Convex.Era
,Convex.Measure
,Convex.Event
modules
Contributors
Thanks to @etiennejf and @amirmrad for contributing to this release!