pathfinder
pathfinder copied to clipboard
P2P: checkpoint sync in endless loop if custom anchor at genesis
Observed loop of:
2024-07-22T11:02:28 TRACE Searching for next gap head=0
2024-07-22T11:02:28 TRACE Start of search was missing head=0
2024-07-22T11:02:28 TRACE Found gap head=0 tail=0
2024-07-22T11:02:28 INFO sync_headers: Syncing headers gap=HeaderGap { head: BlockNumber(0), head_hash: BlockHash(0x05C627D4AEB51280058BED93C7889BCE78114D63BAAD1BE0F0AEB32496D5F19C), tail: BlockNumber(0), tail_parent_hash: BlockHash(0x0000000000000000000000000000000000000000000000000000000000000000) } anchor=EthereumStateUpdate { state_root: StateCommitment(0x00E005205A1327F3DFF98074E528F7B96F30E0624A1DFCF571BDC81948D150A0), block_number: BlockNumber(0), block_hash: BlockHash(0x05C627D4AEB51280058BED93C7889BCE78114D63BAAD1BE0F0AEB32496D5F19C) }
2024-07-22T11:02:28 TRACE sync_headers: Streaming headers start=BlockNumber(0) stop=BlockNumber(0) direction=Backward anchor=EthereumStateUpdate { state_root: StateCommitment(0x00E005205A1327F3DFF98074E528F7B96F30E0624A1DFCF571BDC81948D150A0), block_number: BlockNumber(0), block_hash: BlockHash(0x05C627D4AEB51280058BED93C7889BCE78114D63BAAD1BE0F0AEB32496D5F19C) }
2024-07-22T11:02:28 INFO sync_headers:sync_headers: Syncing headers anchor=EthereumStateUpdate { state_root: StateCommitment(0x00E005205A1327F3DFF98074E528F7B96F30E0624A1DFCF571BDC81948D150A0), block_number: BlockNumber(0), block_hash: BlockHash(0x05C627D4AEB51280058BED93C7889BCE78114D63BAAD1BE0F0AEB32496D5F19C) } gap=HeaderGap { head: BlockNumber(0), head_hash: BlockHash(0x05C627D4AEB51280058BED93C7889BCE78114D63BAAD1BE0F0AEB32496D5F19C), tail: BlockNumber(0), tail_parent_hash: BlockHash(0x0000000000000000000000000000000000000000000000000000000000000000) }
syncing does not progress.