mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 11:41:21 +00:00
12080727ea
* Can save fee recipients in db * Update BUILD.bazel Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
18 lines
785 B
Go
18 lines
785 B
Go
package kv
|
|
|
|
import "github.com/pkg/errors"
|
|
|
|
// errDeleteFinalized is raised when we attempt to delete a finalized block/state
|
|
var errDeleteFinalized = errors.New("cannot delete finalized block or state")
|
|
|
|
// ErrNotFound can be used directly, or as a wrapped DBError, whenever a db method needs to
|
|
// indicate that a value couldn't be found.
|
|
var ErrNotFound = errors.New("not found in db")
|
|
var ErrNotFoundState = errors.Wrap(ErrNotFound, "state not found")
|
|
|
|
// ErrNotFoundOriginBlockRoot is an error specifically for the origin block root getter
|
|
var ErrNotFoundOriginBlockRoot = errors.Wrap(ErrNotFound, "OriginBlockRoot")
|
|
|
|
// ErrNotFoundFeeRecipient is a not found error specifically for the fee recipient getter
|
|
var ErrNotFoundFeeRecipient = errors.Wrap(ErrNotFound, "fee recipient")
|