prysm-pulse/beacon-chain/state/stategen/errors.go
Potuz ad65c841c4
Add a justified balance getter to forkchoice (#11513)
* init

* unit test

* DeepSource complains

* gaz

* shutting deepsource down

* change var name and use handler type

* Kasey's name suggestion

* fix stategen

* interface signature

Co-authored-by: terencechain <terence@prysmaticlabs.com>
2022-09-30 06:39:07 -03:00

11 lines
330 B
Go

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")