Skip to content

The F3 <-> EC fork issue #718

@Stebalien

Description

@Stebalien

There's a theoretical issue where, if F3 takes a long time to finalize a tipset, it might cause long-range forks in EC. We're alleviating this by:

  1. Never trying to finalize the current head (Set the default EC lookback to 4 #716).
  2. Preventing clients (e.g., lotus) from accepting finality certificates that would revert beyond EC finality (Prevent very large reverts based on finality certificates #717).

However, the issue still persists. The core of the issue is that:

  1. F3 gets a chain from EC.
  2. F3 can spend an arbitrary amount of time trying to finalize it.
  3. In the meantime, EC fork away from the head F3 ends up deciding on.

To fix this, we likely need some way for F3 to discard the current proposal (if too old) and get a new one from the client. However, this is tricky to implement in the current GPBFT protocol without breaking the liveness guarantees.

There are really two parts to this issue:

  1. Reducing the likelihood of long-range (10+ epochs) forks (to avoid breaking client assumptions).
  2. Preventing forks beyond EC finality.

However, the catch is that nobody can emit two decide messages for the same instance without potentially breaking GPBFT. But there are also certain decisions that are simply unacceptable.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions