Skip to content

v0.3.0.0

Latest
Compare
Choose a tag to compare
@j-mueller j-mueller released this 05 Jan 12:58
· 70 commits to main since this release
b4123bf

Changes

  • Move Convex.BuildTx from convex-coin-selection to convex-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 with mempty 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 from MonadFail m to MonadError BalanceTxError m, allowing for better error handling
  • Relaxed the MonadError instance of MonadBlockchainCardanoNodeT by removing the MonadError e m constraint; fixed the implementation of catchError
  • Convex.BuildTx: Ensure that at least 3 Ada is present when computing minimum UTxO value in minAdaDeposit.
  • Update dependencies to cardano-node-8.7.2, cardano-api-8.36.1.1 and ghc-9.6.3

Added

  • More fine-grained functions in Convex.Wallet.Operator and Convex.Query signing & balancing transactions
  • JSON instances for CoinSelectionError and BalancingError
  • Add Convex.Devnet.CardanoNode.withCardanoNodeDevnetConfig and associated types for modifications to the genesis config files. Includes allowLargeTransactions 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!