Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

KeyError when doing load of any denomination #8

Open
lestephane opened this issue Jul 3, 2022 · 0 comments
Open

KeyError when doing load of any denomination #8

lestephane opened this issue Jul 3, 2022 · 0 comments

Comments

@lestephane
Copy link

Version info:

whirlpool_stats: v0.2.0,
python: 3.10.5

Reproduction

wst#/tmp> download

Start download of snapshot for 05 denomination
  whirlpool_mix_txs_05.csv downloaded
  whirlpool_tx0s_05.csv downloaded
  whirlpool_links_05.csv downloaded
Download complete

Start download of snapshot for 005 denomination
  whirlpool_mix_txs_005.csv downloaded
  whirlpool_tx0s_005.csv downloaded
  whirlpool_links_005.csv downloaded
Download complete

Start download of snapshot for 001 denomination
  whirlpool_mix_txs_001.csv downloaded
  whirlpool_tx0s_001.csv downloaded
  whirlpool_links_001.csv downloaded
Download complete

Start download of snapshot for 0001 denomination
  whirlpool_mix_txs_0001.csv downloaded
  whirlpool_tx0s_0001.csv downloaded
  whirlpool_links_0001.csv downloaded
Download complete

 
wst#/tmp> load 05

Start loading snapshot for 05 denomination
  Mix txs loaded
  Tx0s loaded
  Tx links loaded
Done!
Start computing metrics (forward-looking)
  Computed metrics for round 15746 (0%)
...
  Computed metrics for round 10946 (30%)
Traceback (most recent call last):
  File "/home/lestephane/GitRepos/whirlpool_stats/whirlpool_stats/wst.py", line 303, in <module>
    wst.cmdloop('Starting Whirlpool Stats Tools...\nType "help" for a list of available commands.\n')
  File "/home/lestephane/.asdf/installs/python/3.10.5/lib/python3.10/cmd.py", line 138, in cmdloop
    stop = self.onecmd(line)
  File "/home/lestephane/.asdf/installs/python/3.10.5/lib/python3.10/cmd.py", line 217, in onecmd
    return func(arg)
  File "/home/lestephane/GitRepos/whirlpool_stats/whirlpool_stats/wst.py", line 142, in do_load
    self.fwd_metrics.compute()
  File "/home/lestephane/GitRepos/whirlpool_stats/whirlpool_stats/../whirlpool_stats/services/forward_metrics.py", line 63, in compute
    next_info = d_mix_descendants[next_tiid]
KeyError: 3615858618
  • load 005 fails at round 32366 (46%) with KeyError: 3277936734
  • load 001 fails at round 102534 (20%) with KeyError: 3878242026
  • load 0001 fails at round 22382 (70%) with KeyError: 3687481276

I'm effectively unable to plot anything.

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

No branches or pull requests

1 participant