This PR updates MMR-sync. It removes the existing limitation of using FINALIZATION_DEPTH_IN_SEGMENTS lag by calculating the proper temporary key by the block number and saving the MMR-node with a canon key in advance. This change allows us to snap sync to the confirmed domain block instead of to the block within FINALIZATION_DEPTH_IN_SEGMENTS blocks lag and sync several segments after that.
This PR updates MMR-sync. It removes the existing limitation of using
FINALIZATION_DEPTH_IN_SEGMENTS
lag by calculating the proper temporary key by the block number and saving the MMR-node with a canon key in advance. This change allows us to snap sync to the confirmed domain block instead of to the block withinFINALIZATION_DEPTH_IN_SEGMENTS
blocks lag and sync several segments after that.Code contributor checklist: