mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 12:27:18 +00:00
b1c2454658
* Rename BeaconStateMerge to BeaconStateBellatrix * Rename version.Merge to version.Bellatrix * Rename ComputeFieldRootsWithHasherMerge to ComputeFieldRootsWithHasherBellatrix * Rename test names to Bellatrix * Rename comments and strings to Bellatrix * Fix formatting in a few files * Revert wrong renaming in test name * Revert renaming to Bellatrix in mainnet_config.go * Revert renaming of db key without migration * Regenerate from proto changes * Rename new use of already renamed symbols * gofmt and goimports after regenerating protofiles * revert weird imports Co-authored-by: prestonvanloon <preston@prysmaticlabs.com>
17 lines
632 B
Go
17 lines
632 B
Go
package v3
|
|
|
|
import (
|
|
"github.com/pkg/errors"
|
|
ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1"
|
|
)
|
|
|
|
// PreviousEpochAttestations is not supported for HF1 beacon state.
|
|
func (*BeaconState) PreviousEpochAttestations() ([]*ethpb.PendingAttestation, error) {
|
|
return nil, errors.New("PreviousEpochAttestations is not supported for version Bellatrix beacon state")
|
|
}
|
|
|
|
// CurrentEpochAttestations is not supported for HF1 beacon state.
|
|
func (*BeaconState) CurrentEpochAttestations() ([]*ethpb.PendingAttestation, error) {
|
|
return nil, errors.New("CurrentEpochAttestations is not supported for version Bellatrix beacon state")
|
|
}
|