mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 20:07:17 +00:00
a90335b15e
* Use get block * Remove unused errNilParentInDB * Fix TestVerifyBlkDescendant * Update beacon-chain/blockchain/service.go Co-authored-by: Potuz <potuz@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Potuz <potuz@prysmaticlabs.com>
20 lines
1.0 KiB
Go
20 lines
1.0 KiB
Go
package blockchain
|
|
|
|
import "github.com/pkg/errors"
|
|
|
|
var (
|
|
// errNilJustifiedInStore is returned when a nil justified checkpt is returned from store.
|
|
errNilJustifiedInStore = errors.New("nil justified checkpoint returned from store")
|
|
// errNilBestJustifiedInStore is returned when a nil justified checkpt is returned from store.
|
|
errNilBestJustifiedInStore = errors.New("nil best justified checkpoint returned from store")
|
|
// errNilFinalizedInStore is returned when a nil finalized checkpt is returned from store.
|
|
errNilFinalizedInStore = errors.New("nil finalized checkpoint returned from store")
|
|
// errInvalidNilSummary is returned when a nil summary is returned from the DB.
|
|
errInvalidNilSummary = errors.New("nil summary returned from the DB")
|
|
// errWrongBlockCount is returned when the wrong number of blocks or
|
|
// block roots is used
|
|
errWrongBlockCount = errors.New("wrong number of blocks or block roots")
|
|
// block is not a valid optimistic candidate block
|
|
errNotOptimisticCandidate = errors.New("block is not suitable for optimistic sync")
|
|
)
|