2021-11-22 17:37:55 +00:00
|
|
|
package v3
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/pkg/errors"
|
|
|
|
ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1"
|
|
|
|
)
|
|
|
|
|
|
|
|
// PreviousEpochAttestations is not supported for HF1 beacon state.
|
2021-12-07 17:52:39 +00:00
|
|
|
func (*BeaconState) PreviousEpochAttestations() ([]*ethpb.PendingAttestation, error) {
|
2022-01-10 16:47:30 +00:00
|
|
|
return nil, errors.New("PreviousEpochAttestations is not supported for version Bellatrix beacon state")
|
2021-11-22 17:37:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// CurrentEpochAttestations is not supported for HF1 beacon state.
|
2021-12-07 17:52:39 +00:00
|
|
|
func (*BeaconState) CurrentEpochAttestations() ([]*ethpb.PendingAttestation, error) {
|
2022-01-10 16:47:30 +00:00
|
|
|
return nil, errors.New("CurrentEpochAttestations is not supported for version Bellatrix beacon state")
|
2021-11-22 17:37:55 +00:00
|
|
|
}
|