epoch_processing

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: GPL-3.0 Imports: 20 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