-
Notifications
You must be signed in to change notification settings - Fork 16
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
key non-extended-key: support drep extended keys #377
Conversation
0426095
to
fd18b32
Compare
fd18b32
to
9787634
Compare
@@ -0,0 +1,5 @@ | |||
{ | |||
"type": "DRepVerificationKey_ed25519", | |||
"description": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have a description for that key here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@carbolymer> I added a description in commit drep verification key: extended->non extended: specify description
. Is that what you had in mind?
I did the minimal change to avoid disturbing existing tests and code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I should've been more explicit. It's an open question from my side whether we should have a description here.
@CarlosLopezDeLara what do you think, should we put a description here, and which one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Delegate Representative Verification Key"
@carbolymer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@smelc The text value is already defined here: https://github.com/input-output-hk/cardano-cli/blob/main/cardano-cli/src/Cardano/CLI/EraBased/Run/Governance.hs#L98
it would be nice to re-use it (and move it somewhere probably).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made the constant a top-level symbol of Cardano.CLI.EraBased.Run.Key
and reused it from Governance
. I looked around but saw no obvious destinations and didn't want to introduce a Constant
module.
@carbolymer> let me know if that suits you.
I also propose to put descriptions when converting other types of extended keys, but will do that in another PR, to avoid delaying this one.
a98fc17
to
7c4395e
Compare
7c4395e
to
789e9fd
Compare
Changelog
Context
Fixes #358
Roadmap
cardano-api-8.26.0.0
#389Checklist
See Running tests for more details
.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7