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

Could not find validator index for public key error (Prysm@Medalla) #12

Closed
ongrid opened this issue Oct 2, 2020 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@ongrid
Copy link
Contributor

ongrid commented Oct 2, 2020

Since there is a noticeable time gap between the deposit submission and appearance validator on the net, the Prysm client on Medalla, Spadina and Zinken will observe zero balances of the requested validators. This should be treated correctly (errors should be ignored).

curl "http://95.217.143.217:5555/eth/v1alpha1/validators/balances?publicKeys=o4Tw13cd4CeODpsTJLGgm7iz%2BKYt%2F824NwbjOHZN6JPGSNar204CXvDoWlEad6Iu&publicKeys=kYRaEuB%2FV70cqLqHwpdGHCB1x2zmALm7iJneAIjwknnuXlIrhHWfGoV8SpoEijWL&publicKeys=gcy00TbMJhOtKs43I6zVqkT2snLiEOAIdE77sk9o5L9hQn8H25ndxodGENflEwho&publicKeys=uM0D%2BnAt3Ue4JqNQhlHoQGZfGGizjEVwk8vLaQX1qDBQ4xuEcCqfGRDG%2F9%2BQresW"

{
  "error": "Could not find validator index for public key 0xb8cd03fa702ddd47b826a3508651e840665f1868b38c457093cbcb6905f5a83050e31b84702a9f1910c6ffdf90adeb1e",
  "code": 5,
  "message": "Could not find validator index for public key 0xb8cd03fa702ddd47b826a3508651e840665f1868b38c457093cbcb6905f5a83050e31b84702a9f1910c6ffdf90adeb1e",
  "details": []
}

Related: py-oracle#6

@ongrid ongrid added the bug Something isn't working label Oct 2, 2020
@ongrid
Copy link
Contributor Author

ongrid commented Nov 27, 2020

Need to check if this still applicable (after lido-dao#198 and lido-dao#197.
Note: 3 days ago prysm upgraded to v1.0.0.

onionglass added a commit that referenced this issue Dec 11, 2020
* Change algorithm to get balances in cycle
* Update testts
Related #12
onionglass added a commit that referenced this issue Dec 11, 2020
* Change algorithm to get balances in cycle
* Update testts
Related #12
@ongrid ongrid closed this as completed Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants