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

Missing --hot-script-hash option on governance committee create-hot-key-authorization-certificate subcommand. #803

Closed nabinpkl closed 2 weeks ago

nabinpkl commented 3 weeks ago

Description

It's not a bug per se, but it might be missing here. Even though we can use the --hot-script-file option to do the same. But to be consistent across other commands providing a --hot-script-hash HASH would complete the missing feature from CLI.

Steps to Reproduce

CLI Version

cardano-cli 8.24.0.0 - linux-x86_64 - ghc-9.4
git rev 0e085e6ebd5ede10e9c84c1cb106bd9639aab3e8
  1. Run cardano-cli conway governance committee create-hot-key-authorization-certificate
  2. --hot-script-hash HASH option seems to be missing. ...

Additional Context

image

Possible Solution

Add a missing option --hot-script-hash HASH Committee hot Native or Plutus script file hash (hex-encoded). Obtain it with "cardano-cli conway governance hash script ...".

smelc commented 3 weeks ago

cc @CarlosLopezDeLara If you confirm this is relevant, I can take it.

CarlosLopezDeLara commented 3 weeks ago

cc @CarlosLopezDeLara If you confirm this is relevant, I can take it.

Yes, please. It makes sense.