Documentation ¶
Index ¶
- type EncodingSpecTest
- type ValidationSpecTest
- func BlockAndBlindedBlock() *ValidationSpecTest
- func DutyNil() *ValidationSpecTest
- func EmptySyncCommitteeAggregator() *ValidationSpecTest
- func NilBlock() *ValidationSpecTest
- func NoAggregatorData() *ValidationSpecTest
- func NoAttestationData() *ValidationSpecTest
- func ValidAggregator() *ValidationSpecTest
- func ValidAttester() *ValidationSpecTest
- func ValidBlindedProposer() *ValidationSpecTest
- func ValidProposer() *ValidationSpecTest
- func ValidSyncCommitteeAggregator() *ValidationSpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodingSpecTest ¶
type EncodingSpecTest struct { Name string Obj *types.ConsensusData }
func (*EncodingSpecTest) Run ¶
func (test *EncodingSpecTest) Run(t *testing.T)
func (*EncodingSpecTest) TestName ¶
func (test *EncodingSpecTest) TestName() string
type ValidationSpecTest ¶
type ValidationSpecTest struct { Name string Obj *types.ConsensusData ExpectedErr string }
func BlockAndBlindedBlock ¶
func BlockAndBlindedBlock() *ValidationSpecTest
BlockAndBlindedBlock tests a non nil block and blinded
func EmptySyncCommitteeAggregator ¶
func EmptySyncCommitteeAggregator() *ValidationSpecTest
EmptySyncCommitteeAggregator tests a invalid sync committee aggregator
func NoAggregatorData ¶
func NoAggregatorData() *ValidationSpecTest
NoAggregatorData tests a nil aggregator data
func NoAttestationData ¶
func NoAttestationData() *ValidationSpecTest
NoAttestationData tests an invalid attester consensus data
func ValidAggregator ¶
func ValidAggregator() *ValidationSpecTest
ValidAggregator tests a valid aggregator consensus data
func ValidAttester ¶
func ValidAttester() *ValidationSpecTest
ValidAttester tests a valid attester consensus data
func ValidBlindedProposer ¶
func ValidBlindedProposer() *ValidationSpecTest
ValidBlindedProposer tests a valid blinded block proposer
func ValidProposer ¶
func ValidProposer() *ValidationSpecTest
ValidProposer tests a valid block proposer
func ValidSyncCommitteeAggregator ¶
func ValidSyncCommitteeAggregator() *ValidationSpecTest
ValidSyncCommitteeAggregator tests a valid sync committee aggregator
func (*ValidationSpecTest) Run ¶
func (test *ValidationSpecTest) Run(t *testing.T)
func (*ValidationSpecTest) TestName ¶
func (test *ValidationSpecTest) TestName() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.