duty

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DutySpecTest

type DutySpecTest struct {
	Name       string
	BeaconRole types.BeaconRole
	RunnerRole types.RunnerRole
}

func MapAggregator

func MapAggregator() *DutySpecTest

MapAggregator tests mapping of BNRoleAggregator.

func MapAttester

func MapAttester() *DutySpecTest

MapAttester tests mapping of BNRoleAttester.

func MapProposer

func MapProposer() *DutySpecTest

MapProposer tests mapping of BNRoleProposer.

func MapSyncCommittee

func MapSyncCommittee() *DutySpecTest

MapSyncCommittee tests mapping of BNRoleSyncCommittee.

func MapSyncCommitteeContribution

func MapSyncCommitteeContribution() *DutySpecTest

MapSyncCommitteeContribution tests mapping of BNRoleSyncCommitteeContribution.

func MapUnknownRole

func MapUnknownRole() *DutySpecTest

MapUnknownRole tests mapping of an unknown role.

func MapValidatorRegistration

func MapValidatorRegistration() *DutySpecTest

MapValidatorRegistration tests mapping of BNRoleValidatorRegistration.

func MapVoluntaryExit

func MapVoluntaryExit() *DutySpecTest

MapVoluntaryExit tests mapping of BNRoleVoluntaryExit.

func (*DutySpecTest) Run

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

func (*DutySpecTest) TestName

func (test *DutySpecTest) TestName() string

Jump to

Keyboard shortcuts

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