package store import ( ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" ) // New creates a store object. func New(justifiedCheckpt *ethpb.Checkpoint, finalizedCheckpt *ethpb.Checkpoint) *Store { return &Store{ justifiedCheckpt: justifiedCheckpt, prevJustifiedCheckpt: justifiedCheckpt, bestJustifiedCheckpt: justifiedCheckpt, finalizedCheckpt: finalizedCheckpt, prevFinalizedCheckpt: finalizedCheckpt, } }