Describe the bug
For a medium-to-large genesis.jsoninitial_height (reflected in Meteor.settings.params.startHeight), average block time drops suddenly on the second block.
This is tested against big-dipper branch v0.41.x-14.2.
To Reproduce
Steps to reproduce the behavior:
Start bigdipper on a chain with settings.jsonparams.startHeight: 64628, params.defaultBlockTime: 5000 and genesis.jsoninitial_height: "64628"
Notice that "average block height" begins at 5000, but drops near 0 at the next block.
It appears that the calculation (specifically, of the second row of analytics above), averageBlockTime does not take startHeight into account and is somehow using height directly.
Expected behavior
Average block time would hover around 5-10 seconds.
Screenshots
Desktop (please complete the following information):
OS: MacOS
Browser Brave
Version 1.26.67
Smartphone (please complete the following information):
n/a
Additional context
Add any other context about the problem here.
Describe the bug For a medium-to-large
genesis.json
initial_height
(reflected inMeteor.settings.params.startHeight
), average block time drops suddenly on the second block.This is tested against big-dipper branch
v0.41.x-14.2
.To Reproduce Steps to reproduce the behavior:
settings.json
params.startHeight: 64628
,params.defaultBlockTime: 5000
andgenesis.json
initial_height: "64628"
5000
, but drops near 0 at the next block.It appears that the calculation (specifically, of the second row of analytics above),
averageBlockTime
does not takestartHeight
into account and is somehow usingheight
directly.Expected behavior
Average block time would hover around 5-10 seconds.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information): n/a
Additional context Add any other context about the problem here.