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

Chain powers are not extracted #224

Closed
iand opened this issue Nov 13, 2020 · 2 comments · Fixed by #255
Closed

Chain powers are not extracted #224

iand opened this issue Nov 13, 2020 · 2 comments · Fixed by #255
Labels
kind/bug Kind: Bug

Comments

@iand
Copy link
Contributor

iand commented Nov 13, 2020

Describe the bug:

The chain_powers table is empty after running the storage power actor extractor. I didn't see any errors during the backfill which covered 31881 actor states. The power_actor_claims table which is written by the same task does have data in it.

(see https://protocollabs.slack.com/archives/CT2265RFZ/p1604926790480700?thread_ts=1604921495.478300&cid=CT2265RFZ for a tiny amount of context)

Steps to Reproduce:

Visor Version

visor-v0.2.0+72-ge1942a5-dirty (iand/beefy branch)

This commit: 64d05f2

@iand iand added the kind/bug Kind: Bug label Nov 13, 2020
@frrist
Copy link
Member

frrist commented Nov 13, 2020

Most recent changes to the code path were made in #172.

Until this is resolved the values can be extracted from actor_states.

@iand
Copy link
Contributor Author

iand commented Nov 16, 2020

For comparison,

sentinel-analysis=> select * from visorstats.power_actor_claims order by lower; 
 lower  | upper  | count 
--------+--------+-------
 140000 | 149999 |  4835
 150000 | 159999 |  2849
 160000 | 169674 |  3018
 170000 | 179999 |  2558
 180000 | 189996 |  4886
 190000 | 199997 |  4989
 200000 | 209996 |  5422
 210000 | 210998 |   516
(8 rows)

sentinel-analysis=> select * from visorstats.chain_powers order by lower; 
 lower | upper | count 
-------+-------+-------
     0 |     0 | 29392
(1 row)

Maybe an issue with height? Is it zero?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Kind: Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants