Changes
- Move
Convex.BuildTxfromconvex-coin-selectiontoconvex-base - Added a
Tracer m TxBalancingMessageargument to the coin selection functions. This prints out useful information about decisions taken during coin selection and balancing. Instantiate withmemptyto 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.CoinSelectionhave changed fromMonadFail mtoMonadError BalanceTxError m, allowing for better error handling - Relaxed the
MonadErrorinstance ofMonadBlockchainCardanoNodeTby removing theMonadError e mconstraint; 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.1andghc-9.6.3
Added
- More fine-grained functions in
Convex.Wallet.OperatorandConvex.Querysigning & balancing transactions - JSON instances for
CoinSelectionErrorandBalancingError - Add
Convex.Devnet.CardanoNode.withCardanoNodeDevnetConfigand associated types for modifications to the genesis config files. IncludesallowLargeTransactionsfor 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.runMockchainPropWithto run a mockchain action in a quickcheck property with custom node params and initial distribution
Deleted
Convex.Era,Convex.Measure,Convex.Eventmodules
Contributors
Thanks to @etiennejf and @amirmrad for contributing to this release!