Skip to content

Add pool operator extended key support #1091

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

Merged
merged 4 commits into from
Apr 25, 2025

Conversation

palas
Copy link
Contributor

@palas palas commented Mar 18, 2025

Changelog

- description: |
    Added support for stake pool extended keys
  type:
  - feature

Context

Tries to address #1076.

Check together with: IntersectMBO/cardano-api#781

How to trust this PR

Look at the test for creating stake pool registration certificate using an extended cold key. Make sure the refactorings preserve the logic of the code and that the extensions make sense. Check the code structure is good and documentation is appropriate.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

@palas palas self-assigned this Mar 18, 2025
@palas palas linked an issue Mar 18, 2025 that may be closed by this pull request
@palas palas marked this pull request as ready for review March 24, 2025 16:17
@palas palas force-pushed the add-pool-operator-extended-key-support branch 2 times, most recently from 14d7e98 to 66d2a4b Compare March 25, 2025 11:54
@gitmachtl
Copy link
Contributor

Push - Can we merge this?

@palas palas force-pushed the add-pool-operator-extended-key-support branch from bdccfde to 0cfd471 Compare April 23, 2025 20:18
Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @palas 👍

@@ -86,7 +86,7 @@ data QueryCommons = QueryCommons
data QueryLeadershipScheduleCmdArgs = QueryLeadershipScheduleCmdArgs
{ commons :: !QueryCommons
, genesisFp :: !GenesisFile
, poolColdVerKeyFile :: !(VerificationKeyOrHashOrFile StakePoolKey)
, poolColdVerKeyFile :: !StakePoolKeyHashSource
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not for this PR but @newhoggy we should use Vary here too.

@palas palas force-pushed the add-pool-operator-extended-key-support branch from 0cfd471 to 64407ea Compare April 25, 2025 18:27
@palas palas requested review from a team as code owners April 25, 2025 18:27
@palas palas force-pushed the add-pool-operator-extended-key-support branch 2 times, most recently from 23c587f to 14f982f Compare April 25, 2025 19:13
@palas palas force-pushed the add-pool-operator-extended-key-support branch from 14f982f to 3f9e62b Compare April 25, 2025 19:39
@palas palas enabled auto-merge April 25, 2025 19:41
@palas palas added this pull request to the merge queue Apr 25, 2025
Merged via the queue into master with commit 773ad5c Apr 25, 2025
25 checks passed
@palas palas deleted the add-pool-operator-extended-key-support branch April 25, 2025 23:06
@gitmachtl
Copy link
Contributor

woohoo, thx @palas

gitmachtl added a commit to gitmachtl/CIPs that referenced this pull request May 13, 2025
https://cips.cardano.org/cip/CIP-0005 does not specify bech32 prefixes for extended pool operator keys. These were added to cardano-api with IntersectMBO/cardano-api#781 and part of cardano-cli with IntersectMBO/cardano-cli#1091 

This PR modifies CIP-0005 to define a standard set of prefixes for them.

Other changes:
- Added [https://github.com/gitmachtl/cardano-signer](cardano-signer) to the list of tools (acceptance criteria)
- Added an entry in the Changelog table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] - Add extended Pool Operator Signing/Verification Key Types
4 participants