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
{{ message }}
Repository navigation
Bulk sync banner mixes processed percentage with committed index height #17
During a fresh mainnet bulk build on 7aac8db495ff, the homepage displayed 11.4% (0 / 21,091,779). The indexer was processing batches; the percentage and the displayed fraction simply referred to different heights.
Why
On upstream main, syncedBlock comes from the committed store tip. While a bulk progress snapshot is fresh, progress instead comes from that snapshot. The banner juxtaposes them as if they were the same measurement. A committed tip of 0 is not itself wrong while the bulk result has not been handed off.
Expected
Show the processed height, target and percentage from the same bulk snapshot. If useful, show the committed/servable tip separately with an explicit label. Keep syncedBlock's API semantics for existing callers. A regression test should cover nonzero bulk progress with a committed tip of zero.
Activity