epoch_processing

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: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunEffectiveBalanceUpdatesTests

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

RunEffectiveBalanceUpdatesTests executes "epoch_processing/effective_balance_updates" tests.

func RunEpochOperationTest

func RunEpochOperationTest(
	t *testing.T,
	testFolderPath string,
	operationFn epochOperation,
)

RunEpochOperationTest takes in the prestate and processes it through the passed in epoch operation function and checks the post state with the expected post state.

func RunEth1DataResetTests

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

RunEth1DataResetTests executes "epoch_processing/eth1_data_reset" tests.

func RunHistoricalSummariesUpdateTests

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

RunHistoricalSummariesUpdateTests executes "epoch_processing/historical_Summaries_update" tests.

func RunInactivityUpdatesTest

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

RunInactivityUpdatesTest executes "epoch_processing/inactivity_updates" tests.

func RunJustificationAndFinalizationTests

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

RunJustificationAndFinalizationTests executes "epoch_processing/justification_and_finalization" tests.

func RunParticipationFlagUpdatesTests

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

RunParticipationFlagUpdatesTests executes "epoch_processing/participation_flag_updates" tests.

func RunRandaoMixesResetTests

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

RunRandaoMixesResetTests executes "epoch_processing/randao_mixes_reset" tests.

func RunRegistryUpdatesTests

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

RunRegistryUpdatesTests executes "epoch_processing/registry_updates" tests.

func RunRewardsAndPenaltiesTests

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

RunRewardsAndPenaltiesTests executes "epoch_processing/rewards_and_penalties" tests.

func RunSlashingsResetTests

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

RunSlashingsResetTests executes "epoch_processing/slashings_reset" tests.

func RunSlashingsTests

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

RunSlashingsTests executes "epoch_processing/slashings" tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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