mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-15 14:38:20 +00:00
963acefe12
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: kasey <489222+kasey@users.noreply.github.com> Co-authored-by: Dan Loewenherz <dloewenherz.adm@gmail.com> Co-authored-by: prestonvanloon <preston@prysmaticlabs.com> Co-authored-by: Fredrik Svantes <fredrik@ethereum.org> Co-authored-by: Leo Lara <leolara@users.noreply.github.com>
37 lines
1.5 KiB
Go
37 lines
1.5 KiB
Go
package v1
|
|
|
|
import (
|
|
"github.com/pkg/errors"
|
|
ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1"
|
|
)
|
|
|
|
// CurrentEpochParticipation is not supported for phase 0 beacon state.
|
|
func (*BeaconState) CurrentEpochParticipation() ([]byte, error) {
|
|
return nil, errors.New("CurrentEpochParticipation is not supported for phase 0 beacon state")
|
|
}
|
|
|
|
// PreviousEpochParticipation is not supported for phase 0 beacon state.
|
|
func (*BeaconState) PreviousEpochParticipation() ([]byte, error) {
|
|
return nil, errors.New("PreviousEpochParticipation is not supported for phase 0 beacon state")
|
|
}
|
|
|
|
// InactivityScores is not supported for phase 0 beacon state.
|
|
func (*BeaconState) InactivityScores() ([]uint64, error) {
|
|
return nil, errors.New("InactivityScores is not supported for phase 0 beacon state")
|
|
}
|
|
|
|
// CurrentSyncCommittee is not supported for phase 0 beacon state.
|
|
func (*BeaconState) CurrentSyncCommittee() (*ethpb.SyncCommittee, error) {
|
|
return nil, errors.New("CurrentSyncCommittee is not supported for phase 0 beacon state")
|
|
}
|
|
|
|
// NextSyncCommittee is not supported for phase 0 beacon state.
|
|
func (*BeaconState) NextSyncCommittee() (*ethpb.SyncCommittee, error) {
|
|
return nil, errors.New("NextSyncCommittee is not supported for phase 0 beacon state")
|
|
}
|
|
|
|
// LatestExecutionPayloadHeader is not supported for phase 0 beacon state.
|
|
func (*BeaconState) LatestExecutionPayloadHeader() (*ethpb.ExecutionPayloadHeader, error) {
|
|
return nil, errors.New("LatestExecutionPayloadHeader is not supported for phase 0 beacon state")
|
|
}
|