committee

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitteeSpecTest

type CommitteeSpecTest struct {
	Name                   string
	Committee              *ssv.Committee
	Input                  []interface{} // Can be a types.Duty or a *types.SignedSSVMessage
	PostDutyCommitteeRoot  string
	PostDutyCommittee      types.Root `json:"-"` // Field is ignored by encoding/json
	OutputMessages         []*types.PartialSignatureMessages
	BeaconBroadcastedRoots []string
	ExpectedError          string
}

func (*CommitteeSpecTest) GetPostState

func (test *CommitteeSpecTest) GetPostState() (interface{}, error)

func (*CommitteeSpecTest) Run

func (test *CommitteeSpecTest) Run(t *testing.T)

Run as an individual test

func (*CommitteeSpecTest) RunAsPartOfMultiTest

func (test *CommitteeSpecTest) RunAsPartOfMultiTest(t *testing.T)

RunAsPartOfMultiTest runs the test as part of a MultiCommitteeSpecTest

func (*CommitteeSpecTest) TestName

func (test *CommitteeSpecTest) TestName() string

type MultiCommitteeSpecTest

type MultiCommitteeSpecTest struct {
	Name  string
	Tests []*CommitteeSpecTest
}

func (*MultiCommitteeSpecTest) GetPostState

func (tests *MultiCommitteeSpecTest) GetPostState() (interface{}, error)

func (*MultiCommitteeSpecTest) Run

func (tests *MultiCommitteeSpecTest) Run(t *testing.T)

func (*MultiCommitteeSpecTest) TestName

func (tests *MultiCommitteeSpecTest) TestName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL