mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
b23f63a064
* v2 state initialize and semantic paths * ensure build * gaz changes to ignored build files * gaz
32 lines
1.2 KiB
Go
32 lines
1.2 KiB
Go
package v1
|
|
|
|
import (
|
|
"github.com/pkg/errors"
|
|
pbp2p "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1"
|
|
)
|
|
|
|
// CurrentEpochParticipation is not supported for phase 0 beacon state.
|
|
func (b *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 (b *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 (b *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 (b *BeaconState) CurrentSyncCommittee() (*pbp2p.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 (b *BeaconState) NextSyncCommittee() (*pbp2p.SyncCommittee, error) {
|
|
return nil, errors.New("NextSyncCommittee is not supported for phase 0 beacon state")
|
|
}
|