IntersectMBO / IntersectMBO/govtool

🐛 Unable to Vote on Governance Action Immediately After dRep Registration

Open
#2,537 0 comments 0 reactions 1 assignee Claimed by @MSzalowski View on GitHub
🌐 Post/After Plomin hard fork 🐛 Bug 🕵️‍♂️ Testing 🗳️ Voting Pillar
Dominant language
HTML
Stars
21
Forks
29
Avg merge
2d 22h
Merged PRs (30d)
7

Description

### Area

Voting Pillar

### Domain

dev-sanchogov.tools

### Which wallet were you using?

_No response_

### Context

When using a newly created wallet, after registering as a dRep, I am unable to vote on any governance action due to an error indicating a re-registration issue. The stake registration certificate is included in the vote, but my stake is already registered during the dRep registration. After refreshing the page and attempting to vote again, it works as expected. This issue seems to be related to the provider.

### Steps to reproduce

1. Connect a newly created wallet.
2. Register as a dRep.
3. Attempt to vote on any governance action.
4. Encounter an error and are unable to vote.

https://www.loom.com/share/36102ab5651f48aea2fb137241a118cc?sid=15df321b-f97a-4698-8314-4f41e358235b

### Actual behavior

The system prevents voting on governance actions immediately after registering as a dRep without refreshing the page. An error is thrown regarding re-registration, even though the stake is already registered.

- Stake registeration certificate is added during dRep registration

![Screenshot from 2024-12-17 10-50-18](https://github.com/user-attachments/assets/05131b9a-41fb-477a-9fb2-3a5bec2ff1d7)

- Stake registration certificate is again added during vote

![Screenshot from 2024-12-17 10-51-42](https://github.com/user-attachments/assets/1f1c896a-27fb-42c2-9b8c-5d8ff5deab5c)

- Throw error message of re-register stake

![Screenshot from 2024-12-17 10-51-55](https://github.com/user-attachments/assets/fe78abd7-3778-413b-8d52-3df6bde34995)

### Expected behavior

A dRep should be able to vote on governance actions without encountering errors, regardless of whether the page is refreshed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.