Skip to content

Block isn't descendant of latest finalized block on node restart #1366

Open
@rodrigo-o

Description

@rodrigo-o

I stumble upon this issue while needing to stop and rerun the node, the node was running for 1+ day without issues and after restarting it and immediately after syncing the ForkChoice.on_block/2 error: block isn't descendant of latest finalized block appeared and stopped the canonical chain.

  |   | 2025-01-23 12:01:24.017 | [Libp2p] Slot transition |  
  |   | 2025-01-23 12:01:13.178 | [PendingBlocks] Parent block with root:0xe0d..7b46 is invalid, making this block also invalid |  
  |   | 2025-01-23 12:01:12.386 | [Gossip] Block received, block.slot: 6825906. |  
  |   | 2025-01-23 12:01:12.017 | [Libp2p] Slot transition |  
  |   | 2025-01-23 12:01:00.400 | [PendingBlocks] Parent block with root:0xb6a..5797 is invalid, making this block also invalid |  
  |   | 2025-01-23 12:01:00.179 | [Gossip] Block received, block.slot: 6825905. |  
  |   | 2025-01-23 12:01:00.017 | [Libp2p] Slot transition |  
  |   | 2025-01-23 12:00:49.180 | [PendingBlocks] Parent block with root:0xc15..0d66 is invalid, making this block also invalid |  
  |   | 2025-01-23 12:00:49.135 | [Gossip] Block received, block.slot: 6825904. |  
  |   | 2025-01-23 12:00:49.055 | [PendingBlocks] Parent block with root:0x3a8..a00f is invalid, making this block also invalid |  
  |   | 2025-01-23 12:00:49.053 | [PendingBlocks] Saving block as invalid after ForkChoice.on_block/2 error: block isn't descendant of latest finalized block |  
  |   | 2025-01-23 12:00:49.022 | [Fork choice] Failed to add block: block isn't descendant of latest finalized block |  
  |   | 2025-01-23 12:00:48.878 | [Block processing] Computing committees for epoch 213309 |  
  |   | 2025-01-23 12:00:48.817 | [Fork choice] Adding new block |  
  |   | 2025-01-23 12:00:48.744 | [Optimistic Sync] Sync completed. Subscribing to gossip topics. |  
  |   | 2025-01-23 12:00:48.718 | [Optimistic Sync] Range 6825902 - 6825904 downloaded successfully, with 2 blocks and 1 missing. |  
  |   | 2025-01-23 12:00:48.657 | [Optimistic Sync] Blocks remaining: 3 |  
  |   | 2025-01-23 12:00:48.653 | [Optimistic sync] Sending request for slots 6825902 to 6825904 (request size = 3). |  
  |   | 2025-01-23 12:00:48.649 | [Optimistic sync] Performing optimistic sync between slots 6825902 and 6825904, for a total of 3 slots. |  
  |   | 2025-01-23 12:00:48.017 | [Libp2p] Slot transition |  
  |   | 2025-01-23 12:00:36.017 | [Libp2p] Slot transition |  
  |   | 2025-01-23 12:00:33.621 | [Optimistic Sync] Waiting 15.0 seconds to discover some peers before requesting blocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1This is a MUST for this milestone. It's a main feature, or blocking other main features.bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions