Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunMsgProcessing ¶
func RunMsgProcessing(t *testing.T, test *MsgProcessingSpecTest)
func RunSyncCommitteeAggProof ¶
func RunSyncCommitteeAggProof(t *testing.T, test *synccommitteeaggregator.SyncCommitteeAggregatorProofSpecTest)
Types ¶
type MsgProcessingSpecTest ¶
type MsgProcessingSpecTest struct { Name string Runner runner.Runner Duty *spectypes.Duty Messages []*spectypes.SSVMessage PostDutyRunnerStateRoot string // OutputMessages compares pre/ post signed partial sigs to output. We exclude consensus msgs as it's tested in consensus OutputMessages []*specssv.SignedPartialSignatureMessage BeaconBroadcastedRoots []string DontStartDuty bool // if set to true will not start a duty for the runner ExpectedError string }
func (*MsgProcessingSpecTest) TestName ¶
func (test *MsgProcessingSpecTest) TestName() string
type MultiMsgProcessingSpecTest ¶
type MultiMsgProcessingSpecTest struct { Name string Tests []*MsgProcessingSpecTest }
func (*MultiMsgProcessingSpecTest) Run ¶
func (tests *MultiMsgProcessingSpecTest) Run(t *testing.T)
func (*MultiMsgProcessingSpecTest) TestName ¶
func (tests *MultiMsgProcessingSpecTest) TestName() string
type MultiStartNewRunnerDutySpecTest ¶
type MultiStartNewRunnerDutySpecTest struct { Name string Tests []*StartNewRunnerDutySpecTest }
func (*MultiStartNewRunnerDutySpecTest) Run ¶
func (tests *MultiStartNewRunnerDutySpecTest) Run(t *testing.T)
func (*MultiStartNewRunnerDutySpecTest) TestName ¶
func (tests *MultiStartNewRunnerDutySpecTest) TestName() string
type StartNewRunnerDutySpecTest ¶
type StartNewRunnerDutySpecTest struct { Name string Runner runner.Runner Duty *types.Duty PostDutyRunnerStateRoot string OutputMessages []*ssv.SignedPartialSignatureMessage ExpectedError string }
func (*StartNewRunnerDutySpecTest) Run ¶
func (test *StartNewRunnerDutySpecTest) Run(t *testing.T)
func (*StartNewRunnerDutySpecTest) TestName ¶
func (test *StartNewRunnerDutySpecTest) TestName() string
Click to show internal directories.
Click to hide internal directories.