Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Ensure custom select chain is applied consistently  #2556

@gnunicorn

Description

@gnunicorn

following #2240 , which focused on refactoring client to provide to customize the strategy to pick a fork easily, it has been pointed out that ForkChoiceStrategy and some related code in client.rs that uses it, might still implicitly pick the longest chain.

Let's go through client.rs and all other places ForkChoiceStrategy influences and make sure that:

  1. the customised strategy is applied successfully and no other code implies to know which best chain to pick instead
  2. ForkChoiceStrategy is in a consistent state with the chosen strategy

Metadata

Metadata

Assignees

No one assigned

    Labels

    I2-securityThe client fails to follow expected, security-sensitive, behaviour.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions