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: 21 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)

RunAttestationTest executes "operations/attestation" tests.

func RunAttesterSlashingTest

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

RunAttesterSlashingTest executes "operations/attester_slashing" tests.

func RunBlockHeaderTest

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

RunBlockHeaderTest executes "operations/block_header" tests.

func RunBlockOperationTest

func RunBlockOperationTest(
	t *testing.T,
	folderPath string,
	body *ethpb.BeaconBlockBody,
	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)

RunDepositTest executes "operations/deposit" tests.

func RunProposerSlashingTest

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

RunProposerSlashingTest executes "operations/proposer_slashing" tests.

func RunVoluntaryExitTest

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

RunVoluntaryExitTest executes "operations/voluntary_exit" tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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