A new maintenance release for Heimdall, v0.5.2, is now available. This update includes important improvements, bug fixes, and is a mandatory upgrade in preparation for an upcoming hard fork.
Upcoming Mainnet Hard Fork
This release sets the block height for the next mainnet hard fork, scheduled for Tuesday, December 16th, at approximately 12:00 UTC, at block 34966593. The hard fork will enable a new transaction type that allows block producers to signal planned downtime.
New Feature: Online Pruning
This is the first stable release to include the new online pruning solution. This feature helps node operators drastically reduce Heimdall's disk usage and keep it stable. To enable it, update your configuration files:
In config.toml:
[storage]
compact = true
compaction_interval = 1000
[storage.pruning]
interval = "3h"
indexer_pruning_enabled = true
In app.toml:
min-retain-blocks = 2500000
Performance and Security Improvements
This release also brings several key enhancements:
# Description This is a maintenance release containing improvements and bugs' fixes. It also sets the block height for the upcoming mainnet HF, scheduled for **Tuesday, December 16th at around 12:00 UTC**, block `34966593`. This release can be used on mainnet and amoy. Also, it's the first stable release shipping the new online `pruning` solution, helping node operators drastically reduce the disk size for heimdall, and keeping it stable going forward. To enable it: - on `config.toml`: ``` [storage] compact = true compaction_interval = 1000 [storage.pruning] interval = "3h" indexer_pruning_enabled = true ``` - on `app.toml`: ``` min-retain-blocks = 2500000 ``` Please, check `./packaging/templates/config/amoy/app.toml` or `./packaging/templates/config/mainnet/app.toml` for more info and comprehensive descriptions for each variable. ## What's Changed * revert: rio height to 256 by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/489 * chore: bump kurtosis-pos by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/490 * opt: RPC Calls in Milestone Block Fetching by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/491 * chore: bump kurtosis-pos by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/494 * perf(milestone): optimize RPC calls in block fetching by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/493 * Pruner Optimization by @lucca30 in https://github.com/0xPolygon/heimdall-v2/pull/496 * fix releaser by @lucca30 in https://github.com/0xPolygon/heimdall-v2/pull/497 * Backporting Main to Develop by @lucca30 in https://github.com/0xPolygon/heimdall-v2/pull/500 * Set producer planned downtime by @avalkov in https://github.com/0xPolygon/heimdall-v2/pull/472 * Removing main/master package trigger by @djpolygon in https://github.com/0xPolygon/heimdall-v2/pull/502 * Enable test for SetValidatorDowntime tx by @avalkov in https://github.com/0xPolygon/heimdall-v2/pull/501 * chore: backport main to develop by @kamuikatsurgi in https://github.com/0xPolygon/heimdall-v2/pull/505 * refactor: omit unnecessary reassignment by @rifeplight in https://github.com/0xPolygon/heimdall-v2/pull/508 * misc fixes and improvements by @marcello33 in https://github.com/0xPolygon/heimdall-v2/pull/507 * Producer downtime tx HF block by @avalkov in https://github.com/0xPolygon/heimdall-v2/pull/509 * v0.5.2 candidate by @marcello33 in https://github.com/0xPolygon/heimdall-v2/pull/511 ## New Contributors * @rifeplight made their first contribution in https://github.com/0xPolygon/heimdall-v2/pull/508 **Full Changelog**: https://github.com/0xPolygon/heimdall-v2/compare/v0.4.5...v0.5.2