mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 19:51:20 +00:00
20 lines
554 B
Go
20 lines
554 B
Go
package v3
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/testing/require"
|
|
)
|
|
|
|
func TestBeaconState_CurrentEpochAttestations(t *testing.T) {
|
|
s := &BeaconState{}
|
|
_, err := s.CurrentEpochAttestations()
|
|
require.ErrorContains(t, "CurrentEpochAttestations is not supported for version Merge beacon state", err)
|
|
}
|
|
|
|
func TestBeaconState_PreviousEpochAttestations(t *testing.T) {
|
|
s := &BeaconState{}
|
|
_, err := s.PreviousEpochAttestations()
|
|
require.ErrorContains(t, "PreviousEpochAttestations is not supported for version Merge beacon state", err)
|
|
}
|