mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
a49c0f19ae
* add sync committee head state cache * handle err in init * include file in build file Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
12 lines
410 B
Go
12 lines
410 B
Go
package cache
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
// ErrNotFound for cache fetches that return a nil value.
|
|
ErrNotFound = errors.New("not found in cache")
|
|
// ErrNonExistingSyncCommitteeKey when sync committee key (root) does not exist in cache.
|
|
ErrNonExistingSyncCommitteeKey = errors.New("does not exist sync committee key")
|
|
errNotSyncCommitteeIndexPosition = errors.New("not syncCommitteeIndexPosition struct")
|
|
)
|