IntersectMBO / cardano-cli

This repository contains sources for the command-line interface (CLI) tool for interacting with the Cardano blockchain.
Apache License 2.0
33 stars 13 forks source link

Add --current-treasury-value and --treasury-donation to transaction build and friends #778

Closed smelc closed 2 weeks ago

smelc commented 1 month ago

Changelog

- description: |
    Add --current-treasury-value and --treasury-donation to transaction build and friends
# uncomment types applicable to the change:
  type:
  - feature        # introduces a new feature
  - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context

Fixes https://github.com/IntersectMBO/cardano-cli/issues/590

How to trust this PR

We tested this new feature in cardano-testnet in this cardano-node PR: https://github.com/IntersectMBO/cardano-node/pull/5866

Checklist

smelc commented 1 month ago

Putting draft until the required change in cardano-api is done.