feat: add Commonware Alto Reference Blockchain Node and Benchmark Studio - #200
feat: add Commonware Alto Reference Blockchain Node and Benchmark Studio#200yappermoar-boop wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 18226ac. Configure here.
| const data = await res.json(); | ||
| if (data.success) { | ||
| appendBlockRow(data.block); | ||
| } |
There was a problem hiding this comment.
Stale dashboard chain height
Medium Severity
The header height is set once from static networkMetrics.currentHeight and never updated when produceBlock succeeds, and /api/config always returns the frozen config value instead of the runner’s live height. The dashboard keeps showing the initial height while produced blocks advance past it.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 18226ac. Configure here.
| </div> | ||
| `; | ||
| container.insertBefore(row, container.firstChild); | ||
| } |
There was a problem hiding this comment.
Unbounded ledger DOM growth
Medium Severity
appendBlockRow always inserts a new ledger row and never trims older entries. During auto-production the #blocks-container grows without bound, increasing DOM size and browser memory over time.
Reviewed by Cursor Bugbot for commit 18226ac. Configure here.
| initTabs(); | ||
| loadConfig(); | ||
| initListeners(); | ||
| }); |
There was a problem hiding this comment.
Ledger not restored on load
Medium Severity
Startup only calls loadConfig and never fetches /api/node/blocks, so a refresh or new tab shows an empty ledger even though the server still holds produced blocks. The available blocks API is unused by the UI.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 18226ac. Configure here.


Added interactive Web Studio for running the Alto reference Rust blockchain node, simulating sub-second block production (~250ms target) across a P2P node mesh, inspecting Alto crates architecture, and CLI testing utilities.