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

Missed priority on baking_rights #933

Open
Messer4 opened this issue Oct 13, 2020 · 4 comments
Open

Missed priority on baking_rights #933

Messer4 opened this issue Oct 13, 2020 · 4 comments
Labels

Comments

@Messer4
Copy link

Messer4 commented Oct 13, 2020

Problem: In table baking_rights for each level missed some random baker priority. Usually missed priorities > 4. Same bug still actual for 2020-july-release-24. As I see missed baking rights where delegate have multirights for block, so probably problem in baking_rights_pkey
I can make dump of my local db, or you can check that on some public Conseil API:
https://node5.nyc.tezos.org.sg/chains/main/blocks/head/helpers/baking_rights?max_priority=64

@ivanopagano
Copy link
Contributor

Trying to frame the issue, I guess we would expect all priorities being in the results, with no gaps?

I miss some basic domain knowledge, here, making sure I understand the issue

@Messer4
Copy link
Author

Messer4 commented Oct 19, 2020

Probably you make helpers/baking_rights request without all=true param and tezos node return rights without duplicates.
But would be better index all rights without gaps a similar to tezos node rpc resp
on /blocks/head/helpers/baking_rights?all=true

@ivanopagano
Copy link
Contributor

That's a greatly helpful insight, thank you @Messer4 we'll do that and check the results

@Messer4
Copy link
Author

Messer4 commented Jul 21, 2021

Hi
Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants