Heimdall v2 Migration Approaching
Node Operators, It’s Time to Prepare
Hey Polygon community
We’re nearing the start of the long-anticipated Heimdall v1 → v2 migration, and this post is your first official heads-up to begin preparing — especially if you are operating validator or sentry nodes.
Rollout Plan
The migration will begin soon:
- First on Amoy testnet, on Tuesday, June 24th, 2025, between 06.30 PM and 09.30 PM UTC
- Then on Mainnet, on Thursday, July 10th, 2025, between 2.00 PM and 5.00 PM UTC
While we finalize the exact schedule, we urge all node operators to begin familiarizing themselves with the migration process, tooling, and requirements.
Heimdall-v2 docs
All information about Heimdall-v2 are published (and will be continuously updated) in the official docs:
Polygon PoS Docs:
https://docs.polygon.technology/pos/heimdall_v2/introduction/
Under the new Heimdall-v2 section you can find:
- New APIs for heimdall-v2 (please adapt any 3rd party code relying on such endpoints in time…)
- New APIs for cosmos-sdk (please adapt any 3rd party code relying on such endpoints in time…)
- Modules description and READMEs
- Changes from v1
- Much more…
Migration Resources
The official migration logic, scripts, and runbook are live in the Heimdall v2 repository:
Heimdall v2 repo:
https://github.com/0xPolygon/heimdall-v2
Migration folder:
https://github.com/0xPolygon/heimdall-v2/tree/develop/migration
Please pay particular attention to:
- README
- Manual migration instructions, if you plan to execute the migration manually on a
heimdall
systemd
process - Automated migration instructions, if you are using the provided script
- Containerized migration instructions, if you are using containerized environments (e.g.,
docker
)
Note: The script is tested on Linux/Ubuntu systems.
What’s New in Heimdall v2
- All custom modules (
bor
,chainmanager
,checkpoint
,clerk
,milestone
,stake
,topup
) live in the Heimdall v2 repo - All other modules (
auth
,bank
,gov
) are in the Polygon Cosmos SDK fork (based onv0.50.x
) - Heimdall v2 uses its own CometBFT fork (based on v0.38.x) instead of Tendermint
Key Technical Facts
- Expected migration duration:
The estimated time for script execution (not including potential troubleshooting or preparation) is- ~10 minutes on Amoy
- ~30 minutes on Mainnet
- Finality:
- Heimdall-v2 should bring a significant drop in finality, from 90s to 4–6s
- Block time:
- Block time is expected to reduce from 5–6s to ~2s
- Requirements:
- At least 20GB free RAM at time of migration
- At least 2× the size of HEIMDALL_HOME in disk space (in case you want to have a backup - which can be deleted later)
- What gets migrated:
- Application data: checkpoints, state syncs, balances, accounts, supply, milestones, etc…
- What does not get migrated:
- Blockchain history. Keep a v1 RPC node running if you need to serve old block data.
- Heimdall v2 will have a new chain ID and its initial block at genesis will be the last block committed from heimdall-v1 + 1
- Bor will continue operating throughout the migration process, so the Polygon PoS chain itself will not experience downtime. Only Heimdall will pause temporarily, which means cross-chain operations, such as checkpoint submissions, deposits, and withdrawals, will be suspended during the migration window.
Important PIPs
- PIP-62 – Heimdall v2 Migration Overview
- PIP-44 – Cosmos SDK 0.50.x Upgrade
- PIP-43 – CometBFT Integration
What’s Next?
In the coming days, we will be publishing:
- Final release tags for:
heimdall-v1
(to stop the current chain): https://github.com/maticnetwork/heimdall/releases/tag/v1.6.0bor
(to be able to work with v1 and v2 simultaneously): https://github.com/maticnetwork/bor/releases/tag/v2.2.8heimdall-v2
(to start the new chain): https://github.com/0xPolygon/heimdall-v2/releases/tag/v0.2.9- Additional posts and updates on:
- GitHub
- Forum
- Other validator/operator channels
All node operators are called to test early, and prepare accordingly. Your timely readiness will ensure a smooth upgrade across the ecosystem.
Thanks for building with us
— The Polygon PoS Core Team