github.com/prysmaticlabs/prysm@v1.4.4/beacon-chain/state/interface/altair.go (about)

     1  package iface
     2  
     3  import pbp2p "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1"
     4  
     5  // BeaconStateAltair has read and write access to beacon state methods.
     6  type BeaconStateAltair interface {
     7  	BeaconState
     8  	CurrentSyncCommittee() (*pbp2p.SyncCommittee, error)
     9  	NextSyncCommittee() (*pbp2p.SyncCommittee, error)
    10  	SetCurrentSyncCommittee(val *pbp2p.SyncCommittee) error
    11  	SetNextSyncCommittee(val *pbp2p.SyncCommittee) error
    12  	CurrentEpochParticipation() ([]byte, error)
    13  	PreviousEpochParticipation() ([]byte, error)
    14  	InactivityScores() ([]uint64, error)
    15  	AppendCurrentParticipationBits(val byte) error
    16  	AppendPreviousParticipationBits(val byte) error
    17  	AppendInactivityScore(s uint64) error
    18  	SetInactivityScores(val []uint64) error
    19  	SetPreviousParticipationBits(val []byte) error
    20  	SetCurrentParticipationBits(val []byte) error
    21  }