harmony-one / harmony-log-analysis

Harmony Log Analysis and Visualization
5 stars 3 forks source link

R5 Fail Crosslink delay caused rewards paid delay #11

Open ivorytowerdds opened 4 years ago

ivorytowerdds commented 4 years ago

Due to the crosslink delay, rewards got paid at a later time, and make the stats earned-reward not correct, sometimes reflects one block rewards, sometimes multiple.

2020-05-17 16:41:15,961: INFO: Test-R5: Reward given out to block signers sums up to the total block reward
2020-05-17 16:41:15,961: INFO: check sum over earned-reward diff of all keys per shard = 28
2020-05-17 16:41:16,517: INFO: current and last block numbers: 3383243, 3391487
2020-05-17 16:41:26,388: INFO: current block 3383244, will begin collecting infos...
2020-05-17 16:41:34,855: INFO: new block 3383245 reached, will begin testing...
2020-05-17 16:41:35,348: WARNING: Test-R5: Fail
2020-05-17 16:41:35,348: WARNING: shard: 0, block: 3383245, sum of earned reward: 0.00000000000000000000e+00, block reward: 2.80000000000000000000e+19

2020-05-17 16:41:35,348: WARNING: Test-R5: Fail
2020-05-17 16:41:35,348: WARNING: shard: 1, block: 3383245, sum of earned reward: 0.00000000000000000000e+00, block reward: 2.80000000000000000000e+19

2020-05-17 16:41:35,349: WARNING: Test-R5: Fail
2020-05-17 16:41:35,349: WARNING: shard: 2, block: 3383245, sum of earned reward: 0.00000000000000000000e+00, block reward: 2.80000000000000000000e+19

2020-05-17 16:41:35,349: WARNING: Test-R5: Fail
2020-05-17 16:41:35,349: WARNING: shard: 3, block: 3383245, sum of earned reward: 0.00000000000000000000e+00, block reward: 2.80000000000000000000e+19
ivorytowerdds commented 4 years ago

validator stats which supplies the metrics is not configured to work ByBlockNumber... it always overwrites the previous stats.. hence, getAllValidatorInformationByBlock won't work if you want to get the stats