operations

package
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAttestationTest

func RunAttestationTest(t *testing.T, config string)

func RunAttesterSlashingTest

func RunAttesterSlashingTest(t *testing.T, config string)

func RunBlockHeaderTest

func RunBlockHeaderTest(t *testing.T, config string)

func RunBlockOperationTest

func RunBlockOperationTest(
	t *testing.T,
	folderPath string,
	body *ethpb.BeaconBlockBodyBellatrix,
	operationFn blockOperation,
)

RunBlockOperationTest takes in the prestate and the beacon block body, processes it through the passed in block operation function and checks the post state with the expected post state.

func RunDepositTest

func RunDepositTest(t *testing.T, config string)

func RunProposerSlashingTest

func RunProposerSlashingTest(t *testing.T, config string)

func RunSyncCommitteeTest

func RunSyncCommitteeTest(t *testing.T, config string)

func RunVoluntaryExitTest

func RunVoluntaryExitTest(t *testing.T, config string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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