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

sc-consensus-beefy: graceful support for pallet-beefy reset #14217

Merged
merged 4 commits into from
May 25, 2023

Commits on May 24, 2023

  1. Relax BEEFY client requirement on initial authority set id

    BEEFY consensus can be restarted by resetting "genesisBlock" in
    pallet-beefy, but we don't want to also reset authority set IDs so
    that they are uniquely identified across the entire chain history
    regardless of how many times BEEFY consensus has been reset/restarted.
    
    This is why the client should also accept initial
    `authority_set_id != 0`.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    acatangiu committed May 24, 2023
    Configuration menu
    Copy the full SHA
    a3aea30 View commit details
    Browse the repository at this point in the history
  2. Discard BEEFY client persisted state with wrong pallet genesis

    BEEFY client persisted state is discarded on client restarts
    following pallet-beefy reset/reinit.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    acatangiu committed May 24, 2023
    Configuration menu
    Copy the full SHA
    bb9a576 View commit details
    Browse the repository at this point in the history
  3. BEEFY client detects pallet reset/reinit and asks for restart

    Signed-off-by: acatangiu <adrian@parity.io>
    acatangiu committed May 24, 2023
    Configuration menu
    Copy the full SHA
    d18d9c2 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    91b4095 View commit details
    Browse the repository at this point in the history