Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Voter-Registration Tool no longer working in Alonzo-Era #73

Open
gitmachtl opened this issue Nov 7, 2021 · 5 comments
Open

Voter-Registration Tool no longer working in Alonzo-Era #73

gitmachtl opened this issue Nov 7, 2021 · 5 comments

Comments

@gitmachtl
Copy link

gitmachtl commented Nov 7, 2021

The Voter-Registration tool (https://github.com/input-output-hk/voting-tools) is no longer working with node 1.30.1 and later in the Alonzo-Era. Trying to generate a Catalyst Registration Tx results in the following error message:

$ export CARDANO_NODE_SOCKET=<path_to_node_socket> && ./voter-registration \
     --payment-signing-key somepay.skey  \
     --payment-address $(cat somepay.addr) \
     --rewards-address $(cat voting/catalyst-rewards.staking.addr) \
     --vote-public-key voting/vote.pkey \
     --stake-signing-key pledge.staking.skey \
     --cardano-mode \
     --mainnet \
     --out-file voting/catalystregistration.tx

voter-registration: DecoderFailure (LocalStateQuery HardForkBlock (': * ByronBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Allegra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Mary StandardCrypto)) ('[] *))))) Query (HardForkBlock (': * ByronBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Allegra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Mary StandardCrypto)) ('[] *))))))) ServerAgency TokQuerying QueryIfCurrent (QS (QZ GetCurrentPParams))) (DeserialiseFailure 15 "decodeNS: invalid index 4")

The Catalyst Toolbox Repo (https://github.com/input-output-hk/catalyst-toolbox) do not include a registration signing feature yet, soo.... are we now stuck here?

Can this be included in the Catalyst Toolbox asap to generate a cbor metadata generation file for Catalyst registration? Like we do with HW wallets -> https://github.com/gitmachtl/scripts/tree/master/cardano/mainnet#catalyst-voting-with-your-hw-wallet

@gitmachtl
Copy link
Author

gitmachtl commented Nov 7, 2021

@danielSanchezQ please check:

With the HW-Wallets and cardano-hw-cli we only generate the metadata cbor file for the catalyst registration and let the user include the metadata-cbor file within a transaction of there choice. Not doing a full signed tx-raw file, so this is way simpler. Can we please include that also in the toolbox here?

Cardano-HW-CLI only need a handful of parameters to generate the metadata cbor, if it would be the same with the catalyst toolbox it would be like:

$ catalyst-toolbox voting-key-registration-metadata \
          --vote-public-key voting.pkey \
          --reward-address rewards.staking.addr  \
          --stake-signing-key pledge.staking.skey \
          --nonce ${currentTip} \
          --mainnet | --testnet-magic <magicid> \
          --output-file catalystregistration.cbor

I think the original voting-tools repo can be retire and its better to shift it over here into one single place.

@gitmachtl
Copy link
Author

ping

@dkijania
Copy link
Contributor

Hey @gitmachtl. I think we need to fix voting tools first as a priority. I'll try to push for fix as we ale cery close to fund7 registration start. Regarding moving voting tools to catalyst-toolbox this requires further discussion.

@gitmachtl
Copy link
Author

Hey @gitmachtl. I think we need to fix voting tools first as a priority. I'll try to push for fix as we ale cery close to fund7 registration start. Regarding moving voting tools to catalyst-toolbox this requires further discussion.

I'll take what i can get... 😄

@gitmachtl
Copy link
Author

@dkijania can you tell me something about the current dev status? catalyst fund7 registration will close in a month. thx! best regards, martin

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants