mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
364ad3fbda
* Add common ancestor root for protoarray * More efficient algo * Tests * Fix linting * Fix linting * Fix linting * Fix linting * Fix linting * Fix linting * Apply suggestions from code review Co-authored-by: Potuz <potuz@prysmaticlabs.com> * Feedbacks * Revert saveHead changes * Revert "Revert saveHead changes" This reverts commit a15fddc2e68b2e370290b1783eb1ee626af17503. * Fix rest of the tests * Update beacon-chain/blockchain/head.go Co-authored-by: Potuz <potuz@prysmaticlabs.com> Co-authored-by: Potuz <potuz@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
6 lines
121 B
Go
6 lines
121 B
Go
package forkchoice
|
|
|
|
import "github.com/pkg/errors"
|
|
|
|
var ErrUnknownCommonAncestor = errors.New("unknown common ancestor")
|