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

Add golden test for governance drep registration-certificate #336

Closed
smelc opened this issue Oct 5, 2023 · 0 comments · Fixed by #379
Closed

Add golden test for governance drep registration-certificate #336

smelc opened this issue Oct 5, 2023 · 0 comments · Fixed by #379
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@smelc
Copy link
Contributor

smelc commented Oct 5, 2023

Using @CarlosLopezDeLara's input, we can add a golden test for the relatively new drep registration-certficate command.

This issue keeps track of doing so.

➜  testdreps cardano-cli conway governance drep registration-certificate \
--drep-verification-key-file drep.vkey \
--key-reg-deposit-amt 0 \
--drep-metadata-url drep.url \
--drep-metadata-hash 52e69500a92d80f2126c836a4903dc582006709f004cf7a28ed648f732dff8d2 \
--out-file drep-reg.cert
➜  testdreps cat drep-reg.cert
{
    "type": "CertificateShelley",
    "description": "DRep Key Registration Certificate",
    "cborHex": "84108200581c95591451fb3899fcc8db3450741d9de6123a78e03ef39bf4a65ed5cf008268647265702e75726c582052e69500a92d80f2126c836a4903dc582006709f004cf7a28ed648f732dff8d2"
}

[16, [0, h'95591451FB3899FCC8DB3450741D9DE6123A78E03EF39BF4A65ED5CF'], 0, ["drep.url", h'52E69500A92D80F2126C836A4903DC582006709F004CF7A28ED648F732DFF8D2']]

Originally posted by @CarlosLopezDeLara in #330 (review)

@smelc smelc self-assigned this Oct 5, 2023
@smelc smelc added enhancement New feature or request good first issue Good for newcomers labels Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant