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

Wrong DRep type returned after change from DRep to Direct Voter #957

Closed
JanJaroszczak opened this issue May 8, 2024 · 1 comment · Fixed by #1001
Closed

Wrong DRep type returned after change from DRep to Direct Voter #957

JanJaroszczak opened this issue May 8, 2024 · 1 comment · Fixed by #1001
Assignees
Labels
⚙ Backend 🐛 Bug Something isn't working

Comments

@JanJaroszczak
Copy link
Contributor

JanJaroszczak commented May 8, 2024

When a user, so far registered as DRep, registers as Direct Voter:

  • ada-holder/get-current-delegation/{stakekey} returns:
    Image

  • drep/info/{drepId} returns (isRegisteredAsSoleVoter: true):
    Image

  • but drep/list?page=0&pageSize=10&search={dRepView of myself} still returns type: "DRep":
    Image

@pmbinapps
Copy link

pmbinapps commented May 15, 2024

OK when user is Retired as Direct Voter and Registered as DRep:

Image

NOT OK when user Retired as DRep and Registred as Direct Voter - his DRep id is not retrived by /drep/list endpoing

Image

@JanJaroszczak @jankun4 please consult if regarding above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙ Backend 🐛 Bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants