mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-11 12:10:05 +00:00
963acefe12
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: kasey <489222+kasey@users.noreply.github.com> Co-authored-by: Dan Loewenherz <dloewenherz.adm@gmail.com> Co-authored-by: prestonvanloon <preston@prysmaticlabs.com> Co-authored-by: Fredrik Svantes <fredrik@ethereum.org> Co-authored-by: Leo Lara <leolara@users.noreply.github.com>
20 lines
562 B
Go
20 lines
562 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 Bellatrix beacon state", err)
|
|
}
|
|
|
|
func TestBeaconState_PreviousEpochAttestations(t *testing.T) {
|
|
s := &BeaconState{}
|
|
_, err := s.PreviousEpochAttestations()
|
|
require.ErrorContains(t, "PreviousEpochAttestations is not supported for version Bellatrix beacon state", err)
|
|
}
|