Fantom-foundation / Aida

Aida is a block-processing testing infrastructure for EVM-compatible chains.
GNU Lesser General Public License v3.0
4 stars 12 forks source link

Fix logic of recent interval #1102

Closed wsodsong closed 3 months ago

wsodsong commented 3 months ago

Description

The printing logic should print a zoom-in chart when the last 10M blocks are accounted for less than 40% of the total blocks. The current logic doesn't print charts as expected.

as is: 40% > (last - 10M) / (last - first) fixed: 40% > 10M /(last - first)

Type of change

Please delete options that are not relevant.

rpl-ffl commented 3 months ago

Thank you for the bug fix!