operations

package
v5.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 25 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 RunBLSToExecutionChangeTest

func RunBLSToExecutionChangeTest(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.BeaconBlockBodyDeneb,
	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)

func RunWithdrawalsTest

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