You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The call for logger that logs the block height to prometheus is located in the blockPush method. Meanwhile the implementation of applying snapshot is not using blockPush. Because of this, the block height of the node that just applied a snapshot is not logged, it should wait for the node to apply blockPush on the next block.
Steps to reproduce
Run a node that downloads and apply a snapshot
Observe that in the prometheus metrics the height metric is not updated unless it applies the next block.
Expected behavior
Once a snapshot has been applied, Prometheus needs to know about the update of the blockchain state.
The text was updated successfully, but these errors were encountered:
Description
The call for logger that logs the block height to prometheus is located in the
blockPush
method. Meanwhile the implementation of applying snapshot is not usingblockPush
. Because of this, the block height of the node that just applied a snapshot is not logged, it should wait for the node to applyblockPush
on the next block.Steps to reproduce
Expected behavior
Once a snapshot has been applied, Prometheus needs to know about the update of the blockchain state.
The text was updated successfully, but these errors were encountered: