Documentation ¶
Index ¶
- type MultiStartNewRunnerDutySpecTest
- func ConsensusNotStarted() *MultiStartNewRunnerDutySpecTest
- func Finished() *MultiStartNewRunnerDutySpecTest
- func NotDecided() *MultiStartNewRunnerDutySpecTest
- func PostDecided() *MultiStartNewRunnerDutySpecTest
- func PostInvalidDecided() *MultiStartNewRunnerDutySpecTest
- func PostWrongDecided() *MultiStartNewRunnerDutySpecTest
- func Valid() *MultiStartNewRunnerDutySpecTest
- type StartNewRunnerDutySpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiStartNewRunnerDutySpecTest ¶
type MultiStartNewRunnerDutySpecTest struct { Name string Tests []*StartNewRunnerDutySpecTest }
func ConsensusNotStarted ¶
func ConsensusNotStarted() *MultiStartNewRunnerDutySpecTest
ConsensusNotStarted tests starting duty after prev already started but for some duties' consensus didn't start because pre-consensus didnt get quorum (different duties will enable starting a new duty)
func Finished ¶
func Finished() *MultiStartNewRunnerDutySpecTest
Finished tests a valid start duty after finished prev
func NotDecided ¶
func NotDecided() *MultiStartNewRunnerDutySpecTest
NotDecided tests starting duty before finished or decided
func PostDecided ¶
func PostDecided() *MultiStartNewRunnerDutySpecTest
PostDecided tests a valid start duty before finished and after decided
func PostInvalidDecided ¶
func PostInvalidDecided() *MultiStartNewRunnerDutySpecTest
PostInvalidDecided tests starting a new duty after prev was decided with an invalid decided value
func PostWrongDecided ¶
func PostWrongDecided() *MultiStartNewRunnerDutySpecTest
PostWrongDecided tests starting a new duty after prev was decided wrongly (future decided)
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 ssv.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.