operations

package
v4.0.0-...-b8b0360 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 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 *zondpb.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

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

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