cardanoapi / gov-cli

Command line utility to work with Cardano governance
https://pypi.org/project/gov-cli/
2 stars 1 forks source link

Cannot register CC #2

Closed reeshavacharya closed 3 months ago

reeshavacharya commented 4 months ago

Tested with: cardano-cli 9.2.1.0 | cardano-node 9.1.0

Steps to reproduce:

CLI LOGS

[nix-shell:~/gov-cli](master)$ LOG_CLI=true NETWORK=42 ./gov-cli register cc
> cardano-cli query utxo --address addr_test1qpmd6x8wcmrqapwp5s6fzp8jqtukcmx6lra6xxuk2w8awyrazpz07kjmseglhdfr8f3ze8ndcrexn3z8k3vu2gahxfwsl4gy00 --out-file /home/rishav/.cardano/keys/utxo.json --socket-path /home/rishav/gov-action-load-testing/dev_workdir/state-cluster0/bft1.socket --testnet-magic=42
> cardano-cli conway transaction build --certificate-file /home/rishav/.cardano/keys/cc-hot-key-authorization.cert --witness-override 2 --tx-in 8e9283244ecae78f196ffca15ec90f91bacc3bffac95108948c1461d9d7db957#0 --out-file /home/rishav/.cardano/keys/cc_hot_key_register_tx.raw --change-address addr_test1qpmd6x8wcmrqapwp5s6fzp8jqtukcmx6lra6xxuk2w8awyrazpz07kjmseglhdfr8f3ze8ndcrexn3z8k3vu2gahxfwsl4gy00 --socket-path /home/rishav/gov-action-load-testing/dev_workdir/state-cluster0/bft1.socket --testnet-magic=42
> cardano-cli conway transaction sign --tx-body-file /home/rishav/.cardano/keys/cc_hot_key_register_tx.raw --signing-key-file /home/rishav/.cardano/keys/payment.skey --out-file /home/rishav/.cardano/keys/cc_hot_key_register_signed_tx.json --signing-key-file=/home/rishav/.cardano/keys/cc-cold.skey
> cardano-cli conway transaction submit --tx-file /home/rishav/.cardano/keys/cc_hot_key_register_signed_tx.json --socket-path /home/rishav/gov-action-load-testing/dev_workdir/state-cluster0/bft1.socket --testnet-magic=42

Command failed: transaction submit  Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraConway (ApplyTxError (ConwayUtxowFailure (MissingVKeyWitnessesUTXOW (fromList [KeyHash {unKeyHash = "b0ccfb7223295678a6988414b730d817a6884e573e8e94c28ee9a3ad"}])) :| [ConwayCertsFailure (CertFailure (GovCertFailure (ConwayCommitteeIsUnknown (KeyHashObj (KeyHash {unKeyHash = "b0ccfb7223295678a6988414b730d817a6884e573e8e94c28ee9a3ad"})))))]))
mesudip commented 3 months ago

(CertFailure (GovCertFailure (ConwayCommitteeIsUnknown

This means you are not a committee member. Proper message is shown in new version