Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consensus/bor: validate valset from header at sprint end (#7438)
This PR adds changes from maticnetwork/bor#768 and maticnetwork/bor#787. Note that bor fetches the data from the child chain contract via `getBorValidators` method while erigon does it via fetching the required span from heimdall (or cache if present). Hence, as done in bor, we don't really need to create new methods to get data via block number or hash.
- Loading branch information