operations

package
v4.2.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 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 RunExecutionPayloadTest added in v4.0.8

func RunExecutionPayloadTest(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

type ExecutionConfig added in v4.0.8

type ExecutionConfig struct {
	Valid bool `json:"execution_valid"`
}

Jump to

Keyboard shortcuts

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