Heimdall v0.4.3 is now available, introducing significant improvements for node maintenance, performance, and monitoring.
Node Maintenance and Performance
A major new feature for node operators is the heimdalld prune-comet command. This allows for offline database pruning to better manage disk space and includes features like asynchronous compaction.
To support this, the release also introduces new default configuration flags for pruning and compaction. The underlying CometBFT dependency has been updated to its latest version, incorporating upstream stability and performance enhancements.
Performance during syncing and regular operation has been improved:
- A new "fast forward" logic enables nodes to propose milestones more frequently when they are significantly behind, allowing them to catch up faster.
- To reduce the operational load on Bor nodes, Heimdall now queries for milestone blocks only up to the latest Bor block, instead of a larger, fixed range.
New Endpoints and Commands
New tools have been added for improved monitoring and utility:
- A /health endpoint is now available for simplified node health checks.
- Validators can use the new /bor/validator-performance-score RPC endpoint to query the performance scores for all validators.
- The ve-decode command has been optimized to accept a chain-id argument directly, making it more efficient.
- A new heimdalld command is available to generate a node ID directly from CometBFT.
Finally, the checkpointing flow has been enhanced with better logging for common errors and proposer changes, along with implementing checks for empty checkpoints.
## What's Changed * improvements for checkpoints flow by @marcello33 in https://github.com/0xPolygon/heimdall-v2/pull/448 * Add test for wrong contract address in clerk event by @Raneet10 in https://github.com/0xPolygon/heimdall-v2/pull/450 * Backport v0.3.0 by @marcello33 in https://github.com/0xPolygon/heimdall-v2/pull/453 * cmd(ve-decode): use chain-id instead of parsing genesis file by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/462 * Resolve main develop conflicts by @Raneet10 in https://github.com/0xPolygon/heimdall-v2/pull/461 * chore: bump kurtosis-pos and decrease the bridge polling time by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/464 * Query blocks for milestone up to latest bor block by @avalkov in https://github.com/0xPolygon/heimdall-v2/pull/452 * Add test for AddNewVeblopSpan by @Raneet10 in https://github.com/0xPolygon/heimdall-v2/pull/466 * Change milestone fast forward calculation by @avalkov in https://github.com/0xPolygon/heimdall-v2/pull/465 * feat: first iter of health service endpoint by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/468 * Default Prune and Compaction Config by @lucca30 in https://github.com/0xPolygon/heimdall-v2/pull/467 * update readme and commands by @marcello33 in https://github.com/0xPolygon/heimdall-v2/pull/471 * chore: bump kurtosis-pos by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/477 * Performance score endpoint by @cffls in https://github.com/0xPolygon/heimdall-v2/pull/478 * chore: backport main to develop by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/483 * bump comet and other deps by @marcello33 in https://github.com/0xPolygon/heimdall-v2/pull/485 * bump sec tools by @marcello33 in https://github.com/0xPolygon/heimdall-v2/pull/487 * Command for Comet Offline Prune by @lucca30 in https://github.com/0xPolygon/heimdall-v2/pull/488 * chore: use rio as default by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/484 **Full Changelog**: https://github.com/0xPolygon/heimdall-v2/compare/v0.4.2...v0.4.3