Skip to content
Unverified Commit 99df3919 authored by Serban Iorga's avatar Serban Iorga Committed by GitHub
Browse files

BEEFY: `expect_validator_set()` fix (#2716)

Fixes #https://github.com/paritytech/polkadot-sdk/issues/2699

Modifying `expect_validator_set()` in order to be able to walk back
until block 0. The chain state at block 0 is available even if we use
`--sync fast` or `--sync warp`. This way we can retrieve the initial
authority set even when BEEFY genesis is 1 and there is no authority
change entry in the headers log.

Credits to @acatangiu

 for the solution

---------

Co-authored-by: default avatarAdrian Catangiu <[email protected]>
parent b58f0aef
Pipeline #426357 failed with stages
in 53 minutes and 46 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment