-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Running test R5 from Jupyter Notebook 6.0.3 gives following error;
Test-R5: Reward given out to block signers sums up to the total block reward
enter the number of blocks you want to test: 10
current block 12393 next block 12394
KeyError Traceback (most recent call last)
in
----> 1 R5_test()
in R5_test()
33 address = i['validator']['address']
34 reward_accumulated = i['lifetime']['reward-accumulated']
---> 35 shard_metrics = i['metrics']['by-shard']
36 validator_reward = 0
37 for by_shard in shard_metrics:
KeyError: 'by-shard'
Metadata
Metadata
Assignees
Labels
No labels