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

Voting for script based CC members and script based DReps #661

Closed
CarlosLopezDeLara opened this issue Mar 18, 2024 · 0 comments · Fixed by #665
Closed

Voting for script based CC members and script based DReps #661

CarlosLopezDeLara opened this issue Mar 18, 2024 · 0 comments · Fixed by #665
Assignees

Comments

@CarlosLopezDeLara
Copy link
Contributor

CarlosLopezDeLara commented Mar 18, 2024

What

We need to expand cardano-cli conway governance vote create with the ability to produce votes for script-based governance actors "CC" and "DREPs"

--cc-hot-script-hash

and

--drep-script-hash

So that we have:

 cardano-cli conway governance vote create (--yes | --no | --abstain)
                                                   --governance-action-tx-id TXID
                                                   --governance-action-index WORD32
                                                   ( --drep-verification-key STRING
                                                   | --drep-verification-key-file FILE
                                                   | --drep-key-hash HASH
                                                   | --drep-script-hash 
                                                   | --stake-pool-verification-key STRING
                                                   | --cold-verification-key-file FILE
                                                   | --stake-pool-id STAKE_POOL_ID
                                                   | --cc-hot-verification-key STRING
                                                   | --cc-hot-verification-key-file FILE
                                                   | --cc-hot-key-hash STRING
                                                   | --cc-hot-script-hash HASH
                                                   )
                                                   [--anchor-url TEXT
                                                     --anchor-data-hash HASH]
                                                   --out-file FILE

CDDL reference:

voting_procedures = { + voter => { + gov_action_id => voting_procedure } }

; Constitutional Committee Hot KeyHash: 0
; Constitutional Committee Hot ScriptHash: 1
; DRep KeyHash: 2
; DRep ScriptHash: 3
; StakingPool KeyHash: 4
voter =
  [ 0, addr_keyhash
  // 1, scripthash
  // 2, addr_keyhash
  // 3, scripthash
  // 4, addr_keyhash
  ]
@CarlosLopezDeLara CarlosLopezDeLara changed the title Voting for script based CC members Voting for script based CC members and script based DReps Mar 19, 2024
@CarlosLopezDeLara CarlosLopezDeLara added this to the SanchoNet Phase 4 milestone Sep 26, 2024
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.

2 participants