Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cardano-cli has no support for generating a DRep update certificate(18) #550

Closed
gitmachtl opened this issue Jan 7, 2024 · 0 comments · Fixed by #561
Closed

cardano-cli has no support for generating a DRep update certificate(18) #550

gitmachtl opened this issue Jan 7, 2024 · 0 comments · Fixed by #561

Comments

@gitmachtl
Copy link
Contributor

gitmachtl commented Jan 7, 2024

$ cardano-cli version
cardano-cli 8.17.0.0 - linux-x86_64 - ghc-8.10
git rev a4a8119b59b1fbb9a69c79e1e6900e91292161e7

There is currently no (at least exposed) function to generate an update-certificate for DRep registration tag-18:

cardano-cli conway governance drep
Usage: cardano-cli conway governance drep
                                            ( key-gen
                                            | id
                                            | registration-certificate
                                            | retirement-certificate
                                            | metadata-hash
                                            )

  DRep member commands.

Available options:
  -h,--help                Show this help text

Available commands:
  key-gen                  Generate Delegate Representative verification and
                           signing keys.
  id                       Generate a drep id.
  registration-certificate Create a registration certificate.
  retirement-certificate   Create a DRep retirement certificate.
  metadata-hash            Calculate the hash of a metadata file.

CDDL:
https://github.com/IntersectMBO/cardano-ledger/blob/a596eef045d19b7dcfbb410fca8362a65ec2258e/eras/conway/impl/cddl-files/conway.cddl#L316

So please add this functionality by providing a new function update-certificate or by providing a flag in the existing registration-certificate function like --update to generate an update certificate.

@smelc

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants