testing

package
v5.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePendingDeposit added in v5.2.0

func GeneratePendingDeposit(t *testing.T, key common.SecretKey, amount uint64, withdrawalCredentials [32]byte, slot primitives.Slot) *ethpb.PendingDeposit

GeneratePendingDeposit is used for testing and producing a signed pending deposit

func VerifyBeaconStateBlockRootAtIndexNative

func VerifyBeaconStateBlockRootAtIndexNative(
	t *testing.T,
	factory getState,
	factoryBR getStateWithLBlockRoots,
)

func VerifyBeaconStateBlockRootsNative

func VerifyBeaconStateBlockRootsNative(
	t *testing.T,
	factory getState,
	factoryBR getStateWithLBlockRoots,
)

func VerifyBeaconStateCurrentJustifiedCheckpoint

func VerifyBeaconStateCurrentJustifiedCheckpoint(t *testing.T, factory getStateWithCheckpoint)

func VerifyBeaconStateCurrentJustifiedCheckpointNil

func VerifyBeaconStateCurrentJustifiedCheckpointNil(t *testing.T, factory getState)

func VerifyBeaconStateFinalizedCheckpoint

func VerifyBeaconStateFinalizedCheckpoint(t *testing.T, factory getStateWithCheckpoint)

func VerifyBeaconStateFinalizedCheckpointNil

func VerifyBeaconStateFinalizedCheckpointNil(t *testing.T, factory getState)

func VerifyBeaconStateJustificationBits

func VerifyBeaconStateJustificationBits(t *testing.T, factory getStateWithJustificationBits)

func VerifyBeaconStateJustificationBitsNil

func VerifyBeaconStateJustificationBitsNil(t *testing.T, factory getState)

func VerifyBeaconStateLatestBlockHeader

func VerifyBeaconStateLatestBlockHeader(
	t *testing.T,
	factory getState,
	factoryLBH getStateWithLatestBlockHeader,
)

func VerifyBeaconStateMatchCurrentJustifiedCheckptNative

func VerifyBeaconStateMatchCurrentJustifiedCheckptNative(t *testing.T, factory getStateWithCurrentJustifiedCheckpoint)

func VerifyBeaconStateMatchPreviousJustifiedCheckptNative

func VerifyBeaconStateMatchPreviousJustifiedCheckptNative(t *testing.T, factory getStateWithCurrentJustifiedCheckpoint)

func VerifyBeaconStatePreviousJustifiedCheckpoint

func VerifyBeaconStatePreviousJustifiedCheckpoint(t *testing.T, factory getStateWithCheckpoint)

func VerifyBeaconStatePreviousJustifiedCheckpointNil

func VerifyBeaconStatePreviousJustifiedCheckpointNil(t *testing.T, factory getState)

func VerifyBeaconStateSlotDataRace

func VerifyBeaconStateSlotDataRace(t *testing.T, factory getState)

func VerifyBeaconStateValidatorAtIndexReadOnlyHandlesNilSlice

func VerifyBeaconStateValidatorAtIndexReadOnlyHandlesNilSlice(t *testing.T, factory getState)

func VerifyBeaconStateValidatorByPubkey

func VerifyBeaconStateValidatorByPubkey(t *testing.T, factory getState)

Types

This section is empty.

Jump to

Keyboard shortcuts

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