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 Backend Related 🐛 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

@JanJaroszczak JanJaroszczak added ⚙ Backend Backend Related 🐛 Bug Something isn't working labels May 8, 2024
jankun4 added a commit that referenced this issue May 13, 2024
@jankun4 jankun4 linked a pull request May 13, 2024 that will close this issue
5 tasks
MSzalowski added a commit that referenced this issue May 15, 2024
…ed-after-change-from-drep-to-direct-voter

[#957] drep/list drep type fix
@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 Backend Related 🐛 Bug Something isn't working
Projects
Status: In staging
Development

Successfully merging a pull request may close this issue.

3 participants