Documentation ¶
Index ¶
- func RunAttestationTest(t *testing.T, config string)
- func RunAttesterSlashingTest(t *testing.T, config string)
- func RunBlockHeaderTest(t *testing.T, config string)
- func RunBlockOperationTest(t *testing.T, folderPath string, body *ethpb.BeaconBlockBody, ...)
- func RunDepositTest(t *testing.T, config string)
- func RunProposerSlashingTest(t *testing.T, config string)
- func RunVoluntaryExitTest(t *testing.T, config string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAttestationTest ¶
RunAttestationTest executes "operations/attestation" tests.
func RunAttesterSlashingTest ¶
RunAttesterSlashingTest executes "operations/attester_slashing" tests.
func RunBlockHeaderTest ¶
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 ¶
RunDepositTest executes "operations/deposit" tests.
func RunProposerSlashingTest ¶
RunProposerSlashingTest executes "operations/proposer_slashing" tests.
func RunVoluntaryExitTest ¶
RunVoluntaryExitTest executes "operations/voluntary_exit" tests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.