IntersectMBO / govtool

🔩 GovTool and utilities monorepo.
https://gov.tools
Apache License 2.0
14 stars 9 forks source link

🐛 Unable to Register as dRep or Sole Voter #2355

Closed kneerose closed 1 week ago

kneerose commented 2 weeks ago

Area

Other

Domain

preview.gov.tools

Which wallet were you using?

Eternl Wallet v1.12.16, Lace 1.17.1, demos 1.8.2

Context

I encountered an issue when attempting to register as a dRep and as a sole voter. Both registration attempts failed despite providing valid data.

Steps to reproduce

  1. Connect to the wallet.
  2. Attempt to register as a dRep with valid data.
  3. Attempt to register as a sole voter.
  4. Observe the modal for any errors.

Actual behavior

Attached screenshots show the errors observed during both registration attempts:

Screenshot from 2024-11-08 10-41-26

Screenshot from 2024-11-08 10-45-10

Expected behavior

Registration as a dRep and as a sole voter should complete successfully without errors when valid data is provided.

Allure report

MSzalowski commented 2 weeks ago

Certs should be in correct order (drep and stake key registration before vote delegation) Screen of the certificates before signing transaction: Zrzut ekranu z 2024-11-08 12-30-55

And successfully signed and submitted transaction: Zrzut ekranu z 2024-11-08 12-31-09

Also my DRep registration transaction is listed on cexplorer being submitted on chain: https://preview.cexplorer.io/tx/41ea2ad17c8bcb78ddc8495f4cd8c3ba6e984ac4dd6b55e6bada9ba3806f2677

MSzalowski commented 2 weeks ago

My retirement transaction certs: Zrzut ekranu z 2024-11-08 12-35-30

And after retiring I was able to once again register as a DRep: Zrzut ekranu z 2024-11-08 12-40-50

MSzalowski commented 2 weeks ago

Also reregister transaction correctly didn't include stake key registration: Zrzut ekranu z 2024-11-08 12-44-28

MSzalowski commented 2 weeks ago

@kneerose Could you please verify if that is still failing for you? If so - could you please verify if version of the app (1.0.26) is correct?

Also I was testing on newer cardano-node and newer db-sync. Maybe it is caused by having the older versions on preview

kneerose commented 2 weeks ago

@MSzalowski On the development environment, both the dRep registration process and direct voter registration are functioning correctly. However, on the preview network, transactions are not being successfully submitted. I have tested with both the Eternl wallet and the Lace wallet, and each reports different errors.

Details:

image

Screenshot from 2024-11-11 11-12-57

Screenshot from 2024-11-11 11-12-39

These screenshots confirm that the preview environment has not been updated correctly, and the issue is still reproducible.

MSzalowski commented 1 week ago

Then, it should be done once the deployment issue on preview is resolved @bosko-m

bosko-m commented 1 week ago

Will be resolved with #2333