package v2 import ( "testing" ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_AppendCurrentEpochAttestations(t *testing.T) { s, err := InitializeFromProtoUnsafe(ðpb.BeaconStateAltair{}) require.NoError(t, err) require.ErrorContains(t, "AppendCurrentEpochAttestations is not supported", s.AppendCurrentEpochAttestations(nil)) } func TestBeaconState_AppendPreviousEpochAttestations(t *testing.T) { s, err := InitializeFromProtoUnsafe(ðpb.BeaconStateAltair{}) require.NoError(t, err) require.ErrorContains(t, "AppendPreviousEpochAttestations is not supported", s.AppendPreviousEpochAttestations(nil)) }