Currently I’m in a situation where I need to sync Heimdall and Bor from a specific block and up from a fresh system. However, I cannot find any relative docs, which makes me question if this even possible. With that said, what possible methods can achieve the above?
I’m also interested in this question. There are almost no answers on the forum, the documentation is very selective and the nodes will soon be confusing in petabytes
If you want to sync Bor and Heimdall from a specific block without using a snapshot, you can do it by configuring the node to start at a chosen block height. For Bor, use the --syncmode=fast or --syncmode=full along with the --gcmode=archive if needed, and specify the --start-block option if available. For Heimdall, ensure the genesis and chain configuration match, then start the node with a custom start-height in the config. Keep in mind syncing from an arbitrary block may require trusted peers to fill historical state, so peer connectivity is critical to avoid stale or incomplete data.
Syncing Bor and Heimdall from a specific block without using a snapshot isn’t officially documented and can be tricky. In most cases, nodes are expected to sync from genesis or rely on snapshots to avoid state inconsistencies. A possible workaround is manually configuring the start block and pruning state data, but this requires careful validation and testing to avoid consensus issues.
For complex setups like this, it sometimes helps to look at system-level tuning tools that give more control over low-level behavior and performance, especially when dealing with long sync processes and custom configurations. That won’t replace official tooling, but it can help optimize and stabilize your environment while experimenting.
Hopefully someone from the Polygon team can confirm whether partial sync support is planned or officially supported.