prysm-pulse/beacon-chain/state/stategen/errors.go

14 lines
471 B
Go
Raw Normal View History

package stategen
import "errors"
var errUnknownBoundaryState = errors.New("unknown boundary state")
var errUnknownState = errors.New("unknown state")
var errUnknownBlock = errors.New("unknown block")
// errNilState returns when we have obtained a nil state from stategen
var errNilState = errors.New("nil state from stategen")
// ErrNoGenesisBlock is returned when no genesis block is available.
var ErrNoGenesisBlock = errors.New("could not get genesis block root")