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

Move conway governance hash to conway hash #782

Closed CarlosLopezDeLara closed 2 weeks ago

CarlosLopezDeLara commented 1 month ago

The hash command needs to be moved one level up in the tree, so that it is not inside governance, but instead just in the top level.

smelc commented 1 month ago

@CarlosLopezDeLara> what about conway governance hash script then? If we move hash anchor-data out of governance, conway governance hash script will be alone in its category. See here:

https://github.com/IntersectMBO/cardano-cli/blob/fed71b38b5935a0a0e4420aaaab7afa503a25a49/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_hash.cli

CarlosLopezDeLara commented 1 month ago

@smelc my bad, I should have written "move 'governance hash' one level up. This is, it can be a more general purpose command rather than specific to governance.

So the end goal is

cardano-cli conway hash (anchor-data | script) instead of

cardano-cli conway governance hash (anchor-data | script)
Im updating the description